/* ==========================================
   AURUM — Centro de Estética Premium
   styles.css
   ========================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream:        #f8f3ee;
  --cream-mid:    #f0e8de;
  --cream-dark:   #e0d2c4;
  --gold:         #c9a96e;
  --gold-light:   #dfc08a;
  --gold-dark:    #a8854a;
  --brown:        #7a6050;
  --brown-dark:   #4a3828;
  --charcoal:     #2c2420;
  --warm-white:   #fdfaf7;
  --text-main:    #3c2e26;
  --text-mid:     #6a5848;
  --text-light:   #9a8878;
  --border:       rgba(180,155,130,0.25);

  --ff-display:   'Cormorant Garamond', Georgia, serif;
  --ff-body:      'Jost', 'Helvetica Neue', sans-serif;

  --nav-h:        80px;
  --max-w:        1200px;
  --section-pad:  120px;

  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--warm-white);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   TYPOGRAPHY UTILITIES
   ========================================== */
.section-tag {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}

.section-tag.light { color: var(--gold-light); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 28px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-title.light {
  color: var(--cream);
}

.section-title.light em {
  color: var(--gold-light);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: transparent;
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ==========================================
   NAVBAR
   ========================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s;
}

#navbar.scrolled {
  background: rgba(248,243,238,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  transition: color 0.4s;
}

#navbar.scrolled .nav-logo { color: var(--text-main); }

.logo-svg {
  width: 36px;
  height: 36px;
  transition: color 0.4s;
}

.nav-brand {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links li a {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}

#navbar.scrolled .nav-links li a { color: var(--text-mid); }

.nav-links li a:hover { color: var(--gold); }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9) !important;
  transition: border-color 0.3s, background 0.3s, color 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--charcoal) !important;
}

#navbar.scrolled .nav-cta {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

#navbar.scrolled .nav-cta:hover {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s, background 0.4s;
}

#navbar.scrolled .hamburger span { background: var(--text-main); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 30px 40px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 20px; }

.mobile-link {
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ==========================================
   HERO
   ========================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/banner-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* oscurece la imagen */
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(201,169,110,0.04) 79px,
      rgba(201,169,110,0.04) 80px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  transition-delay: 0.1s;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 32px;
  transition-delay: 0.2s;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(248,243,238,0.6);
  margin-bottom: 52px;
  max-width: 420px;
  transition-delay: 0.3s;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  transition-delay: 0.4s;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(248,243,238,0.4);
  font-family: var(--ff-body);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 50px;
  height: 1px;
  background: rgba(248,243,238,0.25);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

.hero-badge {
  position: absolute;
  bottom: 50px;
  right: 60px;
  width: 110px;
  height: 110px;
  color: rgba(248,243,238,0.35);
  animation: rotate 20s linear infinite;
  z-index: 2;
}

.badge-ring {
  width: 100%;
  height: 100%;
}

.badge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ==========================================
   NOSOTROS
   ========================================== */
#nosotros {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text { max-width: 520px; }

.about-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  transition-delay: 0.35s;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.stat-num {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.about-visual {
  display: flex;
  justify-content: center;
  transition-delay: 0.2s;
}

.about-img-wrap {
  position: relative;
  width: 360px;
}

.about-img-inner {
  width: 100%;
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-illustration {
  width: 100%;
}

.about-img-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--gold);
  opacity: 0.25;
  z-index: -1;
}

/* ==========================================
   EQUIPO
   ========================================== */
#equipo {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.team-header {
  text-align: center;
  margin-bottom: 70px;
}

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

.team-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(74,56,40,0.1);
}

.team-portrait {
  overflow: hidden;
  aspect-ratio: 4/5;
}

.team-portrait svg {
  width: 100%;
  height: 100%;
}

.team-info {
  padding: 28px;
}

.team-info h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 6px;
}

.team-role {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.team-bio {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ==========================================
   TRATAMIENTOS
   ========================================== */
#tratamientos {
  background: var(--charcoal);
  padding: var(--section-pad) 0;
}

.tratamientos-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
  margin-bottom: 80px;
}

.tratamientos-intro {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(248,243,238,0.5);
  transition-delay: 0.1s;
}

.tratamientos-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.trat-item {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 40px;
  align-items: start;
  padding: 50px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}

.trat-item::before {
  content: attr(data-num);
  position: absolute;
  top: 50px;
  right: 80px;
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(201,169,110,0.06);
  line-height: 1;
  pointer-events: none;
}

.trat-item:hover { background: rgba(201,169,110,0.04); }

.trat-icon {
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  padding-top: 4px;
}

.trat-item:hover .trat-icon {
  opacity: 1;
  transform: scale(1.05);
}

.trat-icon svg { width: 52px; height: 52px; }

.trat-title {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 8px;
}

.trat-tagline {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.trat-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(248,243,238,0.5);
  max-width: 600px;
}

.trat-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-light);
  font-weight: 300;
}

.trat-arrow {
  font-size: 1.2rem;
  color: rgba(201,169,110,0.3);
  transition: color 0.3s, transform 0.3s;
  align-self: center;
}

.trat-item:hover .trat-arrow {
  color: var(--gold);
  transform: translateX(6px);
}

/* ==========================================
   INSTALACIONES
   ========================================== */
#instalaciones {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.inst-header {
  text-align: center;
  margin-bottom: 70px;
}

.inst-intro {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
  transition-delay: 0.1s;
}

.inst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.inst-card {
  position: relative;
  overflow: hidden;
  background: var(--cream-mid);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-smooth);
}

.inst-card:hover { transform: translateY(-4px); }

.inst-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.inst-visual { overflow: hidden; }

.inst-large .inst-visual { height: 500px; }

.inst-card:not(.inst-large) .inst-visual { height: 220px; }

.room-svg, .inst-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.inst-card:hover .room-svg,
.inst-card:hover .inst-visual svg {
  transform: scale(1.03);
}

.inst-label {
  padding: 24px 28px;
}

.inst-label h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 6px;
}

.inst-label p {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
}

/* ==========================================
   QUOTE
   ========================================== */
#quote {
  padding: 120px 40px;
  background: var(--cream);
  text-align: center;
}

.quote-inner { max-width: 800px; margin: 0 auto; }

.quote-mark {
  font-family: var(--ff-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 20px;
}

blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 24px;
  transition-delay: 0.1s;
}

cite {
  font-family: var(--ff-body);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  transition-delay: 0.2s;
}

/* ==========================================
   CONTACTO
   ========================================== */
#contacto {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 48px;
  max-width: 400px;
  transition-delay: 0.1s;
}

.contact-info { transition-delay: 0.2s; }

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 16px;
  color: var(--gold);
  line-height: 1.5;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-main);
}

.contact-item span {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

/* FORM */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 48px;
}

.contact-form-wrap h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 14px 18px;
  font-family: var(--ff-body);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}

.form-input:focus { border-color: var(--gold); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239a8878' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.form-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 14px;
  text-align: center;
  font-weight: 300;
}

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  background: var(--charcoal);
  padding: 80px 0 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,243,238,0.4);
  margin-top: 20px;
}

.footer-logo {
  color: var(--cream) !important;
}

.footer-links h4, .footer-social h4 {
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(248,243,238,0.5);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold-light); }

.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.social-links a {
  color: rgba(248,243,238,0.4);
  transition: color 0.3s;
}

.social-links a:hover { color: var(--gold); }

.footer-cert {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(248,243,238,0.3);
}

.footer-cert strong {
  display: block;
  font-weight: 400;
  color: rgba(248,243,238,0.5);
  letter-spacing: 1px;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 300;
  color: rgba(248,243,238,0.25);
}

/* ==========================================
   TOAST
   ========================================== */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--cream);
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 2px;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  :root { --section-pad: 90px; }
  .about-grid { gap: 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; --nav-h: 65px; }

  #navbar { padding: 0 24px; }

  .nav-links { display: none; }

  .hamburger { display: flex; }

  .mobile-menu { display: block; padding: 30px 24px; }

  .container { padding: 0 24px; }

  .hero-content { padding: calc(var(--nav-h) + 40px) 24px 60px; }

  .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }

  .hero-badge { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-visual { order: -1; }

  .about-img-wrap { width: 100%; max-width: 320px; }

  .team-grid { grid-template-columns: 1fr; gap: 24px; }

  .trat-item { grid-template-columns: 50px 1fr; }

  .trat-item::before { display: none; }

  .trat-arrow { display: none; }

  .inst-grid { grid-template-columns: 1fr; }

  .inst-large { grid-column: auto; grid-row: auto; }

  .inst-large .inst-visual { height: 280px; }

  .contact-grid { grid-template-columns: 1fr; gap: 50px; }

  .contact-form-wrap { padding: 32px 24px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .tratamientos-list { padding: 0 24px; }

  .tratamientos-header { padding: 0 24px; }

  .about-stats { flex-direction: column; gap: 24px; }

  .stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .footer-inner { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }
}
