*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #1a2332;
  --dark: #2b3a4a;
  --gray: #607080;
  --lightgray: #9aaabb;
  --border: #d8e8ee;
  --bg: #f0f7fa;
  --white: #fff;
  --accent: #2bbdd4;
  --accent2: #1a9ab5;
  --accent-light: #e0f6fa;
  --warm: #ff6b35;
  --warm-light: #fff3ee;
  --gold: #f0a830;
  --gold-light: #fffaee;
  --green: #2ec4a0;
  --green-light: #e8faf6;
  --purple: #7c5cbf;
  --purple-light: #f0ebfc;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Nunito Sans', sans-serif; color: var(--dark); background: var(--white); font-size: 15px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── HEADER ─────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255,255,255,0.98);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 80px; height: 74px;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo-icon { width: 34px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--black); }
.logo-sub { font-size: 9px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
nav { display: flex; gap: 30px; align-items: center; margin-left: auto; }
nav a { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); transition: color 0.2s; position: relative; }
nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s; }
nav a:hover { color: var(--accent); }
nav a:hover::after { width: 100%; }
.nav-cta {
  display: inline-block; padding: 9px 22px;
  background: var(--accent); color: var(--white) !important;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 30px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--black) !important; }
.nav-cta::after { display: none !important; }
.nav-hamburger { display: none; background: none; border: none; padding: 8px; cursor: pointer; margin-left: auto; }

/* ─── HERO ─────────────── */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  background: #eeecea; overflow: hidden;
  display: flex; align-items: center; margin-top: 70px;
}
.hero-img-wrap {
  position: absolute; left: 0; bottom: 0;
  height: 100%; width: 50%;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: grayscale(8%) brightness(0.97);
}
.hero-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, #eeecea 100%);
}
.hero-content { position: relative; z-index: 2; margin-left: 48%; padding: 0 70px 0 30px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--accent); }
.hero-number {
  position: absolute; left: -120px; top: 50%; transform: translateY(-55%);
  font-size: 200px; font-weight: 800; color: rgba(0,0,0,0.05); line-height: 1;
  pointer-events: none; user-select: none;
}
.hero-content h2 { font-size: 18px; font-weight: 300; color: #666; margin-bottom: 8px; }
.hero-content h1 { font-size: clamp(38px, 5.5vw, 70px); font-weight: 800; line-height: 1.05; color: var(--black); margin-bottom: 20px; letter-spacing: -1.5px; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 14px; font-weight: 300; color: #666; max-width: 420px; margin-bottom: 36px; line-height: 1.85; }
.hero-buttons { display: flex; gap: 14px; align-items: center; }
.btn-pill-dark {
  display: inline-block; padding: 13px 30px; border: 1.5px solid var(--dark);
  border-radius: 30px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dark); transition: all 0.25s;
}
.btn-pill-dark:hover { background: var(--dark); color: var(--white); }
.btn-pill-accent {
  display: inline-block; padding: 13px 30px; border: 1.5px solid var(--accent);
  border-radius: 30px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: var(--accent); transition: all 0.25s;
}
.btn-pill-accent:hover { background: var(--black); border-color: var(--black); }
.btn-pill-outline-light {
  display: inline-block; padding: 13px 28px; border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 30px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); background: transparent; transition: all 0.25s; text-decoration: none;
}
.btn-pill-outline-light:hover { border-color: var(--accent); color: var(--accent); }

/* ─── FORMULARIO IMPLANTES ─────────────── */
.fimp-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #666; margin-bottom: 6px;
}
.fimp-input {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #e0e8ed; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: inherit;
  color: #1a2a3a; background: #f8fbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.fimp-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(77,191,201,0.12); background: #fff; }
.fimp-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.fimp-textarea { resize: vertical; min-height: 90px; }
.fimp-submit { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 14px 24px; }

/* ─── ODONTOGRAMA ─────────────── */
.odonto-arc-wrap {
  background: #f4fbfc; border: 1.5px solid #daeef2; border-radius: 12px;
  padding: 8px 4px; overflow: hidden;
}
.odonto-btns {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.odonto-tooth-svg { transition: opacity 0.15s; }
.odonto-tooth-svg:hover { opacity: 0.8; }
.odonto-tooth-svg:active { opacity: 0.6; }
.odonto-btn-sel {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(77,191,201,0.12); color: #1a7a96; border: 1px solid rgba(77,191,201,0.4);
  border-radius: 20px; padding: 3px 8px; cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}
.odonto-btn-sel:hover { background: rgba(77,191,201,0.25); }
.odonto-btn-clear {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(200,80,80,0.08); color: #b04040; border: 1px solid rgba(200,80,80,0.25);
  border-radius: 20px; padding: 3px 8px; cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}
.odonto-btn-clear:hover { background: rgba(200,80,80,0.18); }

/* ════════════════════════════════════════
   MODAL IMPLANTES
════════════════════════════════════════ */
.modal-implantes-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(10,15,25,0.75); backdrop-filter: blur(6px);
  align-items: flex-start; justify-content: center; padding: 20px;
  overflow-y: auto;
}
.modal-implantes-overlay.open { display: flex; }

.modal-implantes-box {
  background: #ffffff; border-radius: 24px; max-width: 900px; width: 100%;
  position: relative; overflow: visible;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  margin: 60px auto 40px;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-implantes-close {
  position: fixed; top: 16px; right: 16px; z-index: 4000;
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  font-weight: 700; line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.modal-implantes-close:hover { background: #2aa8b5; transform: scale(1.1); }

/* Header del modal */
.mdi-header {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 40px 44px 32px;
  background: linear-gradient(135deg, #2c3038 0%, #3a3f47 100%);
  border-bottom: 3px solid var(--accent);
}
.mdi-header-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px;
  background: rgba(77,191,201,0.2); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(77,191,201,0.4);
}
.mdi-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.mdi-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.2; }
.mdi-title span { color: var(--accent); }
.mdi-subtitle { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.65); margin: 0; line-height: 1.6; max-width: 520px; }

/* Secciones */
.mdi-section { padding: 32px 44px; border-bottom: 1px solid #f0f0f0; }
.mdi-section-title { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }

/* Comparativa */
.mdi-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mdi-compare-card { border-radius: 16px; padding: 24px 20px; position: relative; }
.mdi-compare-card h4 { font-size: 15px; font-weight: 800; margin: 0 0 14px; }
.mdi-compare-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mdi-compare-card ul li { font-size: 12.5px; font-weight: 400; line-height: 1.4; }
.mdi-compare-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--accent); color: white; font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; padding: 4px 12px; border-radius: 20px;
}
.mdi-compare-zi { background: linear-gradient(135deg, #e8f6f8 0%, #d4eef3 100%); border: 1.5px solid var(--accent); }
.mdi-compare-zi h4 { color: #1a3040; }
.mdi-compare-zi ul li { color: #334; }
.mdi-compare-ti { background: #f8f9fa; border: 1.5px solid #dee2e6; }
.mdi-compare-ti h4 { color: #444; }
.mdi-compare-ti ul li { color: #666; }
.mdi-compare-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.mdi-compare-icon.zi { background: rgba(77,191,201,0.2); color: var(--accent); }
.mdi-compare-icon.ti { background: rgba(0,0,0,0.06); color: #888; }

/* Features grid */
.mdi-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mdi-feature { background: #f8fafc; border-radius: 14px; padding: 20px 18px; border: 1px solid #eaeef0; }
.mdi-feature-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(77,191,201,0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mdi-feature h5 { font-size: 13px; font-weight: 700; color: #1a2e3b; margin: 0 0 6px; }
.mdi-feature p { font-size: 12px; font-weight: 300; color: #666; line-height: 1.6; margin: 0; }

/* CTA */
.mdi-cta { padding: 32px 44px; background: linear-gradient(135deg, #f8fafc 0%, #eef4f6 100%); text-align: center; }
.mdi-cta p { font-size: 14px; color: #555; margin: 0 0 20px; }
.mdi-cta .btn-pill-accent { font-size: 12px; padding: 15px 36px; }

/* Intro block */
.mdi-intro-block { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.mdi-intro-text p { font-size: 14px; color: #445; line-height: 1.85; margin: 0 0 12px; }
.mdi-intro-text p:last-child { margin: 0; }
.mdi-intro-text strong { color: #1a2e3b; font-weight: 700; }
.mdi-intro-stats { display: flex; flex-direction: column; gap: 16px; }
.mdi-stat { display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, #e8f6f8, #d4eef3); border-radius: 14px; padding: 16px 20px; min-width: 100px; border: 1px solid rgba(77,191,201,0.3); }
.mdi-stat-num { font-size: 22px; font-weight: 900; color: var(--accent); line-height: 1; }
.mdi-stat-label { font-size: 10px; font-weight: 600; color: #557; letter-spacing: 0.5px; margin-top: 4px; text-align: center; }

/* Section variants */
.mdi-section-gray { background: #f8fafc; }
.mdi-section-accent { background: linear-gradient(135deg, #2c3038 0%, #3a3f47 100%); }
.mdi-section-accent .mdi-section-title { color: var(--accent); }

/* Tech grid */
.mdi-tech-grid { display: flex; flex-direction: column; gap: 14px; }
.mdi-tech-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 20px 22px; border: 1px solid #eaeef0; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.mdi-tech-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: rgba(77,191,201,0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(77,191,201,0.2); }
.mdi-tech-card h5 { font-size: 14px; font-weight: 700; color: #1a2e3b; margin: 0 0 6px; }
.mdi-tech-card p { font-size: 13px; color: #556; line-height: 1.7; margin: 0; }
.mdi-tech-card strong { color: var(--accent); font-weight: 700; }

/* Zirconio highlight block */
.mdi-zirconio-block { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.mdi-zirconio-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px; }
.mdi-zirconio-text h4 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 12px; }
.mdi-zirconio-text p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.75; margin: 0 0 16px; }
.mdi-zi-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mdi-zi-list li { font-size: 13px; color: rgba(255,255,255,0.85); display: flex; gap: 10px; }
.mdi-zi-list li span { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Modal responsive */
@media (max-width: 768px) {
  .modal-implantes-box { border-radius: 18px; }
  .mdi-header { padding: 28px 20px 24px; gap: 14px; }
  .mdi-header-icon { width: 44px; height: 44px; }
  .mdi-section { padding: 24px 20px; }
  .mdi-cta { padding: 24px 20px; }
  .mdi-compare-grid { grid-template-columns: 1fr; }
  .mdi-features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mdi-feature { padding: 14px 12px; }
  .mdi-intro-block { grid-template-columns: 1fr; }
  .mdi-intro-stats { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .mdi-stat { min-width: 80px; padding: 12px 14px; }
  .mdi-zirconio-block { grid-template-columns: 1fr; }
  .mdi-zirconio-img { display: none; }
  .mdi-tech-card { flex-direction: column; gap: 12px; }
}
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.2); cursor: pointer; transition: background 0.2s; }
.dot.active { background: var(--accent); }

/* ─── BADGE FLOTANTE ─────────────── */
.hero-badge {
  position: absolute; bottom: 50px; left: 50px; z-index: 3;
  background: var(--white); padding: 18px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 14px;
}
.badge-icon { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.badge-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--black); }
.badge-text span { font-size: 11px; font-weight: 300; color: var(--gray); }


/* ─── NOSOTROS ─────────────── */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; background: linear-gradient(135deg, #f0f7fa 0%, #faf8ff 100%); align-items: stretch; }
.about-text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px 68px; gap: 0; }
.section-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.about-text h2 { font-size: clamp(26px, 3vw, 42px); font-weight: 800; color: var(--black); margin: 0 0 8px; line-height: 1.15; }
.about-sub { font-size: 14px; font-style: italic; font-weight: 300; color: #888; margin: 0 0 18px; }
.divider { width: 36px; height: 3px; background: var(--accent); margin: 0 0 22px; border-radius: 2px; }
.about-text p { font-size: 14px; font-weight: 300; color: #666; line-height: 2; margin: 0 0 20px; text-align: justify; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 30px 0 36px; border-top: 1px solid var(--border); padding-top: 30px; width: 100%; }
.about-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; padding-right: 0; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; font-weight: 400; color: var(--gray); letter-spacing: 0.3px; line-height: 1.4; }
.about-img { overflow: hidden; position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(42,95,143,0.12), transparent 60%); }

/* ─── IMPLANTES — sección unificada ─────────────── */
.implantes-section { background: linear-gradient(135deg, #f5fafe 0%, #faf5ff 100%); overflow: hidden; scroll-margin-top: 80px; }

.implantes-unified {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

/* Foto izquierda — panel animado */
.implantes-foto {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1e24 0%, #22272f 50%, #1a1e24 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}

/* Anillos decorativos — eliminados */
.imp-ring { display: none; }

/* Partículas flotantes */
.imp-particle {
  position: absolute; border-radius: 50%;
  background: var(--accent); opacity: 0.5;
  animation: impParticle 6s ease-in-out infinite;
}
/* Partículas — eliminadas */
.imp-particle { display: none; }

@keyframes impParticle {}

/* Imagen flotando */
.imp-float-wrap {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  animation: impFloat 4s ease-in-out infinite;
  width: 100%;
}

/* Contenedor anotado */
.imp-annotated {
  position: relative;
  display: inline-block;
  width: 96%; max-width: 400px;
}
.imp-annotated .imp-float-img {
  width: 100%; max-width: 100%;
  display: block;
}

/* Zonas hover — centradas en cada parte del implante */
.imp-zone {
  position: absolute;
  display: flex; align-items: center;
  cursor: pointer;
  z-index: 5;
}
/* Corona: centro vertical de la corona (~19% del alto) */
.imp-zone-corona { top: 19%; left: 68%; }
/* Pilar: centro del pilar de conexión (~47%) */
.imp-zone-pilar  { top: 47%; left: 68%; }
/* Raíz: centro del tornillo (~73%) */
.imp-zone-raiz   { top: 73%; left: 68%; }

/* Punto pulsante */
.imp-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(77,191,201,0.25);
  animation: impDotPulse 2.5s ease-out infinite;
  position: relative; z-index: 2;
}
@keyframes impDotPulse {
  0%   { box-shadow: 0 0 0 3px rgba(77,191,201,0.35); }
  70%  { box-shadow: 0 0 0 14px rgba(77,191,201,0); }
  100% { box-shadow: 0 0 0 3px rgba(77,191,201,0.35); }
}

/* Línea conectora — más larga, elegante */
.imp-zone::before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 48px; height: 1px;
  background: linear-gradient(to right, rgba(77,191,201,0.7), rgba(77,191,201,0.2));
  transform-origin: left center;
}

/* Tooltip — aparece a la derecha del punto */
.imp-tooltip {
  position: absolute; left: 60px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(14,18,24,0.97); backdrop-filter: blur(12px);
  border: 1px solid rgba(77,191,201,0.35); border-radius: 14px;
  padding: 16px 20px; white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 16px; font-weight: 700; color: #fff; text-align: center;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  min-width: 200px;
}
.imp-tooltip small {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6);
  display: block; white-space: normal; max-width: 190px; line-height: 1.4; text-align: center;
}
.imp-tooltip::before {
  content: ''; position: absolute; left: -6px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-right: 6px solid rgba(77,191,201,0.4);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.imp-zone:hover .imp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0px);
}
.imp-shadow {
  width: 50%; height: 18px; margin-top: -6px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, transparent 75%);
  border-radius: 50%;
  animation: impShadow 4s ease-in-out infinite;
}

@keyframes impFloat {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-18px); }
}
@keyframes impShadow {
  0%, 100% { transform: scaleX(1);   opacity: 0.8; }
  50%       { transform: scaleX(0.75); opacity: 0.4; }
}

/* Badge inferior */
.imp-badge-bottom {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px);
  border: 1px solid rgba(77,191,201,0.25); border-radius: 40px;
  padding: 10px 22px; white-space: nowrap; z-index: 3;
}
.imp-badge-num { font-size: 20px; font-weight: 900; color: var(--accent); line-height: 1; }
.imp-badge-txt { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.65); }

/* Contenido derecho — scroll interno si necesario */
.implantes-contenido {
  display: flex; flex-direction: column; justify-content: center;
  padding: 70px 68px;
  background: linear-gradient(150deg, #3a3f47 0%, #2c3038 55%, #252830 100%);
  gap: 0;
}
.implantes-contenido h2 { font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; color: #ffffff; line-height: 1.15; margin: 10px 0 16px; }
.implantes-desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.70); line-height: 1.8; margin-bottom: 20px; }

.implantes-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; padding: 0; }
.implantes-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.78); }
.implantes-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Divisor con texto */
.implantes-divisor {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 20px;
}
.implantes-divisor span {
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
}
.implantes-divisor::before,
.implantes-divisor::after {
  content: ''; flex: 1; height: 1px; background: rgba(77,191,201,0.35);
}

/* Pasos inline */
.implantes-pasos-inline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; align-items: stretch; }

.paso-inline {
  display: flex; flex-direction: column; align-items: stretch; text-align: center;
  height: 100%;
  opacity: 1; transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}
.paso-inline.animate { opacity: 0; transform: translateY(16px); }
.paso-inline.animate.visible { opacity: 1; transform: translateY(0); }

.paso-inline-num {
  font-size: 11px; font-weight: 900; letter-spacing: 1px;
  color: var(--accent); margin-bottom: 8px; opacity: 1;
}
.paso-inline-body {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.07); border-radius: 12px; padding: 16px 12px;
  width: 100%; flex: 1;
  border-top: 2px solid var(--accent);
  transition: background .2s, box-shadow .2s;
  gap: 8px;
}
.paso-inline-body:hover { background: rgba(255,255,255,0.13); box-shadow: 0 4px 20px rgba(77,191,201,0.15); }

.paso-inline-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(77,191,201,0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.paso-inline-body h4 { font-size: 12px; font-weight: 700; color: #ffffff; margin: 0; line-height: 1.3; }
.paso-inline-body p { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.5; margin: 0; }

/* ─── ESPECIALIDADES ─────────────── */
.especialidades { padding: 120px 80px; background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%); }
.section-header-2col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 52px; }
.section-header-2col > div { flex-shrink: 0; }
.section-h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--black); }
.section-h2 .dot-acc { color: var(--accent); }
.section-p { font-size: 14px; font-weight: 300; color: #888; line-height: 1.82; padding-bottom: 4px; max-width: 600px; }
.esp-grid {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  gap: 60px;
  justify-content: center;
  align-items: start;
}
.esp-card {
  background: var(--white);
  border: 1.5px solid #e0eff5;
  border-top: 3px solid #e0eff5;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(43,100,130,0.04);
  transition: border-top-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 220px;
  min-height: 300px;
  padding: 32px 22px 28px;
}
.esp-card:nth-child(3n+1):hover { border-top-color: var(--accent2); box-shadow: 0 10px 32px rgba(26,154,181,0.15); }
.esp-card:nth-child(3n+2):hover { border-top-color: var(--warm);   box-shadow: 0 10px 32px rgba(255,107,53,0.15); }
.esp-card:nth-child(3n+3):hover { border-top-color: var(--green);  box-shadow: 0 10px 32px rgba(46,196,160,0.15); }
.esp-card:hover {
  transform: translateY(-4px);
}
.esp-icon {
  width: 80px; height: 80px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: border-color 0.25s, transform 0.25s;
  overflow: hidden;
}
.esp-card:hover .esp-icon { border-color: var(--accent); transform: scale(1.05); }
.esp-icon img { width: 100%; height: 100%; object-fit: cover; }
.esp-card h3 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.esp-card p { font-size: 12px; font-weight: 300; color: #888; line-height: 1.75; text-align: center; }
.esp-ver-mas { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; transition: letter-spacing 0.2s; }
.esp-card:hover .esp-ver-mas { letter-spacing: 2.5px; }

/* Modal especialidades — reutiliza estilos de modal-implantes */
.modal-esp-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(10,15,25,0.75); backdrop-filter: blur(6px);
  align-items: flex-start; justify-content: center; padding: 20px;
  overflow-y: auto;
}
.modal-esp-overlay.open { display: flex; }
.modal-esp-box {
  background: #ffffff; border-radius: 24px; max-width: 860px; width: 100%;
  position: relative; overflow: visible;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  margin: 60px auto 40px;
}

/* ─── TECNOLOGÍA / PROCESO ─────────────── */
.proceso { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.proceso-img { overflow: hidden; background: var(--bg); position: relative; }
.proceso-img img { width: 100%; height: 100%; object-fit: cover; }
.proceso-img::after { content: ''; position: absolute; inset: 0; background: rgba(42,95,143,0.12); }
.proceso-content { background: var(--bg); padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; gap: 38px; }
.proceso-head { margin-bottom: -8px; }
.proceso-head .section-eyebrow { margin-bottom: 8px; }
.proceso-head h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; color: var(--black); line-height: 1.15; }
.proc-item { display: flex; gap: 20px; align-items: flex-start; }
.proc-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: var(--white); padding: 12px; color: var(--accent); box-shadow: 0 4px 16px rgba(42,95,143,0.12); }
.proc-item h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 7px; }
.proc-item p { font-size: 14px; font-weight: 300; color: #777; line-height: 1.75; }

/* ─── EQUIPO ─────────────── */
.equipo { padding: 130px 80px 200px; background: var(--white); }
.team-header { text-align: center; margin-bottom: 70px; }
.team-header h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; color: var(--black); margin-bottom: 14px; }
.team-header p { font-size: 15px; font-weight: 300; color: #888; max-width: 520px; margin: 0 auto; line-height: 1.75; }
.team-grid { display: flex; flex-direction: column; align-items: center; gap: 70px; padding-bottom: 20px; }
.team-row { display: flex; justify-content: center; gap: 90px; }
.team-member { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; }
.team-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  overflow: hidden; margin-bottom: 20px;
  border: 3px solid #eee;
  transition: border-color 0.3s, transform 0.3s;
}
.team-member:hover .team-avatar { border-color: var(--accent); transform: scale(1.04); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-avatar img[style] { object-position: unset; }
.team-member h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.team-member .tag { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.5px; color: var(--accent); background: var(--accent-light); padding: 4px 12px; border-radius: 20px; }

/* Modal doctor */
.doctor-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.45); align-items: center; justify-content: center;
}
.doctor-modal-overlay.open { display: flex; }
.doctor-modal {
  background: #fff; max-width: 540px; width: 90%; border-radius: 6px;
  overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  position: relative; animation: modalIn 0.28s ease;
}
@keyframes modalIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.modal-header { display: flex; align-items: center; gap: 24px; padding: 32px 32px 24px; border-bottom: 1px solid #f0f0f0; }
.modal-avatar { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--accent-light); }
.modal-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.modal-name { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.modal-esp { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.5px; }
.modal-body { padding: 24px 32px 32px; }
.modal-body p { font-size: 14px; font-weight: 300; color: #666; line-height: 1.82; margin-bottom: 16px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-close {
  position: absolute; top: 14px; right: 18px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #f5f5f5; border: none; cursor: pointer;
  font-size: 16px; color: #888; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: #eee; color: #333; }

/* ─── TESTIMONIOS ─────────────── */
.testimonios {
  position: relative; padding: 100px 60px;
  overflow: hidden;
  background: linear-gradient(145deg, #0e3a4a 0%, #155e78 45%, #1a7a96 100%);
}
.testi-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(77,191,201,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 50%);
  z-index: 0;
}
.testi-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ─── ICONOS FLOTANTES TESTIMONIOS ─── */
.testi-floats {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.tf {
  position: absolute;
  fill: rgba(255,255,255,0.055);
  animation: tf-float linear infinite;
}
/* Posiciones, tamaños y velocidades únicas para cada ícono */
.tf-1  { width:70px;  left:3%;   top:10%; animation-duration:18s; animation-delay:0s;    animation-name:tf-float-slow; }
.tf-2  { width:28px;  left:18%;  top:70%; animation-duration:14s; animation-delay:-4s;   animation-name:tf-float-fast; fill:rgba(255,255,255,0.04); }
.tf-3  { width:50px;  left:88%;  top:15%; animation-duration:22s; animation-delay:-8s;   animation-name:tf-float-slow; fill:rgba(255,255,255,0.05); }
.tf-4  { width:90px;  left:72%;  top:60%; animation-duration:26s; animation-delay:-3s;   animation-name:tf-float-med;  fill:rgba(255,255,255,0.04); }
.tf-5  { width:40px;  left:45%;  top:5%;  animation-duration:16s; animation-delay:-11s;  animation-name:tf-float-fast; fill:rgba(255,255,255,0.05); }
.tf-6  { width:60px;  left:8%;   top:40%; animation-duration:20s; animation-delay:-6s;   animation-name:tf-float-med;  fill:rgba(255,255,255,0.045); }
.tf-7  { width:36px;  left:60%;  top:82%; animation-duration:15s; animation-delay:-2s;   animation-name:tf-float-fast; fill:rgba(255,255,255,0.04); }
.tf-8  { width:55px;  left:85%;  top:45%; animation-duration:24s; animation-delay:-9s;   animation-name:tf-float-slow; fill:rgba(255,255,255,0.05); }
.tf-9  { width:44px;  left:30%;  top:88%; animation-duration:19s; animation-delay:-5s;   animation-name:tf-float-med;  fill:rgba(255,255,255,0.04); }
.tf-10 { width:65px;  left:52%;  top:35%; animation-duration:28s; animation-delay:-14s;  animation-name:tf-float-slow; fill:rgba(255,255,255,0.035); }
.tf-11 { width:22px;  left:93%;  top:78%; animation-duration:13s; animation-delay:-7s;   animation-name:tf-float-fast; fill:rgba(255,255,255,0.06); }
.tf-12 { width:80px;  left:22%;  top:22%; animation-duration:32s; animation-delay:-18s;  animation-name:tf-float-slow; fill:rgba(255,255,255,0.03); }

@keyframes tf-float-slow {
  0%   { transform: translateY(0px)   rotate(0deg)   scale(1); }
  25%  { transform: translateY(-22px) rotate(6deg)   scale(1.04); }
  50%  { transform: translateY(-10px) rotate(-4deg)  scale(0.97); }
  75%  { transform: translateY(-28px) rotate(8deg)   scale(1.02); }
  100% { transform: translateY(0px)   rotate(0deg)   scale(1); }
}
@keyframes tf-float-med {
  0%   { transform: translateY(0px)   rotate(0deg)  scale(1); }
  33%  { transform: translateY(-18px) rotate(-5deg) scale(1.05); }
  66%  { transform: translateY(-8px)  rotate(7deg)  scale(0.96); }
  100% { transform: translateY(0px)   rotate(0deg)  scale(1); }
}
@keyframes tf-float-fast {
  0%   { transform: translateY(0px)   rotate(0deg)  scale(1); }
  50%  { transform: translateY(-14px) rotate(-8deg) scale(1.06); }
  100% { transform: translateY(0px)   rotate(0deg)  scale(1); }
}

/* Wrap */
.testi-wrap {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}

/* Header */
.testi-header { text-align: center; }
.testi-title {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 800;
  color: #fff; margin: 6px 0 12px; line-height: 1.1;
}
.testi-subtitle { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 300; }

/* Rating bar */
.testi-rating-bar {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50px;
  padding: 12px 28px;
}
.testi-stars-big { font-size: 22px; color: #fbbf24; letter-spacing: 2px; line-height: 1; }
.testi-rating-info { display: flex; align-items: baseline; gap: 10px; }
.testi-score { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; }
.testi-reviews { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 300; }

/* Cards grid */
.testi-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%;
}
.testi-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.testi-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.13); }
.testi-card::before {
  content: '\201C';
  position: absolute; top: 12px; right: 20px;
  font-size: 80px; font-family: Georgia, serif;
  color: rgba(77,191,201,0.25); line-height: 1;
  pointer-events: none;
}
.testi-card-stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.testi-card-text {
  font-size: 13.5px; font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.9); line-height: 1.85; flex: 1;
}
.testi-card-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); background: rgba(77,191,201,0.15);
  border: 1px solid rgba(77,191,201,0.3); border-radius: 20px;
  padding: 4px 12px; width: fit-content;
}
.testi-card-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.testi-card-initials {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #2288a8);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 0.5px;
}
.testi-card-name { font-size: 13px; font-weight: 700; color: #fff; display: block; }
.testi-card-city { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 300; }

/* Dots */
.testi-dots { display: none; gap: 8px; justify-content: center; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.testi-dot.active { background: #fff; transform: scale(1.3); }

/* ─── NOTICIAS / BLOG ─────────────── */
.noticias { padding: 120px 80px 110px; background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 40%, #f5f0ff 100%); position: relative; overflow: hidden; }
.noticias-header { display: flex; flex-direction: column; gap: 10px; align-items: start; margin-bottom: 48px; }
.noticias-header h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--black); }
.noticias-header p { font-size: 14px; font-weight: 300; color: #888; line-height: 1.82; padding-top: 5px; }
.noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.noticia-card {
  background: var(--white); padding: 28px 24px 22px;
  border: 1.5px solid #dde8f0; border-top: 3px solid #dde8f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: border-top-color 0.25s, box-shadow 0.25s, transform 0.25s;
  --tag-color: var(--accent);
}
.noticia-card:hover {
  border-top-color: var(--tag-color);
  box-shadow: 0 10px 36px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.card-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--tag-color) 12%, white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; border: 1.5px solid color-mix(in srgb, var(--tag-color) 25%, white);
  transition: transform 0.2s; color: var(--tag-color);
}
.noticia-card:hover .card-icon-wrap { transform: scale(1.1); }
.card-icon { display: flex; align-items: center; justify-content: center; color: var(--tag-color); }
.card-icon svg { display: block; fill: currentColor; color: var(--tag-color); }
.card-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--tag-color);
  margin-bottom: 12px; display: block;
}
.noticia-card h3 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 10px; line-height: 1.4; }
.noticia-card p { font-size: 13px; font-weight: 300; color: #777; line-height: 1.75; margin-bottom: 16px; }
.card-meta { font-size: 12px; font-weight: 300; color: #aaa; border-top: 1px solid var(--border); padding-top: 14px; }
.noticias-center { display: flex; flex-direction: column; align-items: center; }
.noticias-line { display: none; }




/* ─── CONTACTO ─────────────── */
.contacto { padding: 100px 80px; background: var(--white); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contacto-info .section-eyebrow { margin-bottom: 10px; }
.contacto-info h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--black); margin-bottom: 16px; line-height: 1.15; }
.contacto-info p { font-size: 14px; font-weight: 300; color: #666; line-height: 1.85; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { width: 42px; height: 42px; flex-shrink: 0; background: var(--accent-light); border-radius: 10px; padding: 10px; color: var(--accent); }
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lightgray); margin-bottom: 4px; }
.ci-value { font-size: 14px; font-weight: 600; color: var(--black); }
.ci-sub { font-size: 13px; font-weight: 300; color: #888; margin-top: 3px; }
/* Form panel */
.contacto-form { background: #f8fafb; border-radius: 20px; padding: 40px 38px; border: 1px solid #eaeef0; }
.form-intro { margin-bottom: 28px; border-bottom: 1px solid #eaeef0; padding-bottom: 22px; }
.contacto-form h3 { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.form-subtitle { font-size: 13px; font-weight: 300; color: #888; line-height: 1.7; margin: 0; }
.req { color: var(--accent); font-size: 13px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #999; }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid #e2e8ec; border-radius: 10px;
  padding: 11px 14px; font-family: inherit; font-size: 14px; font-weight: 300; color: var(--black);
  background: var(--white); outline: none; transition: border-color 0.2s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { height: 95px; resize: vertical; }
/* Captcha */
.captcha-box { margin-bottom: 18px; }
.captcha-inner { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.captcha-challenge { display: inline-block; background: #e6f4f5; border: 1.5px dashed var(--accent); border-radius: 8px; padding: 7px 16px; font-size: 16px; font-weight: 800; letter-spacing: 4px; color: var(--black); user-select: none; min-width: 110px; text-align: center; font-family: monospace; }
.captcha-input { border: 1.5px solid #e2e8ec; border-radius: 10px; padding: 10px 13px; font-size: 14px; font-family: inherit; outline: none; width: 100px; transition: border-color .2s; }
.captcha-input:focus { border-color: var(--accent); }
.captcha-refresh { background: none; border: 1.5px solid #dde3e7; border-radius: 8px; padding: 8px 11px; cursor: pointer; font-size: 18px; color: var(--accent); transition: background .2s; line-height: 1; }
.captcha-refresh:hover { background: var(--accent-light); }
.captcha-error { display: block; font-size: 12px; color: #e05252; margin-top: 5px; min-height: 15px; }
.btn-submit {
  display: block; width: 100%; padding: 14px; text-align: center; margin-top: 6px;
  background: var(--accent); color: var(--white);
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: 50px; transition: background 0.2s;
}
.btn-submit:hover { background: var(--black); }

/* ─── MAPA PLACEHOLDER ─────────────── */
/* ─── MAPA ─────────────── */
.mapa-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}
.mapa-wrap {
  position: relative;
  height: 450px;
}
/* Filtro CSS que lleva los colores del mapa hacia la paleta teal de la clínica */
.mapa-wrap iframe {
  width: 100%; height: 100%; border: none; display: block;
  filter:
    sepia(40%)
    hue-rotate(155deg)
    saturate(140%)
    brightness(1.05)
    contrast(0.95);
  transition: filter 0.4s ease;
}
/* Al hacer hover, el mapa muestra sus colores reales */
.mapa-wrap:hover iframe {
  filter:
    sepia(15%)
    hue-rotate(155deg)
    saturate(120%)
    brightness(1.08)
    contrast(0.95);
}
/* Overlay muy sutil para unificar tono */
.mapa-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 58, 74, 0.08) 0%,
    rgba(43, 189, 212, 0.04) 50%,
    rgba(14, 58, 74, 0.10) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.mapa-overlay {
  position: absolute; top: 30px; left: 50px; z-index: 2;
  background: var(--white); padding: 20px 26px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  max-width: 280px;
}
.mapa-overlay h4 { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.mapa-overlay p { font-size: 13px; font-weight: 300; color: var(--gray); line-height: 1.6; }
.mapa-overlay a { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }

/* ─── FOOTER ─────────────── */
footer { background: #222222; padding: 70px 80px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.07); align-items: start; }
.footer-logo-txt { font-size: 14px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--white); margin-bottom: 4px; display: block; }
.footer-logo-sub { font-size: 9px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); display: block; margin-bottom: 16px; }
.footer-about { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.8; margin: 0; }
.footer-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }
.footer-links li { display: flex; align-items: center; gap: 8px; }
.footer-links li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.footer-links a, .footer-links span { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); } .footer-links span { cursor: default; }
.footer-contact-item { margin-bottom: 16px; }
.footer-contact-item:last-child { margin-bottom: 0; }
.fc-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 5px; }
.fc-value { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.6; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: background 0.2s; }
.social-btn:hover { background: var(--accent); color: var(--white); }
.footer-bottom { text-align: center; padding: 20px 0; }
.footer-bottom p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.25); }

/* ─── SCROLL TOP ─────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 52px; height: 52px; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer; opacity: 0; border: none;
  transition: opacity 0.3s, background 0.2s; box-shadow: 0 6px 20px rgba(42,95,143,0.35);
}
.scroll-top.show { opacity: 1; }
.scroll-top:hover { background: var(--black); }
.scroll-top svg path { stroke: white; }

/* ─── BOTONES FLOTANTES — todos iguales ─────────────── */
.float-btns { position: fixed; bottom: 156px; right: 28px; z-index: 9998; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; position: relative; text-decoration: none; flex-shrink: 0; background: rgba(255,255,255,0.55); backdrop-filter: blur(6px); border: none; box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.18); background: rgba(255,255,255,0.75); }
.float-btn-tip { position: absolute; right: 62px; background: rgba(0,0,0,0.75); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-btn:hover .float-btn-tip { opacity: 1; }

/* ─── WHATSAPP CHAT WIDGET ─────────────── */
.wa-widget { position: fixed; bottom: 92px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* FAB button */
.wa-fab { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.55); backdrop-filter: blur(6px); border: none; box-shadow: 0 4px 14px rgba(0,0,0,0.12); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; position: relative; flex-shrink: 0; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.18); background: rgba(255,255,255,0.75); }
.wa-icon-close { display: none; }
.wa-widget.open .wa-icon-open { display: none; }
.wa-widget.open .wa-icon-close { display: block; }
.wa-badge { position: absolute; top: -2px; right: -2px; background: #e05252; color: white; font-size: 10px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid white; }
.wa-badge.hidden { display: none; }

/* Chat window */
.wa-chat { width: 320px; background: #ECE5DD; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.2); display: none; flex-direction: column; max-height: 480px; }
.wa-widget.open .wa-chat { display: flex; animation: wa-slide-up .25s ease; }
@keyframes wa-slide-up { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* Header */
.wa-header { background: #075E54; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.wa-header-avatar { width: 40px; height: 40px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-header-info { flex: 1; }
.wa-header-name { color: white; font-size: 14px; font-weight: 700; }
.wa-header-status { color: rgba(255,255,255,0.75); font-size: 11px; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-dot { width: 7px; height: 7px; background: #25D366; border-radius: 50%; display: inline-block; }
.wa-close-btn { background: none; border: none; cursor: pointer; opacity: .7; padding: 4px; display: flex; }
.wa-close-btn:hover { opacity: 1; }

/* Messages */
.wa-messages { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; background: #ECE5DD url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ccc' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.wa-date-chip { text-align: center; font-size: 11px; background: rgba(0,0,0,0.12); color: #555; padding: 3px 10px; border-radius: 10px; align-self: center; margin-bottom: 4px; }
.wa-msg { display: flex; flex-direction: column; max-width: 85%; }
.wa-msg-in { align-self: flex-start; }
.wa-msg-out { align-self: flex-end; }
.wa-bubble { padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.55; }
.wa-msg-in .wa-bubble { background: white; border-top-left-radius: 3px; color: #111; }
.wa-msg-out .wa-bubble { background: #DCF8C6; border-top-right-radius: 3px; color: #111; }
.wa-time { font-size: 10px; color: #999; margin-top: 2px; }
.wa-msg-out .wa-time { text-align: right; }

/* Quick replies */
.wa-quick-replies { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.wa-quick-replies button { background: white; border: 1.5px solid #25D366; color: #075E54; border-radius: 20px; padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; text-align: left; transition: background .15s; font-family: inherit; }
.wa-quick-replies button:hover { background: #f0fff4; }

/* Input */
.wa-input-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #F0F0F0; }
.wa-input { flex: 1; border: none; border-radius: 20px; padding: 9px 14px; font-size: 13px; font-family: inherit; outline: none; background: white; }
.wa-send-btn { width: 38px; height: 38px; background: #25D366; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.wa-send-btn:hover { background: #1da851; }
.wa-footer-note { text-align: center; font-size: 10px; color: #888; padding: 6px 0 8px; background: #F0F0F0; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { min-height: 560px; }
  .hero-content { padding: 60px 48px; }
  .about-text { padding: 60px 48px; }
  .implantes-text { padding: 60px 48px; }
  .implantes-pasos-wrap { padding: 60px 40px 70px; }
  .implantes-pasos { gap: 0; }
  .paso { max-width: 180px; padding: 26px 14px; }
  .especialidades { padding: 80px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 60px 48px 0; }
  .noticias { padding: 80px 48px; }
  .contacto-section { padding: 80px 48px; }
  .evidencia-section { padding: 80px 48px; }
  .team-grid { gap: 24px; }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { padding: 60px 48px; }
  .about-text { padding: 60px 48px; }
  .implantes-contenido { padding: 60px 48px; }
  .especialidades { padding: 80px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 60px 48px 0; }
  .noticias { padding: 80px 48px; }
  .contacto { padding: 80px 48px; }
  .evidencia-section { padding: 80px 48px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MÓVIL (≤768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* HEADER */
  header { padding: 0 20px; height: 60px; }
  nav { display: none; }
  .logo-wrap img { height: 42px !important; }
  .nav-hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; background: none; border: none; }
  .nav-hamburger span { display: block; width: 24px; height: 2.5px; background: var(--black); border-radius: 2px; transition: all .3s; }
  .nav-mobile { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98); z-index: 2000; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { font-size: 22px; font-weight: 700; color: var(--black); text-decoration: none; letter-spacing: 1px; }
  .nav-mobile a.nav-cta { background: var(--accent); color: white; padding: 14px 36px; border-radius: 40px; font-size: 16px; }
  .nav-mobile-close { position: absolute; top: 24px; right: 24px; font-size: 28px; cursor: pointer; color: var(--black); background: none; border: none; line-height: 1; }

  /* ── HERO: foto fondo completo, cara centrada ── */
  .hero { height: auto; min-height: 100svh; display: flex; align-items: flex-end; position: relative; }
  .hero-img-wrap { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-img-wrap img { object-position: 65% top; width: 100%; height: 100%; object-fit: cover; }
  .hero-img-wrap::after { background: linear-gradient(to bottom, rgba(238,236,234,0.0) 0%, rgba(238,236,234,0.75) 45%, rgba(238,236,234,1) 100%); }
  .hero-content { position: relative; z-index: 2; margin-left: 0; width: 100%; padding: 200px 24px 52px; text-align: center; }
  .hero-eyebrow { justify-content: center; display: flex; color: #1a4f7a; font-weight: 800; }
  .hero-eyebrow::before { background: #1a4f7a; }
  .hero-content h1 { font-size: clamp(28px, 8vw, 44px); }
  .hero-content h2 { font-size: 13px; }
  .hero-content p { max-width: 100%; font-size: 14px; line-height: 1.7; }
  .hero-buttons { flex-direction: column; gap: 12px; align-items: center; }
  .hero-buttons a { width: 100%; max-width: 320px; text-align: center; }
  .hero-badge { display: none; }
  .hero-dots { display: none; }
  .hero-number { display: none; }

  /* ── NOSOTROS ── */
  .about { grid-template-columns: 1fr; min-height: auto; }
  .about-img { height: 260px; }
  .about-text { padding: 44px 24px; text-align: center; }
  .about-text .section-eyebrow { display: block; text-align: center; }
  .about-text h2, .about-sub { text-align: center; }
  .about-text p { text-align: justify; }
  .about-stats { grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 28px; }
  .about-stats > div { align-items: center; padding-right: 0; text-align: center; }
  .stat-num { font-size: 26px; text-align: center; }
  .stat-label { text-align: center; }
  .about-text a.btn-pill-dark { display: block; text-align: center; width: 100%; max-width: 280px; margin: 16px auto 0; }

  /* ── ESPECIALIDADES ── */
  .especialidades { padding: 56px 20px; }
  .section-header-2col { text-align: center; align-items: center; }
  .esp-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .esp-card { padding: 22px 14px; text-align: center; }

  /* ── IMPLANTES ── */
  .implantes-unified { grid-template-columns: 1fr; min-height: auto; }
  .implantes-foto { height: 260px; }
  .implantes-contenido { padding: 40px 24px; text-align: center; }
  .implantes-contenido .section-eyebrow { display: block; text-align: center; }
  .implantes-contenido h2 { text-align: center; }
  .implantes-list { text-align: left; display: inline-flex; flex-direction: column; gap: 10px; }
  .implantes-pasos-inline { grid-template-columns: 1fr 1fr; gap: 12px; }
  .paso-inline { text-align: center; }
  .paso-inline-body { padding: 14px 10px; flex-direction: column; align-items: center; border-left: none; border-top: 3px solid var(--accent); }
  .implantes-contenido .btn-pill-accent { margin: 12px auto 0; display: inline-block; }

  /* ── PROCESO CLÍNICO — VISIBLE y bien formateado ── */
  .proceso { display: flex !important; flex-direction: column; min-height: auto; }
  .proceso-img { height: 220px; width: 100%; flex-shrink: 0; }
  .proceso-img img { width: 100%; height: 100%; object-fit: cover; }
  .proceso-content { padding: 40px 24px 48px; gap: 20px; display: flex; flex-direction: column; background: var(--bg); }
  .proceso-head { text-align: center; margin-bottom: 4px; }
  .proceso-head h2 { text-align: center; font-size: clamp(22px, 6vw, 32px); }
  .proceso-head .section-eyebrow { text-align: center; display: block; }
  .proc-item { flex-direction: column; align-items: center; text-align: center; gap: 12px; background: #fff; border-radius: 16px; padding: 24px 20px; box-shadow: 0 3px 16px rgba(0,0,0,0.08); display: flex; }
  .proc-icon { margin: 0 auto; width: 50px; height: 50px; }
  .proc-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .proc-item p { font-size: 13px; line-height: 1.75; color: #666; }

  /* ── EQUIPO — columna única centrada ── */
  section[id="equipo"] { padding: 60px 24px; text-align: center; }
  .team-header { text-align: center; margin-bottom: 40px; }
  .team-header h2, .team-header p { text-align: center; }
  .team-grid { display: flex; flex-direction: column; align-items: center; gap: 40px; padding-bottom: 0; }
  .team-row { display: contents; }
  .team-member { width: 100%; max-width: 280px; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .team-avatar { width: 120px; height: 120px; margin: 0 auto 16px; }
  .team-member h4 { font-size: 15px; margin-bottom: 8px; text-align: center; }
  .team-member .tag { text-align: center; }

  /* ── TESTIMONIOS ── */
  .author-initials { display: none; }
  .testi-cards { grid-template-columns: 1fr; }
  .testi-dots { display: flex; }
  .testimonios { padding: 70px 24px; }
  .testi-rating-bar { flex-direction: column; gap: 8px; text-align: center; padding: 16px 20px; }

  /* ── NOTICIAS / CONSEJOS ── */
  .noticias { padding: 56px 20px; }
  .noticias-header { flex-direction: column; gap: 12px; margin-bottom: 28px; text-align: center; align-items: center; }
  .noticias-header h2 { text-align: center; }
  .divider { margin: 8px auto; }
  .noticias-grid { grid-template-columns: 1fr; }
  .noticias-center { text-align: center; display: flex; justify-content: center; padding-top: 8px; }
  .noticias-line { display: none; }

  /* ── CONTACTO ── */
  .contacto { padding: 56px 24px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
  .contacto-info { text-align: center; }
  .contacto-info .section-eyebrow { display: block; text-align: center; }
  .contacto-info h2, .contacto-info > p { text-align: center; }
  .contact-items { gap: 0; }
  .contact-item { flex-direction: column; align-items: center; text-align: center; padding: 22px 0; border-bottom: 1px solid #eef0f2; gap: 10px; }
  .contact-item:last-child { border-bottom: none; }
  .ci-icon { margin: 0 auto; }
  .ci-label, .ci-value, .ci-sub { text-align: center; }

  /* ── FORMULARIO ── */
  .contacto-form { padding: 28px 20px; }
  .form-intro, .contacto-form h3, .form-subtitle { text-align: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .btn-submit { width: 100%; }
  #form-msg { text-align: center; }

  /* ── EVIDENCIA ── */
  .evidencia-section { padding: 56px 20px; text-align: center; }
  .evidencia-grid { grid-template-columns: 1fr; }

  /* ── MAPA ── */
  .mapa-section { height: auto; }
  .mapa-wrap { height: 280px; }

  /* ── FOOTER ── */
  footer { padding: 48px 24px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-desc { text-align: center; }
  .footer-title { text-align: center; }
  .footer-links { text-align: center; align-items: center; }
  .footer-links li { justify-content: center; }
  .footer-links li::before { display: none; }
  .footer-contact-item { text-align: center; }
  .social-row { justify-content: center; }
  .footer-bottom { text-align: center; }
  .footer-bottom p { font-size: 11px; text-align: center; padding: 0; }

  /* ── TÍTULOS GLOBALES ── */
  section h2, section h3, .section-h2, .section-eyebrow { text-align: center; }

  /* ── BOTONES FLOTANTES ── */
  .float-btns { bottom: 156px; right: 16px; }
  .float-btn { width: 48px; height: 48px; }
  .wa-widget { bottom: 92px; right: 16px; }
  .wa-fab { width: 48px; height: 48px; }
  .scroll-top { bottom: 28px; right: 16px; width: 48px; height: 48px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO (≤480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .esp-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 13px; }
}

/* ─── UPLOAD RADIOGRAFÍA ─────────────── */
.fimp-upload-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 18px 16px; border-radius: 12px;
  border: 2px dashed #b0d8e4; background: #f4fbfc;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.fimp-upload-label:hover { border-color: var(--accent); background: #eaf8fb; }
.fimp-upload-icon { font-size: 24px; line-height: 1; }
.fimp-upload-text { font-size: 13px; font-weight: 600; color: #555; }
.fimp-upload-hint { font-size: 10px; color: #aaa; font-weight: 400; }

/* ─── ODONTOGRAMA MÓVIL MAPA DE BOCA ─────────────── */
.odonto-desktop-only { display: block; }
.odonto-mobile-only  { display: none; }

.mob-legend {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; margin-bottom: 10px;
}
.mob-leg-item {
  font-size: 10px; font-weight: 600; color: #555;
  background: #f5f5f5; border-radius: 20px; padding: 3px 8px;
}

.mob-arch-label {
  text-align: center; font-size: 11px; font-weight: 800;
  letter-spacing: 0.5px; padding: 6px 0 4px;
}
.mob-arch-label.mob-arch-sup { color: #1a7a96; }
.mob-arch-label.mob-arch-inf { color: #7c5cbf; margin-top: 4px; }

.mob-arch-wrap {
  background: #f8fbfc; border-radius: 12px;
  padding: 8px 6px 6px; border: 1px solid #daeef2;
}
.mob-arch-wrap-sup { border-top: 3px solid #2bbdd4; }
.mob-arch-wrap-inf { border-bottom: 3px solid #7c5cbf; }

.mob-zone-label-wrap {
  display: flex; justify-content: space-between;
  padding: 0 2px 4px;
}
.mob-zone-label {
  font-size: 9px; font-weight: 700; color: #bbb;
  text-transform: uppercase; letter-spacing: 0.3px;
}

.mob-tooth-row {
  display: flex; gap: 3px; align-items: flex-end;
}
.mob-arch-wrap-inf .mob-tooth-row { align-items: flex-start; }

.mob-arch-divider {
  display: flex; align-items: center; justify-content: center;
  margin: 6px 0; height: 18px;
}
.mob-arch-divider-label {
  font-size: 9px; color: #ccc; font-weight: 600; letter-spacing: 1px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .odonto-desktop-only { display: none !important; }
  .odonto-mobile-only  { display: block; }

  #form-implantes div[style*="grid-template-columns:1fr 1fr"],
  #form-implantes div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  #modal-form-implantes .modal-implantes-box > div:last-child { padding: 20px 14px !important; }
  #modal-form-implantes .modal-implantes-box > div:first-child { padding: 24px 20px !important; }

  .odonto-btns { gap: 8px; }
  .odonto-btn-sel, .odonto-btn-clear {
    font-size: 12px; padding: 11px 12px; border-radius: 10px;
    flex: 1 1 calc(50% - 4px); min-height: 44px; text-align: center;
  }
  .odonto-btn-clear { flex: 1 1 100%; }
}

/* ─── LLAMAR: solo visible en móvil ─────────────── */
.float-btn-mobile-only { display: none; }
@media (max-width: 768px) {
  .float-btn-mobile-only { display: flex; }
}
