/* ==========================================================================
   Soundarapandian Bone & Joint Hospital — Total Knee Replacement
   Stylesheet — mobile-first, no framework dependencies
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

html{
  width: 100%;
  overflow-x: hidden;
}

/* ---------- Design tokens ---------- */
:root {
  --primary: #126328;
  --primary-dark: #0a431a;
  --primary-light: #1c8a3a;
  --primary-tint: #e7f2ea;
  --black: #0d0f0e;
  --white: #ffffff;
  --gray-bg: #f8f8f8;
  --gray-text: #5b6661;
  --border-color: #e6eae7;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 10px rgba(13,15,14,.06);
  --shadow-md: 0 8px 30px rgba(13,15,14,.08);
  --shadow-lg: 0 16px 50px rgba(13,15,14,.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition: all .3s ease;

  --header-h: 76px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { color: var(--gray-text); }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

section { padding: clamp(56px, 8vw, 108px) 0; }

.section-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-header.align-left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.section-header p, .section-sub { color: var(--gray-text); font-size: 1.05rem; margin-top: 14px; }

.bg-tint { background: var(--gray-bg); }

/* ---------- Icon sprite defaults ----------
   <use> does not inherit presentation attributes from its source-tree
   ancestors, so line-icon styling is applied here via CSS instead. */
svg use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .96rem;
  padding: 15px 30px;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18,99,40,.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(18,99,40,.34); }

.btn-outline { background: transparent; border-color: var(--border-color); color: var(--black); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.btn-light { background: var(--white); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-ghost-light {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Icon tile ---------- */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  color: var(--primary);
  flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.is-scrolled { border-bottom-color: var(--border-color); box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar__logo img { height: 50px; width: auto; }

.navbar__links { display: flex; align-items: center; gap: 26px; list-style: none; }
.navbar__links a {
  position: relative;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 500;
  color: var(--black);
  padding: 8px 0;
  transition: var(--transition);
}
.navbar__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.navbar__links a:hover { color: var(--primary); }
.navbar__links a:hover::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 14px; }

.navbar__toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: var(--radius-sm); align-items: center;
}
.navbar__toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--transition); }
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__links .mobile-only { display: none; }

@media (max-width: 991px) {
  .navbar__links .mobile-only { display: block; }
  .navbar__links {
    position: fixed; inset: 70px 0 0 0;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    padding: 28px 24px; gap: 4px;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
  }
  .navbar__links.is-open { transform: translateX(0); }
  .navbar__links a { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--border-color); font-size: 1.05rem; }
  .navbar__links .btn { margin-top: 16px; }
  .navbar__actions .btn-primary.desktop-only { display: none; }
  .navbar__toggle { display: flex; }
}
@media (min-width: 992px) { .navbar__toggle { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--white) 78%);
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; }
.hero::before { width: 420px; height: 420px; top: -160px; right: -120px; background: radial-gradient(circle at 30% 30%, rgba(28,138,58,.16), transparent 70%); }
.hero::after { width: 320px; height: 320px; bottom: -140px; left: -100px; background: radial-gradient(circle at 30% 30%, rgba(18,99,40,.12), transparent 70%); }

.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero .container { grid-template-columns: 1.05fr .95fr; gap: 40px; } }

.hero__subtitle { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--primary); font-size: 1.05rem; margin-bottom: 14px; }
.hero__desc { font-size: 1.05rem; margin: 22px 0 26px; max-width: 560px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero__badges li {
  font-size: .84rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border-color);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 7px;
}
.hero__badges svg { width: 15px; height: 15px; color: var(--primary); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; }
.hero__meta-item strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--black); }
.hero__meta-item span { font-size: .85rem; color: var(--gray-text); }

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.stats .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
@media (min-width: 768px) { .stats .container { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat__label { font-size: .88rem; opacity: .85; margin-top: 6px; }

/* ==========================================================================
   Card grids (generic)
   ========================================================================== */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 991px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) and (max-width: 991px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin: 18px 0 10px; }
.card p { font-size: .95rem; margin: 0; }

.symptom-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.symptom-card .icon-tile { margin-bottom: 6px; }
.symptom-card h3 { font-size: 1.02rem; margin: 4px 0 0; }

.notice-banner {
  display: flex; align-items: center; gap: 14px; margin-top: 40px;
  padding: 18px 24px; background: var(--primary-tint);
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  color: var(--primary-dark); font-weight: 500;
}
.notice-banner svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--primary); }

/* ==========================================================================
   Split sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split.reverse .split__visual { order: -1; }
@media (min-width: 992px) { .split.reverse .split__visual { order: 2; } }
.split__visual img { width: 100%; border-radius: var(--radius-lg); }
.split__text p { margin-bottom: 16px; }
.split__text p:last-child { margin-bottom: 0; }

.benefit-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--black); }
.benefit-list .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.benefit-list .check svg { width: 14px; height: 14px; }

.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-card {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 26px 22px; text-align: left;
  transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-card .icon-tile { margin-bottom: 14px; width: 48px; height: 48px; }
.benefit-card .icon-tile svg { width: 22px; height: 22px; }
.benefit-card p { font-weight: 500; color: var(--black); font-size: .96rem; margin: 0; }

/* ==========================================================================
   Condition cards
   ========================================================================== */
.condition-card .icon-tile { background: var(--primary); color: var(--white); }

/* ==========================================================================
   Vertical journey timeline
   ========================================================================== */
.v-timeline { position: relative; max-width: 760px; margin: 0 auto; }
.v-timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px; background: repeating-linear-gradient(180deg, var(--border-color) 0 10px, transparent 10px 18px);
}
.v-step { position: relative; padding-left: 76px; margin-bottom: 40px; }
.v-step:last-child { margin-bottom: 0; }
.v-step__num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(18,99,40,.28);
}
.v-step__body {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 22px 26px;
  transition: var(--transition);
}
.v-step__body:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.v-step h3 { margin-bottom: 8px; }
.v-step p { font-size: .94rem; margin: 0; }
.v-step ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.v-step ul li { font-size: .8rem; font-weight: 600; background: var(--primary-tint); color: var(--primary-dark); padding: 5px 12px; border-radius: 999px; }

/* ==========================================================================
   Technology infographic
   ========================================================================== */
.tech-infographic-wrap { margin-top: 56px; text-align: center; }
.tech-infographic-wrap img { max-width: 100%; margin: 0 auto; }

/* ==========================================================================
   Horizontal recovery timeline
   ========================================================================== */
.h-timeline {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  position: relative;
}
@media (min-width: 900px) { .h-timeline { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.h-timeline::before {
  content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-color) 0 10px, transparent 10px 18px);
  display: none;
}
@media (min-width: 900px) { .h-timeline::before { display: block; } }
.h-step { position: relative; }
.h-step__dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: .82rem;
  margin-bottom: 16px; box-shadow: 0 8px 18px rgba(18,99,40,.28);
  position: relative; z-index: 1;
}
.h-step__card {
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 20px; transition: var(--transition);
}
.h-step__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.h-step__card h3 { font-size: 1rem; margin-bottom: 10px; }
.h-step__card ul { display: flex; flex-direction: column; gap: 8px; }
.h-step__card ul li { font-size: .86rem; color: var(--gray-text); position: relative; padding-left: 16px; }
.h-step__card ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-light); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border-color); color: var(--gray-text);
  transition: var(--transition);
}
.tab-btn.is-active, .tab-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.testimonial-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; justify-content: center;
  scrollbar-width: thin; scrollbar-color: var(--primary-light) var(--gray-bg);
}
.testimonial-track::-webkit-scrollbar { height: 8px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 8px; }
.testimonial-track::-webkit-scrollbar-track { background: var(--gray-bg); border-radius: 8px; }

.quote-card {
  flex: 0 0 min(340px, 84vw); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 28px 26px; display: flex; flex-direction: column;
}
.quote-card__stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f5b301; }
.quote-card__stars svg { width: 16px; height: 16px; }
.quote-card__stars svg use { fill: currentColor; stroke: none; }
.quote-card__google { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .78rem; font-weight: 600; color: var(--gray-text); }
.quote-card__google svg { width: 16px; height: 16px; }
.quote-card p.quote-text { color: var(--black); font-size: .96rem; flex-grow: 1; margin-bottom: 20px; }
.quote-card__author { display: flex; align-items: center; gap: 12px; }
.quote-card__author img { width: 44px; height: 44px; border-radius: 50%; }
.quote-card__author strong { display: block; font-size: .92rem; font-family: var(--font-heading); }
.quote-card__author span { font-size: .8rem; color: var(--gray-text); }

.video-card { flex: 0 0 min(340px, 84vw); scroll-snap-align: start; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); background: var(--white); }
.video-card__thumb { position: relative; }
.video-card__thumb iframe {width: 100%; height: auto; aspect-ratio: 4 / 3;}
.video-card__thumb img { width: 100%; }
.video-card__caption { padding: 18px 20px; }
.video-card__caption strong { display: block; font-family: var(--font-heading); margin-bottom: 4px; }
.video-card__caption span { font-size: .84rem; color: var(--gray-text); }

.ba-card { flex: 0 0 min(400px, 88vw); scroll-snap-align: start; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); background: var(--white); }
.ba-card__caption { padding: 18px 20px; }
.ba-card__caption strong { display: block; font-family: var(--font-heading); margin-bottom: 4px; }
.ba-card__caption span { font-size: .84rem; color: var(--gray-text); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--white); overflow: hidden; transition: var(--transition); }
.faq-item.is-open { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; }
.faq-question .plus {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.faq-question .plus svg { width: 14px; height: 14px; }
.faq-item.is-open .plus { background: var(--primary); color: var(--white); transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer__inner { padding: 0 24px 22px; }
.faq-answer p { margin: 0; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white); text-align: center;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(255,255,255,.1), transparent 50%);
}
.final-cta__walker {
  position: absolute; right: 6%; bottom: 0; width: 160px; opacity: .18;
  display: none;
}
@media (min-width: 900px) { .final-cta__walker { display: block; } }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--white); max-width: 760px; margin: 0 auto; }
.final-cta p { color: rgba(255,255,255,.88); max-width: 620px; margin: 18px auto 34px; }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--black); color: rgba(255,255,255,.72);}
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; } }
.footer__logo img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer__about p { color: rgba(255,255,255,.6); font-size: .92rem; margin-bottom: 20px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: .92rem; color: rgba(255,255,255,.62); transition: var(--transition); }
.footer__links a:hover { color: var(--white); padding-left: 4px; }
.footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: rgba(255,255,255,.62); }
.footer__contact svg { width: 18px; height: 18px; color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.footer__contact a { color: rgba(255,255,255,.62); }
.footer__contact a:hover { color: var(--white); }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-icons a:hover { background: var(--primary-light); transform: translateY(-3px); }
.social-icons svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 24px 0 100px; font-size: .84rem; color: rgba(255,255,255,.5); }
@media (min-width: 992px) { .footer__bottom { padding-bottom: 24px; } }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a:hover { color: var(--white); }

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-top: 1px solid var(--border-color);
  box-shadow: 0 -6px 24px rgba(13,15,14,.1);
}
.mobile-cta a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 12px; font-size: .72rem; font-weight: 600; color: var(--gray-text); }
.mobile-cta a svg { width: 24px; height: 24px; color: var(--primary); }
.mobile-cta a.mobile-cta__primary { background: var(--primary); color: var(--white); }
.mobile-cta a.mobile-cta__primary svg { color: var(--white); }
@media (min-width: 992px) { .mobile-cta { display: none; } }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed; right: 20px; bottom: 78px; z-index: 998;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }
@media (min-width: 992px) { .back-to-top { bottom: 28px; } }

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--primary); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius-sm); z-index: 2000; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; }
