/* Páginas por giro (awebomx.com/dentistas, /estilistas…).
   Misma marca que la portada: cantera y ocre de Zacatecas, fondo oscuro donde
   se vende y claro donde se explica. */
:root {
  --tinta:    #141019;
  --cantera:  #C6395A;
  --cantera-cl: #E8617E;
  --ocre:     #B47A10;
  --ocre-cl:  #F2A93C;
  --hueso:    #EFE6DC;
  --humo:     #8E849A;

  --ground:   #F4EFEA;
  --texto:    #221B2C;
  --texto-2:  #5C5366;
  --linea:    #DED4CB;
  --tarjeta:  #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cantera:  #E8617E;
    --ocre:     #F2A93C;
    --ground:   #100D15;
    --texto:    #EFE6DC;
    --texto-2:  #A298AC;
    --linea:    #2C2436;
    --tarjeta:  #191320;
  }
}
:root[data-theme="dark"] {
  --cantera:  #E8617E;
  --ocre:     #F2A93C;
  --ground:   #100D15;
  --texto:    #EFE6DC;
  --texto-2:  #A298AC;
  --linea:    #2C2436;
  --tarjeta:  #191320;
}

* { box-sizing: border-box; }
body {
  background: var(--ground); color: var(--texto); margin: 0; line-height: 1.6;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ancho { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }
h1, h2 { font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
a { color: var(--cantera); }
a:focus-visible, .boton:focus-visible { outline: 2px solid var(--ocre-cl); outline-offset: 3px; }

/* ── Portada ─────────────────────────────────────────────────────────── */
.portada {
  background:
    radial-gradient(120% 80% at 10% 0%, #2A2036 0%, transparent 58%),
    radial-gradient(100% 70% at 100% 100%, #33203A 0%, transparent 55%),
    var(--tinta);
  color: var(--hueso); position: relative; overflow: hidden; padding: 2rem 0 3rem;
}
.portada::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-38deg, rgba(242, 169, 60, .06) 0 1px, transparent 1px 9px);
}
.portada .ancho { position: relative; }
.barra { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.logotipo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--hueso); text-decoration: none; }
.logotipo em { font-style: normal; color: var(--cantera-cl); }
.lugar { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--humo); font-weight: 700; }

.portada-rejilla { display: grid; gap: 2rem; align-items: center; }
.portada.con-foto .portada-rejilla { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.portada h1 { font-size: clamp(2rem, 5.6vw, 3.5rem); line-height: 1; margin: 0 0 1rem; }
.portada h1 em { font-style: normal; color: var(--cantera-cl); }
.promesa { font-size: clamp(1rem, 2.1vw, 1.15rem); color: #C4BBCE; max-width: 48ch; margin: 0 0 1.8rem; }
.foto {
  width: 100%; max-width: 20rem; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 1.2rem; justify-self: end;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .45);
  outline: 1px solid rgba(239, 230, 220, .12); outline-offset: -1px;
}
@media (max-width: 44rem) {
  .portada.con-foto .portada-rejilla { grid-template-columns: 1fr; }
  .foto { justify-self: start; max-width: 100%; aspect-ratio: 4 / 3; order: -1; }
}

.acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.boton {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--cantera-cl); color: #1A0C11; font-weight: 700; text-decoration: none;
  border-radius: .6rem; padding: .85rem 1.4rem; min-height: 3rem;
}
.boton svg { width: 1.2em; height: 1.2em; }
.boton:hover { background: #F0778F; }
.boton.fantasma-claro { background: transparent; color: var(--cantera); border: 1px solid var(--cantera); }
.boton.fantasma-claro:hover { background: var(--cantera); color: #fff; }

/* ── Secciones ───────────────────────────────────────────────────────── */
section { padding: 3rem 0; }
section.clara { background: var(--tarjeta); border-block: 1px solid var(--linea); }
.ojo { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--cantera); margin: 0 0 .6rem; }
section h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); margin: 0 0 1.2rem; line-height: 1.08; }
.nota { color: var(--texto-2); font-size: .92rem; max-width: 60ch; margin: 1.2rem 0 0; }

.hoy { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.hoy li {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.25; letter-spacing: -.01em;
  padding-left: 1.1rem; border-left: 3px solid var(--ocre); max-width: 40ch;
}

.funciones, .incluye { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.funciones { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: .9rem 1.6rem; }
.funciones li, .incluye li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; align-items: start; }
.funciones li svg, .incluye li svg { width: 1.2rem; height: 1.2rem; color: var(--ocre); margin-top: .2rem; }

.app-precio {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--linea);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.app-precio p { margin: 0; }

.bot .bot-texto {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem); line-height: 1.3; margin: 0; max-width: 42ch;
}

.precio-rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.4rem 2.5rem; align-items: start; }
.precio {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 6vw, 3rem);
  line-height: 1; color: var(--ocre); margin: 0; font-variant-numeric: tabular-nums;
}
.precio-sub { margin: .4rem 0 0; color: var(--texto-2); font-weight: 600; }

.cierre { background: var(--tinta); color: var(--hueso); position: relative; overflow: hidden; }
.cierre::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-38deg, rgba(242, 169, 60, .06) 0 1px, transparent 1px 9px);
}
.cierre .ancho { position: relative; }
.cierre .ojo { color: var(--cantera-cl); }
.cierre h2 { color: var(--hueso); max-width: 24ch; }

.otros { padding: 2.2rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a {
  text-decoration: none; color: var(--texto); font-size: .9rem; font-weight: 600;
  border: 1px solid var(--linea); border-radius: 2rem; padding: .4rem .9rem; background: var(--tarjeta);
}
.chips a:hover { border-color: var(--cantera); color: var(--cantera); }

footer { border-top: 1px solid var(--linea); padding: 1.6rem 0; font-size: .85rem; color: var(--texto-2); }
footer .ancho { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
footer a { color: var(--texto-2); text-decoration: none; }
