/* ============================================================
   Sunshine Registered Agent — Florida LLC landing page
   Direction 01 · "Established & Serious"
   Navy + brass gold · DM Serif Display + DM Sans
   ============================================================ */

:root {
  --navy:        #14233A;
  --navy-deep:   #0E1A2C;
  --navy-line:   #27364B;
  --gold:        #A9772A;
  --gold-light:  #C9AE78;
  --gold-ink:    #876722;   /* gold text on light bg */
  --gold-tag:    #8A6A22;
  --ivory:       #FAF7F0;
  --ivory-warm:  #F1EDE3;
  --paper:       #ffffff;
  --line:        #E4DDCD;
  --line-card:   #E0D9C8;
  --ink:         #2C3543;   /* darkest body */
  --slate:       #4C5663;   /* body text */
  --slate-soft:  #79828F;   /* muted */
  --cream-text:  #F2F1EB;   /* text on navy */
  --cream-mute:  #AAB4C2;   /* muted text on navy */
  --green:       #2E7D5B;
  --green-onnavy:#7FD3A3;
  --maxw:        1320px;
  --pad-x:       44px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--slate);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ph {
  background-image: repeating-linear-gradient(135deg,
    rgba(0,0,0,0.06) 0 10px, rgba(0,0,0,0.02) 10px 20px);
}

a { color: inherit; }

.stars { letter-spacing: 1px; }
.stars-gold { color: var(--gold); letter-spacing: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1;
  padding: 11px 20px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-lg { font-size: 17px; padding: 16px 30px; }
.btn-block { display: flex; width: 100%; }

.btn-navy { background: var(--navy); color: var(--cream-text); }
.btn-navy:hover { background: var(--navy-deep); }

.btn-gold {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 14px 28px -10px rgba(20,35,58,0.26);
  cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(20,35,58,0.34); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream-text); }

.btn-ghost { background: transparent; color: var(--navy); font-weight: 600; padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--gold); }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--navy-deep); }
.util-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 9px var(--pad-x); flex-wrap: wrap;
  font-size: 12.5px; color: var(--cream-mute);
}
.util-rating { display: flex; align-items: center; gap: 9px; }
.util-rating .stars { color: var(--gold-light); }
.util-contact { display: flex; align-items: center; gap: 16px; }
.util-sep { color: #39495F; }
.util-phone { color: var(--cream-text); font-weight: 600; text-decoration: none; }

/* ---------- Nav ---------- */
.nav { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-seal {
  height: 48px; width: auto;
  display: block; flex-shrink: 0;
}
.brand-name { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }
.brand-tag {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--gold-tag); text-transform: uppercase; vertical-align: middle;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }

/* ---------- First fold ---------- */
/* Fill the viewport so the "as featured in" logos bar sits flush at the bottom;
   the hero grows to absorb any slack. On short screens it just overflows (scrolls). */
.fold { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--ivory-warm) 0%, var(--ivory) 100%);
  flex: 1 0 auto;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-glow {
  position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(169,119,42,0.13), rgba(169,119,42,0) 70%);
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding: clamp(32px, 4.2vh, 72px) var(--pad-x) clamp(36px, 4.6vh, 80px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 4px;
  background: var(--navy); color: var(--gold-light);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow-onnavy { background: rgba(201,174,120,0.14); color: var(--gold-light); position: relative; }
.hero-copy h1 {
  font-family: 'DM Serif Display', serif; font-size: 60px; line-height: 1.04;
  color: var(--navy); margin: 22px 0 0; letter-spacing: -0.015em; font-weight: 400;
}
.hero-copy h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--slate); margin: 24px 0 0; max-width: 500px; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 15px; color: var(--slate); }
.hero-proof .stars-gold { font-size: 18px; }
.hero-proof strong { color: var(--navy); }
.hero-proof-details span { display: inline; }
.hero-proof-details span + span::before { content: " · "; }

.hero-media { position: relative; margin-left: auto; width: 100%; max-width: 460px; }
.hero-photo {
  aspect-ratio: 4 / 5;
  /* Keep the top stack (through the logos bar) within the first fold on a laptop. */
  max-height: clamp(300px, calc(100vh - 360px), 460px);
  border-radius: 10px; border: 1px solid #E0D9C8; background-color: #EEE9DE;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20,35,58,0.32);
}
.hero-photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;        /* crop to fill the portrait frame */
  object-position: 88% 50%; /* shift him right (clear of the chip) while keeping his shoulder in frame */
}
.chip {
  position: absolute; background: var(--paper); border-radius: 8px;
  box-shadow: 0 16px 32px -16px rgba(20,35,58,0.32);
}
.chip-name {
  top: 24px; left: -26px; border: 1px solid var(--line); padding: 13px 16px;
  display: flex; align-items: center; gap: 10px;
}
.chip-check {
  width: 30px; height: 30px; border-radius: 8px; background: #E7F5EC;
  display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 15px; flex-shrink: 0;
}
.chip-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.chip-sub { font-size: 12px; color: var(--slate-soft); }
.chip-filed {
  bottom: 30px; right: -22px; background: var(--navy); color: var(--cream-text); padding: 13px 17px;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.4);
}
.chip-filed-label { font-size: 12px; color: #C2A36A; }
.chip-filed-value { font-size: 20px; font-family: 'DM Serif Display', serif; }

/* ---------- Trust badges ---------- */
.trust-badges {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.badge { display: flex; gap: 13px; align-items: flex-start; padding: clamp(14px, 2vh, 24px) 28px; border-right: 1px solid var(--line); }
.badge:last-child { border-right: 0; }
.badge-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 15px; flex-shrink: 0;
}
.badge-title { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.badge-sub { font-size: 12.5px; color: var(--slate-soft); line-height: 1.45; margin-top: 2px; }

/* ---------- Featured in ---------- */
.featured { background: var(--navy); }
.featured {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: clamp(14px, 2vh, 26px) var(--pad-x); flex-wrap: wrap;
}
.featured-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #C2A36A; font-weight: 600; white-space: nowrap; }
.featured-logos { display: flex; align-items: center; gap: 44px; flex: 1; justify-content: space-around; flex-wrap: wrap; opacity: 0.85; }
.featured-logos span { font-family: 'DM Serif Display', serif; font-size: 21px; color: var(--cream-text); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-family: 'DM Serif Display', serif; font-size: 44px; line-height: 1.1; color: var(--navy); margin: 18px 0 12px; font-weight: 400; }
.section-head p { font-size: 17px; color: var(--slate); line-height: 1.6; }
.section-head strong { color: var(--navy); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 6px;
  background: #ECE4D4; color: var(--gold-ink); font-size: 13px; font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing { padding: 84px var(--pad-x); background: var(--ivory); }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1080px; margin: 0 auto; align-items: start;
}
.plan { background: var(--paper); border: 1px solid var(--line-card); border-radius: 10px; padding: 34px 30px; }
.plan-name { font-size: 15px; font-weight: 700; color: var(--gold-ink); letter-spacing: 0.04em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.plan-price .amount { font-family: 'DM Serif Display', serif; font-size: 50px; color: var(--navy); }
.plan-price .suffix { font-size: 15px; color: var(--slate-soft); }
.plan-save { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.plan-save .was { font-size: 16px; color: var(--slate-soft); text-decoration: line-through; }
.plan-save .save-tag {
  background: #E7F5EC; color: var(--green); font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 5px; letter-spacing: 0.02em;
}
.plan-desc { font-size: 14px; color: var(--slate); line-height: 1.55; margin-bottom: 22px; }
.plan-proc { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13px; color: var(--slate-soft); font-weight: 500; }
.plan-proc .proc-ico { color: var(--gold); }
.plan-rule { border: 0; height: 1px; background: var(--line); margin: 26px 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.plan-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.plan-features .tick { color: var(--green); }

.plan-featured {
  background: var(--navy); border-color: var(--navy); position: relative;
  box-shadow: 0 30px 60px -26px rgba(20,35,58,0.5); transform: translateY(-8px);
}
.plan-featured .plan-name { color: var(--gold); }
.plan-featured .plan-price .amount { color: var(--cream-text); }
.plan-featured .plan-price .suffix { color: #C2A36A; }
.plan-featured .plan-desc { color: var(--cream-mute); }
.plan-featured .plan-rule { background: var(--navy-line); }
.plan-featured .plan-features li { color: #E7EAF0; }
.plan-featured .plan-features .tick { color: var(--green-onnavy); }
.plan-featured .plan-save .was { color: var(--cream-mute); }
.plan-featured .plan-save .save-tag { background: rgba(127,211,163,0.16); color: var(--green-onnavy); }
.plan-featured .plan-proc { color: var(--cream-mute); }
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 6px; white-space: nowrap;
}

/* ---------- How it works ---------- */
.how { padding: 84px var(--pad-x); background: var(--ivory-warm); }
.how .section-head { max-width: 600px; margin-bottom: 54px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.step-num {
  width: 52px; height: 52px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line-card);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--gold);
}
.step h3 { font-family: 'DM Serif Display', serif; font-size: 23px; color: var(--navy); margin: 20px 0 8px; font-weight: 400; }
.step p { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ---------- Reviews ---------- */
.reviews { padding: 84px var(--pad-x); background: var(--ivory); }
.reviews .section-head { max-width: 600px; margin-bottom: 50px; }
.reviews-stars { font-size: 20px; letter-spacing: 3px; }
/* Reviews carousel */
.review-carousel { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 0 52px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel-track .review { flex: 0 0 calc((100% - 48px) / 3); }
.review { background: var(--paper); border: 1px solid var(--line-card); border-radius: 10px; padding: 28px; }

.carousel-arrow {
  position: absolute; top: calc(50% - 26px); transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-card);
  background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(20,35,58,0.4);
  display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.carousel-arrow:hover { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }

.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line-card); transition: background .2s ease, width .2s ease;
}
.carousel-dots button.is-active { background: var(--gold); width: 22px; border-radius: 5px; }
.review-stars { font-size: 15px; margin-bottom: 14px; }
.review blockquote { font-size: 15.5px; color: var(--ink); line-height: 1.6; margin-bottom: 20px; }
.reviewer { display: flex; align-items: center; gap: 11px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #ECE4D4; flex-shrink: 0; object-fit: cover; display: block; }
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.reviewer-loc { font-size: 13px; color: var(--slate-soft); }

/* ---------- Closing CTA ---------- */
.closing-cta {
  padding: 84px var(--pad-x); text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.closing-glow {
  position: absolute; top: -90px; left: -60px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,174,120,0.16), rgba(201,174,120,0) 70%);
}
.closing-cta h2 { font-family: 'DM Serif Display', serif; font-size: 48px; line-height: 1.08; color: var(--cream-text); margin: 18px 0 16px; position: relative; font-weight: 400; }
.closing-cta p { font-size: 18px; color: var(--cream-mute); line-height: 1.6; max-width: 540px; margin: 0 auto 32px; position: relative; }
.closing-cta .btn { position: relative; padding: 17px 38px; font-size: 18px; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px var(--pad-x); background: var(--navy-deep);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-seal { width: 26px; height: 26px; object-fit: contain; }
.footer-name { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--cream-text); }
.footer-legal { font-size: 13px; color: #8893A3; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .util-rating { display: none; }
  :root { --pad-x: 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-media { max-width: 440px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .badge:nth-child(2) { border-right: 0; }
  .badge:nth-child(1), .badge:nth-child(2) { border-bottom: 1px solid var(--line); }
  .plans, .steps { grid-template-columns: 1fr; max-width: 460px; }
  .plans .plan:nth-child(1) { order: 3; }
  .plans .plan:nth-child(2) { order: 1; }
  .plans .plan:nth-child(3) { order: 2; }
  .plan-featured { transform: none; }
  .carousel-track .review { flex: 0 0 calc((100% - 24px) / 2); } /* 2 visible */
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-left: auto; }
  .nav-inner { flex-wrap: wrap; row-gap: 0; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    order: 3; width: 100%; padding-top: 6px;
  }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; border-top: 1px solid var(--line); }
  .nav.open .nav-actions {
    display: flex; order: 4; width: 100%; gap: 14px; padding: 12px 0 4px; border-top: 1px solid var(--line);
  }
  .nav.open .nav-actions .btn-navy { flex: 1; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; }
  .util-inner { justify-content: center; text-align: center; }
  .hero-copy h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .section-head h2 { font-size: 34px; }
  .closing-cta h2 { font-size: 34px; }
  .trust-badges { grid-template-columns: 1fr; }
  .badge { border-right: 0; border-bottom: 1px solid var(--line); }
  .badge:last-child { border-bottom: 0; }
  .chip-name { left: 0; }
  .chip-filed { right: 0; }
  .featured { justify-content: center; }
  .carousel-track .review { flex: 0 0 100%; } /* 1 visible */
  .hero-proof-details { display: flex; flex-direction: column; }
  .hero-proof-details span + span::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Legal pages */
.legal-article { max-width: 760px; margin: 24px auto; padding: 40px; line-height: 1.65; }
.legal-article h1, .legal-article h2 { font-family: 'DM Serif Display', serif; margin-top: 1.6em; }
.legal-article h1 { font-size: 2rem; margin-top: 0; }
.legal-article h2 { font-size: 1.25rem; }
.legal-article p, .legal-article li { color: #2C3543; }
.legal-article ul { padding-left: 1.25rem; }
.footer-legal a { color: inherit; text-decoration: underline; }
