/* Mizner Stem Institute — Premium Regenerative Medicine
   Palette: steel blue primary, clean white background, charcoal accents */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f7f8fa;
  --fg: #1e2530;
  --card: #f2f3f6;
  --card-fg: #1e2530;
  --primary: #4e6a8a;
  --primary-fg: #f7f8fa;
  --secondary: #ecedef;
  --muted: #ecedef;
  --muted-fg: #6b7280;
  --border: #dde0e6;
  --charcoal: #1e2530;
  --clean-white: #f7f8fa;
  --warm-white: #f0f1f3;
  --steel: #4e6a8a;
  --steel-light: #7a92ac;
  --ocean: #e8ecf0;
  --radius: 0.5rem;
}

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, .font-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
}

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.container { width: 100%; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; padding: 0 2rem; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1400px; } }

.eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--primary); font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.gold-divider, .steel-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(221,224,230,0.5);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between; height: 5rem;
}
.site-header .logo img { height: 2.5rem; width: auto; }
@media (min-width: 768px) { .site-header .logo img { height: 3rem; } }
@media (min-width: 1024px) { .site-header .logo img { height: 3.5rem; } }

.site-header nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .site-header nav { display: flex; } }

.site-header nav a {
  padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--muted-fg); transition: color 0.2s;
  position: relative;
}
.site-header nav a:hover, .site-header nav a.active { color: var(--primary); }
.site-header nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1.5rem; height: 2px; background: var(--primary);
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-fg);
  padding: 0.625rem 1.5rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500; border: none; cursor: pointer;
  transition: background 0.2s; position: relative; overflow: hidden;
}
.btn-primary:hover { background: rgba(78,106,138,0.9); }
.btn-primary-lg { padding: 0.875rem 2.5rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--fg);
  padding: 0.875rem 2.5rem; border-radius: 9999px;
  font-size: 1rem; border: 1px solid rgba(78,106,138,0.3);
  cursor: pointer; transition: background 0.2s;
}
.btn-outline:hover { background: rgba(78,106,138,0.05); }

.menu-toggle { display: block; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--fg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 768px) { img.logo-img { height: 30px; }}
/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: var(--clean-white); }
.site-footer .inner { padding: 4rem 0; display: grid; gap: 3rem; }
@media (min-width: 768px) { .site-footer .inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer .inner { grid-template-columns: repeat(4, 1fr); } }

.site-footer .logo-img { height: auto; width: auto; filter: brightness(0) invert(1); }
@media (min-width: 768px) { .site-footer .logo-img { height: auto; } }

.site-footer .desc { color: rgba(247,248,250,0.7); font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; }
.site-footer h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--steel-light); margin-bottom: 1rem; font-family: 'Inter', sans-serif; font-weight: 600;
}
.site-footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer ul a { font-size: 0.875rem; color: rgba(247,248,250,0.6); transition: color 0.2s; }
.site-footer ul a:hover { color: var(--steel-light); }

.contact-info { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: rgba(247,248,250,0.7); }
.contact-info .item { display: flex; align-items: center; gap: 0.75rem; }
.contact-info .item.top { align-items: flex-start; }
.contact-info svg { width: 1rem; height: 1rem; color: var(--steel-light); flex-shrink: 0; }

.trust-badges { text-align: center; margin-bottom: 2.5rem; }
.trust-badges .badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
@media (min-width: 768px) { .trust-badges .badge-row { gap: 4rem; } }
.trust-badges img { height: 5rem; width: auto; opacity: 0.85; transition: opacity 0.2s; }
.trust-badges img:hover { opacity: 1; }
.trust-badges .badge-sm img { height: 4rem; }
@media (min-width: 768px) { .trust-badges img { height: 7rem; } .trust-badges .badge-sm img { height: 5rem; } }

.sb-notice {
  border-radius: 0.75rem; border: 1px solid rgba(247,248,250,0.15);
  background: rgba(247,248,250,0.05); padding: 1.5rem; margin-bottom: 2rem;
}
.sb-notice .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--steel-light); font-weight: 600; margin-bottom: 0.5rem; }
.sb-notice p { font-size: 0.75rem; line-height: 1.7; color: rgba(247,248,250,0.75); }

.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: rgba(247,248,250,0.4);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ─── Hero sections ───────────────────────────────────────────────────────── */
.page-hero {
  position: relative; min-height: 70vh; display: flex; align-items: center; overflow: hidden;
}
.page-hero .bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero .overlay-lr {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(247,248,250,0.85), rgba(247,248,250,0.5), transparent);
}
.page-hero .overlay-bt {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(247,248,250,0.6), transparent, rgba(247,248,250,0.1));
}
.page-hero .content {
  position: relative; z-index: 10; padding-top: 6rem; padding-bottom: 4rem; max-width: 42rem;
}
.page-hero h1 { font-size: 2.5rem; color: var(--fg); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 4rem; } }
.page-hero .subtitle { font-size: 1.25rem; color: rgba(30,37,48,0.85); line-height: 1.7; margin-bottom: 2rem; }

.hero-full { min-height: 100vh; }
.hero-full h1 { font-size: 2.5rem; }
@media (min-width: 768px) { .hero-full h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero-full h1 { font-size: 4.5rem; } }

.hero-gradient {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--warm-white), var(--bg), rgba(232,236,240,0.2));
  padding-top: 7rem; padding-bottom: 3rem;
}
@media (min-width: 768px) { .hero-gradient { padding-top: 8rem; padding-bottom: 5rem; } }

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 6rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-warm { background: var(--warm-white); }
.section-center { text-align: center; }

.section h2 { margin-top: 0.75rem; margin-bottom: 2rem; font-size: 1.875rem; color: var(--fg); }
@media (min-width: 768px) { .section h2 { font-size: 3rem; } }

.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── Grids ───────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ─── Cards ───────────────────────────────────────────────────────────────── */
.card {
  padding: 1.5rem; border-radius: 0.75rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5); transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }

.card-lg { padding: 2rem; border-radius: 1rem; background: var(--card); border: 1px solid rgba(221,224,230,0.5); }
@media (min-width: 768px) { .card-lg { padding: 2.5rem; } }

/* Service cards with images */
.service-card {
  display: block; border-radius: 1rem; overflow: hidden;
  background: var(--card); border: 1px solid rgba(221,224,230,0.5);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.service-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }
.service-card .img-wrap { position: relative; height: 14rem; overflow: hidden; }
@media (min-width: 768px) { .service-card .img-wrap { height: 16rem; } }
.service-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s;
}
.service-card:hover .img-wrap img { transform: scale(1.05); }
.service-card .img-wrap .fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card), rgba(242,243,246,0.2), transparent);
}
.service-card .body { padding: 1.5rem; }
@media (min-width: 768px) { .service-card .body { padding: 2rem; } }
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.service-card .link {
  color: var(--primary); font-size: 0.875rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.25rem; transition: gap 0.3s;
}
.service-card:hover .link { gap: 0.5rem; }

/* ─── Stats ───────────────────────────────────────────────────────────────── */
.stat-block { text-align: center; }
.stat-value {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--primary);
}
.stat-label { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.5rem; }

/* ─── Testimonials ────────────────────────────────────────────────────────── */
.testimonial-card {
  padding: 2rem; border-radius: 1rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5); height: 100%;
  display: flex; flex-direction: column;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }
.testimonial-card .quote-mark { color: var(--primary); font-size: 2.5rem; font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.testimonial-card .quote { color: rgba(30,37,48,0.8); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-card .author {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(221,224,230,0.3);
}
.testimonial-card .name { font-family: 'Playfair Display', serif; font-weight: 600; }
.testimonial-card .location { font-size: 0.875rem; color: var(--muted-fg); }

.text-primary-italic { font-style: italic; color: var(--primary); text-shadow: 0 4px 28px rgba(30,37,48,0.9); }

/* ─── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
  padding: 6rem 0 8rem; background: var(--charcoal); position: relative; overflow: hidden; text-align: center;
}
@media (min-width: 768px) { .cta-section { padding: 8rem 0; } }
.cta-section h2 { color: var(--clean-white); font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-section h2 { font-size: 3rem; } }
.cta-section p { color: rgba(247,248,250,0.7); font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }

/* ─── Condition grid ──────────────────────────────────────────────────────── */
.condition-card {
  padding: 1.5rem; border-radius: 0.75rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5); text-align: center;
  font-family: 'Playfair Display', serif; font-weight: 600; color: var(--fg);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.condition-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }

/* ─── Benefit list ────────────────────────────────────────────────────────── */
.benefit-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: 0.75rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.benefit-item:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px rgba(78,106,138,0.1); }
.benefit-icon {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(78,106,138,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.benefit-icon svg { width: 1rem; height: 1rem; color: var(--primary); }
.benefit-item span { font-weight: 500; }

/* ─── Treatment cards (aesthetics) ────────────────────────────────────────── */
.treatment-card {
  padding: 2rem 2.5rem; border-radius: 1rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }
.treatment-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.treatment-card .sub { color: var(--primary); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.treatment-card p { color: var(--muted-fg); line-height: 1.7; }

/* ─── About page ──────────────────────────────────────────────────────────── */
.about-hero { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about-hero { grid-template-columns: 1fr; gap: 4rem; } }
.about-hero .photo-wrap { position: relative; }
.about-hero .photo-glow {
  position: absolute; inset: -1rem;
  background: linear-gradient(135deg, rgba(78,106,138,0.2), transparent);
  border-radius: 1.5rem; filter: blur(24px);
}
.about-hero .photo-wrap img {
  position: relative; width: 100%; border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); object-fit: cover; aspect-ratio: 4/5;
  object-position: center 20%;
}

.credential-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: 0.75rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.credential-item:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px rgba(78,106,138,0.1); }
.credential-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--primary); margin-top: 0.5rem; flex-shrink: 0; }

/* ─── Financing cards ─────────────────────────────────────────────────────── */
.financing-card {
  padding: 2rem; border-radius: 1rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5); height: 100%;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.financing-card:hover { border-color: rgba(78,106,138,0.4); transform: translateY(-4px); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }
.financing-card svg { width: 2.5rem; height: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.financing-card h3 { font-size: 1.25rem; font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 0.5rem; }
.financing-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }
.financing-card .visit-link { color: var(--primary); font-size: 0.875rem; font-weight: 500; margin-top: 1rem; display: inline-block; }

/* ─── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-item {
  border-radius: 0.75rem; background: var(--card); border: 1px solid rgba(221,224,230,0.5);
  padding: 0 1.5rem; margin-bottom: 0.75rem; overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.faq-item:hover { box-shadow: 0 8px 24px -8px rgba(78,106,138,0.08); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  text-align: left; font-family: 'Playfair Display', serif; font-weight: 600;
  color: var(--fg); font-size: 1rem;
}
.faq-question svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 1.25rem; color: var(--muted-fg); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ─── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 500; color: var(--fg);
  margin-bottom: 0.5rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 0.625rem 0.75rem; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 2px rgba(78,106,138,0.15);
}
.form-textarea { resize: vertical; }

/* Select group (pill toggles) */
.select-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.select-pill {
  padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem;
  border: 1px solid rgba(221,224,230,0.5); background: var(--card);
  color: var(--muted-fg); cursor: pointer; transition: all 0.3s;
}
.select-pill:hover { border-color: rgba(78,106,138,0.3); color: var(--fg); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.select-pill.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.select-pill input { display: none; }

.form-sidebar {
  padding: 2rem; border-radius: 1rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5); position: sticky; top: 7rem;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
}
.form-sidebar:hover { box-shadow: 0 12px 40px -10px rgba(78,106,138,0.08); }
.form-sidebar h3 { font-size: 1.25rem; font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 1.5rem; }

.form-disclaimer { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 1.5rem; }

.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 2fr 1fr; } }

.alert-success {
  background: #f0fdf4; border: 1px solid #86efac; border-radius: 0.75rem;
  padding: 1.5rem; color: #166534; text-align: center; margin-bottom: 1.5rem;
}
.alert-error {
  background: #fef2f2; border: 1px solid #fca5a5; border-radius: 0.75rem;
  padding: 1.5rem; color: #991b1b; text-align: center; margin-bottom: 1.5rem;
}

.g-recaptcha { margin-bottom: 1.5rem; }

/* ─── Prose text ──────────────────────────────────────────────────────────── */
.prose { color: var(--muted-fg); line-height: 1.7; font-size: 1.25rem; }
.prose p + p { margin-top: 1.5rem; }
.prose a { color: var(--primary); font-weight: 500; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s; }
.prose a:hover { gap: 0.75rem; }

/* ─── 404 ─────────────────────────────────────────────────────────────────── */
.not-found { display: flex; min-height: 60vh; align-items: center; justify-content: center; text-align: center; }
.not-found h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.not-found p { font-size: 1.25rem; color: var(--muted-fg); margin-bottom: 1rem; }

/* ─── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.8s ease forwards; }

/* ─── Icon helpers ────────────────────────────────────────────────────────── */
.icon { display: inline-block; vertical-align: middle; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.icon-xs { width: 0.75rem; height: 0.75rem; }
svg.icon-sm, svg.icon-md, svg.icon-lg, svg.icon-xs { display: inline-block; vertical-align: middle; }

/* ─── Mapped classes (PHP templates) ─────────────────────────────────────── */

/* Header mapped */
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 5rem;
}
.header-logo { display: flex; align-items: center; }
.logo-img { max-height:32px; width: auto; }
@media (min-width: 768px) { .logo-img { max-height: 32px; } }
@media (min-width: 1024px) { .logo-img { height: auto; } }

.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-link {
  padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--muted-fg); transition: color 0.2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-underline {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 2px; background: var(--primary); transition: width 0.3s; width: 0;
}
.nav-link.active .nav-underline { width: 1.5rem; }
.nav-link:hover .nav-underline { width: 1.5rem; }

.header-actions { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .header-actions { display: flex; } }

.mobile-toggle {
  display: block; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--fg);
}
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.site-header.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

/* Mobile drawer */
.mobile-drawer { display: none; position: fixed; inset: 0; z-index: 40; }
.mobile-drawer.open { display: block; }
@media (min-width: 1024px) { .mobile-drawer, .mobile-drawer.open { display: none !important; } }

.mobile-overlay {
  position: absolute; inset: 0; background: rgba(30,37,48,0.2);
  backdrop-filter: blur(4px);
}
.mobile-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 20rem; max-width: 85vw; background: var(--bg);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1); overflow-y: auto;
}
.mobile-panel-inner { padding: 6rem 2rem 2rem; min-height: 100%; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-link {
  padding: 0.75rem 0; font-size: 1.25rem; border-bottom: 1px solid rgba(221,224,230,0.3);
  color: var(--fg); transition: color 0.2s; font-family: 'Playfair Display', serif;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--primary); }
.mobile-cta { margin-top: 2rem; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.625rem 1rem;
    position: relative;
    overflow: hidden;
}
.btn-lg { padding: 11px 2.5rem; font-size: 1rem; max-width: 270px; }
.btn-rounded { border-radius: 9999px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Shimmer effect */
.shimmer-btn::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }

.text-primary { color: var(--primary); }
.italic { font-style: italic; }

/* ─── Footer mapped ──────────────────────────────────────────────────────── */
.footer-inner { padding: 4rem 20px; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col {}
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo-img { height: auto; width: auto; }
@media (min-width: 768px) { .footer-logo-img { height: auto; } }
.footer-tagline { color: rgba(247,248,250,0.7); font-size: 0.875rem; line-height: 1.7; }

.footer-heading {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--steel-light); margin-bottom: 1rem; font-family: 'Inter', sans-serif; font-weight: 600;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(247,248,250,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--steel-light); }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: rgba(247,248,250,0.7); }
.footer-contact-item { display: flex; align-items: center; gap: 0.75rem; }
.footer-contact-item:first-child { align-items: flex-start; }
.footer-contact-item a { color: rgba(247,248,250,0.7); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--steel-light); }
.footer-icon { color: var(--steel-light); flex-shrink: 0; }

.footer-divider { margin-top: 3rem; margin-bottom: 2.5rem; }

/* Trust badges */
.trust-badges-section { text-align: center; margin-bottom: 2.5rem; }
.trust-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--steel-light); font-weight: 600; text-align: center; margin-bottom: 1.5rem;
}
.trust-badges-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .trust-badges-row { gap: 4rem; } }
.trust-badge { width: auto; opacity: 0.85; transition: opacity 0.2s; }
.trust-badge:hover { opacity: 1; }
.trust-badge-lg { height: 7rem; }
.trust-badge-sm { height: 4rem; }
@media (min-width: 768px) { .trust-badge-lg { height: 8rem; } .trust-badge-sm { height: 5rem; } }

/* SB notice mapped */
.sb-notice-title {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--steel-light); font-weight: 600; margin-bottom: 0.5rem;
}
.sb-notice-text { font-size: 0.75rem; line-height: 1.7; color: rgba(247,248,250,0.75); }

/* ─── Hero mapped ────────────────────────────────────────────────────────── */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-home { min-height: 100vh; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-lr {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg), rgba(247,248,250,0.85), rgba(247,248,250,0.3));
}
.hero-overlay-bt {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(247,248,250,0.7), transparent, transparent);
}
.hero-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(0,0,0,0.15); }
.hero-content { position: relative; z-index: 10; padding-top: 6rem; }
.hero-text { max-width: 42rem; }
.hero-title { font-size: 2.25rem; color: var(--fg); margin-bottom: 1.5rem; line-height: 1.1; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { font-size: 1.25rem; color: rgba(30,37,48,0.85); line-height: 1.7; margin-bottom: 2.5rem; max-width: 32rem; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* Section badge */
.section-badge {
  display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--primary); font-weight: 600; font-family: 'Inter', sans-serif; margin-bottom: 1rem;
}
.section-header { margin-bottom: 4rem; }
.section-header .section-title { margin-bottom: 0; }
.section-title { font-size: 1.875rem; color: var(--fg); margin-top: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-title-sm { font-size: 1.875rem; }
@media (min-width: 768px) { .section-title-sm { font-size: 2.25rem; } }
.section-subtitle { color: var(--muted-fg); margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.section-relative { position: relative; z-index: 10; }
.atmospheric-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(78,106,138,0.03), transparent 70%);
}

/* Page hero mapped */
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 10; padding-top: 6rem; padding-bottom: 4rem; }
.page-hero-text { max-width: 42rem; }
.page-hero-title { font-size: 2.25rem; color: var(--fg); margin-bottom: 1.5rem; line-height: 1.1; }
@media (min-width: 768px) { .page-hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .page-hero-title { font-size: 3.75rem; } }
.page-hero-subtitle { font-size: 1.25rem; color: rgba(30,37,48,0.85); line-height: 1.7; margin-bottom: 2rem; }
.page-hero-no-img { min-height: 40vh; }
.page-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--warm-white), var(--bg), rgba(232,236,240,0.3));
}

/* ─── Services grid mapped ───────────────────────────────────────────────── */
.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  display: block; border-radius: 1rem; overflow: hidden;
  background: var(--card); border: 1px solid rgba(221,224,230,0.5);
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1); text-decoration: none;
}
.service-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }
.service-card-img { position: relative; height: 14rem; overflow: hidden; }
@media (min-width: 768px) { .service-card-img { height: 16rem; } }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card), rgba(242,243,246,0.2), transparent);
}
.service-card-body { padding: 1.5rem; }
@media (min-width: 768px) { .service-card-body { padding: 2rem; } }
.service-card-title { font-size: 1.25rem; font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 0.5rem; }
.service-card-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 1rem; }

.link-arrow {
  color: var(--primary); font-size: 0.875rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.25rem; transition: gap 0.3s;
}
.link-arrow:hover { gap: 0.5rem; }

/* Depth card */
.depth-card { transition: all 0.5s cubic-bezier(0.23,1,0.32,1); }
.depth-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -15px rgba(78,106,138,0.12); }

/* ─── Cinematic section mapped ───────────────────────────────────────────── */
.cinematic-section { position: relative; overflow: hidden; background: var(--bg); }
.cinematic-inner {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; width: 100%;
}
.cinematic-bg { position: absolute; inset: 0; }
.cinematic-bg-img { width: 100%; height: 100%; object-fit: cover; }
.cinematic-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(30,37,48,0.65), rgba(30,37,48,0.55) 40%, rgba(30,37,48,0.8)),
    linear-gradient(180deg, rgba(30,37,48,0.55), rgba(30,37,48,0.4) 40%, rgba(30,37,48,0.55) 70%, rgba(30,37,48,0.85));
}
.cinematic-content {
  position: relative; z-index: 10; text-align: center; max-width: 48rem; padding: 2rem;
}
.cinematic-badge { text-shadow: 0 2px 16px rgba(30,37,48,0.9); margin-bottom: 1.5rem; }
.cinematic-title {
  font-size: 2.5rem; color: var(--clean-white); margin-bottom: 1.5rem; line-height: 1.1;
  text-shadow: 0 4px 28px rgba(30,37,48,0.9), 0 2px 8px rgba(30,37,48,0.8);
}
@media (min-width: 768px) { .cinematic-title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .cinematic-title { font-size: 4.5rem; } }
.cinematic-subtitle {
  font-size: 1.25rem; color: rgba(247,248,250,0.95); line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 36rem; margin-left: auto; margin-right: auto;
  text-shadow: 0 2px 14px rgba(30,37,48,0.9);
}
.cinematic-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 8rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* ─── Stats mapped ───────────────────────────────────────────────────────── */
.section-stats { padding: 5rem 0; background: var(--warm-white); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.5rem; }

/* ─── Testimonials mapped ────────────────────────────────────────────────── */
.testimonials-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-quote { color: var(--primary); font-size: 2.5rem; font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.testimonial-text { color: rgba(30,37,48,0.8); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(221,224,230,0.3); }
.testimonial-name { font-family: 'Playfair Display', serif; font-weight: 600; }
.testimonial-location { font-size: 0.875rem; color: var(--muted-fg); }

/* ─── CTA mapped ─────────────────────────────────────────────────────────── */
.cta-bg-glow {
  position: absolute; inset: 0; opacity: 0.2;
  background: radial-gradient(ellipse at 50% 50%, rgba(78,106,138,0.3), transparent 70%);
}
.cta-content { position: relative; z-index: 10; }
.cta-title { color: var(--clean-white); font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-title { font-size: 3rem; } }
.cta-subtitle { color: rgba(247,248,250,0.7); font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ─── Conditions grid mapped ─────────────────────────────────────────────── */
.conditions-grid { display: grid; gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .conditions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .conditions-grid { grid-template-columns: repeat(3, 1fr); } }
.condition-name { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--fg); }

/* ─── Narrow content ─────────────────────────────────────────────────────── */
.narrow-content { max-width: 56rem; margin: 0 auto; }
.mt-sm { margin-top: 0.75rem; }
.prose-text { color: var(--muted-fg); line-height: 1.7; font-size: 1.25rem; margin-bottom: 1.5rem; }
.prose-note { font-size: 0.875rem; color: var(--muted-fg); font-style: italic; margin-top: 2.5rem; }

/* ─── Treatments list mapped ─────────────────────────────────────────────── */
.treatments-list { display: flex; flex-direction: column; gap: 3rem; max-width: 56rem; margin: 0 auto; }
.treatment-card-title { font-size: 1.5rem; font-family: 'Playfair Display', serif; font-weight: 700; margin-bottom: 0.5rem; color: var(--fg); }
.treatment-card-subtitle { color: var(--primary); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.treatment-card-desc { color: var(--muted-fg); line-height: 1.7; }

/* ─── Subsection title ───────────────────────────────────────────────────── */
.subsection-title {
  font-size: 1.25rem; font-family: 'Playfair Display', serif; font-weight: 600;
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
}

/* ─── Benefits mapped ────────────────────────────────────────────────────── */
.benefits-list { display: flex; flex-direction: column; gap: 1rem; }
.benefit-check {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(78,106,138,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.benefit-check svg { width: 1rem; height: 1rem; color: var(--primary); }
.benefit-text { font-weight: 500; }

/* ─── About hero mapped ──────────────────────────────────────────────────── */
.about-hero {
  position: relative; padding-top: 7rem; padding-bottom: 3rem; overflow: hidden;
  background: linear-gradient(135deg, var(--warm-white), var(--bg), rgba(232,236,240,0.2));
}
@media (min-width: 768px) { .about-hero { padding-top: 8rem; padding-bottom: 5rem; } }
.about-hero-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about-hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-hero-text {}
.about-hero-title { font-size: 2.25rem; color: var(--fg); margin-bottom: 1.5rem; line-height: 1.1; }
@media (min-width: 768px) { .about-hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .about-hero-title { font-size: 3.75rem; } }
.about-hero-subtitle { font-size: 1.25rem; color: rgba(30,37,48,0.85); line-height: 1.7; margin-bottom: 2rem; }
.about-hero-photo { position: relative; max-width: 36rem; margin-left: auto; }
@media (max-width: 767px) { .about-hero-photo { max-width: 20rem; margin: 0 auto; } }
.about-photo-glow {
  position: absolute; inset: -1rem;
  background: linear-gradient(135deg, rgba(78,106,138,0.2), transparent);
  border-radius: 1.5rem; filter: blur(24px);
}
.about-photo-img {
  position: relative; width: 100%; border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); object-fit: cover; aspect-ratio: 4/5;
  object-position: center 20%;
}

/* ─── Credentials mapped ─────────────────────────────────────────────────── */
.credentials-list { display: flex; flex-direction: column; gap: 0.75rem; }
.credential-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--primary); margin-top: 0.5rem; flex-shrink: 0; }

/* ─── Financing mapped ───────────────────────────────────────────────────── */
.financing-grid { display: grid; gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .financing-grid { grid-template-columns: repeat(2, 1fr); } }
.financing-icon { margin-bottom: 1rem; }
.financing-icon svg { width: 2.5rem; height: 2.5rem; color: var(--primary); }
.financing-title { font-size: 1.25rem; font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 0.5rem; }
.financing-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

/* ─── FAQ mapped ─────────────────────────────────────────────────────────── */
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-trigger {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  text-align: left; font-family: 'Playfair Display', serif; font-weight: 600;
  color: var(--fg); font-size: 1rem;
}
.faq-chevron svg { transition: transform 0.3s; }
.faq-item.open .faq-chevron svg { transform: rotate(180deg); }
.faq-question { flex: 1; }

.section-form { padding: 4rem 0; position: relative; }
@media (min-width: 768px) { .section-form { padding: 6rem 0; } }

/* ─── Contact page mapped ────────────────────────────────────────────────── */
.contact-hero {
  position: relative; min-height: 40vh; display: flex; align-items: center; overflow: hidden;
}
.contact-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--warm-white), var(--bg), rgba(232,236,240,0.3));
}
.contact-hero-content { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 3rem; }

.contact-form-col {}
.consultation-form { display: flex; flex-direction: column; gap: 2rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }

/* Pill select (radio as pill) */
.pill-select-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-select { cursor: pointer; }
.pill-select input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill-label {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem;
  border: 1px solid rgba(221,224,230,0.5); background: var(--card);
  color: var(--muted-fg); transition: all 0.3s; cursor: pointer;
}
.pill-label:hover { border-color: rgba(78,106,138,0.3); color: var(--fg); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.pill-select input:checked + .pill-label {
  background: var(--primary); color: var(--primary-fg); border-color: var(--primary);
}

.form-privacy-note { font-size: 0.75rem; color: var(--muted-fg); }

/* Contact sidebar */
.contact-sidebar {}
.contact-sidebar-card {
  padding: 2rem; border-radius: 1rem; background: var(--card);
  border: 1px solid rgba(221,224,230,0.5); position: sticky; top: 7rem;
}
.sidebar-title { font-size: 1.25rem; font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 1.5rem; }
.sidebar-text { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 2rem; }
.sidebar-divider { margin-bottom: 2rem; }
.sidebar-location-title {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--primary); font-weight: 600; margin-bottom: 1rem;
}
.sidebar-contact-list { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: var(--muted-fg); }
.sidebar-contact-item { display: flex; align-items: center; gap: 0.75rem; }
.sidebar-contact-item:first-child { align-items: flex-start; }
.sidebar-contact-item a { color: var(--muted-fg); transition: color 0.2s; }
.sidebar-contact-item a:hover { color: var(--primary); }

/* Form success/error */
.form-success { text-align: center; padding: 3rem 2rem; }
.form-success-icon {
  width: 4rem; height: 4rem; border-radius: 50%; background: rgba(78,106,138,0.1);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.form-success-icon svg { width: 2rem; height: 2rem; color: var(--primary); }
.form-success h3 { font-size: 1.5rem; font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.form-success p { color: var(--muted-fg); line-height: 1.7; margin-bottom: 2rem; }
.form-error {
  background: #fef2f2; border: 1px solid #fca5a5; border-radius: 0.75rem;
  padding: 1rem 1.5rem; color: #991b1b; margin-bottom: 1.5rem; font-size: 0.875rem;
}

/* ─── 404 mapped ─────────────────────────────────────────────────────────── */
.error-page { display: flex; min-height: 60vh; align-items: center; justify-content: center; text-align: center; }
.error-content {}
.error-code { font-size: 4rem; font-weight: 700; color: var(--fg); margin-bottom: 1rem; }
.error-message { font-size: 1.25rem; color: var(--muted-fg); margin-bottom: 1.5rem; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.bg-background { background: var(--bg); }
.vignette { box-shadow: inset 0 0 120px rgba(0,0,0,0.15); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up { animation: none; opacity: 1; }
}


a.btn.btn-outline.btn-lg.btn-rounded {
    background-color: white;
    padding: 11px 2.5rem;
    border: 1px solid #4e6a8a45;
    max-width: 270px;
}

a.btn.btn-outline.btn-lg.btn-rounded:hover
{
background-color: hsl(180deg 3.23% 87.84%);
}