/* Critical fonts — font-display:swap ensures text remains visible during load */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/outfit-400.ttf') format('truetype');
}

/* outfit-500 removed — was used only for .hero-list li (now weight:400) */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../assets/fonts/outfit-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/outfit-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/outfit-800.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../assets/fonts/playfair-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/playfair-800.ttf') format('truetype');
}

:root {
  --bg: #f8f1e7;
  --surface: #fffaf2;
  --surface-alt: #e8f5f3;
  --surface-pop: #fff3df;
  --text: #172429;
  --muted: #53666b;
  --brand: #0f6b72;
  --brand-strong: #0d3d44;
  --brand-soft: #dff3f1;
  --accent: #e29a38;
  --accent-strong: #945712;
  --accent-soft: #fff0d6;
  --coral: #d95845;
  --line: #d4e0db;
  --shadow: 0 18px 40px rgba(13, 61, 68, 0.12);
  --shadow-strong: 0 26px 64px rgba(13, 61, 68, 0.18);
  --max: 1180px;
  --radius: 8px;

  /* Variables added for modal */
  --h-navy: 210;
  --h-teal: 182;
  --primary: hsl(var(--h-navy), 73%, 15%);
  --accent-teal: hsl(var(--h-teal), 100%, 24%);
  --text-muted: hsl(210, 15%, 40%);
  --bg-surface: hsl(210, 40%, 98%);
  --border: hsla(var(--h-navy), 20%, 90%, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf2 0, var(--bg) 440px, #f7fbfa 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

video {
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-strong);
}

.procedure-resource {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.procedure-resource video,
.procedure-resource img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--brand-strong);
}

.geistlich-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.geistlich-credit img {
  width: 76px;
  height: auto;
}

.procedure-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.procedure-links a {
  display: block;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.procedure-links a span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.top-banner {
  position: relative;
  z-index: 30;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, var(--accent), #f0b35b);
  color: var(--brand-strong);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(13, 61, 68, 0.14);
}

.top-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.top-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-strong);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(13, 61, 68, 0.18);
}

.top-banner a:hover {
  color: #fff;
  background: var(--brand);
}

.site-header {
  position: fixed;
  top: calc(var(--banner-height, 0px) + 1rem);
  left: 0;
  right: 0;
  z-index: 25;
  pointer-events: none;
  transition: top 180ms ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(15, 107, 114, 0.12);
  box-shadow: 0 18px 44px rgba(13, 61, 68, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  min-height: 66px;
  padding: 0.6rem 1rem 0.6rem 1.75rem;
  border: 1px solid rgba(15, 107, 114, 0.16);
  border-radius: 35px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 20px 50px rgba(13, 61, 68, 0.16);
  backdrop-filter: blur(18px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  cursor: pointer;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.animated-brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 4.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--brand-strong) 0%, var(--brand-strong) 35%, var(--accent) 50%, var(--brand-strong) 65%, var(--brand-strong) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 8s linear infinite;
  white-space: nowrap;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.brand img {
  width: 132px;
  height: auto;
}

.header-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  transition: 160ms ease;
  white-space: nowrap;
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--accent));
  color: #fff;
  box-shadow: 0 16px 34px rgba(217, 88, 69, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c94c3b, #d88421);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(217, 88, 69, 0.28);
}

.btn-secondary {
  background: rgba(15, 107, 114, 0.07);
  color: var(--brand);
  border-color: rgba(40, 83, 92, 0.24);
}

.btn-secondary:hover {
  border-color: rgba(22, 54, 61, 0.44);
  background: rgba(40, 83, 92, 0.05);
}

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--brand-strong);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--brand-strong);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(8, 30, 35, 0.6) 0%, transparent 55%),
    linear-gradient(90deg, rgba(8, 30, 35, 0.9) 0%, rgba(8, 42, 47, 0.65) 45%, rgba(8, 42, 47, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 42, 47, 0.4), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
  min-height: 88vh;
  padding: 11.2rem 0 4.6rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--brand-strong);
}

h1 {
  font-size: clamp(2.35rem, 5.35vw, 4.2rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hero h1,
.clinician-highlight h2,
.cta-band h2 {
  color: #fff;
}

.hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 25%, #ffffff 50%, #d4d4d4 75%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.75));
  margin-bottom: 1.5rem;
}

.hero-copy p {
  max-width: 62ch;
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: #f8f9fa;
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  letter-spacing: 0.01em;
}

.hero-copy p strong {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.hero .eyebrow {
  color: #ffdca4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero .hero-actions .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.hero .hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Hero Carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
}

.hero-panel {
  align-self: center;
  justify-self: end;
  width: min(100%, 360px);
  padding: 1.55rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 250, 242, 0.96);
  color: var(--text);
  box-shadow: var(--shadow-strong);
}

.hero-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--brand-strong);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-panel p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.hero-list li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--text);
  font-weight: 400;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--coral);
}

.trust-bar {
  padding: 1.15rem 0;
  background: radial-gradient(circle at 16% 0%, rgba(226, 154, 56, 0.28), transparent 30%), linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  border-bottom: 4px solid var(--accent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 88px;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.trust-item::before {
  content: "✓";
  display: grid;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-strong);
  font-size: 1rem;
  line-height: 1;
}

.section {
  padding: 5rem 0;
}

.section>.wrap>h2,
.section>.wrap>div>h2 {
  max-width: 17ch;
}

.section-alt {
  background: linear-gradient(180deg, var(--surface) 0, var(--surface-alt) 100%);
}

.lede {
  max-width: 70ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.72fr);
  gap: 1.6rem;
  align-items: end;
  margin-bottom: 1.55rem;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

main a:not(.btn) {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(226, 154, 56, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

main a:not(.btn):hover {
  color: var(--accent-strong);
  text-decoration-color: var(--accent);
}

.intro-grid,
.options-grid,
.process-grid,
.cost-grid,
.care-grid,
.faq-grid,
.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.5rem);
}

.support-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #dfe6e5;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.support-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.list {
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.list li {
  position: relative;
  padding-left: 1.25rem;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(226, 154, 56, 0.16);
}

.options-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(13, 61, 68, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card:hover {
  border-color: rgba(15, 107, 114, 0.22);
  box-shadow: 0 18px 42px rgba(13, 61, 68, 0.13);
  transform: translateY(-2px);
}

.card img.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--accent-soft);
}

.options-grid .card {
  border-top: 4px solid var(--accent);
}

.choice-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}

.choice-copy {
  display: grid;
  gap: 1rem;
}

.choice-card {
  align-self: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.94));
}

.benefit-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(220px, 1fr);
  gap: 1rem;
  margin-top: 1.35rem;
  align-items: stretch;
}

.benefit-card-stack {
  display: grid;
  gap: 1rem;
}

.benefit-card {
  padding: 1.15rem;
  border-left: 4px solid var(--accent);
}

.benefit-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.45rem;
}

.benefit-card p {
  margin: 0;
}

.benefit-image {
  margin: 0;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #102e34;
  box-shadow: var(--shadow);
}

.benefit-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.care-grid .card,
.credential-grid .card {
  border-left: 4px solid var(--brand);
}

.process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.step {
  position: relative;
  min-height: 100%;
  padding: 3.1rem 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(13, 61, 68, 0.07);
}

.step h3 {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
}

.step::before {
  content: attr(data-step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.planning-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2.1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid rgba(15, 107, 114, 0.16);
}

.planning-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.planning-images figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #102e34;
  box-shadow: 0 12px 28px rgba(13, 61, 68, 0.14);
}

.planning-images img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.planning-copy {
  padding-right: 0.7rem;
}

.planning-copy p:last-child {
  margin-bottom: 0;
}

.cost-grid,
.care-grid,
.credential-grid,
.location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.price-panel {
  padding: 1.9rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-strong), var(--brand)), var(--brand-strong);
  color: #fff;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.price-panel .small {
  color: rgba(255, 255, 255, 0.82);
}

.price-panel .hero-price {
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.price-panel h3 {
  color: #fff;
}

.price-panel p,
.price-panel li {
  color: rgba(255, 255, 255, 0.9);
}

.service-catalogue {
  margin-top: 2.4rem;
}

.catalogue-intro {
  max-width: 82ch;
  margin-bottom: 1.3rem;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.visit-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(13, 61, 68, 0.06);
}

.visit-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.4rem;
}

.visit-card table {
  width: 100%;
  margin-top: 0.85rem;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.4;
}

.visit-card th,
.visit-card td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid rgba(15, 107, 114, 0.12);
  text-align: left;
  vertical-align: top;
}

.visit-card th {
  color: var(--brand-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.visit-card tfoot td {
  border-bottom: 0;
  font-weight: 700;
  color: var(--brand-strong);
}

.catalogue-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(226, 154, 56, 0.28);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.case-card {
  padding: 0;
  overflow: hidden;
}

.case-card:hover {
  transform: none;
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #102e34;
}

.case-image {
  position: relative;
  margin: 0;
  min-height: 270px;
  background: #dfe6e5;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.image-label {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.case-copy {
  padding: 1.2rem 1.25rem 1.35rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(13, 61, 68, 0.08);
}

.video-card iframe,
.map-card iframe {
  width: 100%;
  border: 0;
  display: block;
}

.video-card iframe {
  aspect-ratio: 16 / 9;
}

.video-card .caption,
.map-copy {
  padding: 1rem 1.15rem 1.2rem;
}

.credential-copy {
  display: grid;
  gap: 1rem;
}

.clinician-highlight {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13, 61, 68, 0.97), rgba(15, 107, 114, 0.91)), var(--brand-strong);
  color: #fff;
}

.clinician-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(226, 154, 56, 0.22), transparent 45%), linear-gradient(180deg, transparent 68%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.clinician-highlight .wrap {
  position: relative;
  z-index: 1;
}

.clinician-highlight .eyebrow,
.clinician-highlight h2,
.clinician-highlight .lede,
.clinician-highlight .small {
  color: #fff;
}

.clinician-highlight .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.clinician-highlight .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.clinician-highlight .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 1.35rem;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 68px rgba(7, 19, 23, 0.26);
}

.profile-card:hover,
.map-card:hover {
  transform: none;
}

.profile-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border-radius: var(--radius) 0 0 var(--radius);
  object-fit: cover;
  object-position: center top;
  background: #dfe6e5;
}

.profile-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2.1rem 2.1rem 2.1rem 0;
}

.profile-copy .lede,
.profile-copy .small {
  color: var(--muted);
}

.credential-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.2rem 0 0.1rem;
  padding: 0;
  list-style: none;
}

.credential-chips li {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.faq-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(15, 107, 114, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.92));
  box-shadow: 0 12px 28px rgba(13, 61, 68, 0.07);
}

.faq-question {
  margin: 0;
  color: var(--brand-strong);
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.35;
}

.faq-answer {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand) 56%, #b66a22);
  color: #fff;
  padding: 4rem 0;
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  max-width: 58ch;
}

.footer-logo {
  display: block;
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.site-footer {
  background: #fffaf2;
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid rgba(15, 107, 114, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.footer-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.footer-badges img {
  height: 70px;
  width: auto;
  opacity: 0.95;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.footer-badges img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer .small {
  color: #445459; /* Darker for contrast on #fffaf2 footer */
}

/* Contact Modal (Consultation Drawer) */
#contact-modal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

#contact-modal.active {
  transform: translateX(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.close-modal:hover {
  background: var(--bg-surface);
  color: var(--primary);
}

.contact-wrapper {
  padding: 3.5rem 3rem;
  overflow-y: auto;
}

.contact-info h2 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.modal-info-list {
  list-style: none;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0;
}

.modal-info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-surface);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Hamburger Menu */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3000;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 10px;
  transition: var(--transition);
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
  width: 100%;
  height: 0;
  max-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: transparent;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.nav-links.active {
  height: auto;
  max-height: calc(100svh - var(--banner-height, 0px) - 9rem);
  opacity: 1;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 107, 114, 0.1);
  pointer-events: auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.header-inner:has(.nav-links.active),
.site-header.nav-active .header-inner {
  max-height: calc(100svh - var(--banner-height, 0px) - 1.5rem);
}

.nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  padding: 0.4rem 0;
  display: block;
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-teal);
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1080px) {

  .hero-inner,
  .intro-grid,
  .section-heading,
  .choice-flow,
  .benefit-panel,
  .planning-feature,
  .cost-grid,
  .care-grid,
  .credential-grid,
  .footer-grid,
  .location-grid,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }

  .footer-col {
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-badges {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .options-grid,
  .process-grid,
  .faq-grid,
  .media-grid,
  .results-grid,
  .catalogue-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    justify-self: start;
  }

  .profile-card {
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .top-banner {
    padding: 0.48rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .site-header {
    top: calc(var(--banner-height, 0px) + 0.75rem);
  }

  .header-inner {
    min-height: unset;
    padding: 0.85rem 1rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.85rem;
    border-radius: 28px;
}

.header-inner:has(.nav-links.active),
  .site-header.nav-active .header-inner {
    justify-content: flex-start;
    max-height: calc(100svh - var(--banner-height, 0px) - 1.5rem);
  }

  .brand {
    width: fit-content;
    justify-content: center;
    text-align: center;
  }

  .brand img {
    width: 42px;
  }

  .animated-brand {
    font-size: 1.15rem;
    white-space: nowrap;
    max-width: none;
    line-height: 1.2;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 107, 114, 0.08);
    align-items: center;
    flex-wrap: nowrap;
}

  .header-actions .btn {
    flex: 1;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    letter-spacing: -0.01em;
  }

  .mobile-nav-toggle {
    flex: 0 0 30px;
    margin-left: 0.5rem;
  }

  .hero-inner {
    min-height: unset;
    padding: 14.5rem 0 3rem;
  }

  .options-grid,
  .process-grid,
  .faq-grid,
  .media-grid,
  .results-grid,
  .catalogue-grid,
  .before-after-pair,
  .planning-images,
  .procedure-resource,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    padding: 0.9rem 0;
  }

  .trust-item {
    min-height: unset;
    justify-content: flex-start;
    border-radius: 14px;
    text-align: left;
  }

  .visit-card {
    overflow-x: auto;
  }

  .visit-card table {
    min-width: unset;
  }

  .visit-card thead {
    display: none;
  }

  .visit-card tr {
    display: block;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--line);
  }

  .visit-card td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(15, 107, 114, 0.05);
  }

  .visit-card td:first-child {
    display: block;
    text-align: left;
    font-weight: 700;
    color: var(--brand-strong);
    background: rgba(15, 107, 114, 0.03);
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 0;
  }

  .visit-card td::before {
    content: attr(data-label);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--muted);
    text-align: left;
  }

  .visit-card td:first-child::before {
    display: none;
  }

  .visit-card tfoot tr {
    border-bottom: 0;
    background: var(--brand-soft);
    margin-top: 0.5rem;
  }

  .visit-card tfoot td {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    color: var(--brand-strong);
  }

  .case-image,
  .case-image img,
  .planning-images img,
  .benefit-image img {
    min-height: 240px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-card img {
    min-height: 340px;
    max-height: 460px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .profile-copy {
    padding: 0 1.35rem 1.45rem;
  }

  .section {
    padding: 3.75rem 0;
  }
}

@media (max-width: 500px) {
  .contact-wrapper {
    padding: 3.5rem 1.25rem 2rem;
  }

  .contact-info h2 {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
  }

  .modal-info-list {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .modal-info-list li {
    padding: 0.25rem 0;
    border: 0;
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-group label {
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 960px) {
  .nav-links, .nav-links.active {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 600px) {
  .nav-links, .nav-links.active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }
  .nav-col {
    align-items: center;
    width: 100%;
  }
  .nav-col a {
    width: 100%;
  }
}

/* Smile Gallery Row */
.smile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.smile-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 61, 68, 0.06);
  transition: var(--transition);
  aspect-ratio: 1 / 1;
  background: #dfe6e5;
}

.smile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.smile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.smile-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .smile-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .smile-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Team Page Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--brand);
}

.team-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  background: #dfe6e5;
}

.team-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
  color: var(--brand-strong);
}

.team-card-body .role {
  font-weight: 700;
  color: var(--accent-strong);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.team-card-body p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card img {
    height: 340px;
  }
}

/* Payment Plan Section */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.payment-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
}

.payment-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.payment-card .icon-wrap {
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-card .icon-wrap img {
  max-height: 100%;
  max-width: 140px;
  object-fit: contain;
}

.payment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--brand-strong);
}

.payment-card .features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.payment-card .features li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 107, 114, 0.05);
}

.payment-card .features li:last-child {
  border-bottom: 0;
}

.payment-card .btn-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: underline;
}

.tlc-featured {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--brand-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 107, 114, 0.2);
}

.tlc-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tlc-header img {
  width: 120px;
  height: auto;
}

.tlc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.tlc-plans-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tlc-plans-table table {
  width: 100%;
  border-collapse: collapse;
}

.tlc-plans-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.tlc-plans-table tr:last-child td {
  border-bottom: 0;
}

.tlc-plans-table .price-val {
  color: var(--brand);
  text-align: right;
}

.tlc-notes {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 107, 114, 0.1);
}

@media (max-width: 1080px) {
  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tlc-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .tlc-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .tlc-featured {
    padding: 1.5rem;
  }
}

/* ============================================================
   Math Captcha Verification Overlay (Premium Security Step)
   ============================================================ */
.captcha-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96);
}
.captcha-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.captcha-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-strong);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  border-top: 4px solid var(--brand);
}
.captcha-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.captcha-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brand-strong);
  margin: 0;
}
.captcha-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.captcha-expression-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.75rem 0;
}
.captcha-expression {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-strong);
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
  background: var(--brand-soft);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--brand);
  min-width: 110px;
  text-align: center;
}
.captcha-input {
  width: 80px;
  padding: 0.5rem;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-surface);
  color: var(--brand-strong);
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}
.captcha-input:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 107, 114, 0.15);
}
.captcha-error {
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-top: -0.25rem;
}
.captcha-error.visible {
  opacity: 1;
}
.captcha-shake {
  animation: captcha-shake-anim 0.4s ease-in-out;
}
@keyframes captcha-shake-anim {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.captcha-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.captcha-buttons .btn {
  width: 100%;
  margin: 0;
}
.captcha-cancel-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
  padding: 0.5rem;
}
.captcha-cancel-btn:hover {
  color: var(--brand-strong);
}

/* Welcome Section Styles */
.welcome-section {
  background: var(--bg-surface);
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.welcome-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-video-container {
  width: 100%;
}

.welcome-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #000;
  border: 1px solid rgba(15, 107, 114, 0.1);
}

.welcome-video-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-video-poster:hover {
  transform: scale(1.02);
}

.welcome-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 61, 68, 0.4) 0%, rgba(13, 61, 68, 0.75) 100%);
  z-index: 1;
}

.welcome-play-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(226, 154, 56, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 0 0 rgba(226, 154, 56, 0.4), var(--shadow);
  animation: welcome-pulse 2s infinite;
}

.welcome-play-btn svg {
  width: 36px;
  height: 36px;
  margin-left: 6px; /* Offset to center play triangle */
}

.welcome-video-poster:hover .welcome-play-btn {
  background: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(226, 154, 56, 0.4);
}

.welcome-video-title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-align: center;
}

.welcome-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

@keyframes welcome-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 154, 56, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(226, 154, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 154, 56, 0);
  }
}

/* Mobile Responsiveness for Welcome Section */
@media (max-width: 1024px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
