/* ==========================================================================
   Sienna Beach Hotel — Site components: header, footer, hero, forms, gallery
   ========================================================================== */

/* ---------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height var(--dur-med) var(--ease);
  background: transparent;
}
/* The solid/blurred header background lives on a ::before layer rather
   than on .site-header itself. backdrop-filter (like transform/filter)
   makes the element that carries it a new containing block for any
   position:fixed descendants — and .main-nav (the full-screen mobile
   menu) is a fixed-position descendant of .site-header. Putting the
   filter on the element directly caused the open mobile menu to size
   itself against the ~68px header box instead of the viewport once the
   header became "solid" (i.e. as soon as the page was scrolled). Using a
   ::before pseudo-element keeps the same visual result while leaving
   .site-header itself filter-free, so .main-nav's fixed positioning
   still resolves against the real viewport. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease),
              backdrop-filter var(--dur-med) var(--ease);
}
.site-header.is-solid::before,
.site-header:not(.is-transparent)::before {
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: var(--shadow-sm);
}
.site-header .header-inner {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand { display: flex; align-items: center; }
.brand img {
  height: 52px; width: auto;
  background: var(--white);
  border-radius: 9px;
  padding: 5px 8px;
  box-shadow: 0 1px 4px rgba(14,39,51,0.08);
  transition: height var(--dur-med) var(--ease);
}
.site-header.is-solid .brand img { height: 44px; }
.site-header.is-transparent:not(.is-solid) .nav-link {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.main-nav ul { display: flex; align-items: center; gap: clamp(0.7rem, 1.1vw, 1.5rem); flex-wrap: nowrap; }
.nav-book-mobile { display: none; }
.nav-close { display: none; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-800);
  padding: 0.4rem 0.1rem;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transition: right var(--dur-med) var(--ease);
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-tel {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 1180px) { .header-tel { display: inline-flex; align-items: center; gap: 0.4em; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.site-header.is-transparent:not(.is-solid) .nav-toggle { color: var(--white); }
.nav-toggle:not(.is-transparent) { color: var(--navy-800); }

@media (max-width: 480px) {
  .brand-word { display: none; }
}

@media (max-width: 980px) {
  .main-nav {
    display: flex;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--navy-900);
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    padding: var(--space-2xl) var(--space-lg);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: var(--space-md); flex-wrap: wrap; }
  .main-nav .nav-link { color: var(--ivory) !important; font-size: var(--fs-lg); text-shadow: none; white-space: normal; }
  .main-nav .nav-link::after { background: var(--coral-300); }
  .nav-book-mobile { display: block; margin-top: var(--space-md); }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; color: inherit; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-tel { display: none !important; }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: var(--space-md);
    right: var(--container-pad);
    color: var(--ivory);
    width: 44px; height: 44px;
  }
}
body.nav-open { overflow: hidden; }

/* ---------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,39,51,0.35) 0%, rgba(14,39,51,0.18) 38%, rgba(14,39,51,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-h) + var(--space-xl)) var(--container-pad) var(--space-2xl);
  max-width: var(--container-w);
  margin-inline: auto;
}
.hero-eyebrow {
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--coral-300);
  display: flex; align-items: center; gap: 0.6em;
  margin-bottom: var(--space-sm);
}
.hero h1 {
  color: var(--white);
  font-size: var(--fs-3xl);
  max-width: 16ch;
  margin-bottom: var(--space-md);
}
.hero-sub {
  font-size: var(--fs-md);
  max-width: 46ch;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-scroll {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%);
  z-index: 1; color: var(--white); opacity: 0.85;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 34px; background: currentColor; opacity: 0.7; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll .line { animation: none; } }

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-content { padding-bottom: var(--space-xl); }
.page-hero h1 { font-size: var(--fs-2xl); max-width: 18ch; color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(14,39,51,0.25) 0%, rgba(14,39,51,0.15) 30%, rgba(14,39,51,0.75) 100%);
}
.breadcrumb { font-size: var(--fs-xs); color: rgba(255,255,255,0.75); margin-bottom: var(--space-sm); letter-spacing: 0.04em; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------- Room / promo cards --------------------------------- */
.room-card { display: flex; flex-direction: column; }
.room-card .media-frame { aspect-ratio: 4/3; }
.room-card .card-body { padding: var(--space-md); }
.room-card .room-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: var(--fs-xs); color: var(--color-text-soft); margin: var(--space-xs) 0 var(--space-sm); }
.room-card .room-meta span { display: inline-flex; align-items: center; gap: 0.35em; }
.room-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.feature-item { display: flex; gap: var(--space-sm); align-items: flex-start; min-width: 0; }
.feature-item > div:last-child, .feature-item > span:last-child { min-width: 0; }
.feature-item h4 { overflow-wrap: break-word; }
.feature-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--ocean-600);
}
.bg-navy .feature-icon { border-color: rgba(255,255,255,0.22); color: var(--ocean-300); }
.feature-item h4 { margin-bottom: 0.2em; font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; }
.feature-item p { font-size: var(--fs-sm); color: var(--color-text-soft); }
.bg-navy .feature-item p { color: rgba(250,246,239,0.75); }

/* ---------------------------------- Stat strip --------------------------------- */
.stat-strip { display: flex; flex-wrap: wrap; gap: var(--space-xl); }
.stat-strip .stat b { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--color-accent); }
.stat-strip .stat span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-soft); }

/* ---------------------------------- Gallery --------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.gallery-grid .media-frame { aspect-ratio: 1/1; cursor: zoom-in; border-radius: var(--radius-image-sm); }
.gallery-grid .media-frame.tall { aspect-ratio: 1/1.35; grid-row: span 2; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid .media-frame.tall { grid-row: span 1; aspect-ratio: 1/1; } }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14,23,28,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease);
  padding: var(--space-lg);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius-image-sm); }
.lightbox-caption { color: var(--ivory); text-align: center; margin-top: var(--space-sm); font-size: var(--fs-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white); width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.08);
  transition: background var(--dur-fast) var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: var(--space-md); right: var(--container-pad); }
.lightbox-prev { left: var(--container-pad); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--container-pad); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } }

/* ---------------------------------- Forms --------------------------------- */
.field { margin-bottom: var(--space-lg); }
.field label {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-text-soft); margin-bottom: 0.6rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85em 0.2em;
  border: none;
  border-bottom: 1.5px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ocean-500);
  box-shadow: none;
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; border: 1.5px solid var(--color-border); padding: 0.85em 1em; border-radius: var(--radius-sm); }
.field textarea:focus { box-shadow: 0 0 0 3px var(--ocean-100); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-hint { font-size: var(--fs-xs); color: var(--color-text-soft); margin-top: 0.35rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-group-label {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--navy-800);
  margin: var(--space-xl) 0 var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.field-group-label:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.form-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-status {
  display: none;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
}
.form-status.is-visible { display: block; }
.form-status.success { background: #eaf3e6; color: #3c5c34; }
.form-status.error { background: #fbe7e2; color: #93321a; }

/* ---------------------------------- Book page layout --------------------------------- */
.book-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-2xl); align-items: start; }
@media (max-width: 860px) { .book-layout { grid-template-columns: 1fr; } }

.booking-aside {
  border-left: 2px solid var(--coral-300);
  padding-left: var(--space-lg);
}
.booking-aside h3 {
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  margin-bottom: var(--space-md);
}
.booking-aside-list { display: grid; gap: var(--space-md); }
.booking-aside-list a { display: flex; align-items: center; gap: 0.75em; font-size: var(--fs-sm); color: var(--navy-800); }
.booking-aside-list a:hover { color: var(--color-accent-dark); }
.booking-aside-list .icon { color: var(--color-accent-dark); width: 1.2em; height: 1.2em; flex: none; }
.booking-aside-note { font-size: var(--fs-sm); color: var(--color-text-soft); line-height: 1.7; }
@media (max-width: 860px) { .booking-aside { border-left: none; border-top: 1px solid var(--color-border); padding-left: 0; padding-top: var(--space-lg); margin-top: var(--space-lg); } }

/* ---------------------------------- Footer --------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(250,246,239,0.82); }
.footer-top { padding-block: var(--space-2xl); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-xl); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: var(--space-lg); } }
.footer-brand img { height: 40px; margin-bottom: var(--space-sm); background: var(--white); border-radius: 7px; padding: 3px 5px; }
.footer-brand p { color: rgba(250,246,239,0.65); font-size: var(--fs-sm); max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-body); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
  color: var(--ivory); margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col address { font-size: var(--fs-sm); color: rgba(250,246,239,0.72); font-style: normal; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--coral-300); }
.social-row { display: flex; gap: 0.7rem; margin-top: var(--space-sm); }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.social-row a:hover { background: var(--coral-500); transform: translateY(-2px); }
.newsletter-row { display: flex; gap: 0.5rem; margin-top: var(--space-sm); }
.newsletter-row input {
  flex: 1; min-width: 0; padding: 0.75em 1em; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: var(--ivory);
}
.newsletter-row input::placeholder { color: rgba(250,246,239,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-md);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm);
  font-size: var(--fs-xs); color: rgba(250,246,239,0.55);
}
.footer-bottom a:hover { color: var(--ivory); }

/* ---------------------------------- Mobile sticky CTA --------------------------------- */
.mobile-cta {
  position: fixed;
  left: 14px; right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(14,39,51,0.18), 0 2px 8px rgba(14,39,51,0.08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility 0s linear var(--dur-med);
}
.mobile-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility 0s linear;
}
body.nav-open .mobile-cta {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(14px) !important;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast) !important;
}
.mobile-cta-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.mobile-cta a {
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 0.4rem; font-size: 0.72rem; font-weight: 600; color: var(--navy-700);
  min-height: 52px;
  padding: 0.5rem 0.35rem;
  position: relative;
  letter-spacing: 0.01em;
  transition: background-color var(--dur-fast) var(--ease);
}
.mobile-cta a:active { background: var(--ivory-dim); }
.mobile-cta a + a::before {
  content: '';
  position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: var(--color-border);
}
.mobile-cta a .icon { width: 1.1em; height: 1.1em; stroke-width: 1.6; flex: none; }
.mobile-cta a.primary { color: var(--color-accent-dark); }
@media (max-width: 760px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 84px; }
}

/* ---------------------------------- Desktop floating WhatsApp chat --------------------------------- */
/* Picks up exactly where the mobile quick-action dock leaves off (760px),
   so there is never a width where neither control is visible, and never
   one where both are. Mobile keeps WhatsApp inside the dock only. */
.whatsapp-float {
  display: none;
  position: fixed;
  right: clamp(1.25rem, 2vw, 2rem);
  bottom: clamp(1.25rem, 2vw, 2rem);
  z-index: 95;
  align-items: center;
  gap: 0.7rem;
  background: var(--ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.15rem 0.5rem 0.5rem;
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-800);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.whatsapp-float:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.whatsapp-float:focus-visible {
  outline: 2.5px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-pill);
}
.whatsapp-float-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--white);
}
.whatsapp-float-icon .icon { width: 20px; height: 20px; stroke-width: 2; }
.whatsapp-float-label { white-space: nowrap; }
@media (min-width: 761px) {
  .whatsapp-float { display: inline-flex; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .whatsapp-float-label { display: none; }
  .whatsapp-float { padding: 0.5rem; }
}

/* ---------------------------------- Misc content blocks --------------------------------- */
.badge-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge-list li {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.03em;
  padding: 0.5em 1em; border-radius: var(--radius-pill);
  background: var(--ivory-dim); color: var(--navy-700); border: 1px solid var(--color-border);
}

/* ---------------------------------- Spec list (room features, no pill chrome) --------------------------------- */
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-lg);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  padding: 0.55em 0;
  border-top: 1px solid rgba(228, 218, 200, 0.6);
  font-size: var(--fs-xs);
}
.spec-list li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(228, 218, 200, 0.6); }
.spec-list li span:first-child { color: var(--color-text-soft); }
.spec-list li span:last-child { font-weight: 600; color: var(--navy-800); text-align: right; }
@media (max-width: 560px) { .spec-list { grid-template-columns: 1fr; } .spec-list li:nth-last-child(-n+2) { border-bottom: none; } .spec-list li:last-child { border-bottom: 1px solid var(--color-border); } }

/* ---------------------------------- Amenity strip (slim, editorial — not a feature grid) --------------------------------- */
.amenity-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem var(--space-2xl);
  justify-content: center;
}
.amenity-strip li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  padding-block: var(--space-sm);
}
.amenity-strip .icon { width: 1.3em; height: 1.3em; color: var(--color-accent-dark); stroke-width: 1.4; }

/* ---------------------------------- Asymmetric split layouts (editorial, image-dominant) --------------------------------- */
.split { display: grid; gap: var(--space-2xl); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
.split-wide.reverse { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
@media (max-width: 900px) {
  .split-wide, .split-wide.reverse { grid-template-columns: 1fr; }
}

/* Overlap: text panel floats over the edge of a large image for a layered, magazine feel.
   The image takes the "prominent editorial" radius tier; the panel takes
   the standard tier one size down, so the two corners read as a single
   deliberate, related composition rather than a rounded shape clipped by
   a sharp one. */
.split-overlap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; }
.split-overlap .overlap-media { grid-column: 1 / 3; grid-row: 1; border-radius: var(--radius-image-lg); }
.split-overlap .overlap-panel {
  grid-column: 2 / 3; grid-row: 1;
  justify-self: end;
  background: var(--color-surface);
  border-radius: var(--radius-image);
  padding: clamp(1.75rem, 3vw, 3.25rem);
  margin-right: clamp(-1.5rem, -3vw, -2.5rem);
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.split-overlap.reverse { grid-template-columns: 1fr 1.3fr; }
.split-overlap.reverse .overlap-media { grid-column: 1 / 3; }
.split-overlap.reverse .overlap-panel { grid-column: 1 / 2; justify-self: start; margin-right: 0; margin-left: clamp(-1.5rem, -3vw, -2.5rem); }
@media (max-width: 860px) {
  .split-overlap, .split-overlap.reverse { grid-template-columns: 1fr; display: block; }
  .split-overlap .overlap-media { border-radius: var(--radius-image); }
  .split-overlap .overlap-panel, .split-overlap.reverse .overlap-panel {
    margin: -3rem var(--container-pad) 0; max-width: none; justify-self: unset; box-shadow: var(--shadow-md);
  }
}

/* Full-bleed editorial image break */
.bleed {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,39,51,0.55) 0%, rgba(14,39,51,0.1) 55%, rgba(14,39,51,0.05) 100%);
}
.bleed-content { position: relative; z-index: 1; max-width: 620px; padding: var(--space-2xl) var(--container-pad); }
.bleed-content h1, .bleed-content h2, .bleed-content h3 { color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.bleed-content .eyebrow { color: var(--coral-300); }
.bleed-content .lede { color: rgba(255,255,255,0.88); }
@media (max-width: 700px) {
  .bleed { min-height: 52vh; }
  .bleed::after { background: linear-gradient(180deg, rgba(14,39,51,0.2) 0%, rgba(14,39,51,0.65) 100%); }
}
.pricing-note { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--color-accent-dark); }
.pricing-note small { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--color-text-soft); display: block; text-transform: uppercase; letter-spacing: 0.06em; }

.map-frame { border-radius: var(--radius-image); overflow: hidden; box-shadow: var(--shadow-sm); border: 0; width: 100%; height: 420px; }

.policy-list { display: grid; gap: var(--space-md); }
.policy-item h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-base); color: var(--navy-800); }
.policy-item p { font-size: var(--fs-sm); color: var(--color-text-soft); }

.team-card { text-align: center; }
.team-card .media-frame { aspect-ratio: 1/1; border-radius: 50%; max-width: 180px; margin-inline: auto; }
.team-card h4 { margin-top: var(--space-sm); margin-bottom: 0.1em; font-family: var(--font-display); font-size: var(--fs-md); }
.team-card span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent-dark); font-weight: 600; }

.notice-banner {
  display: flex; align-items: flex-start; gap: var(--space-md);
  border-left: 2px solid var(--coral-300);
  padding: 0.3em 0 0.3em var(--space-lg);
  font-size: var(--fs-md);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-snug);
}
.notice-banner .icon { display: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; }
