/* ============================================================
   SAENSOOK PT CLINIC — MAIN STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* === VARIABLES === */
:root {
  --blue-900:  #0D2B5E;
  --blue-800:  #0D47A1;
  --blue-700:  #1565C0;
  --blue-600:  #1976D2;
  --blue-400:  #42A5F5;
  --blue-100:  #BBDEFB;
  --blue-50:   #E3F2FD;
  --line:      #06C755;
  --white:     #FFFFFF;
  --gray-900:  #1A1A2E;
  --gray-700:  #374151;
  --gray-500:  #6B7280;
  --gray-300:  #D1D5DB;
  --gray-100:  #F3F6FA;
  --gray-50:   #F8FAFF;

  --shadow-xs: 0 1px 4px rgba(13,71,161,.07);
  --shadow-sm: 0 2px 10px rgba(13,71,161,.10);
  --shadow-md: 0 6px 24px rgba(13,71,161,.14);
  --shadow-lg: 0 12px 48px rgba(13,71,161,.20);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --tr:   .22s ease;
  --container: 1200px;
}

/* === BASE === */
body {
  font-family: 'Sarabun', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-weight: 700; line-height: 1.3; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* === SECTION === */
.section          { padding-block: 88px; }
.section--gray    { background: var(--gray-50); }
.section--blue    { background: var(--blue-50); }
.section--dark    { background: var(--blue-900); color: var(--white); }

.section__header  { text-align: center; margin-bottom: 60px; }
.section__eyebrow {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px;
  margin-bottom: 14px;
}
.section--dark .section__eyebrow { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.section__title  { font-size: clamp(26px,4vw,40px); margin-bottom: 14px; }
.section__title em { font-style: normal; color: var(--blue-700); }
.section--dark .section__title { color: var(--white); }
.section__desc   { font-size: 17px; color: var(--gray-500); max-width: 540px; margin-inline: auto; }
.section--dark .section__desc { color: rgba(255,255,255,.75); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r);
  font-family: 'Sarabun', sans-serif;
  font-size: 16px; font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}
.btn--primary  { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }
.btn--primary:hover  { background: var(--blue-800); border-color: var(--blue-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline  { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn--outline:hover  { background: var(--blue-700); color: var(--white); transform: translateY(-2px); }
.btn--white    { background: var(--white); color: var(--blue-700); border-color: var(--white); }
.btn--white:hover    { background: var(--blue-50); transform: translateY(-2px); }
.btn--line     { background: var(--line); color: var(--white); border-color: var(--line); }
.btn--line:hover     { background: #04a848; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,199,85,.30); }
.btn--lg       { padding: 15px 34px; font-size: 17px; border-radius: var(--r-lg); }
.btn--sm       { padding: 8px 18px; font-size: 14px; }

/* === TOPBAR === */
.topbar {
  background: var(--blue-800);
  color: rgba(255,255,255,.88);
  font-size: 13.5px; font-weight: 500;
  padding-block: 9px;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar__item  { display: flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar a { color: inherit; transition: color var(--tr); }
.topbar a:hover { color: var(--white); }

/* === HEADER === */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  transition: box-shadow var(--tr);
}
.header.scrolled { box-shadow: var(--shadow-md); border-color: transparent; }
.header__inner {
  display: flex; align-items: center; gap: 32px;
  padding-block: 14px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__icon {
  width: 46px; height: 46px;
  border-radius: var(--r-sm); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* footer logo keeps SVG cross with blue bg */
.footer .logo__icon { background: var(--blue-700); }
.footer .logo__icon svg { width: 28px; height: 28px; }
.logo__text  { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name  { font-size: 20px; font-weight: 800; color: var(--blue-800); }
.logo__sub   { font-size: 11.5px; color: var(--gray-500); font-weight: 500; letter-spacing: .02em; }

/* Nav */
.nav { flex: 1; }
.nav__list { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav__link {
  padding: 9px 17px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; color: var(--gray-500);
  transition: all var(--tr);
}
.nav__link:hover, .nav__link.active { color: var(--blue-700); background: var(--blue-50); }

.header__cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: all var(--tr); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
  color: var(--white); text-align: center; padding-block: 64px 72px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero--gray::after { background: var(--gray-50); }
.page-hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: var(--white); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; margin-bottom: 14px;
}
.page-hero__title { font-size: clamp(28px,5vw,46px); margin-bottom: 12px; }
.page-hero__desc  { font-size: 17px; opacity: .82; max-width: 500px; margin-inline: auto; }

/* === HERO (homepage) === */
.hero {
  background: linear-gradient(140deg, var(--blue-900) 0%, #1253a4 55%, var(--blue-600) 100%);
  color: var(--white); overflow: hidden; position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: var(--white);
  clip-path: ellipse(56% 100% at 50% 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 340px;
  align-items: center; gap: 48px;
  padding-block: 80px 108px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero__pulse {
  width: 8px; height: 8px; background: #4CAF50; border-radius: 50%;
  animation: pulseAnim 2s infinite;
}
@keyframes pulseAnim {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.3); }
}
.hero__title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800; line-height: 1.18; margin-bottom: 18px;
}
.hero__title em { font-style: normal; color: #90CAF9; }
.hero__desc {
  font-size: 17px; opacity: .85; line-height: 1.75;
  margin-bottom: 34px; max-width: 480px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__stats   { display: flex; gap: 36px; }
.hero__stat    { display: flex; flex-direction: column; }
.hero__stat-num   { font-size: 28px; font-weight: 800; }
.hero__stat-label { font-size: 13px; opacity: .7; }

/* Hero visual */
.hero__visual { width: 340px; height: 340px; position: relative; flex-shrink: 0; }
.hero__visual svg { width: 100%; height: 100%; }

/* === SERVICES === */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--r); padding: 28px 22px;
  transition: all var(--tr); position: relative; overflow: hidden;
  cursor: default;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue-700); transform: scaleX(0); transition: transform var(--tr);
}
.svc-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-4px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon {
  width: 54px; height: 54px;
  background: var(--blue-50); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
}
.svc-card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.svc-card__desc  { font-size: 14px; color: var(--gray-500); line-height: 1.55; }

/* === TREATMENT HIGHLIGHTS (homepage) === */
.treat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.treat-card {
  display: flex; gap: 20px;
  background: var(--white); border-radius: var(--r); padding: 28px;
  box-shadow: var(--shadow-xs); transition: all var(--tr);
}
.treat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.treat-card__icon {
  width: 60px; height: 60px; border-radius: var(--r);
  background: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex-shrink: 0;
}
.treat-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.treat-card__desc  { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* === PRICING === */
.pricing__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; max-width: 800px; margin-inline: auto;
}
.price-card {
  background: var(--white); border: 2px solid var(--gray-300);
  border-radius: var(--r-lg); padding: 40px 34px;
  position: relative; transition: all var(--tr);
}
.price-card--featured {
  border-color: var(--blue-700);
  box-shadow: var(--shadow-lg);
}
.price-card__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-700); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 4px 18px; border-radius: 100px; white-space: nowrap;
}
.price-card__icon  { font-size: 42px; margin-bottom: 16px; }
.price-card__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.price-card__price {
  font-size: 38px; font-weight: 800; color: var(--blue-700);
  margin-bottom: 4px;
}
.price-card__price span { font-size: 16px; font-weight: 400; color: var(--gray-500); }
.price-card__note  { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; }
.price-card__features { display: flex; flex-direction: column; gap: 11px; }
.price-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--gray-700);
}
.price-feature__check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
}
.price-feature__check svg { width: 13px; height: 13px; color: var(--blue-700); }

/* === ARTICLES === */
.articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--white); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: all var(--tr);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.article-card__thumb {
  height: 200px; background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; overflow: hidden;
}
.article-card__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.article-card__body { padding: 24px; }
.article-card__cat  {
  display: inline-block; background: var(--blue-50); color: var(--blue-700);
  font-size: 12px; font-weight: 700; padding: 3px 12px;
  border-radius: 100px; margin-bottom: 10px;
}
.article-card__title   { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.article-card__excerpt { font-size: 14px; color: var(--gray-500); margin-bottom: 18px; line-height: 1.6; }
.article-card__more {
  font-size: 14px; font-weight: 700; color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--tr);
}
.article-card__more:hover { gap: 8px; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
  color: var(--white); text-align: center; padding-block: 72px;
}
.cta-banner__title  { font-size: clamp(26px,4vw,38px); font-weight: 800; margin-bottom: 12px; }
.cta-banner__desc   { font-size: 17px; opacity: .82; margin-bottom: 28px; }
.cta-banner__phone  {
  font-size: clamp(38px,6vw,56px); font-weight: 800;
  letter-spacing: -1px; margin-bottom: 28px;
}
.cta-banner__phone a { color: inherit; }
.cta-banner__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* === FOOTER === */
.footer { background: var(--blue-900); color: rgba(255,255,255,.75); padding-block: 64px 28px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px; margin-bottom: 52px;
}
.footer .logo__name { color: var(--white); }
.footer .logo__sub  { color: rgba(255,255,255,.55); }
.footer__brand p { font-size: 14px; line-height: 1.75; max-width: 280px; margin-top: 14px; }
.footer__col-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 18px; letter-spacing: .03em; text-transform: uppercase; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; transition: color var(--tr); }
.footer__links a:hover { color: var(--white); }
.footer__contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 14px; }
.footer__contact-row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--blue-400); }
.footer__contact-row a { transition: color var(--tr); }
.footer__contact-row a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 8px;
}

/* === FLOATING BUTTONS === */
.float-btns {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column; gap: 12px; z-index: 900;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: var(--shadow-md);
  transition: all var(--tr);
}
.float-btn:hover { transform: scale(1.12); }
.float-btn--phone { background: var(--blue-700); color: var(--white); }
.float-btn--line  { background: var(--line); color: var(--white); }

/* Back to top */
.back-top {
  position: fixed; bottom: 28px; left: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--tr);
  opacity: 0; transform: translateY(16px); pointer-events: none;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--blue-700); }
.back-top svg { width: 20px; height: 20px; color: var(--blue-700); transition: color var(--tr); }
.back-top:hover svg { color: var(--white); }

/* === TREATMENT PAGE === */
.treat-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; padding-block: 52px;
}
.treat-detail:not(:last-child) { border-bottom: 1px solid var(--gray-300); }
.treat-detail--flip { direction: rtl; }
.treat-detail--flip > * { direction: ltr; }
.treat-detail__visual {
  background: var(--blue-50); border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; overflow: hidden;
}
.treat-detail__visual img {
  width: 100%; height: 100%; min-height: 300px;
  object-fit: cover; border-radius: var(--r-xl); display: block;
}
.treat-detail__eyebrow {
  display: inline-block;
  background: var(--blue-50); color: var(--blue-700);
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 12px;
}
.treat-detail__title { font-size: clamp(22px,3vw,30px); margin-bottom: 14px; }
.treat-detail__desc  { font-size: 16px; color: var(--gray-500); line-height: 1.75; margin-bottom: 22px; }
.treat-detail__list  { display: flex; flex-direction: column; gap: 10px; }
.treat-detail__item  { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.treat-detail__item::before {
  content: '';
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}

/* Conditions grid */
.conditions__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cond-tag {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--r-sm); padding: 14px 16px;
  font-size: 15px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: all var(--tr);
}
.cond-tag:hover { border-color: var(--blue-700); background: var(--blue-50); color: var(--blue-700); }

/* === ABOUT PAGE === */
.about-story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-story__visual {
  background: var(--blue-50); border-radius: var(--r-xl);
  overflow: hidden; min-height: 320px;
}
.about-story__visual img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover; display: block;
}
.about-story__text h2 { font-size: clamp(26px,4vw,36px); margin-bottom: 18px; }
.about-story__text p  { font-size: 16px; color: var(--gray-500); line-height: 1.8; margin-bottom: 16px; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-card {
  background: var(--white); border-radius: var(--r);
  padding: 30px 26px; box-shadow: var(--shadow-xs);
  display: flex; gap: 18px; transition: all var(--tr);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-card__num {
  font-size: 32px; font-weight: 800; color: var(--blue-100);
  line-height: 1; flex-shrink: 0; min-width: 40px;
}
.why-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card__desc  { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card  {
  text-align: center; background: var(--white);
  border-radius: var(--r); padding: 40px 28px;
  box-shadow: var(--shadow-xs); transition: all var(--tr);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-card__icon  { font-size: 50px; margin-bottom: 18px; }
.value-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card__desc  { font-size: 15px; color: var(--gray-500); line-height: 1.65; }

/* === CONTACT PAGE === */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--r); padding: 20px 22px;
  transition: all var(--tr);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.contact-card__icon {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.ci--phone   { background: #E3F2FD; }
.ci--line    { background: #E8F5E9; }
.ci--fb      { background: #E8EAF6; }
.ci--hours   { background: #FFF8E1; }
.ci--address { background: #FCE4EC; }
.contact-card__label { font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-card__value { font-size: 17px; font-weight: 700; color: var(--gray-900); }
.contact-card__value a { transition: color var(--tr); }
.contact-card__value a:hover { color: var(--blue-700); }
.contact-card__sub { font-size: 13px; color: var(--gray-500); margin-top: 3px; }

.map-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); height: 100%; min-height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; min-height: 420px; display: block; }

/* === FADE ANIMATION === */
[data-fade] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
[data-fade].vis { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .conditions__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding-block: 60px; }

  /* Header */
  .hamburger { display: flex; }
  .header__inner { flex-wrap: wrap; padding-block: 12px; gap: 0; }
  .logo { flex: 1; }
  .header__cta { display: none; }
  .nav {
    display: none; width: 100%; order: 3;
    border-top: 1px solid var(--gray-300); padding-block: 10px 14px;
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; padding: 11px 16px; }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; padding-block: 56px 88px; }
  .hero__visual { display: none; }
  .hero__stats  { gap: 24px; }

  /* Grids */
  .services__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .treat-grid     { grid-template-columns: 1fr; }
  .pricing__grid  { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .articles__grid { grid-template-columns: 1fr; }
  .about-story    { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .contact__grid  { grid-template-columns: 1fr; }
  .treat-detail   { grid-template-columns: 1fr; }
  .treat-detail--flip { direction: ltr; }
  .conditions__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 6px; }
  .topbar__inner  { justify-content: center; }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .conditions__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .cta-banner__phone { font-size: 34px; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}
