/* ==========================================================================
   Manatee Hosting Co. — shared styles (V6)
   Tailwind (CDN) supplies layout utilities; everything brand-specific lives here.
   Note: Tailwind's preflight is injected after this sheet and resets h1–h6
   weight/size, so heading weight and size live on classes (.h1/.h2/.h3), not tags.
   ========================================================================== */

@font-face { font-family: "Quicksand"; src: url("../fonts/Quicksand_Book.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/Quicksand_Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #1F4B6A;
  --blue: #4F86B0;
  --teal: #6FBDB8;
  --mist: #DDE5EC;
  --ice: #F5F8FA;
  --surface: #FCFDFE;
  --ink: #22384A;
  --ink-soft: #4F6578;
  --on-dark: #FAFCFD;

  --shadow-elevated: 0 1px 2px rgb(31 75 106 / .06), 0 12px 30px -12px rgb(31 75 106 / .2);
  --shadow-floating: 0 2px 4px rgb(31 75 106 / .05), 0 24px 48px -16px rgb(31 75 106 / .26), 0 56px 96px -32px rgb(79 134 176 / .22);
  --shadow-on-dark: 0 2px 6px rgb(5 20 32 / .25), 0 28px 56px -20px rgb(5 20 32 / .55);

  --ease-lux: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-lux: 580ms;

  --radius-img: 24px;
  --maxw: 1520px;
  --gutter: 20px;
  --nav-clear: 124px;   /* space the floating nav occupies at the top of the viewport */
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-clear); }
body { font-family: "Quicksand", "Trebuchet MS", sans-serif; font-weight: 400; font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--ice); -webkit-font-smoothing: antialiased; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--navy); }
.h1 { font-weight: 700; font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.1; letter-spacing: -0.03em; }
.h2 { font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.125rem); line-height: 1.18; letter-spacing: -0.03em; }
.h3 { font-weight: 700; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.3125rem, 1.55vw, 1.4375rem); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; -webkit-text-stroke: .35px currentColor; }
.label { font-weight: 700; font-size: .875rem; letter-spacing: .01em; color: var(--blue); }
.muted { color: var(--ink-soft); }

.container-x { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 80px; position: relative; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
@media (min-width: 1024px) { .section { padding-block: 128px; } }
.section-head > * + * { margin-top: 16px; }
.section-head + * { margin-top: 56px; }
@media (min-width: 1024px) {
  .section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
  .section-head--split > * + * { margin-top: 0; }
  .section-head--split .lead { justify-self: end; }
}

/* ---------- Section grounds: each block owns its gradient; edges between them are hard ---------- */
.bg-ice    { background: radial-gradient(70% 90% at 100% 0%, rgb(111 189 184 / .22), transparent 70%), linear-gradient(165deg, #F7FAFB 0%, #E4EEF3 100%); }
.bg-sky    { background: radial-gradient(60% 80% at 0% 0%, rgb(255 255 255 / .6), transparent 70%), linear-gradient(160deg, #DCE9F3 0%, #B9D1E4 100%); }
.bg-navy   { background: radial-gradient(60% 70% at 100% 0%, rgb(111 189 184 / .22), transparent 70%), linear-gradient(160deg, #24557A 0%, #163A53 100%); }
.bg-lagoon { background: radial-gradient(60% 80% at 100% 100%, rgb(255 255 255 / .5), transparent 70%), linear-gradient(160deg, #E2F3F1 0%, #B4DCD8 100%); }
.bg-mist   { background: radial-gradient(70% 60% at 0% 0%, rgb(255 255 255 / .7), transparent 70%), linear-gradient(170deg, #EFF4F8 0%, #CCDDEA 100%); }
.bg-tide   { background: radial-gradient(60% 90% at 50% 0%, rgb(255 255 255 / .6), transparent 70%), linear-gradient(180deg, #E8F1F6 0%, #C3D8E6 100%); }
.bg-navy h2, .bg-navy h3 { color: var(--on-dark); }
.bg-navy .lead { color: rgb(250 252 253 / .8); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ==========================================================================
   Floating pill nav
   ========================================================================== */
.nav-shell { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: 12px; }
@media (min-width: 768px) { .nav-shell { top: 20px; padding-inline: var(--gutter); } }
.nav-pill {
  position: relative; max-width: var(--maxw); margin-inline: auto; height: 70px; padding: 0 8px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: var(--surface); /* opaque so the multiplied logo leaves no box */
  box-shadow: 0 0 0 1px rgb(31 75 106 / .06), var(--shadow-floating);
}
@media (min-width: 768px) { .nav-pill { height: 88px; padding: 0 14px 0 28px; } }

.logo { display: block; position: relative; height: 50px; aspect-ratio: 1.456; overflow: hidden; border-radius: 6px; flex: none; }
@media (min-width: 768px) { .logo { height: 66px; } }
.logo img { position: absolute; width: 121.6%; max-width: none; height: auto; left: -10.3%; top: -18.1%; mix-blend-mode: multiply; filter: brightness(1.08) contrast(1.08); }
/* Reversed (white) logo for navy grounds: invert to light-on-black, then screen away the black */
.logo--reversed { height: 80px; }
@media (min-width: 768px) { .logo--reversed { height: 104px; } }
.logo--reversed img { mix-blend-mode: screen; filter: grayscale(1) invert(1) brightness(3) contrast(1.8); }

/* Links sit centred between logo and CTA and spread wider as the screen allows */
.nav-links { display: none; align-items: center; gap: 36px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (min-width: 1100px) { .nav-links { gap: 52px; } }
@media (min-width: 1360px) { .nav-links { gap: 68px; } }
.nav-link { position: relative; font-weight: 700; font-size: 1.1875rem; letter-spacing: .005em; color: var(--navy); padding-block: 6px; border-radius: 4px; }
@media (min-width: 1100px) { .nav-link { font-size: 1.25rem; } }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-lux) var(--ease-lux); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:active { opacity: .7; }

.menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 999px; color: var(--navy); font-weight: 700; font-size: 1rem; position: relative; isolation: isolate; }
@media (min-width: 900px) { .menu-btn { display: none; } }
.menu-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--mist); opacity: .7; z-index: -1; transition: opacity 400ms var(--ease-lux); }
.menu-btn:hover::before { opacity: 1; }
.menu-btn:active { transform: scale(.96); }
.menu-btn .bar { transition: transform 500ms var(--ease-lux); transform-box: fill-box; transform-origin: center; }
.menu-btn[aria-expanded="true"] .bar-1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar-2 { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-floating); padding: 8px; isolation: isolate; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 450ms var(--ease-lux), transform 550ms var(--ease-lux); }
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: block; padding: 16px 18px; border-radius: 16px; font-weight: 700; font-size: 1.125rem; color: var(--navy); position: relative; }
.mobile-menu a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--mist); opacity: 0; transition: opacity 350ms var(--ease-lux); z-index: -1; }
.mobile-menu a:hover::before, .mobile-menu a[aria-current="page"]::before { opacity: .6; }
.mobile-menu a:active { transform: scale(.98); }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 16px 40px; border-radius: 999px; font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; line-height: 1.2; text-align: center; white-space: nowrap; transition: transform 500ms var(--ease-spring); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity var(--dur-lux) var(--ease-lux); }
.btn:hover { transform: translateY(-1px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.98); transition-duration: 150ms; }
@media (min-width: 768px) { .btn { min-height: 64px; padding: 18px 44px; font-size: 1.1875rem; } }
.btn-nav { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
@media (min-width: 768px) { .btn-nav { min-height: 60px; padding: 14px 32px; font-size: 1.1875rem; } }

.btn-primary { background: var(--navy); color: var(--on-dark); box-shadow: var(--shadow-elevated); }
.btn-primary::after { box-shadow: var(--shadow-floating); }
.btn-light { background: var(--ice); color: var(--navy); box-shadow: 0 2px 4px rgb(0 0 0 / .08), 0 18px 40px -16px rgb(0 0 0 / .45); }
.btn-light::after { box-shadow: 0 2px 4px rgb(0 0 0 / .1), 0 26px 56px -18px rgb(0 0 0 / .55); }
.btn-ghost-light { color: var(--on-dark); box-shadow: inset 0 0 0 2px var(--on-dark); }
.btn-ghost-light::after { background: rgb(255 255 255 / .12); }

/* "Book a call" CTAs: a colour layer fades in on hover (opacity only, no colour transition).
   Navy buttons wash to Manatee Blue; light buttons wash to Coastal Teal. */
.btn-book::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity var(--dur-lux) var(--ease-lux); }
.btn-primary.btn-book::before { background: var(--blue); }
.btn-light.btn-book::before { background: var(--teal); }
.btn-book:hover::before, .btn-book:focus-visible::before { opacity: 1; }

.hide-xs { display: none; } @media (min-width: 420px) { .hide-xs { display: inline; } }

/* ==========================================================================
   Heroes
   ========================================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 112px; padding-bottom: 64px; background: #1B2F3D; }
.hero--page { min-height: 72vh; min-height: 72svh; padding-top: 150px; padding-bottom: 96px; }
.hero-layer { position: absolute; inset: 0; z-index: -1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: heroSettle 2200ms var(--ease-lux) both; }
.hero-tint { background: var(--navy); mix-blend-mode: multiply; opacity: .55; }
.hero-scrim { background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .4) 50%, rgb(0 0 0 / .6) 100%); }
.hero-vignette { background: radial-gradient(ellipse at center, transparent 40%, rgb(0 0 0 / .28)); }
.hero h1, .hero-lead { color: var(--on-dark); text-shadow: 0 1px 24px rgb(0 0 0 / .3); }
.hero h1 { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.hero-lead { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.65; max-width: 60ch; margin-inline: auto; opacity: .95; -webkit-text-stroke: .35px currentColor; }
.hero-actions { gap: 16px; }
@media (min-width: 640px) { .hero-actions { gap: 28px; } }
.hero-actions .btn { width: 100%; max-width: 380px; }
@media (min-width: 640px) { .hero-actions .btn { width: auto; } }
.hero-note { display: none; position: absolute; left: var(--gutter); bottom: 28px; font-size: .8125rem; color: var(--on-dark); opacity: .7; }
.photo-pending .hero-note { display: block; }

.rise { animation: rise 1100ms var(--ease-lux) both; }
.fade { animation: fade 900ms var(--ease-lux) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-lux), transform 1000ms var(--ease-lux); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Surfaces
   ========================================================================== */
.card { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-elevated); }
.icon-disc { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--mist); color: var(--blue); }
.icon-disc svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Problem cards: larger, more commanding */
.problem-card { min-height: 340px; padding: 40px 36px; gap: 22px; }
@media (min-width: 1024px) { .problem-card { min-height: 400px; padding: 56px 52px; gap: 26px; } }
.problem-card .icon-disc { width: 64px; height: 64px; }
.problem-card .icon-disc svg { width: 30px; height: 30px; }
.problem-card .h3 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.3; }
.problem-card p { font-size: 1.125rem; line-height: 1.7; }

.photo { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-img); box-shadow: var(--shadow-floating); background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo::before { content: ""; position: absolute; inset: 0; background: var(--teal); mix-blend-mode: multiply; opacity: .18; pointer-events: none; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .3), transparent 35%); pointer-events: none; }

.before { background: rgb(255 255 255 / .5); border-radius: 20px; box-shadow: inset 0 0 0 1px rgb(31 75 106 / .12); }
.after { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-floating); position: relative; }
@media (min-width: 768px) { .after { margin-left: 40px; margin-top: -12px; } }
.accent-pill { width: 56px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--navy), var(--teal)); }
.list-before li, .list-after li { display: flex; gap: 14px; align-items: flex-start; }
.list-before li { color: var(--ink-soft); }
.dash { flex: none; width: 14px; height: 2px; border-radius: 2px; background: var(--blue); opacity: .55; margin-top: .85em; }
.check { flex: none; width: 20px; height: 20px; margin-top: .25em; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Our Services — hover cards, sized so heading + both rows fit one desktop screen
   ========================================================================== */
.section--services { padding-block: 72px; }
@media (min-width: 1024px) { .section--services { padding-block: 64px; } .section--services .section-head + * { margin-top: 32px; } }
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 24px; } }

.svc { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-img); aspect-ratio: 4 / 3; box-shadow: var(--shadow-on-dark); color: var(--on-dark); display: block; cursor: pointer; transition: transform var(--dur-lux) var(--ease-lux); }
/* Desktop: two rows share the viewport under the nav and heading (~280px of chrome) */
@media (min-width: 1024px) { .svc { aspect-ratio: auto; height: clamp(210px, calc((100vh - 290px) / 2), 340px); } }
.svc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: transform 1200ms var(--ease-lux); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgb(12 30 44 / .82), rgb(12 30 44 / .12) 60%, transparent); }
.svc-dim { position: absolute; inset: 0; z-index: -1; background: rgb(18 44 62 / .6); opacity: 0; transition: opacity var(--dur-lux) var(--ease-lux); }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px 26px; transform: translateY(var(--desc-h, 0px)); transition: transform 600ms var(--ease-lux); }
.svc-title { color: var(--on-dark) !important; font-weight: 700; font-size: 1.4375rem; line-height: 1.25; letter-spacing: -0.015em; }
.svc-rule { width: 32px; height: 2px; border-radius: 2px; background: var(--teal); margin-bottom: 12px; }
.svc-desc { margin-top: 10px; font-size: 1.0625rem; line-height: 1.6; opacity: 0; transform: translateY(10px); transition: opacity var(--dur-lux) var(--ease-lux), transform 600ms var(--ease-lux); }
.svc:hover > img, .svc:focus-visible > img { transform: scale(1.04); }
.svc:hover .svc-dim, .svc:focus-visible .svc-dim { opacity: 1; }
.svc:hover .svc-body, .svc:focus-visible .svc-body { transform: none; }
.svc:hover .svc-desc, .svc:focus-visible .svc-desc { opacity: 1; transform: none; transition-delay: 80ms; }
.svc:active { transform: scale(.99); }
.svc-go { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--surface); color: var(--navy); box-shadow: var(--shadow-on-dark); transition: transform 500ms var(--ease-spring); }
.svc-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-go, .svc:focus-visible .svc-go { transform: translateX(3px); }
@media (hover: none) { .svc-body { transform: none; } .svc-desc { opacity: 1; transform: none; } .svc-dim { opacity: .6; } }

/* ==========================================================================
   Reviews — infinite marquee drifting left → right, feathered at both edges
   ========================================================================== */
.marquee {
  overflow: hidden; padding-block: 12px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; will-change: transform; }
/* Track holds the review set twice; sliding from -50% to 0 moves right and loops seamlessly */
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.review { flex: none; width: min(84vw, 420px); margin-right: 24px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-elevated); padding: 32px; display: flex; flex-direction: column; }
.quote-mark { font-weight: 700; font-size: 4rem; line-height: .6; color: var(--teal); height: 28px; display: block; }
.quote { font-size: 1.125rem; line-height: 1.65; color: var(--ink); }
.sample-tag { display: inline-flex; align-self: flex-start; font-weight: 700; font-size: .75rem; letter-spacing: .01em; color: var(--ink-soft); background: var(--mist); border-radius: 999px; padding: 3px 10px; }

.value { border-top: 1px solid rgb(31 75 106 / .18); padding-top: 22px; }

/* ==========================================================================
   Static service-area map with hover pins
   ========================================================================== */
.map-frame { position: relative; border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-floating); background: #2E4F7E; }
/* The canvas keeps the image's aspect ratio so pins (placed in %) stay on their towns.
   On narrow screens it's wider than the frame and shifted to keep the bay centred. */
.map-canvas { position: relative; width: 250%; margin-left: -80%; aspect-ratio: 1920 / 972; }
@media (min-width: 640px) { .map-canvas { width: 160%; margin-left: -34%; } }
@media (min-width: 1024px) { .map-canvas { width: 100%; margin-left: 0; } }
.map-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-canvas::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgb(12 30 44 / .25), transparent 30%); }

.pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 999px; cursor: pointer; }
.pin-dot { position: relative; width: 16px; height: 16px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px rgb(31 75 106 / .6), 0 6px 14px rgb(0 0 0 / .35); transition: transform 450ms var(--ease-spring); }
.pin-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 999px; border: 2px solid var(--surface); opacity: 0; animation: pinPulse 3.2s var(--ease-lux) infinite; animation-delay: var(--pulse-delay, 0s); }
@keyframes pinPulse { 0% { opacity: .7; transform: scale(.5); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.pin-tip {
  position: absolute; bottom: calc(100% + 2px); left: 50%; white-space: nowrap; pointer-events: none;
  padding: 7px 14px; border-radius: 999px; background: var(--surface); color: var(--navy); font-weight: 700; font-size: .9375rem; box-shadow: var(--shadow-floating);
  opacity: 0; transform: translate(-50%, 6px); transition: opacity 450ms var(--ease-lux), transform 500ms var(--ease-lux);
}
.pin:hover, .pin:focus-visible { z-index: 3; } /* lift the active pin's tooltip above neighbouring pins */
.pin:hover .pin-dot, .pin:focus-visible .pin-dot { transform: scale(1.25); }
.pin:hover .pin-tip, .pin:focus-visible .pin-tip { opacity: 1; transform: translate(-50%, 0); }
.pin:active .pin-dot { transform: scale(1.1); }
.pin:focus-visible { outline-offset: 0; }
.map-caption { font-size: .9375rem; color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { position: relative; background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px rgb(31 75 106 / .08); isolation: isolate; transition: transform var(--dur-lux) var(--ease-lux); }
.faq-item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); transform: scaleY(0); transition: transform var(--dur-lux) var(--ease-lux); }
.faq-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-elevated); opacity: 0; transition: opacity var(--dur-lux) var(--ease-lux); z-index: -1; }
.faq-item.is-open::before { transform: scaleY(1); }
.faq-item.is-open::after { opacity: 1; }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 22px 22px 26px; border-radius: 18px; position: relative; font-weight: 700; font-size: 1.125rem; line-height: 1.45; color: var(--navy); }
.faq-trigger::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--mist); opacity: 0; transition: opacity 450ms var(--ease-lux); z-index: -1; }
.faq-trigger:hover::before { opacity: .45; }
.faq-trigger:active { transform: scale(.995); }
.faq-chevron { flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--mist); display: grid; place-items: center; color: var(--navy); transition: transform var(--dur-lux) var(--ease-lux); }
.faq-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-item.is-open .faq-chevron { background: var(--blue); color: var(--on-dark); }
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-panel { padding: 0 26px 24px; }
.faq-panel p { max-width: 70ch; color: var(--ink-soft); }
.faq-panel:not([hidden]) { animation: faqIn var(--dur-lux) var(--ease-lux) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } }

/* ==========================================================================
   CTA panel
   ========================================================================== */
.cta-panel { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: var(--radius-img); box-shadow: var(--shadow-floating); background: radial-gradient(700px 400px at 100% 0%, rgb(111 189 184 / .32), transparent 70%), linear-gradient(135deg, var(--navy), #2A628A 60%, var(--blue)); }
.cta-panel h2, .cta-panel p { color: var(--on-dark); }
.cta-panel p { opacity: .88; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .09; }

/* ==========================================================================
   Book-a-call page
   ========================================================================== */
.booking-intro { padding-top: calc(var(--nav-clear) + 56px); padding-bottom: 0; text-align: center; }
.booking-shell { max-width: 1080px; margin-inline: auto; }
.booking-card { background: var(--surface); border-radius: var(--radius-img); box-shadow: var(--shadow-floating); overflow: hidden; }
.booking-card iframe { display: block; width: 100%; height: 1080px; border: 0; }
@media (min-width: 768px) { .booking-card iframe { height: 760px; } }
.text-link { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; border-radius: 4px; transition: opacity 300ms var(--ease-lux); }
.text-link:hover { opacity: .75; }
.text-link:active { opacity: .6; }

/* ==========================================================================
   Service pages
   ========================================================================== */
.detail-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: 5fr 6fr; gap: 88px; align-items: start; }
  .detail-copy { position: sticky; top: calc(var(--nav-clear) + 16px); }
}
.detail-body { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; }
.included { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-floating); padding: 32px 24px 12px; }
@media (min-width: 768px) { .included { padding: 44px 48px 20px; } }
.included-title { font-size: 1.5rem; margin-bottom: 12px; }
.included li { display: flex; gap: 16px; align-items: flex-start; padding-block: 22px; border-top: 1px solid rgb(31 75 106 / .12); }
.included-name { font-weight: 700; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 4px; }

/* Services overview: alternating photo and text */
.svc-rows { display: grid; gap: 72px; }
.svc-row { display: grid; gap: 28px; align-items: center; }
.svc-row-photo { display: block; aspect-ratio: 3 / 2; }
.svc-row-title { font-size: clamp(1.75rem, 2.6vw, 2.375rem); }
@media (min-width: 900px) {
  .svc-rows { gap: 104px; }
  .svc-row { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .svc-row:nth-child(even) .svc-row-photo { order: 2; }
}

/* ==========================================================================
   Areas
   ========================================================================== */
.area-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.area-card { overflow: hidden; }
.area-photo { aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; }
.area-text { padding: 24px 26px 28px; }
.area-name { font-size: 1.4375rem; }
@media (min-width: 640px) { .area-card--wide { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .area-card--wide { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; }
  .area-card--wide .area-text { padding: 40px 48px; }
  .area-card--wide .area-photo { aspect-ratio: 16 / 9; }
}

.about-value { font-size: 1.4375rem; }

/* ==========================================================================
   Blog topics
   ========================================================================== */
.topic-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 28px; border-top: 1px solid rgb(31 75 106 / .18); }
@media (min-width: 768px) { .topic-list li { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } }
.topic-name { font-size: clamp(1.3125rem, 1.8vw, 1.5625rem); }
.topic-list .sample-tag { flex: none; align-self: auto; }

/* ==========================================================================
   Free property analysis
   ========================================================================== */
.analysis { position: relative; overflow: hidden; isolation: isolate; background: #1B2F3D; padding-top: calc(var(--nav-clear) + 32px); padding-bottom: 72px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.analysis-grid { display: grid; gap: 40px; }
@media (min-width: 1100px) { .analysis-grid { grid-template-columns: 1fr minmax(0, 640px); gap: 80px; align-items: center; } }
.analysis h1 { color: var(--on-dark); text-shadow: 0 1px 24px rgb(0 0 0 / .3); max-width: 13ch; }
.analysis-lead { margin-inline: 0; max-width: 34ch; }
.analysis-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark); font-size: 1.125rem; }
.form-panel { background: var(--surface); border-radius: var(--radius-img); box-shadow: var(--shadow-on-dark); padding: clamp(24px, 4vw, 44px); }
.form-title { font-size: 1.5rem; margin-bottom: 24px; }
.form-grid { display: grid; gap: 18px 16px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .9375rem; color: var(--navy); margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; background: var(--ice); color: var(--ink); font-size: 1.0625rem; line-height: 1.4; box-shadow: inset 0 0 0 1px rgb(31 75 106 / .24); }
.field textarea { resize: vertical; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231F4B6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.field .error { box-shadow: inset 0 0 0 2px #B3402E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #9C3323; font-weight: 700; font-size: 1rem; line-height: 1.5; }
.form-grid .btn { width: 100%; margin-top: 6px; }
.form-grid .btn:disabled { opacity: .65; cursor: progress; }
.thanks { text-align: center; padding-block: 32px; outline: none; animation: faqIn var(--dur-lux) var(--ease-lux) both; }
.thanks .lead { margin-inline: auto; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 999px; background: var(--mist); color: var(--blue); }
.thanks-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Footer — solid Deep Ocean Navy
   ========================================================================== */
.site-footer { background: var(--navy); color: rgb(250 252 253 / .85); }
.foot-link { position: relative; color: var(--on-dark); font-size: 1rem; border-radius: 4px; }
.foot-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-lux) var(--ease-lux); }
.foot-link:hover::after { transform: scaleX(1); }
.foot-link:active { opacity: .7; }
.foot-rule { border-top: 1px solid rgb(250 252 253 / .14); }

/* ==========================================================================
   Reduced motion: no drifting, no reveals; the marquee becomes a swipeable row
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track .review[aria-hidden="true"] { display: none; }
}
