/* FDFL — Forward Deploy Florida
   Palette: navy / sand / lagoon accent (light industrial) */
:root {
  --navy: #0b1f3a;
  --navy-soft: #16365c;
  --sand: #f7f4ef;
  --sand-deep: #ebe6dc;
  --ink: #1a2332;
  --muted: #5c6675;
  --lagoon: #2a9d8f;
  --lagoon-dark: #21867a;
  --coral: #e07a5f;
  --white: #ffffff;
  --border: rgba(11, 31, 58, 0.12);
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--lagoon-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:not(.btn) {
  color: var(--navy-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"]:not(.btn) {
  color: var(--navy);
}

.nav a[aria-current="page"]:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Buttons — use a.btn so link styles never steal color */
.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active,
a.btn:active {
  transform: translateY(1px);
}

.btn-primary,
a.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.22);
}

.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus-visible,
a.btn-primary:focus-visible {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-secondary,
a.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11, 31, 58, 0.25);
}

.btn-secondary:hover,
a.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.page-hero .btn-secondary,
.page-hero a.btn-secondary {
  border-color: rgba(247, 244, 239, 0.45);
  color: var(--white);
}

.page-hero .btn-secondary:hover,
.page-hero a.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-accent,
a.btn-accent {
  background: var(--lagoon);
  color: var(--white);
}

.btn-accent:hover,
a.btn-accent:hover,
.btn-accent:focus-visible,
a.btn-accent:focus-visible {
  background: var(--lagoon-dark);
  color: var(--white);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, rgba(42, 157, 143, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(11, 31, 58, 0.06), transparent 50%),
    var(--sand);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: var(--sand-deep);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.08), transparent 45%);
  pointer-events: none;
}

/* Full-bleed page hero for LPs */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.25) 0%, rgba(11, 31, 58, 0.72) 70%, rgba(11, 31, 58, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 31, 58, 0.55) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 3.5rem 0 2.5rem;
}

.page-hero .eyebrow {
  color: rgba(247, 244, 239, 0.9);
}

.page-hero .eyebrow::before {
  background: var(--lagoon);
}

.page-hero h1 {
  color: var(--white);
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.page-hero .lead {
  color: rgba(247, 244, 239, 0.88);
  max-width: 46ch;
}

.page-hero .hero-actions {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lagoon-dark);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--lagoon);
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-card li {
  margin-bottom: 0.65rem;
}

.hero-card li strong {
  color: var(--navy);
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-muted {
  background: var(--sand-deep);
}

.section-navy {
  background: var(--navy);
  color: var(--sand);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p,
.section-navy li {
  color: rgba(247, 244, 239, 0.82);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.card {
  text-decoration: none;
  color: inherit;
}

a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.12);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-deep);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

a.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Text-only cards (landing page feature blocks) */
.card:not(:has(.card-media)):not(:has(.card-body)) {
  padding: 1.4rem 1.35rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 1rem;
  flex: 1;
}

.card .card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.card .card-link:hover,
a.card:hover .card-link {
  color: var(--lagoon-dark);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lagoon-dark);
  background: rgba(42, 157, 143, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Fence / principles */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.principle {
  border-left: 3px solid var(--lagoon);
  padding-left: 1rem;
}

.principle h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* LP content intro (below page-hero) */
.lp-intro {
  padding: 2rem 0 1rem;
}

.pain-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.pain-list li {
  margin-bottom: 0.4rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.panel > p {
  color: var(--muted);
  margin-top: 0;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--sand);
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(42, 157, 143, 0.45);
  border-color: var(--lagoon);
  background: var(--white);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  min-height: 1.25rem;
}

.form-status.ok {
  color: var(--lagoon-dark);
}

.form-status.err {
  color: #b42318;
}

.cal-embed {
  border: 0;
  width: 100%;
  min-height: 620px;
  border-radius: 10px;
  background: var(--sand);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 0;
}

.cta-band p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--navy);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 32ch;
  margin: 0.5rem 0 0;
}

.footer-meta {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.fence-note {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 2rem;
}

/* SEO / AEO helpers */
.entity-blurb {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(42, 157, 143, 0.08);
  border-left: 3px solid var(--lagoon);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
  color: var(--ink);
  max-width: 48rem;
}

.direct-answer {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 52rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "→";
  margin-left: 0.5rem;
  color: var(--muted);
  opacity: 0.7;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--navy);
}

.page-hero .breadcrumbs,
.page-hero .breadcrumbs a {
  color: rgba(247, 244, 239, 0.75);
}

.page-hero .breadcrumbs a:hover {
  color: var(--white);
}

.page-hero .breadcrumbs li:not(:last-child)::after {
  color: rgba(247, 244, 239, 0.45);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.section-muted .faq-item {
  background: var(--sand);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 1rem 1.15rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 500;
  color: var(--lagoon-dark);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.lp-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.lp-footer-links a:hover {
  color: var(--navy);
}

/* 404 */
.not-found {
  text-align: center;
  padding: 5rem 0;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    aspect-ratio: 16 / 11;
  }

  .page-hero h1 {
    max-width: none;
  }

  h1 {
    max-width: none;
  }

  .nav .nav-hide-sm {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }
}
