/* ==========================================================================
   Gowtham Siddha Clinic — Modern Static Design System
   Palette: Deep Herbal Emerald, Healing Teal, Sacred Gold, Warm Sage
   ========================================================================== */

:root {
  --primary: #0f3d33;
  --primary-light: #165647;
  --primary-dark: #092620;
  --accent: #1b9aaa;
  --accent-dark: #147986;
  --accent-soft: #e6f4f1;
  --gold: #c8922a;
  --gold-light: #fdf6e9;
  --whatsapp: #1ea954;
  --whatsapp-dark: #168742;

  --bg-body: #f9fbfa;
  --bg-surface: #ffffff;
  --bg-muted: #f0f6f4;
  --text-main: #182e29;
  --text-muted: #526b65;
  --text-light: #e7f2ef;

  --border: rgba(15, 61, 51, 0.1);
  --border-strong: rgba(15, 61, 51, 0.18);

  --shadow-xs: 0 2px 8px rgba(15, 61, 51, 0.05);
  --shadow-sm: 0 6px 20px rgba(15, 61, 51, 0.07);
  --shadow-md: 0 14px 36px rgba(15, 61, 51, 0.1);
  --shadow-lg: 0 24px 54px rgba(9, 38, 32, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --header-height: 76px;
  --container-max: 1200px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  color: var(--primary);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout & Reusable Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background-color: var(--bg-muted);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.section-header p {
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.95rem;
  border-radius: var(--radius-pill);
  background-color: var(--accent-soft);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow--gold {
  background-color: var(--gold-light);
  color: #8f6211;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 61, 51, 0.22);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 61, 51, 0.28);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(27, 154, 170, 0.28);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #ffffff;
}

.btn-gold {
  background-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(200, 146, 42, 0.28);
}

.btn-gold:hover {
  background-color: #b4801e;
  color: #ffffff;
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(30, 169, 84, 0.24);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 61, 51, 0.06);
  transition: box-shadow var(--transition), background-color var(--transition);
}

#header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -0.75rem;
  min-width: 215px;
  padding: 0.55rem;
  list-style: none;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1001;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.58rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.nav-dropdown a:hover {
  background-color: var(--bg-muted);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--primary);
  font-size: 1.45rem;
}

/* Mobile Drawer */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 38, 32, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1090;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  padding: 1.25rem 1.5rem 2rem;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--primary);
  font-size: 1.35rem;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.78rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-main);
}

.mobile-nav-list > li > a:hover,
.mobile-nav-list > li > a.active {
  background-color: var(--bg-muted);
  color: var(--primary);
}

.mobile-sublist {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-sublist a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-sublist a:hover {
  background-color: var(--bg-muted);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--header-height);
  min-height: min(690px, calc(100vh - var(--header-height)));
  display: flex;
  align-items: center;
  padding: 4.5rem 0 6.5rem;
  color: #ffffff;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(9, 38, 32, 0.92) 0%,
    rgba(15, 61, 51, 0.84) 55%,
    rgba(15, 61, 51, 0.65) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  margin-bottom: 1.35rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #f6dfad;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6dfad;
  margin-bottom: 1.75rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 610px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}

.hero-card img {
  width: 155px;
  height: auto;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.hero-card-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Floating Clinical Trust Bar */
.trust-bar-wrap {
  position: relative;
  z-index: 4;
  margin-top: -3.25rem;
  margin-bottom: 1rem;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.45rem 1.5rem;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}

.trust-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Treatment Cards Grid (Home)
   -------------------------------------------------------------------------- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 154, 170, 0.35);
}

.treatment-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-muted);
}

.treatment-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.treatment-card:hover .treatment-card-media img {
  transform: scale(1.06);
}

.treatment-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background-color: rgba(9, 38, 32, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.treatment-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem;
}

.treatment-card-body h3 {
  font-size: 1.28rem;
  margin-bottom: 0.55rem;
}

.treatment-card-body p {
  font-size: 0.93rem;
  margin-bottom: 1.15rem;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.card-link i {
  transition: transform var(--transition);
}

.treatment-card:hover .card-link {
  color: var(--accent);
}

.treatment-card:hover .card-link i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   About & Clinical Specialties Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #ffffff;
  background-color: var(--primary-dark);
}

.about-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.experience-badge strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: #f6dfad;
}

.experience-badge span {
  font-size: 0.82rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}

.about-content h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  margin-bottom: 1rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.about-list li {
  position: relative;
  padding: 1rem 1.2rem 1rem 2.85rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.about-list li b {
  color: var(--primary);
}

.about-sub-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}

.about-ordered-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.about-ordered {
  list-style: none;
  counter-reset: siddha-pillar;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-ordered li {
  counter-increment: siddha-pillar;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.98rem;
}

.about-ordered li::before {
  content: counter(siddha-pillar);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about-sub-grid {
    grid-template-columns: 1fr;
  }
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.specialty-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.specialty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.specialty-card h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.specialty-card p {
  font-size: 0.9rem;
  line-height: 1.58;
}

/* 4 Siddha Healing Pillars */
.pillars-block {
  margin-top: 3.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.pillar-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.pillar-card h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.89rem;
}

/* --------------------------------------------------------------------------
   Heritage & Video Section
   -------------------------------------------------------------------------- */
.heritage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #0b1c18;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.heritage-quote {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  font-style: italic;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Contact & Branches Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.25rem;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.channel-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.channel-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.channel-card-head i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 1.1rem;
}

.channel-card-head h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
}

.channel-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.channel-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  word-break: break-word;
}

.channel-links a:hover {
  color: var(--accent);
}

.channel-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.branches-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.branch-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.branch-card:hover {
  border-color: rgba(27, 154, 170, 0.35);
  box-shadow: var(--shadow-sm);
}

.branch-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.branch-info {
  flex: 1;
}

.branch-info h4 {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.branch-info p {
  font-size: 0.89rem;
  line-height: 1.5;
}

.map-frame {
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   Inner Page Hero & Breadcrumb
   -------------------------------------------------------------------------- */
.page-hero {
  margin-top: var(--header-height);
  padding: 3.75rem 0 3.25rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, var(--primary-light) 100%);
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb a:hover {
  color: #f6dfad;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 680px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Treatments Detail Page
   -------------------------------------------------------------------------- */
.tabs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.tab-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.15rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  color: var(--text-main);
  transition: all var(--transition);
}

.tab-btn:hover {
  border-color: var(--accent);
  background-color: var(--bg-muted);
}

.tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.tab-btn-icon,
.tab-btn-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}

.tab-btn-thumb img,
.tab-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.tab-btn.active .tab-btn-icon,
.tab-btn.active .tab-btn-thumb {
  background-color: rgba(255, 255, 255, 0.16);
  color: #f6dfad;
}

.tab-btn strong {
  display: block;
  font-size: 1rem;
}

.tab-btn span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.tab-panel {
  display: none;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: fadeSlideIn 0.32s ease-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.tab-panel-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.tab-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-panel-hero h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.element-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
}

.element-pill-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.element-pill strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

.element-pill span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.conditions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.conditions-list li {
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
}

.tab-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Gallery Page & Lightbox
   -------------------------------------------------------------------------- */
.filter-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background-color: rgba(249, 251, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.48rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--primary);
}

.filter-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.filter-count {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cases-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.case-group {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.case-group[hidden] {
  display: none;
}

.case-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.case-header h2 {
  font-size: 1.65rem;
  margin-bottom: 0.3rem;
}

.case-diagnosis {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background-color: var(--gold-light);
  color: #8f6211;
  font-size: 0.84rem;
  font-weight: 600;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-body);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 154, 170, 0.4);
}

.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #dfeae6;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.05);
}

.gallery-zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(9, 38, 32, 0.8);
  color: #ffffff;
  font-size: 1rem;
  transition: background-color var(--transition), transform var(--transition);
}

.gallery-card:hover .gallery-zoom {
  background-color: var(--accent);
  transform: scale(1.08);
}

.gallery-caption {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.step-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  background-color: var(--accent-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.step-badge--cured {
  background-color: #dff5e8;
  color: #146c37;
}

.gallery-caption h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0.15rem 0 0;
}

.gallery-caption p {
  font-size: 0.86rem;
  line-height: 1.48;
  margin: 0;
}

.gallery-caption p b,
#lightbox-desc p b {
  color: var(--primary);
}

#lightbox-desc p {
  font-size: 0.94rem;
  margin: 0.25rem 0 0;
}

.elements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.65rem;
  list-style: none;
  counter-reset: element-item;
  margin: 1.15rem 0 1.5rem;
}

.elements-list li {
  counter-increment: element-item;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

.elements-list li::before {
  content: counter(element-item);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 24, 20, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 92vh;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(9, 38, 32, 0.75);
  color: #ffffff;
  font-size: 1.25rem;
}

.lightbox-close:hover {
  background-color: var(--primary);
}

.lightbox-stage {
  position: relative;
  background-color: #0e1e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 68vh;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(9, 38, 32, 0.72);
  color: #ffffff;
  font-size: 1.25rem;
  transition: background-color var(--transition);
}

.lightbox-nav:hover {
  background-color: var(--accent);
}

.lightbox-prev {
  left: 0.85rem;
}

.lightbox-next {
  right: 0.85rem;
}

.lightbox-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lightbox-info h3 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   404 Error Page
   -------------------------------------------------------------------------- */
.error-section {
  min-height: calc(100vh - var(--header-height) - 180px);
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.error-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.error-code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Footer & Floating Actions
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.1fr);
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 4px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-brand span {
  font-size: 0.78rem;
  color: #f6dfad;
}

.site-footer p {
  color: rgba(231, 242, 239, 0.78);
  font-size: 0.92rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(231, 242, 239, 0.8);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #69dbe6;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  transition: background-color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.86rem;
  color: rgba(231, 242, 239, 0.7);
}

.floating-actions {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.1rem;
  border-radius: var(--radius-pill);
  background-color: var(--whatsapp);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Reveal Animation
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .treatments-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .about-grid,
  .heritage-grid,
  .contact-grid,
  .tabs-layout {
    grid-template-columns: 1fr;
  }

  .tab-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1 1 180px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: min(690px, calc(100vh - var(--header-height)));
    padding: 3.25rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
    gap: 1.75rem;
    align-items: center;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .hero-badge {
    margin-inline: 0;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    text-align: left;
  }

  .hero h2 {
    font-size: 1.12rem;
    margin-bottom: 1.25rem;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-card {
    display: flex;
    padding: 1.5rem 1.25rem;
    max-width: 300px;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
  }

  .hero-card img {
    width: 125px;
    height: auto;
    margin-bottom: 0.75rem;
  }

  .hero-card-title {
    font-size: 1.1rem;
  }

  .hero-card-meta {
    font-size: 0.82rem;
  }
}

@media (max-width: 820px) {
  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .tab-panel-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    padding-top: 2.75rem;
    padding-bottom: 6rem; /* pb-24: 6rem / 96px clearance for floating WhatsApp */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero h1 {
    text-align: center;
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
  }

  .hero h2 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-card {
    display: flex;
    margin-inline: auto;
    max-width: 320px;
    width: 100%;
    justify-self: center;
    padding: 1.75rem 1.25rem;
  }

  .hero-card img {
    width: 130px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.75rem 0;
  }

  .trust-bar-wrap {
    margin-top: -2rem;
  }

  .trust-bar,
  .treatments-grid,
  .specialties-grid,
  .pillars-grid,
  .channel-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .experience-badge {
    position: static;
    margin-top: 1rem;
    justify-content: center;
  }

  .case-group,
  .tab-panel {
    padding: 1.25rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
