/* =====================================================================
   Ripple Public Adjusting Corp — Stylesheet
   Brand colors live in :root below. Change them once, applies everywhere.
   ===================================================================== */
:root {
  --navy: #073763;          /* primary brand navy */
  --navy-deep: #04223f;
  --blue: #2f7fc1;          /* lighter blue accent */
  --sky: #e8f2fb;           /* pale blue tint */
  --teal: #2fa8a0;          /* soft teal/green accent */
  --teal-light: #7fd1c7;
  --mint: #eaf7f5;
  --ink: #16263a;           /* body text */
  --muted: #5a6b7e;
  --line: #dfe7ef;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(7,55,99,.06), 0 2px 8px rgba(7,55,99,.05);
  --shadow: 0 10px 30px -10px rgba(7,55,99,.18), 0 2px 6px rgba(7,55,99,.05);
  --shadow-lg: 0 24px 60px -20px rgba(7,55,99,.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 1rem; }
svg { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; font-family: inherit; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(7,55,99,.6); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; box-shadow: 0 12px 24px -8px rgba(7,55,99,.6); }
.btn-accent { background: var(--teal-light); color: var(--navy-deep); box-shadow: 0 8px 24px -8px rgba(127,209,199,.7); }
.btn-accent:hover { background: #a2e0d8; color: var(--navy-deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark { height: 48px; width: auto; display: block; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; padding: 6px 8px; }
.logo-badge .logo-mark { height: 40px; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--navy); line-height: 1; }
.logo-text span { font-family: var(--font); font-weight: 500; font-size: .78rem; display: block; color: #105080; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: var(--teal-light); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 1rem 1.25rem 1.5rem; display: none; }
.primary-nav.open { display: block; animation: drop .25s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav li a { display: block; padding: .8rem .25rem; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.primary-nav li a:hover, .primary-nav li a.active { color: var(--teal); }
.nav-ctas { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--navy); text-decoration: none; justify-content: center; padding: .5rem; }
.nav-phone svg { width: 18px; height: 18px; fill: var(--teal); }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex !important; align-items: center; gap: 1.5rem; background: none; border: 0; box-shadow: none; padding: 0; animation: none; }
  .primary-nav ul { display: flex; gap: .25rem; }
  .primary-nav li a { border: 0; padding: .5rem .7rem; border-radius: 8px; font-size: .97rem; position: relative; }
  .primary-nav li a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--teal); border-radius: 2px; transform: scaleX(0); transition: transform .25s; }
  .primary-nav li a:hover::after, .primary-nav li a.active::after { transform: scaleX(1); }
  .nav-ctas { flex-direction: row; align-items: center; margin: 0; gap: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(6rem, 11vw, 9rem);
  background-color: var(--navy); /* fallback */
  background-image:
    radial-gradient(1200px 600px at 85% 20%, rgba(127,209,199,.30), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(47,127,193,.45), transparent 60%),
    linear-gradient(160deg, #073763 0%, #0a4a7f 55%, #0f6a85 100%);
  /* EDIT: IMAGES — optional photo (keeps gradient as overlay/fallback):
  background-image: linear-gradient(160deg, rgba(7,55,99,.92), rgba(15,106,133,.78)), url("../assets/img/hero.jpg");
  background-size: cover; background-position: center; */
}
.hero-ripples { position: absolute; inset: 0; pointer-events: none; }
.hero-ripples span { position: absolute; left: 78%; top: 38%; width: 160px; height: 160px; margin: -80px 0 0 -80px; border-radius: 50%; border: 2px solid rgba(127,209,199,.55); animation: ripple 9s cubic-bezier(.2,.6,.3,1) infinite; opacity: 0; }
.hero-ripples span:nth-child(2) { animation-delay: 2.25s; }
.hero-ripples span:nth-child(3) { animation-delay: 4.5s; }
.hero-ripples span:nth-child(4) { animation-delay: 6.75s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(9); opacity: 0; } }
.hero-ripples--soft span { left: 12%; top: 30%; border-color: rgba(127,209,199,.25); }
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin-bottom: .5em; max-width: 18ch; }
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 58ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust svg { width: 18px; height: 18px; fill: var(--teal-light); }
.hero-card { background: rgba(255,255,255,.97); color: var(--ink); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow-lg); max-width: 420px; }
.hero-card h2 { font-size: 1.45rem; }
.hero-card p { color: var(--muted); font-size: .98rem; }
.hero-card-phone { display: block; text-align: center; margin-top: .9rem; text-decoration: none; color: var(--muted); }
.hero-card-phone strong { color: var(--navy); }
.hero-card-note { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; font-size: .82rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--teal) !important; font-weight: 600; }
.wave { position: absolute; left: 0; width: 100%; display: block; }
.wave-bottom { bottom: -1px; height: clamp(50px, 8vw, 110px); }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.45fr 1fr; } .hero-card { justify-self: end; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, var(--sky) 0%, #f4f9fd 100%); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, #0b4d7a 100%); color: #fff; overflow: hidden; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255,255,255,.8); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: .9rem; }
.eyebrow-light { color: var(--teal-light); }
.lead { font-size: 1.18rem; color: var(--ink); }
.split { display: grid; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

.icon-bubble { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--mint), var(--sky)); color: var(--navy); }
.icon-bubble svg { width: 24px; height: 24px; }
.icon-bubble-lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-bubble-lg svg { width: 30px; height: 30px; }

/* Compare card */
.compare { display: grid; gap: 1rem; }
@media (min-width: 560px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; }
.compare-col h3 { font-size: 1rem; color: var(--muted); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .97rem; }
.compare-col li { padding-left: 1.5rem; position: relative; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #c3cfdb; }
.compare-col--ours { background: linear-gradient(160deg, var(--navy), #0d5a87); color: #fff; border: 0; box-shadow: var(--shadow); }
.compare-col--ours h3 { color: var(--teal-light); }
.compare-col--ours li::before { background: var(--teal-light); }

/* Generic cards */
.card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pain-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain-card, .service-card, .diff-card, .testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.pain-card:hover, .service-card:hover, .diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9dceb; }
.pain-card .icon-bubble, .diff-card .icon-bubble { margin-bottom: 1rem; }
.pain-card p, .diff-card p, .service-card p { color: var(--muted); margin: 0; font-size: .98rem; }

.service-card { position: relative; padding: 2.2rem 2rem; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--mint); box-shadow: 0 0 0 22px rgba(234,247,245,.6), 0 0 0 46px rgba(234,247,245,.35); transition: transform .5s ease; }
.service-card:hover::after { transform: scale(1.12); }
.service-card > * { position: relative; z-index: 1; }
.service-num { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--font-display); font-size: 2rem; color: #d3e3f1; font-weight: 600; }
.service-card .icon-bubble { margin-bottom: 1.3rem; }

/* Claim types */
.claim-grid { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 760px) { .claim-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .claim-grid { grid-template-columns: repeat(6, 1fr); } }
.claim-note { text-align: center; max-width: 46rem; margin: -0.75rem auto 2rem; color: var(--muted); }
.claim-badge { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--sky)); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.claim-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.claim-badge .icon-bubble { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--teal-light); }
.claim-badge .icon-bubble svg { width: 30px; height: 30px; }
.claim-badge strong { color: var(--navy); }
.audience-row { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--mint); }
@media (min-width: 760px) { .audience-row { grid-template-columns: repeat(3, 1fr); padding: 1.75rem 2rem; } }
.audience { display: flex; align-items: center; gap: .9rem; }
.audience svg { width: 36px; height: 36px; color: var(--teal); }
.audience strong { display: block; color: var(--navy); }
.audience span { font-size: .92rem; color: var(--muted); }

/* About */
.about { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; } }
.about-photo { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .about-photo { max-width: none; margin: 0; } }
.about-photo img, .photo-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-photo img { display: block; height: auto; object-position: 50% 30%; border: 6px solid #fff; background: var(--sky); }
.photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: rgba(255,255,255,.85); background: radial-gradient(circle at 30% 20%, rgba(127,209,199,.45), transparent 55%), linear-gradient(160deg, var(--navy), #0f6a85); font-weight: 500; letter-spacing: .04em; }
.photo-placeholder svg { width: 96px; height: 96px; opacity: .7; }
.about-stat { position: absolute; right: -10px; bottom: -22px; background: #fff; border-radius: 18px; padding: 1rem 1.3rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem; }
@media (min-width: 900px) { .about-stat { right: -28px; } }
.about-stat strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--teal); line-height: 1; }
.about-stat span { font-size: .85rem; color: var(--muted); max-width: 9ch; line-height: 1.3; }
.about-copy p { color: #33465b; }
.about-copy .lead { color: var(--teal); font-weight: 600; font-size: 1.05rem; }
.about-creds { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.about-creds li { padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy); }
.mission { margin-top: 1.5rem; padding: 1.5rem 1.75rem; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--teal); box-shadow: var(--shadow-sm); }
.mission h3 { margin-bottom: .4rem; }
.mission p { margin: 0; font-size: .98rem; }

/* Why us */
.diff-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .diff-grid { grid-template-columns: repeat(6, 1fr); } .diff-card { grid-column: span 2; } .diff-card:nth-child(4) { grid-column: 2 / span 2; } }
.values { margin-top: 3rem; padding: 2rem; border-radius: 22px; background: linear-gradient(135deg, var(--sky), var(--mint)); }
.values h3 { text-align: center; margin-bottom: 1.25rem; }
.values ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .values ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values ul { grid-template-columns: repeat(5, 1fr); } }
.values li { background: rgba(255,255,255,.75); border-radius: 14px; padding: 1rem 1.1rem; text-align: center; }
.values strong { display: block; color: var(--navy); margin-bottom: .2rem; }
.values span { font-size: .9rem; color: var(--muted); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; position: relative; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(127,209,199,.6) 0 8px, transparent 8px 16px); } }
.step { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.75rem 1.5rem; backdrop-filter: blur(4px); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-light); color: var(--navy-deep); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; box-shadow: 0 0 0 6px rgba(127,209,199,.2); position: relative; }
.step h3 { color: #fff; }
.step p { color: rgba(255,255,255,.8); margin: 0; font-size: .97rem; }

/* Testimonials */
.testimonial { margin: 0; position: relative; display: flex; flex-direction: column; }
.testimonial .stars { color: #f2b544; letter-spacing: .15em; margin-bottom: .75rem; }
.testimonial blockquote { margin: 0 0 1.5rem; font-size: 1.05rem; color: #33465b; flex: 1; position: relative; }
.testimonial blockquote::before { content: "\201C"; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--mint); position: absolute; top: -1.4rem; left: -.4rem; z-index: 0; }
.testimonial blockquote p { position: relative; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.testimonial figcaption strong { display: block; color: var(--navy); }
.testimonial figcaption small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; font-weight: 700; }
.testimonial.placeholder { border-style: dashed; border-color: #b9cde0; background: rgba(255,255,255,.7); }
.testimonial.placeholder .stars { opacity: .35; }
.testimonial.placeholder blockquote { font-style: italic; color: var(--muted); }
.tag { position: absolute; top: 1rem; right: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--sky); color: var(--blue); }
.reviews-cta { text-align: center; margin: 2rem 0 0; color: var(--muted); }
.reviews-rating { text-align: center; margin: 2.25rem 0 0; color: var(--muted); font-size: .98rem; }
.reviews-rating strong { color: var(--navy); }
.reviews-rating .stars { color: #f2b544; }
.testimonials .testimonial blockquote { font-size: 1rem; line-height: 1.7; }
.testimonial figcaption small { display: block; }

/* Contact */
.contact { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 4rem; } .contact-info { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list address { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--teal); }
.service-area { padding: 1.4rem 1.6rem; background: var(--mint); border-radius: var(--radius); }
.service-area h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.service-area p { margin: 0; color: #33465b; font-size: .97rem; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-head h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.form-head p { color: var(--muted); font-size: .92rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 700; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; padding: 0; width: 100%; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label { font-size: .92rem; font-weight: 600; margin-bottom: .35rem; color: #2b3d52; }
.req { color: #c2410c; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: .75rem .9rem; border: 1.5px solid #cfdbe7; border-radius: var(--radius-sm); background: #fbfdff; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover, select:hover, textarea:hover { border-color: #aac2d8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47,168,160,.15); background: #fff; }
textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2410c; }
.photo-note { display: flex; gap: .9rem; padding: 1rem 1.1rem; background: var(--sky); border-radius: var(--radius-sm); font-size: .92rem; }
.photo-note svg { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.photo-note p { margin: 0; color: #33465b; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: #33465b; margin-bottom: 1.4rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.consent.invalid { color: #c2410c; }
.form-status { margin: 1rem 0 0; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #0f766e; }
.form-status.err { color: #c2410c; }
.form-fineprint { text-align: center; font-size: .9rem; color: var(--muted); margin: .25rem 0 0; }

/* Footer */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 7rem 0 6rem; font-size: .95rem; }
@media (min-width: 1000px) { .site-footer { padding-bottom: 2rem; } }
.wave-top { top: -1px; height: 60px; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; } }
.footer-brand p { margin: 1rem 0 1.4rem; max-width: 32ch; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; word-break: break-word; }
.site-footer a:hover { color: var(--teal-light); }
.site-footer .btn-accent { color: var(--navy-deep); }
.site-footer strong { color: #fff; }
.small { font-size: .85rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-bottom p { margin-bottom: .7rem; }
.states-note { font-style: italic; }

/* Mobile sticky CTA bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(7,55,99,.12); transform: translateY(110%); transition: transform .3s ease; }
.mobile-cta.show { transform: none; }
.mobile-cta a { text-align: center; padding: .8rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.mobile-cta-call { border: 2px solid var(--navy); color: var(--navy); }
.mobile-cta-review { background: var(--navy); color: #fff; }
@media (min-width: 1000px) { .mobile-cta { display: none; } }

/* Scroll reveal (only when JS is running; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-ripples span { opacity: .35; transform: scale(2.5); }
  .hero-ripples span:nth-child(2) { transform: scale(4.5); opacity: .2; }
}

/* Contact form — Formspree submit states */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-form { position: relative; }
.contact-form.is-sent > :not(.form-success) { display: none; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success:focus { outline: none; }
.form-success .icon-bubble { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--teal-light); margin-bottom: 1rem; }
.form-success h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.form-success p { color: #33465b; margin: 0 auto .75rem; max-width: 34em; }
