/* ═══════════════════════════════════════════
   ODONTOX — Hoja de estilos global
   Paleta extraída del logo oficial
   ═══════════════════════════════════════════ */

:root {
  /* PRIMARIO: Teal — color principal de la marca */
  --c-primary:      #009E96;
  --c-primary-dark: #007A73;
  --c-primary-light:#00BDB4;

  /* ACENTO: Magenta — solo CTAs de WhatsApp y detalles puntuales */
  --c-accent:       #C4006B;
  --c-accent-dark:  #9E0055;

  /* Alias para compatibilidad interna */
  --c-magenta:      #C4006B;
  --c-magenta-dark: #9E0055;
  --c-teal:         #009E96;
  --c-teal-dark:    #007A73;

  --c-white:        #FFFFFF;
  --c-bg:           #F4F9F9;       /* fondo alterno con tinte teal muy sutil */
  --c-text:         #1A1A1A;
  --c-text-soft:    #5A5A5A;
  --c-border:       #DCE9E8;

  --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --shadow-sm:  0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 28px rgba(196,0,107,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10);
  --transition: 0.22s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%; }
body { font-family: var(--font-main); color: var(--c-text); background: var(--c-white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.85rem 2rem; border-radius: 100px; font-size: 0.95rem; font-weight: 700;
  transition: all var(--transition); white-space: nowrap; letter-spacing: 0.3px;
}
/* Botón primario — magenta (acción principal) */
.btn-primary {
  background: var(--c-accent); color: white;
  box-shadow: 0 4px 16px rgba(196,0,107,0.28);
}
.btn-primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,0,107,0.35); }

/* Alias — mismo estilo */
.btn-accent {
  background: var(--c-accent); color: white;
  box-shadow: 0 4px 16px rgba(196,0,107,0.25);
}
.btn-accent:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,0,107,0.3); }

.btn-outline {
  border: 2px solid var(--c-accent); color: var(--c-accent); background: transparent;
}
.btn-outline:hover { background: var(--c-accent); color: white; transform: translateY(-2px); }

.btn-outline-accent {
  border: 2px solid var(--c-accent); color: var(--c-accent); background: transparent;
}
.btn-outline-accent:hover { background: var(--c-accent); color: white; transform: translateY(-2px); }

.btn-white {
  background: white; color: var(--c-primary); font-weight: 800;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }

.btn-outline-white {
  border: 2px solid white; color: white; background: transparent;
}
.btn-outline-white:hover { background: white; color: var(--c-primary); transform: translateY(-2px); }

/* ── SECCIONES ── */
.section { padding: 70px 0; }
.section-alt { background: var(--c-bg); }
.section-dark { background: #1C2B30; }
.section-magenta { background: var(--c-magenta); }
.section-teal { background: var(--c-teal); }

.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--c-primary);
  background: rgba(0,158,150,0.07); border: 1px solid rgba(0,158,150,0.2);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 1rem;
}
.section-label.white { color: white; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }

.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: var(--c-accent); }
.section-subtitle { font-size: 1.05rem; color: var(--c-text-soft); max-width: 600px; line-height: 1.75; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── NAV ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--c-white); border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 68px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.3rem; font-weight: 900; color: var(--c-text); letter-spacing: -0.5px; }
.logo-text span { color: var(--c-text); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
  color: var(--c-text-soft); transition: all var(--transition);
}
.nav-link:hover { color: var(--c-primary); background: rgba(0,158,150,0.06); }
.nav-link.active { color: var(--c-primary); font-weight: 700; }

/* ── NAV DROPDOWN (Servicios) ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); color: var(--c-text-soft);
  transition: all var(--transition);
}
.nav-dropdown-trigger:hover { color: var(--c-primary); background: rgba(0,158,150,0.06); }
.nav-dropdown-trigger.active { color: var(--c-primary); font-weight: 700; }
.nav-dropdown-arrow { font-size: 0.6rem; transition: transform var(--transition); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: white; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); min-width: 230px; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all var(--transition); z-index: 1100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-item {
  display: block; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm);
  font-size: 0.87rem; color: var(--c-text-soft); transition: all var(--transition);
}
.nav-dropdown-item:hover { background: rgba(0,158,150,0.07); color: var(--c-primary); }

.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; min-width: 44px; min-height: 44px; }
.hamburger { display: block; width: 24px; height: 2px; background: var(--c-text); position: relative; transition: all var(--transition); }
.hamburger::before,
.hamburger::after { content: ''; position: absolute; left: 0; width: 24px; height: 2px; background: var(--c-text); transition: all var(--transition); }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.menu-toggle.open .hamburger { background: transparent; }
.menu-toggle.open .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background: var(--c-primary); /* fallback sin foto */
}

/* Foto de fondo — se reemplaza por imagen real */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Foto vertical exclusiva para móvil (oculta en escritorio) */
.hero-bg-mobile { display: none; }

/* Overlay sobre la foto: teal sólido izquierda, se desvanece a la derecha */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,126,119,0.97) 35%,
    rgba(0,158,150,0.75) 55%,
    rgba(0,158,150,0.15) 80%,
    rgba(0,158,150,0.0) 100%
  );
}

.hero-content {
  position: absolute;
  left: max(5%, calc((100% - 1160px) / 2 + 1.5rem));
  top: 50%;
  transform: translateY(-50%);
  max-width: 540px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 900; line-height: 1.2;
  color: white; margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.88); line-height: 1.8;
  margin-bottom: 2.5rem; max-width: 500px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--c-white); padding: 60px 0; border-bottom: 1px solid var(--c-border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.trust-item { display: flex; align-items: flex-start; gap: 1rem; }
.trust-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: rgba(196,0,107,0.07); border: 1px solid rgba(196,0,107,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--c-magenta);
}
.trust-content h4 { font-size: 0.92rem; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.trust-content p { font-size: 0.82rem; color: var(--c-text-soft); line-height: 1.5; }

/* ── QUÉ ES ODONTOX ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Video horizontal */
.about-video-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/9; width: 100%; max-width: 100%; margin: 0 auto;
  background: var(--c-bg);
}
.about-video-wrap iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.about-video-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: var(--c-bg); color: var(--c-primary);
}
.about-video-placeholder i { font-size: 3rem; opacity: 0.4; }
.about-video-placeholder p { font-size: 0.85rem; color: var(--c-text-soft); }

.about-highlight {
  border-left: 4px solid var(--c-primary);
  padding: 1.25rem 1.5rem; margin-top: 2rem;
  background: rgba(0,158,150,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-highlight p { font-size: 0.95rem; color: var(--c-text-soft); line-height: 1.75; font-style: italic; }

/* ── PASOS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--c-border); z-index: 0;
}
.step-card { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.25rem;
  background: var(--c-primary); color: white; font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,158,150,0.28);
}
.step-card h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--c-text); }
.step-card p { font-size: 0.85rem; color: var(--c-text-soft); line-height: 1.6; }

/* ── SERVICIOS (home) ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  display: block; border: 1.5px solid var(--c-border); border-radius: var(--radius-lg);
  transition: all var(--transition); background: white; overflow: hidden;
}
.service-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card-img {
  width: 100%; height: 190px; overflow: hidden; position: relative;
  background: var(--c-bg);
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(0,158,150,0.06); color: var(--c-primary);
}
.service-card-img-placeholder i { font-size: 2rem; opacity: 0.5; }
.service-card-img-placeholder span { font-size: 0.72rem; color: var(--c-text-soft); }
.service-card-body { padding: 1.5rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--c-accent); }
.service-card p { font-size: 0.87rem; color: var(--c-text-soft); line-height: 1.65; }

/* ── TECNOLOGÍA ── */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tech-card {
  background: white; border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md); padding: 1.75rem; text-align: center;
  transition: all var(--transition);
}
.tech-card:hover { border-color: var(--c-teal); box-shadow: 0 6px 24px rgba(0,158,150,0.1); transform: translateY(-3px); }
.tech-icon { font-size: 2rem; color: var(--c-teal); margin-bottom: 1rem; }
.tech-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--c-text); }
.tech-card p { font-size: 0.82rem; color: var(--c-text-soft); margin-top: 6px; line-height: 1.5; }

/* ── STRIP PROFESIONALES Y SEDES ── */
.pro-strip {
  background: var(--c-primary); padding: 80px 0; text-align: center;
}
.pro-strip h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.pro-strip p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.7; }
.pro-strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── DÓNDE ENCONTRARNOS ── */
.ubicacion-section { background: white; }
.ubicacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ubicacion-icon { font-size: 2.5rem; color: var(--c-primary); margin-bottom: 1rem; }
.ubicacion-sub { font-size: 1.1rem; font-weight: 600; color: var(--c-text-soft); margin-bottom: 1rem; margin-top: -0.5rem; }
.ubicacion-desc { font-size: 0.95rem; color: var(--c-text-soft); line-height: 1.8; margin-bottom: 2rem; }
.ubicacion-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.ubicacion-map { height: 420px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.ubicacion-map iframe { width: 100%; height: 100%; display: block; }

/* ── CTA FINAL ── */
.cta-final {
  background: var(--c-primary); padding: 100px 0; text-align: center;
}
.cta-final h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; }
.cta-final p { color: rgba(255,255,255,0.82); max-width: 500px; margin: 0 auto 2.5rem; font-size: 1.02rem; line-height: 1.75; }

/* ── FOOTER ── */
.footer { background: #2D2D2D; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; align-items: center; margin-bottom: 1.25rem; }
.footer-logo img { height: 42px; width: auto; object-fit: contain; }
.footer-logo span { font-size: 1.3rem; font-weight: 900; color: white; }
.footer-logo span em { color: var(--c-teal); font-style: normal; }
.footer-desc { font-size: 0.87rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 320px; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--c-accent); color: white; transform: translateY(-2px); }
.footer-col h4 { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--c-teal); }

.footer-legal {
  padding: 1.75rem 0; border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.15);
}
.footer-legal-text { font-size: 0.77rem; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 900px; margin: 0 auto; text-align: center; }
.footer-legal-text strong { color: rgba(255,255,255,0.5); display: block; margin-bottom: 0.4rem; font-size: 0.8rem; }

.footer-bottom { padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-inner p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  background: var(--c-primary);
  padding: 140px 0 80px; text-align: center;
}
.page-hero h1 { color: white; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }

/* ── SERVICIOS (página interna) ── */
.services-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-page-card {
  background: white; border: 1.5px solid var(--c-border); border-radius: var(--radius-lg);
  transition: all var(--transition); overflow: hidden;
}
.service-page-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-page-img {
  width: 100%; height: 220px; overflow: hidden; position: relative; background: var(--c-bg);
}
.service-page-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.service-page-card:hover .service-page-img img { transform: scale(1.05); }
.service-page-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(0,158,150,0.06); color: var(--c-primary);
}
.service-page-img-placeholder i { font-size: 2.5rem; opacity: 0.45; }
.service-page-img-placeholder span { font-size: 0.72rem; color: var(--c-text-soft); }
.service-page-body { padding: 1.75rem; }
.service-page-card h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--c-accent); }
.service-page-card p { font-size: 0.9rem; color: var(--c-text-soft); line-height: 1.7; margin-bottom: 1.5rem; }

/* ── SERVICIO INDIVIDUAL (página propia de cada tratamiento) ── */
.service-detail-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  padding: 140px 0 70px;
}
.service-detail-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.service-detail-hero h1 { color: white; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 900; line-height: 1.2; margin-bottom: 1.1rem; }
.service-detail-hero p { color: rgba(255,255,255,0.88); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.75rem; max-width: 520px; }
.service-detail-hero-img {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25); background: rgba(255,255,255,0.1);
}
.service-detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-hero-img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08);
}
.service-detail-hero-img-placeholder i { font-size: 3rem; opacity: 0.6; }
.service-detail-hero-img-placeholder span { font-size: 0.75rem; }

.service-breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 0.82rem;
  color: rgba(255,255,255,0.65); margin-bottom: 1.5rem;
}
.service-breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.service-breadcrumb a:hover { color: white; }
.service-breadcrumb i { font-size: 0.6rem; }

/* Texto SEO */
.service-copy { max-width: 780px; }
.service-copy h2 { font-size: 1.5rem; font-weight: 800; color: var(--c-accent); margin: 2.25rem 0 1rem; }
.service-copy h2:first-child { margin-top: 0; }
.service-copy p { font-size: 0.98rem; color: var(--c-text-soft); line-height: 1.85; margin-bottom: 1.1rem; }
.service-copy strong { color: var(--c-text); }

.service-copy-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.service-copy-grid .service-copy { max-width: 100%; }
.service-video-vertical {
  position: sticky; top: 100px;
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 9/16; width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12); background: var(--c-bg);
}
.service-video-vertical iframe { width: 100%; height: 100%; border: none; display: block; }
.service-video-vertical .about-video-placeholder { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .service-copy-grid { grid-template-columns: 1fr; }
  .service-video-vertical { position: static; max-width: 340px; margin: 0 auto 2rem; }
}

/* Lista de beneficios con check */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; margin: 1.5rem 0 2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--c-text-soft); line-height: 1.6; }
.feature-list i { color: var(--c-primary); margin-top: 3px; flex-shrink: 0; }

/* Galería de resultados */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-item {
  aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden;
  background: var(--c-bg); border: 1px solid var(--c-border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--c-primary); background: rgba(0,158,150,0.06);
}
.gallery-item-placeholder i { font-size: 1.8rem; opacity: 0.5; }
.gallery-item-placeholder span { font-size: 0.68rem; color: var(--c-text-soft); text-align: center; padding: 0 0.5rem; }

/* Slider Antes / Después */
.ba-slider {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden;
  background: var(--c-bg); border: 1px solid var(--c-border); --pos: 50%;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-slider .gallery-item-placeholder { position: absolute; inset: 0; }
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider .ba-before.gallery-item-placeholder { align-items: flex-start; padding-left: 12%; }
.ba-slider .ba-after.gallery-item-placeholder { align-items: flex-end; padding-right: 12%; }
.ba-slider .ba-before.gallery-item-placeholder span, .ba-slider .ba-after.gallery-item-placeholder span { text-align: center; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 6px rgba(0,0,0,0.35); }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--c-primary); display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%); box-shadow: 0 3px 12px rgba(0,0,0,0.25); pointer-events: none; font-size: 0.85rem;
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-tag {
  position: absolute; top: 10px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 10px; border-radius: 100px; background: rgba(0,0,0,0.55);
  color: #fff; pointer-events: none;
}
.ba-tag-before { left: 10px; }
.ba-tag-after { right: 10px; }

/* FAQ — <details>/<summary> nativo: accesible, sin JS, indexable por buscadores e IA */
.faq-list { max-width: 780px; margin: 0 auto; text-align: center; }
.faq-item {
  border: 1.5px solid var(--c-border); border-radius: var(--radius-md);
  margin-bottom: 0.9rem; overflow: hidden; background: white;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 700;
  font-size: 0.98rem; color: var(--c-text); display: flex; align-items: center;
  justify-content: center; gap: 1rem; text-align: center; position: relative;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 0.8rem; color: var(--c-primary); transition: transform var(--transition);
  position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item summary:hover { color: var(--c-primary); }
.faq-item-body { padding: 0 1.4rem 1.25rem; font-size: 0.92rem; color: var(--c-text-soft); line-height: 1.75; text-align: center; }

/* Botón "Conocer más" en tarjetas de servicio del home */
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700;
  color: var(--c-primary); margin-top: 0.5rem;
}
.service-card-link i { font-size: 0.75rem; transition: transform var(--transition); }
.service-card:hover .service-card-link i { transform: translateX(3px); }

/* ── PROFESIONALES ── */
.pros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.pro-card {
  background: white; border: 1.5px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
}
.pro-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--c-primary); }
.pro-card-img {
  height: 220px; background: var(--c-bg);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.pro-card-img i { font-size: 5rem; color: rgba(0,158,150,0.15); }
.pro-specialty-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--c-primary); color: white; font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.pro-card-body { padding: 1.5rem; }
.pro-card-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; color: var(--c-accent); }
.pro-reg { font-size: 0.78rem; color: var(--c-text-soft); margin-bottom: 1rem; }
.pro-reg span { font-weight: 700; color: var(--c-primary-dark); }

.placeholder-notice {
  background: var(--c-bg); border: 2px dashed var(--c-border);
  border-radius: var(--radius-lg); padding: 3rem; text-align: center; margin: 2rem 0;
}
.placeholder-notice i { font-size: 2.5rem; color: rgba(0,158,150,0.25); margin-bottom: 1rem; }
.placeholder-notice h3 { color: var(--c-text-soft); font-size: 1rem; font-weight: 600; }
.placeholder-notice p { color: rgba(0,0,0,0.35); font-size: 0.85rem; margin-top: 0.5rem; }

/* ── SEDES ── */
.sedes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.sede-card {
  background: white; border: 1.5px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
  scroll-margin-top: 90px;
}
.sede-card:hover { box-shadow: var(--shadow-md); border-color: var(--c-teal); }
.sede-card-header {
  background: var(--c-teal); padding: 1.5rem 1.75rem;
  display: flex; align-items: center; gap: 1rem;
}
.sede-marker {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem;
}
.sede-card-header h2 { color: white; font-size: 1.1rem; font-weight: 800; }
.sede-card-header p { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.sede-card-body { padding: 1.75rem; }
.sede-info { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.sede-info-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; }
.sede-info-row i { color: var(--c-primary); margin-top: 2px; flex-shrink: 0; }
.sede-info-row span { color: var(--c-text-soft); }
.sede-map {
  height: 180px; background: var(--c-bg); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--c-border); margin-top: 1rem;
}
.sede-map iframe { width: 100%; height: 100%; border: none; }
.sede-map img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Variante cuadrada para fotos de fachada (foto vertical recortada a cuadro) */
.sede-map.sede-map-square {
  height: auto; aspect-ratio: 1 / 1; width: 220px; max-width: 100%;
  margin-left: auto; margin-right: auto;
}
.sede-map.sede-map-square img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sede-map-link { position: relative; display: block; width: 100%; height: 100%; }
.sede-map-badge {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,0.72); color: #fff;
  font-size: 0.72rem; font-weight: 600; text-align: center;
  padding: 0.4rem 0.5rem; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sede-map-badge i { color: var(--c-teal); font-size: 0.75rem; }
.sede-map-placeholder { text-align: center; }
.sede-map-placeholder i { font-size: 2rem; color: rgba(0,0,0,0.15); margin-bottom: 0.5rem; display: block; }
.sede-map-placeholder p { font-size: 0.8rem; color: rgba(0,0,0,0.3); }

/* ── TRUST STRIP TEAL (profesionales) ── */
.trust-icon.teal-icon {
  background: rgba(0,158,150,0.07); border-color: rgba(0,158,150,0.18); color: var(--c-teal);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-detail-hero-grid { grid-template-columns: 1fr; }
  .service-detail-hero-img { max-width: 480px; margin: 0 auto; }
}

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

  /* Hero móvil: foto vertical a pantalla completa arriba, banda de color con texto debajo */
  .hero { min-height: auto; padding: 70px 0 0; display: block; overflow: visible; }
  .hero-bg { display: none; }
  .hero-bg-mobile {
    display: block; position: relative; width: 100%;
    height: 42vh; background-size: cover;
    background-position: center 30%; background-repeat: no-repeat;
  }
  .hero-overlay { display: none; }
  .hero-content {
    position: relative; left: auto; top: auto; transform: none;
    max-width: 100%; padding: 1.5rem 1.5rem 2rem; background: var(--c-primary);
  }
  .hero h1 { font-size: 1.5rem; margin-bottom: 1.25rem; }
  .hero-sub { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .ubicacion-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ubicacion-map { height: 260px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .pros-grid { grid-template-columns: 1fr; }
  .sedes-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .feature-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-hero { padding: 110px 0 50px; }

  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: white; border-top: 1px solid var(--c-border);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 2rem; gap: 0.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; padding: 0.75rem 1rem; width: 100%; }
  .menu-toggle { display: flex; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: 0.75rem 1rem; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 1rem; margin-top: 0;
    display: none; min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-item { font-size: 1rem; padding: 0.6rem 0.85rem; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .pro-strip-btns { flex-direction: column; align-items: center; }
}

html { scroll-behavior: smooth; }
