/* ============================================================
   MethodVS — style.css
   Estilos principales de la web
   ============================================================ */

/* ----------------------------------------------------------
   VARIABLES CSS
   ---------------------------------------------------------- */
:root {
  --gold:          #e8960a;
  --gold-dark:     #b97500;
  --gold-light:    #fff8e7;
  --gold-mid:      #fde68a;

  --dark:          #0f0d0a;
  --dark-2:        #1e1a14;
  --dark-3:        #2b2118;

  --text:          #2c2416;
  --text-muted:    #70655a;
  --text-light:    #9c8f82;

  --bg-white:      #ffffff;
  --bg-cream:      #faf9f7;
  --bg-warm:       #f5f0e8;

  --border:        #e8ddf0;
  --border-warm:   #f0ebe2;

  --wa-green:      #25d366;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow:        0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.15);

  --nav-height:    72px;
  --transition:    0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button { cursor: pointer; font-family: var(--font-body); }

/* ----------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.75;
}

strong { font-weight: 700; }

blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.75rem 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

/* ----------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  color: var(--text);
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0.5rem auto 0;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Flex utils */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ----------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--dark-2);
  padding: 1.5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 1.1rem; }
.mobile-menu .nav-cta  { text-align: center; }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-sm  { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg  { padding: 1rem 2.5rem; font-size: 1.05rem; }

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,150,10,0.35);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-2); }

.btn-whatsapp {
  background: var(--wa-green);
  color: #ffffff;
  border-color: var(--wa-green);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-full { width: 100%; }

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,13,10,0.96) 0%, rgba(43,33,24,0.85) 50%, rgba(15,13,10,0.92) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(232,150,10,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(185,117,0,0.06) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,150,10,0.15);
  border: 1px solid rgba(232,150,10,0.4);
  color: var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
}
.hero-title .highlight { color: var(--gold); }

.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.12rem;
  max-width: 620px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trust-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.trust-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: scrollArrow 2s ease-in-out infinite;
}
.scroll-indicator span { font-size: 1.4rem; }

/* ----------------------------------------------------------
   NOSOTROS
   ---------------------------------------------------------- */

#nosotros {
  background: var(--bg-cream);
}

.dr-photo-wrapper {
  position: relative;
}

.dr-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #2b2118, #1e1a14);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
}
.dr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.dr-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

.nosotros-content .section-title::after { margin-left: 0; }

.philosophy-quote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  background: rgba(232,150,10,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  margin: 1.5rem 0;
}

/* ----------------------------------------------------------
   TRATAMIENTOS (capilares y faciales)
   ---------------------------------------------------------- */

#tratamientos-capilares { background: var(--bg-white); }
#estetica-facial        { background: var(--bg-cream); }

/* ----------------------------------------------------------
   MEDICINA REGENERATIVA
   ---------------------------------------------------------- */

#medicina-regenerativa {
  background: var(--dark);
  color: #ffffff;
}

#medicina-regenerativa .section-title { color: #ffffff; }
#medicina-regenerativa .section-subtitle { color: var(--text-light); }
#medicina-regenerativa .section-title::after { margin-left: 0; }

.regen-text p { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }

.gold-accent-line {
  width: 3px;
  height: 80px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ----------------------------------------------------------
   RESULTADOS
   ---------------------------------------------------------- */

#resultados {
  background: var(--bg-white);
}

.results-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: -2rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* ----------------------------------------------------------
   MÉDICOS ALIADOS
   ---------------------------------------------------------- */

#medicos-aliados {
  background: var(--bg-cream);
}

.ally-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.ally-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--text);
}
.ally-benefit::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.ally-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.ally-form-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

/* ----------------------------------------------------------
   TESTIMONIOS
   ---------------------------------------------------------- */

#testimonios { background: var(--bg-white); }

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */

#faq { background: var(--bg-cream); }

/* ----------------------------------------------------------
   BLOG
   ---------------------------------------------------------- */

#blog { background: var(--bg-white); }

/* ----------------------------------------------------------
   CONTACTO
   ---------------------------------------------------------- */

#contacto {
  background: var(--dark);
  color: #ffffff;
}

#contacto .section-title         { color: #ffffff; }
#contacto .section-subtitle      { color: var(--text-light); }
#contacto .section-title::after  { margin-left: 0; }

.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form .form-group { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,150,10,0.15);
}

.contact-form select option { background: var(--dark-2); color: #ffffff; }

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

.contact-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.contact-form .form-check input { width: auto; }

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #ffffff;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-error-msg { color: #ff7070; font-size: 0.82rem; margin-top: 0.3rem; display: none; }
.form-group.has-error .form-error-msg { display: block; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #ff7070; }

/* Formulario de médicos (ally-form-card) */
.ally-form-card input,
.ally-form-card select,
.ally-form-card textarea {
  width: 100%;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-cream);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ally-form-card input:focus,
.ally-form-card select:focus,
.ally-form-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,150,10,0.12);
  background: #ffffff;
}
.ally-form-card label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.ally-form-card .form-group { margin-bottom: 1.1rem; }
.ally-form-card textarea { resize: vertical; min-height: 90px; }

/* Formulario genérico claro */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,150,10,0.12);
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}
.footer-contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ----------------------------------------------------------
   FLOATING ELEMENTS
   ---------------------------------------------------------- */

#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 800;
}

#chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 800;
}

/* ----------------------------------------------------------
   UTILIDADES
   ---------------------------------------------------------- */

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-light   { color: var(--text-light); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-white   { color: #ffffff; }

.bg-dark   { background: var(--dark); }
.bg-dark-2 { background: var(--dark-2); }
.bg-cream  { background: var(--bg-cream); }
.bg-white  { background: var(--bg-white); }
.bg-gold   { background: var(--gold); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 4rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem;   padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem;   padding-bottom: 2rem; }
.py-5 { padding-top: 3rem;   padding-bottom: 3rem; }
.py-6 { padding-top: 4rem;   padding-bottom: 4rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem;   padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }

.hidden  { display: none !important; }
.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;
}

/* ----------------------------------------------------------
   RESPONSIVE — TABLET (≤ 1024px)
   ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

/* ----------------------------------------------------------
   RESPONSIVE — MOBILE (≤ 768px)
   ---------------------------------------------------------- */

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section     { padding: 3.5rem 0; }
  .section-sm  { padding: 2rem 0; }

  .container { padding: 0 1rem; }

  /* Nav */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Hero */
  .hero-cta-group  { flex-direction: column; }
  .hero-trust      { gap: 1.25rem; }
  .trust-value     { font-size: 1.2rem; }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* Nosotros 2-col */
  #nosotros .grid-2 { grid-template-columns: 1fr; }
  .dr-badge { bottom: 0.5rem; right: 0.5rem; }

  /* Contact */
  #contacto .grid-2 { grid-template-columns: 1fr; }
  #medicina-regenerativa .grid-2 { grid-template-columns: 1fr; }

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

  /* Floating */
  #whatsapp-float { bottom: 1.25rem; left: 1rem; }
  #chatbot-widget { bottom: 1.25rem; right: 1rem; }
}

/* ----------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ---------------------------------------------------------- */

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.15rem; }

  .btn    { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 0.95rem; }

  .section-header { margin-bottom: 2.25rem; }

  .hero-badge { font-size: 0.72rem; }
}
