/* ================================================
   QUANTUM AESTHETICS — styles.css
   Luxury dark theme · Gold accent · Serif headings
   ================================================ */

/* ---- VARIABLES ---- */
:root {
  --gold:          #c9a96e;
  --gold-light:    #e8cc99;
  --gold-glow:     rgba(201, 169, 110, 0.22);
  --gold-border:   rgba(201, 169, 110, 0.35);

  --bg:            #faf7f2;
  --bg-2:          #f2ede5;
  --bg-3:          #e9e2d8;
  --bg-card:       #ffffff;
  --bg-card-hover: #ffffff;

  --white:         #1c1814;
  --text:          #2e2620;
  --text-muted:    #7a6e64;
  --text-dim:      #b5ab9f;

  --border:        rgba(0, 0, 0, 0.09);
  --border-gold:   rgba(201, 169, 110, 0.32);

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Jost', system-ui, sans-serif;

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --trans:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 100px;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 16px; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--gold);
  color: #1c1814;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  transition: var(--trans);
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  box-shadow: 0 0 32px var(--gold-glow);
}
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-xl);
  transition: var(--trans);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-nav {
  padding: 10px 26px;
  background: transparent;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  transition: var(--trans);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--gold);
  color: #1c1814;
}

/* Solo visible en el panel móvil del hamburger */
.nav-link--cta {
  display: none;
}
@media (max-width: 900px) {
  .nav-link--cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--gold);
    color: #1c1814;
    font-family: var(--ff-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    margin-top: 8px;
    justify-content: center;
  }
  .nav-link--cta:hover {
    background: #b8923d;
  }
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 32px;
  width: auto;
  /* Logo oscuro sobre fondo claro — sin filtro */
  filter: none;
  opacity: 0.85;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-logo:hover .logo-img {
  /* Al hover → tono dorado */
  filter: brightness(0) saturate(100%) invert(75%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(1);
  opacity: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: var(--trans);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 60%, rgba(201,169,110,0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 40%, rgba(201,169,110,0.06) 0%, transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
#particleCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.10;
}
.hero-glow--left {
  width: 600px; height: 600px;
  top: -100px; left: -150px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}
.hero-glow--right {
  width: 500px; height: 500px;
  bottom: -50px; right: -100px;
  background: radial-gradient(circle, rgba(201,169,110,0.18) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 40px 150px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  margin-bottom: 40px;
  background: rgba(201,169,110,0.06);
  animation: fadeDown 0.8s var(--ease) 0.1s both;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .tl {
  display: block;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-title .tl:nth-child(1) { animation-delay: 0.3s; }
.hero-title .tl:nth-child(2) { animation-delay: 0.55s; }
.hero-title .italic { font-style: italic; color: var(--gold); }
.hero-title em   { font-style: italic; color: var(--gold); }

/* Fallback: si las animaciones no corren, el hero siempre es visible */
@media (prefers-reduced-motion: reduce) {
  .hero-title .tl,
  .hero-badge,
  .hero-subtitle,
  .hero-cta,
  .hero-scroll-indicator {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpGold {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
  animation: fadeUp 0.8s var(--ease) 0.85s both;
}
.break-desktop { display: block; }

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 1.3s both;
}

.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 60px 36px;
  pointer-events: none;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  text-align: center;
  animation: fadeUp 0.8s var(--ease) 1.5s both;
}
.hero-stat:first-child { padding-left: 32px; }
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.stat-plus {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  color: var(--gold);
  vertical-align: super;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.8s var(--ease) 1.7s both;
  position: absolute;
  right: 60px;
  bottom: 36px;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.5); opacity: 1; }
}
.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  rotate: 180deg;
}

/* ================================================
   INTRO STRIP
   ================================================ */
.intro-strip {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intro-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}
.intro-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}
.intro-phrase {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--text);
  text-align: center;
  line-height: 1.6;
  max-width: 720px;
  flex-shrink: 0;
}
.intro-phrase em {
  font-style: italic;
  color: var(--gold);
}
.intro-pillars {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.pillar i {
  color: var(--gold);
  font-size: 1rem;
}

/* ================================================
   TREATMENTS
   ================================================ */
.treatments {
  padding: 110px 0;
  background: var(--bg);
}
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.filter-btn {
  padding: 9px 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--trans);
  background: transparent;
}
.filter-btn:hover {
  color: var(--text);
  border-color: rgba(0,0,0,0.2);
}
.filter-btn.active {
  color: #1c1814;
  background: var(--gold);
  border-color: var(--gold);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* TREATMENT CARD */
.tcard {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--trans);
  overflow: hidden;
  cursor: pointer;
}
.tcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tcard:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 0 0 1px rgba(201,169,110,0.25);
}
.tcard:hover::before { opacity: 1; }

.tcard--featured {
  border-color: rgba(201,169,110,0.2);
  background: rgba(201,169,110,0.04);
}
.tcard--featured:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 0 40px rgba(201,169,110,0.18);
}

.tcard-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1c1814;
  background: var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

.tcard-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--trans);
  margin: 0 auto;
}
.tcard:hover .tcard-icon {
  background: var(--gold);
  color: #1c1814;
  border-color: var(--gold);
}

.tcard-body { flex: 1; text-align: center; }
.tcard-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.tcard-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.tcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.tcard-tags span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3px 10px;
}

.tcard-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: var(--trans);
}
.tcard:hover .tcard-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* hidden via filter */
.tcard.hidden {
  display: none;
}

/* ================================================
   TREATMENT HUB (3 category cards)
   ================================================ */
.tx-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.tx-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: var(--trans);
}
.tx-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tx-hub-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 0 0 1px rgba(201,169,110,0.25);
}
.tx-hub-card:hover::before { opacity: 1; }
.tx-hub-card--featured {
  border-color: rgba(201,169,110,0.25);
  background: rgba(201,169,110,0.04);
}
.tx-hub-card--featured:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 0 40px rgba(201,169,110,0.20);
}
.tx-hub-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1c1814;
  background: var(--gold);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}
.tx-hub-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--trans);
}
.tx-hub-card:hover .tx-hub-icon {
  background: var(--gold);
  color: #1c1814;
  border-color: var(--gold);
}
.tx-hub-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.tx-hub-body { flex: 1; }
.tx-hub-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.tx-hub-body h3 em {
  font-style: italic;
  color: var(--gold);
}
.tx-hub-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.tx-hub-count {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.tx-hub-count strong {
  font-size: 1.5rem;
  font-family: var(--ff-serif);
  font-weight: 600;
  color: var(--gold);
  margin-right: 5px;
}
.tx-hub-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--trans);
}
.tx-hub-card:hover .tx-hub-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ================================================
   NAV DROPDOWN
   ================================================ */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-wrap > .nav-link .nav-caret {
  font-size: 0.55rem;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.25s var(--ease);
}
.nav-dropdown-wrap:hover > .nav-link .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 230px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), top 0.25s var(--ease);
  z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,0.11);
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 6px);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.81rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: var(--trans);
  text-decoration: none;
}
.nav-dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--gold);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.nav-dropdown a:hover {
  color: var(--text);
  background: rgba(201,169,110,0.10);
}
.nav-dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 5px 14px;
}

/* ================================================
   ABOUT
   ================================================ */
.about {
  padding: 110px 0;
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  max-width: 740px;
  margin: 0 auto;
}
.about-visual { display: none; }
.about-visual {
  position: relative;
  height: 500px;
}
.about-card {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  padding: 32px;
  transition: var(--trans);
}
.about-card--main {
  top: 0; left: 0;
  width: 75%; height: 72%;
  background: linear-gradient(135deg, rgba(201,169,110,0.18) 0%, rgba(242,237,229,0.97) 100%);
}
.about-card--main .about-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.about-card--main i {
  font-size: 2.5rem;
  color: var(--gold);
}
.about-card--main span {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  color: var(--text);
  font-style: italic;
}
.about-card--sm {
  bottom: 0; right: 0;
  width: 54%; height: 42%;
  background: var(--bg-3);
  border-color: var(--border);
  gap: 10px;
}
.about-card--sm i {
  font-size: 1.6rem;
  color: var(--gold);
}
.about-card--sm span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about-badge {
  position: absolute;
  top: 50%; right: -20px;
  transform: translateY(-50%);
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(201,169,110,0.25);
}
.about-badge-num {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #1c1814;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28,24,20,0.70);
  text-align: center;
  line-height: 1.4;
}
.about-orb {
  position: absolute;
  bottom: 60px; left: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.15), transparent 70%);
  filter: blur(20px);
}

.about-text { padding-right: 0; text-align: center; }
.about-text .section-tag { display: block; margin-bottom: 12px; }
.about-text .section-title { margin-bottom: 24px; }
.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
  align-items: center;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
}
.about-features li i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ================================================
   ABOUT — extra CTA group
   ================================================ */
.about-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================================================
   VIDEO CLÍNICA
   ================================================ */
.clinica-video {
  padding: 100px 0 110px;
  background: var(--bg-2);
}
.video-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.13), 0 0 0 1px var(--border);
}
.video-wrapper video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.video-play-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold);
  font-size: 0.95rem;
  transition: var(--trans);
  z-index: 5;
}
.video-play-btn:hover {
  background: var(--gold);
  color: #1c1814;
  transform: scale(1.08);
}

/* ================================================
   TEAM
   ================================================ */
.team {
  padding: 110px 0;
  background: var(--bg);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  opacity: 0;
  transform: translateY(28px);
}
.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 0 0 1px rgba(201,169,110,0.22);
}

/* Director badge via modifier */
.team-card--director {
  border-color: rgba(201,169,110,0.2);
  background: rgba(201,169,110,0.03);
}
/* Need relative on the card for ::after to position correctly */
.team-card { position: relative; }

/* Photo area */
.team-photo {
  position: relative;
  height: 320px;
  background: var(--bg-3);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-initials {
  position: relative;
  z-index: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.05em;
  user-select: none;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  z-index: 1;
  transition: transform 0.55s var(--ease);
  background: var(--bg-3);
}
.team-card:hover .team-photo img {
  transform: scale(1.06);
}
.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 55%,
    rgba(28, 24, 20, 0.30) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Info area */
.team-info {
  padding: 22px 26px 26px;
  text-align: center;
}
.team-info h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.team-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.team-specs li {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}
.team-specs li::before {
  content: '·\00a0';
  color: var(--gold);
}

/* ================================================
   TEAM COMPACT (home teaser)
   ================================================ */
.team-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 40px;
}
.team-compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}
.team-compact-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}
.team-compact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(201,169,110,0.15);
}
.team-compact-photo {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.team-compact-photo .team-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  color: var(--gold);
  z-index: 0;
}
.team-compact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  position: relative;
  z-index: 1;
}
.team-compact-info {
  padding: 20px 20px 24px;
}
.team-compact-info h3 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 4px;
}
.team-compact-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 6px 0 0;
  line-height: 1.4;
}
.team-compact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.team-compact-count {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.team-compact-count strong {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--gold);
  margin-right: 4px;
}

/* ================================================
   WHY US
   ================================================ */
.why-us {
  padding: 110px 0;
  background: var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--trans);
  text-align: center;
}
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.09);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(201,169,110,0.08);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0 auto 22px;
  transition: var(--trans);
}
.why-card:hover .why-icon {
  background: var(--gold);
  color: #1c1814;
  border-color: var(--gold);
}
.why-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  padding: 110px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 52px 60px;
  text-align: center;
}
.t-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.85rem;
}
.testimonial-card p {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 36px;
}
.t-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}
.t-info { text-align: left; }
.t-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.t-info span {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.t-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--trans);
}
.t-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--trans);
  border: none;
}
.t-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  padding: 110px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info { text-align: center; }
.contact-info .section-tag { display: block; margin-bottom: 12px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  text-align: left;
}
.cd-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.contact-details strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-details span {
  font-size: 0.9rem;
  color: var(--text);
}
.social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--trans);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.06);
}

/* FORM */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 24px; }
.form-group label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,169,110,0.04);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(80,200,120,0.08);
  border: 1px solid rgba(80,200,120,0.2);
  color: #6edda0;
  font-size: 0.88rem;
}
.form-success.show { display: flex; }

/* ================================================
   CONTACT WIZARD
   ================================================ */
.wizard-wrap {
  position: relative;
  overflow: hidden;
}

/* Step progress bar */
.wiz-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}
.wiz-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.wiz-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--bg-card);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.wiz-step-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.wiz-progress-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 10px;
  margin-bottom: 22px;
  transition: background 0.3s;
}
.wiz-step-indicator.active .wiz-step-num,
.wiz-step-indicator.done .wiz-step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c1814;
}
.wiz-step-indicator.active .wiz-step-label,
.wiz-step-indicator.done .wiz-step-label { color: var(--gold); }
.wiz-step-indicator.done .wiz-step-num::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
.wiz-step-indicator.done .wiz-step-num { font-size: 0; }
.wiz-step-indicator.done .wiz-step-num::before { font-size: 0.72rem; }

/* Panels */
.wiz-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: wizFadeIn 0.35s ease;
}
.wiz-panel.active { display: flex; }

@keyframes wizFadeIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes wizFadeBack {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.wiz-panel.slide-back { animation: wizFadeBack 0.35s ease; }

.wiz-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Treatment pills grid */
.wiz-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wiz-pill {
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.wiz-pill:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(201,169,110,0.05);
}
.wiz-pill.selected {
  color: #1c1814;
  background: var(--gold);
  border-color: var(--gold);
}

/* Nav row (back + next) */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

/* WhatsApp CTA button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: #25d366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  text-decoration: none;
}
.btn-wa i { font-size: 1.2rem; }
.btn-wa:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.25);
}
.btn-wa.btn-full { width: 100%; }

/* ================================================
   CONTACT CTA BOX
   ================================================ */
.contact-cta-box {
  background: linear-gradient(160deg, rgba(201,169,110,0.06) 0%, var(--bg-card) 50%);
  border: 1px solid rgba(201,169,110,0.28);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.contact-cta-icon {
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-cta-box h3 {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
}
.contact-cta-box > p:not(.form-note) {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 400px;
  margin: 0;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo-img {
  height: 28px;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.footer-contact li i { color: var(--gold); width: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.45);
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
.tcard, .why-card, .tx-hub-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
              background 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.tcard.visible, .why-card.visible, .tx-hub-card.visible { opacity: 1; transform: translateY(0); }
.tcard.hidden { display: none !important; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .treatments-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .team-compact-grid  { grid-template-columns: repeat(3, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { gap: 50px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tx-hub           { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }

  /* Mobile dropdown: show inline */
  .nav-dropdown-wrap > .nav-link .nav-caret { display: none; }
  .nav-dropdown {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-gold);
    box-shadow: none;
    padding: 4px 0 4px 14px;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    top: auto;
    margin-top: 6px;
  }
  .nav-dropdown a { padding: 7px 0; font-size: 0.88rem; }
  .nav-dropdown a:hover { background: transparent; }
  .nav-dropdown-sep { margin: 3px 0; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100dvh;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; }
  .hamburger { display: flex; z-index: 1001; }
  .btn-nav { display: none; }

  .hero-bottom { flex-direction: column; align-items: center; gap: 24px; padding: 0 24px 28px; }
  .hero-stats { width: 100%; justify-content: center; }
  .hero-stat { padding: 0 20px; }
  .break-desktop { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { height: 340px; }
  .about-badge { right: 0; top: auto; bottom: -20px; transform: none; }
  .about-text { padding-right: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }
}

@media (max-width: 640px) {

  /* ---- Global typography ---- */
  .section-header   { margin-bottom: 32px; }
  .section-title    { font-size: clamp(1.85rem, 8.5vw, 2.3rem); letter-spacing: -0.01em; }
  .section-subtitle { font-size: 0.88rem; padding: 0 8px; }

  /* ---- Section paddings ---- */
  .intro-strip   { padding: 44px 0; }
  .treatments    { padding: 52px 0; }
  .about         { padding: 52px 0; }
  .clinica-video { padding: 48px 0; }
  .team          { padding: 52px 0; }
  .why-us        { padding: 52px 0; }
  .testimonials  { padding: 44px 0; }
  .contact       { padding: 52px 0; }
  .footer        { padding: 44px 0 0; }

  /* ---- Hero ---- */
  .hero-title    { font-size: clamp(2.8rem, 11vw, 4.8rem); letter-spacing: -0.02em; }
  .hero-content  { padding: 96px 20px 32px; text-align: center; margin: 0 auto; }
  .hero-badge    { margin-bottom: 20px; padding: 6px 14px; font-size: 0.68rem; }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
  .hero-cta      { flex-direction: column; width: 100%; gap: 10px; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { width: 100%; justify-content: center; padding: 15px 20px; }
  .hero-scroll-indicator { display: none; }
  .hero-bottom   { position: relative; bottom: auto; left: auto; right: auto; padding: 20px 20px 32px; justify-content: center; }
  .hero-stats    { gap: 0; }
  .hero-stat     { padding: 0 14px; }
  .hero-stat-sep { height: 28px; }
  .stat-num      { font-size: 1.55rem; }
  .stat-label    { font-size: 0.59rem; letter-spacing: 0.16em; }

  /* ---- Intro strip ---- */
  .intro-inner   { flex-direction: column; gap: 14px; }
  .intro-divider { width: 40px; height: 1px; }
  .intro-phrase  { font-size: clamp(1rem, 4.5vw, 1.15rem); }
  .intro-pillars { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
  .pillar        { font-size: 0.78rem; }

  /* ---- Treatment hub: app-style horizontal list ---- */
  .tx-hub       { grid-template-columns: 1fr; gap: 8px; }
  .tx-hub-card  { flex-direction: row; align-items: center; padding: 16px 18px; gap: 14px; }
  .tx-hub-icon  { width: 46px; height: 46px; font-size: 1rem; flex-shrink: 0; }
  .tx-hub-body  { flex: 1; min-width: 0; }
  .tx-hub-tag   { margin-bottom: 2px; }
  .tx-hub-body h3  { font-size: 1.05rem; line-height: 1.2; margin-bottom: 2px; }
  .tx-hub-body h3 br { display: none; }
  .tx-hub-body p   { display: none; }
  .tx-hub-count    { font-size: 0.74rem; }
  .tx-hub-count strong { font-size: 1rem; }
  .tx-hub-arrow    { flex-shrink: 0; }
  .tx-hub-arrow span { display: none; }
  .tx-hub-badge    { top: 10px; right: 10px; font-size: 0.55rem; padding: 2px 8px; }

  /* ---- Filter bar: horizontal scroll, no wrap ---- */
  .filter-bar  { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
                 justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; gap: 7px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn  { flex-shrink: 0; padding: 8px 16px; font-size: 0.72rem; }

  /* ---- Treatment cards: icon + title only (clean grid) ---- */
  .treatments-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tcard       { padding: 24px 12px 20px; gap: 10px; align-items: center; }
  .tcard-icon  { width: 44px; height: 44px; font-size: 1rem; }
  .tcard-body  { display: flex; flex-direction: column; align-items: center; }
  .tcard-body h3 { font-size: 0.88rem; line-height: 1.25; text-align: center; margin-bottom: 0; }
  .tcard-body p  { display: none; }
  .tcard-tags  { display: none; }
  .tcard-arrow { display: none; }
  .tcard-badge { top: 7px; right: 7px; font-size: 0.5rem; padding: 2px 7px; letter-spacing: 0.06em; }

  /* ---- About ---- */
  .about-cta-group { flex-direction: column; align-items: stretch; gap: 10px; }
  .about-cta-group .btn-primary,
  .about-cta-group .btn-ghost { width: 100%; justify-content: center; }

  /* ---- Team: 2 columns, photos con presencia ---- */
  .team-grid          { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-photo         { height: 190px; }
  .team-initials      { width: 76px; height: 76px; font-size: 1.7rem; }
  .team-info          { padding: 14px 12px 16px; }
  .team-compact-grid  { grid-template-columns: 1fr; gap: 16px; }
  .team-compact-photo { height: 220px; }
  .team-compact-cta   { flex-direction: column; gap: 16px; text-align: center; }
  .team-info h3  { font-size: 0.95rem; margin-bottom: 4px; }
  .team-role     { font-size: 0.6rem; margin-bottom: 0; letter-spacing: 0.11em; }
  .team-specs    { display: none; }

  /* ---- Why us ---- */
  .why-grid  { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .why-card  { padding: 22px 14px; }
  .why-icon  { width: 42px; height: 42px; font-size: 0.95rem; margin: 0 auto 12px; }
  .why-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
  .why-card p  { font-size: 0.81rem; line-height: 1.6; }

  /* ---- Testimonials ---- */
  .testimonial-card { padding: 28px 16px; }
  .testimonial-card p { font-size: 1.05rem; margin-bottom: 24px; }
  .t-stars { margin-bottom: 20px; }

  /* ---- Contact ---- */
  .form-row { grid-template-columns: 1fr; }
  .contact-cta-box { padding: 32px 24px; gap: 14px; border-top: 2px solid var(--gold); }
  .contact-cta-icon { font-size: 2.2rem; }
  .contact-cta-box h3 { font-size: 1.6rem; }

  /* ---- Footer ---- */
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal  { justify-content: center; }

  /* ---- WhatsApp float ---- */
  .whatsapp-float { bottom: 18px; right: 14px; width: 50px; height: 50px; font-size: 1.3rem; }
}
