/* ═══ DentaMando · Landing ═══
   Paleta de la marca (misma escala "dental" de las apps). Sin frameworks:
   una landing estática no necesita build. */

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgb(15 118 110 / 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Botones ── */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-solid:hover { box-shadow: 0 14px 34px -10px rgb(15 118 110 / 0.4); }
.btn-ghost {
  color: var(--teal-700);
  border: 2px solid var(--teal-100);
  background: var(--teal-50);
}
.btn-ghost:hover { border-color: var(--teal-500); }
.btn-invert { background: #fff; color: var(--teal-800); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn.full { display: block; text-align: center; }

/* ── Navegación ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--teal-700); }
.nav-login { color: var(--teal-700) !important; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(700px 400px at 85% -10%, var(--teal-100), transparent),
    radial-gradient(500px 300px at -10% 40%, #e0f2fe, transparent),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center; padding: 72px 24px 84px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--teal-800);
  background: var(--teal-100);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; }
h1 .accent {
  background: linear-gradient(120deg, var(--teal-600), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 20px; font-size: 19px; color: var(--ink-soft); max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-faint); }

.hero-visual { position: relative; justify-self: center; }
.phone {
  width: 290px;
  border-radius: 36px;
  padding: 10px;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgb(15 23 42 / 0.45);
}
.phone img { border-radius: 28px; }
.hero-chip {
  position: absolute;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 12px 24px -12px rgb(15 23 42 / 0.25);
  white-space: nowrap;
}
.chip-1 { top: 12%; left: -110px; }
.chip-2 { bottom: 14%; right: -80px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 24px 56px; }
  .hero-visual { margin-top: 8px; }
  .hero-chip { display: none; }
}

/* ── Strip normativo ── */
.strip { background: var(--teal-900); color: var(--teal-100); }
.strip-inner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 16px 24px; font-size: 14px;
}
.strip ul { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.strip strong { color: #fff; }

/* ── Secciones ── */
.section { padding: 88px 0; }
.section-tinted { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: -0.02em; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 18px; max-width: 62ch; margin: 14px auto 0; }
.section-sub.left { text-align: left; margin-left: 0; }

/* ── Cards de funciones ── */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 48px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  font-size: 26px; border-radius: 14px;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ── Portal ── */
.portal-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 56px; align-items: center;
}
.portal-grid h2, .portal-grid .section-sub { text-align: left; }
.phone-static { justify-self: center; }
.checks { list-style: none; margin: 26px 0 30px; display: grid; gap: 14px; }
.checks li {
  padding-left: 34px; position: relative; color: var(--ink-soft); font-size: 16px;
}
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--teal-600); color: #fff;
  border-radius: 8px; font-size: 14px; font-weight: 800;
}
@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; }
  .phone-static { order: 2; }
}

/* ── Precios ── */
.plans {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 48px; align-items: stretch;
}
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.plan h3 { font-size: 17px; }
.price { font-size: 40px; font-weight: 900; margin: 10px 0 16px; letter-spacing: -0.02em; }
.price span { font-size: 15px; font-weight: 600; color: var(--ink-faint); }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; color: var(--ink-soft); font-size: 15px; flex: 1; }
.plan ul li::before { content: "· "; color: var(--teal-600); font-weight: 900; }
.plan-featured {
  border: 2px solid var(--teal-600);
  box-shadow: var(--shadow);
  position: relative;
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal-600); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .03em;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 980px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 36px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq details[open] summary { color: var(--teal-700); }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }

/* ── CTA final ── */
.cta-final {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #fff; text-align: center; padding: 80px 24px;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: var(--teal-100); font-size: 18px; margin: 12px 0 28px; }

/* ── Footer ── */
.footer { background: var(--ink); color: var(--ink-faint); padding: 40px 0; font-size: 14px; }
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.brand-footer { color: #fff; font-size: 17px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer a { color: var(--ink-faint); text-decoration: none; }
.footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
