/* ============================================================
   LUMEN DENTAL STUDIO — styles.css
   Palette: bg #FFFFFF · surface #F4FBFA · text #0B2B33
            muted #5C7A80 · accent #2BB6A3 · line rgba(11,43,51,.10)
   Fonts: Poppins (display) · Inter (body)
   ============================================================ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #FFFFFF;
  --surface: #F4FBFA;
  --text:    #0B2B33;
  --muted:   #5C7A80;
  --accent:  #2BB6A3;
  --accent-dark: #1E9E8D;
  --line:    rgba(11,43,51,.10);
  --line-sm: rgba(11,43,51,.06);
  --r-sm:    10px;
  --r-md:    18px;
  --r-lg:    28px;
  --r-xl:    40px;
  --shadow-card: 0 4px 24px rgba(11,43,51,.07), 0 1px 4px rgba(11,43,51,.04);
  --shadow-hover: 0 12px 40px rgba(43,182,163,.14), 0 2px 8px rgba(43,182,163,.06);
  --transition: cubic-bezier(0.32, 0.72, 0, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
h5 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

p { color: var(--muted); font-size: clamp(.9rem, 1.4vw, 1.0rem); line-height: 1.72; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s var(--spring), transform 0.72s var(--spring);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ─── SECTIONS ─── */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

/* ─── EYEBROW TAG ─── */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(43,182,163,.09);
  border: 1px solid rgba(43,182,163,.2);
  border-radius: 999px;
  padding: .28rem .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.4rem;
}

/* ─── SECTION HEADER ─── */
.section-header {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-header h2 { margin-top: .1rem; }
.section-sub {
  margin-top: 1rem;
  max-width: 56ch;
}

/* ─── BUTTONS ─── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--spring), box-shadow .25s var(--spring), background .2s ease, opacity .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-pill:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.btn-pill:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(43,182,163,.28);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 28px rgba(43,182,163,.38);
  transform: translateY(-1px);
}

.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  padding: .7rem 1.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  transition: border-color .22s ease, background .22s ease, transform .22s var(--spring);
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost-pill:hover {
  border-color: var(--accent);
  background: rgba(43,182,163,.05);
  transform: translateY(-1px);
}
.btn-ghost-pill:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

.btn-lg  { font-size: .95rem; padding: .85rem 1.8rem; }
.btn-md  { font-size: .88rem; padding: .72rem 1.5rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
  transition: transform .22s var(--spring);
}
.btn-primary:hover .btn-icon-wrap { transform: translateX(2px) translateY(-1px) scale(1.08); }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 1.1rem 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(11,43,51,.04);
  padding: .7rem 0;
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  transition: opacity .2s ease;
}
.logo:hover { opacity: .8; }
.logo--footer { color: var(--text); }
.logo-thin { font-weight: 400; color: var(--muted); }
.logo-name { line-height: 1; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.desktop-nav a {
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .25s var(--spring);
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { width: 100%; }
.desktop-nav a:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 4px; border-radius: 3px; }

.header-cta { margin-left: 1.5rem; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  border-radius: var(--r-sm);
  position: relative;
  transition: background .2s ease;
}
.hamburger:hover { background: var(--surface); }
.hamburger:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.ham-line {
  display: block;
  width: 22px;
  height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  transition: transform .32s var(--spring), opacity .22s ease;
}
.ham-line-1 { transform: translateY(-5px); }
.ham-line-2 { transform: translateY(0); }
.ham-line-3 { transform: translateY(5px); }

.hamburger.open .ham-line-1 { transform: translateY(0) rotate(45deg); }
.hamburger.open .ham-line-2 { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line-3 { transform: translateY(0) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}
.mob-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  padding: .7rem 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s var(--spring), transform .35s var(--spring), color .2s ease;
  text-align: center;
  display: block;
  width: 100%;
}
.mobile-menu.open .mob-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mob-link:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open .mob-link:nth-child(2) { transition-delay: .10s; }
.mobile-menu.open .mob-link:nth-child(3) { transition-delay: .15s; }
.mobile-menu.open .mob-link:nth-child(4) { transition-delay: .20s; }
.mobile-menu.open .mob-link:nth-child(5) { transition-delay: .25s; }
.mobile-menu.open .mob-link:nth-child(6) { transition-delay: .30s; }
.mobile-menu.open .mob-link:nth-child(7) { transition-delay: .35s; }
.mob-link:hover { color: var(--accent); }
.mob-cta {
  margin-top: 1.2rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  padding: .8rem 2.4rem;
  font-size: 1rem;
  display: inline-block;
  width: auto;
}
.mob-cta:hover { background: var(--accent-dark); }
.mob-link:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,43,51,.58) 0%,
    rgba(11,43,51,.32) 55%,
    rgba(11,43,51,.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 6rem;
  width: 100%;
  max-width: 700px;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
.hero-content { max-width: 100%; }

.hero-content .eyebrow-tag {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
  color: #fff;
}

.hero-headline {
  color: #fff;
  margin-top: .3rem;
  max-width: 14ch;
}
.hero-headline em {
  font-style: normal;
  color: rgba(255,255,255,.72);
}

.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: clamp(.95rem, 1.7vw, 1.12rem);
  max-width: 46ch;
  margin-top: 1.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.4rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.trust-item strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.trust-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.22);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: .6;
}
.scroll-dot {
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%       { transform: translateY(10px); opacity: .3; }
}

/* ─── SERVICES ─── */
.section-services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .32s var(--spring), box-shadow .32s var(--spring), border-color .22s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(43,182,163,.22);
}

.service-img-wrap {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-img-wrap img {
  transition: transform .5s var(--spring);
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.04);
}

.service-body {
  padding: 1.4rem 1.6rem 1.8rem;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(43,182,163,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border: 1px solid rgba(43,182,163,.14);
}
.service-body h3 { margin-bottom: .45rem; }
.service-body p  { max-width: none; font-size: .9rem; }

/* ─── WHY US ─── */
.section-why { background: var(--surface); }

.why-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.why-left h2 { margin-bottom: 1.2rem; }
.why-intro { margin-bottom: 2rem; }

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.pillar {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: transform .28s var(--spring), box-shadow .28s var(--spring);
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(43,182,163,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(43,182,163,.12);
}
.pillar h4 { margin-bottom: .3rem; }
.pillar p  { font-size: .85rem; max-width: none; }

/* ─── TECHNOLOGY ─── */
.section-tech { background: var(--bg); }

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.double-bezel {
  border-radius: var(--r-xl);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.double-bezel-inner {
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
  height: 520px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8);
}
.double-bezel-inner img { border-radius: inherit; }

.tech-items-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tech-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.tech-item:first-child { padding-top: 0; }
.tech-item:last-child  { border-bottom: none; }

.tech-num {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  padding-top: .2rem;
  min-width: 2rem;
}
.tech-item h4 { margin-bottom: .35rem; }
.tech-item p  { font-size: .9rem; max-width: none; }

/* ─── TEAM ─── */
.section-team { background: var(--surface); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.team-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s var(--spring), box-shadow .3s var(--spring);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-img-wrap {
  height: 280px;
  overflow: hidden;
}
.team-img-wrap img {
  transition: transform .5s var(--spring);
}
.team-card:hover .team-img-wrap img { transform: scale(1.04); }

.team-body {
  padding: 1.5rem 1.6rem 1.8rem;
}
.team-body h3 { margin-bottom: .3rem; }
.team-role {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .03em;
  display: block;
  margin-bottom: .75rem;
}
.team-body p { font-size: .875rem; max-width: none; }

/* ─── BEFORE / AFTER ─── */
.section-ba { background: var(--bg); }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.ba-pair {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ba-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.ba-img-wrap + .ba-img-wrap {
  border-radius: 0 0 var(--r-md) var(--r-md);
  border-top: 2px solid #fff;
}
.ba-img-wrap img {
  border-radius: inherit;
}

.ba-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .75rem;
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}
.ba-badge--after {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ba-caption {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .9rem;
  font-style: italic;
  max-width: none;
}

/* ─── REVIEWS ─── */
.section-reviews { background: var(--surface); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.review-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 2rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: transform .28s var(--spring), box-shadow .28s var(--spring);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.review-stars { display: flex; }

.review-card p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  max-width: none;
  flex: 1;
}
.review-card p::before { content: '\201C'; }
.review-card p::after  { content: '\201D'; }

.review-author {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-top: .6rem;
  border-top: 1px solid var(--line);
}
.review-author strong {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.review-author span {
  font-size: .78rem;
  color: var(--muted);
}

/* ─── INSURANCE / FINANCING ─── */
.section-financing { background: var(--bg); }

.fin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.fin-left h2 { margin-bottom: 1.2rem; }
.fin-left p  { margin-bottom: 1.8rem; }

.fin-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.fin-perks li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
}
.fin-perks li svg { flex-shrink: 0; margin-top: .15rem; }

.fin-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.fin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.6rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: transform .27s var(--spring), box-shadow .27s var(--spring);
}
.fin-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}
.fin-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(43,182,163,.09);
  border: 1px solid rgba(43,182,163,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fin-card h4 { margin-bottom: .3rem; }
.fin-card p  { font-size: .875rem; max-width: none; }

/* ─── BOOKING ─── */
.section-booking { background: var(--surface); }

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.booking-left h2 { margin-bottom: 1rem; }
.booking-left > p { margin-bottom: 2rem; }

.booking-hours {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.2rem;
  font-size: .875rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--muted); }
.hours-row span:last-child  { font-weight: 600; color: var(--text); }

.booking-contact {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  font-style: normal;
}
.booking-contact a {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s ease;
}
.booking-contact a:hover { color: var(--accent); }
.booking-contact a:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ─── FORM ─── */
.booking-form {
  background: var(--bg);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  overflow: hidden;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: .38rem;
}
.field-group--full { grid-column: 1 / -1; }

.field-group label {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.field-group label span[aria-hidden] { color: var(--accent); margin-left: .1rem; }
.label-optional {
  font-weight: 400;
  color: var(--muted);
}

.field-group input,
.field-group select,
.field-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: .7rem 1rem;
  transition: border-color .22s ease, box-shadow .22s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: rgba(92,122,128,.55); }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,182,163,.12);
}
.field-group input:focus-visible,
.field-group select:focus-visible,
.field-group textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,182,163,.18);
}

/* Error state */
.field-group input.error,
.field-group select.error,
.field-group textarea.error {
  border-color: #e5534b;
  box-shadow: 0 0 0 3px rgba(229,83,75,.1);
}

.field-error {
  font-size: .76rem;
  color: #c73a31;
  font-weight: 500;
  min-height: 1.1em;
  display: block;
}

.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .6rem;
  max-width: none;
}

/* Form success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  animation: fadeInUp .5s var(--spring) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-success-icon { color: var(--accent); }
.form-success h3 {
  font-size: 1.35rem;
  color: var(--text);
}
.form-success p { max-width: 36ch; font-size: .9rem; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.65);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { color: #fff; margin-bottom: 1.2rem; }
.footer-brand .logo-thin { color: rgba(255,255,255,.5); }
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  max-width: none;
  line-height: 1.65;
  margin-bottom: .5rem;
}
.footer-brand a { color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-brand a:hover { color: var(--accent); }

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col h5 {
  color: rgba(255,255,255,.35);
  margin-bottom: .3rem;
}
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
}
.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  max-width: none;
}
.footer-bottom a {
  color: rgba(255,255,255,.55);
  transition: color .2s ease;
  font-weight: 600;
}
.footer-bottom a:hover { color: var(--accent); }

/* ─── BUILT BY PILL ─── */
.built-by-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(11,43,51,.92);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .45rem 1rem .45rem .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
  transition: transform .25s var(--spring), box-shadow .25s var(--spring), background .2s ease;
  text-decoration: none;
}
.built-by-pill:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,182,163,.32);
  color: #fff;
}
.built-by-pill:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; }
  .why-pillars { grid-template-columns: 1fr 1fr; }
  .tech-layout { grid-template-columns: 1fr; }
  .double-bezel-inner { height: 340px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .fin-layout { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .header-cta  { display: none; }
  .hamburger   { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .why-pillars   { grid-template-columns: 1fr; }
  .ba-grid       { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }

  .form-fields { grid-template-columns: 1fr; }

  .footer-nav { grid-template-columns: 1fr 1fr; }

  .hero-content { padding-top: 9rem; }

  .tech-img-col { order: -1; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust   { gap: .8rem; }
  .trust-divider { display: none; }
  .footer-nav   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .built-by-pill { bottom: 1rem; right: 1rem; }
}

/* ─── DATE INPUT ─── */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .5;
  cursor: pointer;
  filter: invert(52%) sepia(20%) saturate(600%) hue-rotate(140deg);
}
