/* =============================================================
   STONY PLAIN RD. HEALTH CENTRE — Global Stylesheet
   Pure CSS. Design tokens, layout, components, animations.
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from the clinic logo: navy + teal + lime) */
  --navy-900: #0a1a44;
  --navy-800: #10245c;
  --navy-700: #172f74;
  --navy-600: #21409a;
  --teal-500: #17b3a3;
  --teal-400: #2fd0bd;
  --teal-100: #d6f5f0;
  --lime-500: #8bc63f;
  --lime-400: #a4d95c;

  --ink: #10203f;
  --body: #46566f;
  --muted: #7a89a0;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-mint: #eef8f6;
  --white: #ffffff;
  --error: #e0526a;

  /* Type */
  --ff-display: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 4px 16px rgba(16, 36, 92, 0.08);
  --sh-md: 0 12px 34px rgba(16, 36, 92, 0.12);
  --sh-lg: 0 26px 60px rgba(16, 36, 92, 0.18);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--ink); line-height: 1.14; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { color: var(--body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--ff-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-500);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-500); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--body); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 118px); }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 0.7rem 0 1rem; }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--ff-display); font-weight: 600; font-size: 0.98rem;
  padding: 0.92em 1.7em; border-radius: var(--r-pill);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: linear-gradient(120deg, var(--teal-500), var(--teal-400)); color: #fff; box-shadow: 0 10px 24px rgba(23, 179, 163, 0.34); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(23, 179, 163, 0.46); }
.btn--navy { background: var(--navy-800); color: #fff; box-shadow: 0 10px 24px rgba(16, 36, 92, 0.28); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); }
.btn--outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--teal-500); color: var(--teal-500); }
.btn--lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,0.82);
  font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.8rem; padding-block: 0.6rem; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.5em; }
.topbar-item svg { width: 15px; height: 15px; color: var(--teal-400); flex: none; }
.topbar-item a:hover { color: var(--teal-400); }
.topbar-socials { margin-left: auto; display: inline-flex; gap: 0.5rem; }
.topbar-socials a {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,0.08); transition: background 0.3s, transform 0.3s;
}
.topbar-socials a:hover { background: var(--teal-500); transform: translateY(-2px); }
.topbar-socials svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .topbar-detail { display: none; } .topbar-socials { margin-left: auto; } }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.nav.scrolled { box-shadow: var(--sh-sm); border-color: var(--line); background: rgba(255,255,255,0.94); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); transition: height 0.4s var(--ease); }
.nav.scrolled .wrap { height: 70px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { height: 40px; width: auto; display: block; }
.nav.scrolled .brand-logo { height: 34px; }
.footer .brand-logo { height: 44px; }
@media (max-width: 480px) { .brand-logo { height: 42px; } }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  position: relative; font-family: var(--ff-display); font-weight: 500; font-size: 0.95rem;
  color: var(--navy-800); padding: 0.5em 0.9em; border-radius: var(--r-pill); transition: color 0.25s, background 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 2px;
  background: var(--teal-500); border-radius: 2px; transform: translateX(-50%); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--teal-500); }
.nav-links a:hover::after, .nav-links a.active::after { width: 20px; }
.nav-links a.active { color: var(--teal-500); }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  /* backdrop-filter on .nav would contain/clip the fixed panel — disable on mobile */
  .nav, .nav.scrolled { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: #ffffff; padding: calc(var(--nav-h) + 20px) 24px 24px; box-shadow: var(--sh-lg);
    transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 130;
    overflow-y: auto;
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { padding: 0.85em 1em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
  a.nav-mobile-cta { display: inline-flex !important; justify-content: center; color: #fff !important; border-bottom: none; border-radius: var(--r-pill); margin-top: 16px; box-shadow: 0 10px 24px rgba(23,179,163,0.34); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,26,68,0.4); opacity: 0; visibility: hidden; transition: opacity 0.4s; z-index: 98; }
  body.menu-open .nav-backdrop { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, #f4f7fc 0%, #eaf6f3 100%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -140px; right: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(23,179,163,0.22), transparent 70%); border-radius: 50%;
  animation: floaty 9s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; bottom: -160px; left: -100px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(139,198,63,0.18), transparent 70%); border-radius: 50%;
  animation: floaty 11s ease-in-out infinite reverse;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: clamp(50px, 8vw, 96px); }
.hero-copy .eyebrow { margin-bottom: 1.1rem; }
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-copy h1 .grad { background: linear-gradient(120deg, var(--teal-500), var(--navy-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.55em; font-weight: 500; color: var(--navy-800); font-size: 0.94rem; }
.hero-trust svg { width: 20px; height: 20px; color: var(--teal-500); flex: none; }

.hero-visual { position: relative; }
.hero-img-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 4.4; background: linear-gradient(150deg, var(--navy-800), var(--teal-500));
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-md);
  padding: 0.9rem 1.1rem; display: flex; align-items: center; gap: 0.7rem;
}
.hero-badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.hero-badge .ico svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-family: var(--ff-display); color: var(--ink); font-size: 1.15rem; line-height: 1; }
.hero-badge small { color: var(--muted); font-size: 0.78rem; }
.hero-badge--tl { top: 22px; left: -26px; animation: floaty 5.5s ease-in-out infinite; }
.hero-badge--tl .ico { background: var(--lime-500); }
.hero-badge--br { bottom: 26px; right: -22px; animation: floaty 6.5s ease-in-out infinite reverse; }
.hero-badge--br .ico { background: var(--teal-500); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .hero-badge--tl { left: 8px; }
  .hero-badge--br { right: 8px; }
}

/* ---------- Stats bar ---------- */
.stats { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.stats::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 0%, rgba(23,179,163,0.28), transparent 45%); }
.stats .wrap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(38px, 5vw, 62px); }
.stat { text-align: center; }
.stat b { font-family: var(--ff-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; color: #fff; display: block; }
.stat b .plus { color: var(--teal-400); }
.stat span { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* ---------- About (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; }
.split-media .accent-dots { position: absolute; width: 120px; height: 120px; bottom: -24px; left: -24px; z-index: -1;
  background-image: radial-gradient(var(--teal-400) 2px, transparent 2px); background-size: 18px 18px; opacity: 0.5; border-radius: 12px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.4rem; margin: 1.8rem 0; }
.feature-list li { display: flex; align-items: center; gap: 0.6em; font-weight: 500; color: var(--navy-800); }
.feature-list svg { width: 22px; height: 22px; color: var(--teal-500); flex: none; }

.mini-card {
  position: absolute; bottom: 24px; right: -22px; background: #fff; border-radius: var(--r-md);
  padding: 1rem 1.2rem; box-shadow: var(--sh-md); display: flex; align-items: center; gap: 0.8rem; max-width: 230px;
}
.mini-card .av { display: flex; }
.mini-card .av span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; background: var(--teal-400); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 0.8rem; }
.mini-card .av span:first-child { margin-left: 0; }
.mini-card b { font-family: var(--ff-display); color: var(--ink); font-size: 0.95rem; display: block; line-height: 1.1; }
.mini-card small { color: var(--muted); font-size: 0.78rem; }
@media (max-width: 500px) { .mini-card { right: 8px; } .feature-list { grid-template-columns: 1fr; } }

/* ---------- Services grid ---------- */
.svc-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy-800), var(--teal-500));
  opacity: 0; transition: opacity 0.4s; z-index: 0;
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover h3, .svc-card:hover p { color: #fff; }
.svc-card:hover .svc-ico { background: rgba(255,255,255,0.16); color: #fff; }
.svc-card:hover .svc-more { color: #fff; }
.svc-ico {
  width: 58px; height: 58px; border-radius: 16px; background: var(--bg-mint); color: var(--teal-500);
  display: grid; place-items: center; margin-bottom: 1.3rem; transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.svc-card:hover .svc-ico { transform: rotate(-6deg) scale(1.05); }
.svc-ico svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: 0.6rem; transition: color 0.3s; }
.svc-card p { font-size: 0.94rem; transition: color 0.3s; margin-bottom: 1rem; }
.svc-more { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--ff-display); font-weight: 600; font-size: 0.88rem; color: var(--teal-500); transition: color 0.3s, gap 0.3s; }
.svc-card:hover .svc-more { gap: 0.7em; }
.svc-more svg { width: 16px; height: 16px; }
.svc-num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--ff-display); font-weight: 700; font-size: 2.4rem; color: var(--line); z-index: 1; transition: color 0.3s; }
.svc-card:hover .svc-num { color: rgba(255,255,255,0.22); }

/* ---------- Process / steps ---------- */
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; text-align: center; padding: 0 0.5rem; }
.step-num {
  width: 76px; height: 76px; margin: 0 auto 1.3rem; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.22);
  display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; color: #fff;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.step:hover .step-num { transform: translateY(-6px); background: var(--teal-500); }
.step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; left: calc(50% + 46px); right: calc(-50% + 46px); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 8px, transparent 8px 16px);
}
@media (max-width: 900px) { .step::after { display: none !important; } }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }
.doc-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.doc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.doc-photo { position: relative; aspect-ratio: 1/1.05; background: linear-gradient(150deg, var(--navy-800), var(--teal-500)); display: grid; place-items: center; overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-initials { font-family: var(--ff-display); font-weight: 700; font-size: 3.2rem; color: rgba(255,255,255,0.9); }
.doc-social { position: absolute; inset: auto 0 0 0; display: flex; justify-content: center; gap: 0.6rem; padding: 1rem; background: linear-gradient(transparent, rgba(10,26,68,0.55)); transform: translateY(100%); transition: transform 0.4s var(--ease); }
.doc-card:hover .doc-social { transform: translateY(0); }
.doc-social a { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy-800); transition: background 0.3s, color 0.3s; }
.doc-social a:hover { background: var(--teal-500); color: #fff; }
.doc-social svg { width: 16px; height: 16px; }
.doc-info { padding: 1.3rem 1.4rem; text-align: center; }
.doc-info b { font-family: var(--ff-display); color: var(--ink); font-size: 1.15rem; display: block; }
.doc-info span { color: var(--teal-500); font-weight: 500; font-size: 0.9rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.gallery-item { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--bg); border-block: 1px solid var(--line); padding-block: 1.6rem; overflow: hidden; }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.9rem); color: var(--navy-800); opacity: 0.85; white-space: nowrap; }
.marquee-item svg { width: 26px; height: 26px; color: var(--teal-500); }
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1.4px var(--teal-500); }

/* ---------- Testimonials ---------- */
.tst-viewport { overflow: hidden; padding: 20px 0 48px; }
.tst-track { display: flex; transition: transform 0.6s var(--ease); }
.tst-slide { min-width: 100%; padding: 0 clamp(4px, 3vw, 40px); }
.tst-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: clamp(28px, 4vw, 48px); text-align: center; max-width: 780px; margin-inline: auto; }
.tst-stars { display: flex; justify-content: center; gap: 0.25rem; color: #f6b73c; margin-bottom: 1.2rem; }
.tst-stars svg { width: 22px; height: 22px; }
.tst-quote { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--ink); line-height: 1.5; margin-bottom: 1.6rem; }
.tst-person { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.tst-person .av { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-400); display: grid; place-items: center; color: #fff; font-family: var(--ff-display); font-weight: 700; }
.tst-person b { font-family: var(--ff-display); color: var(--ink); display: block; line-height: 1.1; }
.tst-person small { color: var(--muted); }
.tst-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.tst-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: width 0.3s, background 0.3s; }
.tst-dots button.active { width: 28px; border-radius: 6px; background: var(--teal-500); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--navy-800), var(--navy-700)); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; }
.cta-band::before { content:""; position:absolute; top:-80px; right:-60px; width:300px; height:300px; background: radial-gradient(circle, rgba(23,179,163,0.4), transparent 70%); border-radius:50%; }
.cta-band::after { content:""; position:absolute; bottom:-90px; left:-50px; width:260px; height:260px; background: radial-gradient(circle, rgba(139,198,63,0.3), transparent 70%); border-radius:50%; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; overflow: hidden; padding-block: clamp(54px, 8vw, 96px); }
.page-hero::before { content:""; position:absolute; top:-100px; right:-80px; width:360px; height:360px; background: radial-gradient(circle, rgba(23,179,163,0.28), transparent 70%); border-radius:50%; }
.page-hero .wrap { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 0.8rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin-inline: auto; }
.crumbs { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.crumbs a:hover { color: var(--teal-400); }
.crumbs span { color: var(--teal-400); }

/* ---------- Values tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2rem; }
.tab-btn { display: inline-flex; align-items: center; gap: 0.55em; padding: 0.85em 1.5em; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--navy-800); font-family: var(--ff-display); font-weight: 600; font-size: 0.95rem; transition: background 0.3s, color 0.3s, transform 0.3s; }
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn.active { background: linear-gradient(120deg, var(--teal-500), var(--teal-400)); color: #fff; box-shadow: 0 8px 20px rgba(23,179,163,0.3); }
.tab-panel { display: none; animation: fadeUp 0.5s var(--ease); }
.tab-panel.active { display: block; }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; margin-bottom: 1rem; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.info-card .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--bg-mint); color: var(--teal-500); display: grid; place-items: center; flex: none; }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card b { font-family: var(--ff-display); color: var(--ink); display: block; margin-bottom: 0.2rem; }
.info-card p, .info-card a { color: var(--body); font-size: 0.94rem; }
.info-card a:hover { color: var(--teal-500); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--sh-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 0.88rem; color: var(--navy-800); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85em 1em; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--ink); transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(23,179,163,0.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .err { color: var(--error); font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 0.6rem; }
.form-status { padding: 0.9em 1.1em; border-radius: var(--r-sm); font-weight: 500; margin-top: 1rem; display: none; }
.form-status.ok { display: block; background: var(--teal-100); color: #0c7264; }
.form-status.sending { display: block; background: var(--bg-soft); color: var(--muted); }
.form-status.error { display: block; background: #fde7ea; color: #b02a3c; }
.checkbox { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 1.1rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-500); flex: none; }

.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Hours table ---------- */
.hours-list { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.hours-list li { display: flex; justify-content: space-between; padding: 0.85em 1.2em; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { color: var(--navy-800); font-weight: 500; }
.hours-list li span:last-child { color: var(--body); }
.hours-list li.closed span:last-child { color: var(--error); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 1rem; overflow: hidden; background: #fff; transition: box-shadow 0.3s; }
.faq-item.open { box-shadow: var(--sh-sm); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2em 1.4em; font-family: var(--ff-display); font-weight: 600; color: var(--navy-800); font-size: 1.02rem; }
.faq-q .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-mint); color: var(--teal-500); display: grid; place-items: center; flex: none; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
.faq-item.open .faq-q .plus { transform: rotate(135deg); background: var(--teal-500); color: #fff; }
.faq-q .plus svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 1.4em 1.3em; color: var(--body); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; }
.footer::before { content:""; position:absolute; top:-120px; left:-80px; width:340px; height:340px; background: radial-gradient(circle, rgba(23,179,163,0.16), transparent 70%); border-radius:50%; }
.footer-cta { position: relative; z-index: 1; margin-top: -1px; }
.footer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: clamp(30px, 4vw, 60px); padding-block: clamp(48px, 6vw, 76px); }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px 30px; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-about p { margin: 1.2rem 0 1.4rem; font-size: 0.92rem; max-width: 300px; }
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: background 0.3s, transform 0.3s; }
.footer-socials a:hover { background: var(--teal-500); transform: translateY(-3px); }
.footer-socials svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.3rem; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-size: 0.94rem; transition: color 0.25s, padding-left 0.25s; }
.footer-links a:hover { color: var(--teal-400); padding-left: 5px; }
.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: 0.9rem; font-size: 0.92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-400); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--teal-400); }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; font-size: 0.86rem; }
.footer-bottom a:hover { color: var(--teal-400); }
.footer-bottom .footer-credit { flex-basis: 100%; text-align: center; margin-top: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom .footer-credit a { color: var(--teal-400); font-weight: 600; }
.footer-bottom .footer-credit a:hover { text-decoration: underline; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-500); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.35s, transform 0.35s, background 0.3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-800); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- Keyframes ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
