/* estilola.com — hora dorada: crepúsculo violeta, durazno, coral y verde de colina */

:root {
  --o-noche: #1e1530;
  --o-noche-2: #261b3b;
  --o-malva: #33244d;
  --o-malva-2: #3f2c5c;
  --o-borde: rgba(255, 196, 160, 0.18);
  --o-borde-2: rgba(255, 196, 160, 0.34);
  --o-texto: #f6ebe4;
  --o-tenue: #c9b6c4;
  --o-blanco: #ffffff;

  --o-durazno: #ffb98a;
  --o-coral: #ff7a59;
  --o-coral-hondo: #e85c3d;
  --o-ambar: #ffd27a;
  --o-tinta: #3a1606;
  --o-oliva: #8fb46a;
  --o-oliva-hondo: #5f8a3c;

  --o-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --o-texto-f: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;

  --o-ancho: 1180px;
  --o-pad: clamp(1rem, 4vw, 2.4rem);
  --o-barra: 70px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--o-barra) + 18px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -5%, rgba(255, 122, 89, 0.18), transparent 70%),
    linear-gradient(180deg, var(--o-noche-2) 0, var(--o-noche) 40%, #170f26 100%);
  background-color: var(--o-noche);
  color: var(--o-texto);
  font-family: var(--o-texto-f);
  font-size: 1.06rem;
  line-height: 1.74;
}

body.sl-quieto { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--o-ambar); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }

.sl-salto {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 900;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--o-ambar);
  color: var(--o-tinta);
  font-weight: 800;
  text-decoration: none;
}
.sl-salto:focus { top: 12px; }

.sl-marco { width: min(100% - 2 * var(--o-pad), var(--o-ancho)); margin-inline: auto; }

/* ---------- botones ---------- */

.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.55rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--o-texto-f);
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-size: 200% 100%;
  background-position: 0 0;
  transition: background-position 0.35s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.sl-btn:active { transform: translateY(1px); }

.sl-btn--sol {
  background-image: linear-gradient(100deg, var(--o-ambar), var(--o-coral) 50%, var(--o-coral-hondo));
  color: var(--o-tinta);
  box-shadow: 0 12px 26px -12px rgba(255, 122, 89, 0.95);
}
.sl-btn--sol:hover { background-position: 100% 0; box-shadow: 0 0 0 4px rgba(255, 210, 122, 0.2), 0 14px 28px -12px rgba(255, 122, 89, 1); }

.sl-btn--cielo { background: rgba(255, 255, 255, 0.06); color: var(--o-durazno); box-shadow: inset 0 0 0 2px var(--o-durazno); }
.sl-btn--cielo:hover { background: var(--o-durazno); color: var(--o-tinta); }

.sl-btn--xl { min-height: 56px; padding: 0.9rem 2rem; font-size: 1.02rem; }

/* ---------- barra superior ---------- */

.sl-barra {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(30, 21, 48, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--o-borde);
}
.sl-barra::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--o-coral), var(--o-ambar), transparent);
  opacity: 0.6;
}
.sl-barra__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--o-barra);
  width: min(100% - 2 * var(--o-pad), var(--o-ancho));
  margin-inline: auto;
}

.sl-firma { display: inline-flex; align-items: center; gap: 0.55rem; flex-shrink: 0; color: var(--o-blanco); text-decoration: none; }
.sl-firma::before {
  content: "";
  width: 30px;
  height: 15px;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, var(--o-ambar), var(--o-coral));
  box-shadow: 0 4px 0 -2px var(--o-oliva);
}
.sl-firma__a { font-family: var(--o-titulo); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.01em; }
.sl-firma__b { color: var(--o-durazno); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

.sl-enlaces { margin-left: auto; }
.sl-enlaces ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.sl-enlaces__a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.6rem;
  color: var(--o-tenue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sl-enlaces__a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--o-coral);
  transform: scale(0);
  transition: transform 0.2s ease;
}
.sl-enlaces__a:hover,
.sl-enlaces__a[aria-current="true"] { color: var(--o-blanco); }
.sl-enlaces__a:hover::after,
.sl-enlaces__a[aria-current="true"]::after { transform: scale(1); }

.sl-barra__cta { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.9rem; white-space: nowrap; }

.sl-abre {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--o-malva-2);
  color: var(--o-blanco);
  font-family: var(--o-texto-f);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.sl-abre__ico { position: relative; width: 16px; height: 2px; border-radius: 2px; background: var(--o-durazno); }
.sl-abre__ico::before,
.sl-abre__ico::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: var(--o-durazno); }
.sl-abre__ico::before { top: -5px; }
.sl-abre__ico::after { top: 5px; }

/* hoja inferior móvil */

.sl-sheet { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; background: rgba(12, 7, 20, 0.62); }
.sl-sheet[hidden] { display: none; }
.sl-sheet__in {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 88dvh;
  padding: 0.7rem var(--o-pad) calc(1.2rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: linear-gradient(180deg, var(--o-malva), var(--o-noche));
  border-top: 2px solid var(--o-coral);
  border-radius: 28px 28px 0 0;
  animation: sl-sube 0.28s ease;
}
@keyframes sl-sube { from { transform: translateY(100%); } to { transform: none; } }
.sl-sheet__in::before { content: ""; align-self: center; width: 52px; height: 5px; margin-bottom: 0.4rem; border-radius: 5px; background: var(--o-borde-2); }
.sl-sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 0.6rem; }
.sl-sheet__x {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--o-malva-2);
  color: var(--o-blanco);
  cursor: pointer;
}
.sl-sheet__l { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.sl-sheet__a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--o-borde-2);
  color: var(--o-blanco);
  font-weight: 700;
  text-decoration: none;
}
.sl-sheet__a:hover { background: var(--o-durazno); color: var(--o-tinta); }
.sl-sheet__ctas { display: grid; gap: 0.65rem; margin-top: 1.3rem; }

/* ---------- portada ---------- */

.sl-banner { padding-bottom: clamp(2rem, 4vw, 3.4rem); }
.sl-banner__img { position: relative; margin: 0; }
.sl-banner__img img { width: 100%; height: clamp(320px, 62vh, 640px); object-fit: cover; object-position: 50% 30%; }
.sl-banner__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 21, 48, 0) 45%, var(--o-noche) 100%); }
.sl-banner__tarjeta {
  position: relative;
  max-width: 820px;
  margin: clamp(-9rem, -14vw, -4rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(63, 44, 92, 0.94), rgba(30, 21, 48, 0.96));
  border: 1px solid var(--o-borde-2);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.95);
  text-align: center;
}
.sl-banner__tarjeta::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 120px;
  height: 3px;
  margin-left: -60px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--o-ambar), var(--o-coral));
}
.sl-h1 {
  margin: 0 0 1.1rem;
  color: var(--o-blanco);
  font-family: var(--o-titulo);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}
.sl-banner__tarjeta p { color: var(--o-texto); }
.sl-banner__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 1.5rem; }

/* ---------- secciones ---------- */

.sl-columna { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.6rem, 5vw, 4rem); max-width: 940px; padding-bottom: clamp(3rem, 6vw, 5rem); }
.sl-columna > * { min-width: 0; }

.sl-sec__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1rem; align-items: center; margin-bottom: 1.1rem; }
.sl-sec__tag {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 70%, var(--o-ambar), var(--o-coral) 70%);
  color: var(--o-tinta);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 0 6px rgba(255, 122, 89, 0.14);
}
.sl-h2 {
  margin: 0;
  color: var(--o-blanco);
  font-family: var(--o-titulo);
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}
.sl-sec__head::after { content: ""; grid-column: 1 / -1; height: 1px; margin-top: 0.6rem; background: linear-gradient(90deg, var(--o-coral), var(--o-borde) 40%, transparent); }

.sl-sec__main > :last-child,
.sl-capa > :last-child { margin-bottom: 0; }

.sl-capa {
  margin-top: 1.4rem;
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 185, 138, 0.09), rgba(255, 185, 138, 0.02));
  border: 1px solid var(--o-borde);
}
.sl-sec__main > .sl-capa:first-child { margin-top: 0; }
.sl-h3 {
  margin: 0 0 0.7rem;
  color: var(--o-durazno);
  font-family: var(--o-texto-f);
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem);
  font-weight: 800;
  line-height: 1.3;
}

.sl-cta { margin: 1.6rem 0 0.3rem; }

/* tablas */

.sl-grid {
  margin: 1.1rem 0;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--o-borde-2);
  background: rgba(23, 15, 38, 0.7);
  -webkit-overflow-scrolling: touch;
}
.sl-grid table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.sl-grid--ancha table { min-width: 560px; }
.sl-grid thead th {
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(255, 122, 89, 0.3), rgba(255, 210, 122, 0.16));
  color: var(--o-blanco);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
  letter-spacing: 0.04em;
}
.sl-grid tbody th,
.sl-grid tbody td,
.sl-grid tfoot th,
.sl-grid tfoot td { padding: 0.72rem 1rem; text-align: left; vertical-align: top; }
.sl-grid tbody tr + tr > * { border-top: 1px solid var(--o-borde); }
.sl-grid tbody th { color: var(--o-durazno); font-weight: 700; }
.sl-grid tbody tr:hover { background: rgba(255, 185, 138, 0.07); }
.sl-grid tfoot { background: var(--o-oliva); }
.sl-grid tfoot th,
.sl-grid tfoot td { color: #142008; font-weight: 800; }

/* listas */

.sl-marcas { display: grid; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sl-marcas li { position: relative; padding-left: 1.7rem; line-height: 1.6; }
.sl-marcas li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0.1rem;
  width: 0.85rem;
  height: 0.43rem;
  border-radius: 0.85rem 0.85rem 0 0;
  background: linear-gradient(180deg, var(--o-ambar), var(--o-coral));
}

.sl-ruta { position: relative; display: grid; gap: 0.55rem; margin: 0 0 1.1rem; padding: 0; list-style: none; counter-reset: sl-r; }
.sl-ruta li {
  position: relative;
  min-height: 44px;
  padding: 0.6rem 0.9rem 0.6rem 3.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  counter-increment: sl-r;
  line-height: 1.45;
}
.sl-ruta li::before {
  content: counter(sl-r);
  position: absolute;
  top: 50%;
  left: 0.45rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border-radius: 50%;
  background: var(--o-oliva);
  color: #142008;
  font-size: 0.9rem;
  font-weight: 800;
}

/* preguntas */

.sl-qa { display: grid; gap: 0.7rem; }
.sl-qa__it { border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--o-borde); }
.sl-qa__it[open] { border-color: var(--o-coral); background: rgba(255, 122, 89, 0.07); }
.sl-qa__s { display: flex; align-items: center; gap: 0.9rem; min-height: 60px; padding: 0.9rem 1.2rem; list-style: none; cursor: pointer; }
.sl-qa__s::-webkit-details-marker { display: none; }
.sl-qa__s::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2.5px solid var(--o-durazno);
  border-bottom: 2.5px solid var(--o-durazno);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease;
}
.sl-qa__it[open] .sl-qa__s::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--o-coral); }
.sl-qa__n { flex-shrink: 0; color: var(--o-oliva); font-weight: 800; }
.sl-qa__q { margin: 0; color: var(--o-blanco); font-family: var(--o-texto-f); font-size: 1.03rem; font-weight: 700; line-height: 1.4; }
.sl-qa__r { padding: 0 1.2rem 1.2rem calc(1.2rem + 1.4rem + 0.9rem); }
.sl-qa__r p { margin: 0; }

/* ---------- pie ---------- */

.sl-pie { position: relative; background: #140d20; border-top: 1px solid var(--o-borde); }
.sl-pie::before { content: ""; position: absolute; top: -60px; left: 50%; width: 120px; height: 60px; margin-left: -60px; border-radius: 120px 120px 0 0; background: linear-gradient(180deg, rgba(255, 210, 122, 0.35), rgba(255, 122, 89, 0.05)); pointer-events: none; }
.sl-pie__rej { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 2rem; align-items: start; padding: 2.8rem 0 1.6rem; }
.sl-pie__edad { display: flex; align-items: center; gap: 0.7rem; margin: 1rem 0 0; color: var(--o-tenue); font-size: 0.93rem; }
.sl-edad { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--o-coral); color: var(--o-coral); font-size: 0.8rem; font-weight: 800; }
.sl-pie__nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.1rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.sl-pie__nav a { display: inline-block; padding: 0.4rem 0; color: var(--o-texto); font-weight: 600; text-decoration: none; }
.sl-pie__nav a:hover { color: var(--o-durazno); }
.sl-pie__btns { display: grid; gap: 0.7rem; }
.sl-pie__copy { margin: 0; padding: 1rem 0 1.6rem; border-top: 1px solid var(--o-borde); color: var(--o-tenue); font-size: 0.88rem; }

.sl-subir {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--o-ambar), var(--o-coral));
  color: var(--o-tinta);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.sl-subir.sl-subir--ver { opacity: 1; visibility: visible; }

/* ---------- adaptación ---------- */

@media (max-width: 1180px) {
  .sl-enlaces { display: none; }
  .sl-abre { display: inline-flex; }
  .sl-barra__cta { margin-left: auto; }
}

@media (max-width: 900px) {
  .sl-pie__rej { grid-template-columns: minmax(0, 1fr); }
  .sl-pie__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  :root { --o-barra: 62px; }
  body { font-size: 1rem; }
  .sl-firma__b { display: none; }
  .sl-abre__label { display: none; }
  .sl-abre { width: 46px; padding: 0; justify-content: center; }
  .sl-barra__cta { padding: 0.5rem 0.85rem; font-size: 0.84rem; }
  .sl-banner__img img { height: 58vw; min-height: 240px; }
  .sl-banner__tarjeta { margin-top: -2.5rem; border-radius: 24px; text-align: left; }
  .sl-banner__btns { justify-content: stretch; }
  .sl-banner__btns .sl-btn,
  .sl-cta .sl-btn { width: 100%; }
  .sl-capa { padding: 1rem; }
  .sl-ruta li { border-radius: 18px; }
  .sl-qa__r { padding-left: 1.2rem; }
}
