/* ==========================================================================
   JF STUDIO PRO · styles.css
   --------------------------------------------------------------------------
   ÍNDICE
   1. Variables (colores, tipografía, espaciado)  ← cambia aquí la identidad
   2. Reset y base
   3. Componentes: botones, glass, títulos
   4. Header
   5. Hero
   6. Quién soy
   7. Servicios
   8. Tarifas (pestañas, packs, extras)
   9. Comparativa
   10. Ventajas, proceso, FAQ
   11. CTA final y footer
   12. Botones flotantes
   13. Animaciones y accesibilidad
   ========================================================================== */

/* ---------- 1 · VARIABLES ---------- */
:root {
  --bg: #ffffff;              /* fondo blanco */
  --bg-2: #f6f3ee;            /* secciones alternas (blanco cálido) */
  --text: #0e0c0a;
  --muted: #5e5851;
  --soft: #3b3630;            /* texto de párrafos */
  --line: rgba(20, 14, 6, 0.1);
  --line-strong: rgba(20, 14, 6, 0.2);

  /* Paleta tomada del logo: sol rojo → naranja → amarillo sobre carbón */
  --accent: #ff6a00;          /* naranja del sol */
  --accent-hi: #e04f00;       /* naranja oscuro: texto e iconos legibles sobre blanco */
  --gold: #b45f00;            /* ámbar oscuro para etiquetas (el amarillo puro no se lee sobre blanco) */
  --sun: linear-gradient(90deg, #ff1a00 0%, #ff7a00 55%, #ffc400 100%);
  --on-accent: #0b0b0b;       /* texto sobre el degradado del sol */

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(40, 24, 8, 0.28);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 11vw, 144px);
  --header-h: 68px;
  color-scheme: light;
}

/* ---------- 2 · RESET Y BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 8px; }

.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120;
  background: var(--sun);
  transform-origin: left; transform: scaleX(0);
}

/* ---------- 3 · COMPONENTES ---------- */
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
.title {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 1; text-transform: lowercase;
  margin-top: 14px;
}
/* El punto rojo final, como en tus tarifarios */
.dotted::after { content: "."; color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 56ch; margin-top: 18px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid rgba(20, 14, 6, 0.04); }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }

.glass {
  background: linear-gradient(180deg, #ffffff, #fbfaf8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: var(--shadow), inset 0 1px 0 #ffffff;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease), color 0.3s;
}
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1rem; }
.btn--primary {
  background: var(--sun); background-origin: border-box; color: var(--on-accent);
  box-shadow: 0 10px 30px -10px rgba(255, 106, 0, 0.7);
}
.btn--primary:hover { filter: brightness(1.08) saturate(1.05); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 138, 42, 0.8); }
.btn--ghost { background: rgba(20, 14, 6, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(20, 14, 6, 0.1); border-color: rgba(20, 14, 6, 0.35); transform: translateY(-2px); }

/* ---------- 4 · HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 40px; width: auto; }
.logo__txt { display: grid; gap: 5px; line-height: 1; }
.logo__txt b { font-size: 1.08rem; font-weight: 800; letter-spacing: 0.04em; background: linear-gradient(90deg, #f2a100, #ff5a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__txt span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.62em; color: #f4543c; padding-left: 2px; }
.nav { display: none; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 0.88rem; color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav a:hover, .nav a[aria-current] { color: var(--text); background: rgba(20, 14, 6, 0.07); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- 5 · HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 9vh, 96px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero__photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s var(--ease); transform: scale(1.04);
}
.hero__photo.is-loaded { opacity: 0.85; }
/* Luz de ventana cálida (se ve cuando no hay foto y se mezcla con ella si la hay) */
.hero__light {
  position: absolute; inset: -25% -10%;
  background:
    radial-gradient(90% 70% at 85% 5%, rgba(255, 170, 40, 0.22), transparent 62%),
    radial-gradient(70% 60% at 5% 100%, rgba(255, 106, 0, 0.1), transparent 62%),
    repeating-linear-gradient(112deg, transparent 0 150px, rgba(255, 140, 40, 0.07) 150px 164px, transparent 164px 360px),
    repeating-linear-gradient(0deg, transparent 0 190px, rgba(255, 140, 40, 0.045) 190px 200px);
  -webkit-mask-image: linear-gradient(180deg, #000 15%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 15%, transparent 88%);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.7) 0%, rgb(255 255 255 / 0.15) 35%, rgb(255 255 255 / 0.95) 100%),
    linear-gradient(90deg, rgb(255 255 255 / 0.8), transparent 70%);
}
.scribble {
  position: absolute; z-index: -1; right: clamp(10px, 5vw, 110px); top: calc(var(--header-h) + clamp(70px, 13vh, 150px));
  width: clamp(170px, 28vw, 380px); height: auto; opacity: 0.9;
}
.scribble path { stroke: url(#sun-grad); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s 0.3s var(--ease) forwards; }
.scribble path:nth-child(2) { animation-delay: 0.7s; opacity: 0.7; }

.hero__sun {
  position: absolute; z-index: -1; pointer-events: none;
  right: clamp(24px, 9vw, 170px); top: calc(var(--header-h) + clamp(20px, 5vh, 60px));
  width: clamp(96px, 17vw, 250px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 120px 24px rgba(255, 106, 0, 0.3);
  animation: sunrise 1.6s 0.2s var(--ease) both;
}
.hero__content { position: relative; }
.hero__eyebrow { color: var(--gold); }
.hero__title {
  margin-top: 20px;
  font-size: clamp(2.6rem, 8.4vw, 6.4rem);
  font-weight: 900; letter-spacing: -0.055em; line-height: 0.92;
}
.hero__line { display: block; }
.hero__line.is-accent { width: fit-content; padding-bottom: 0.14em; margin-bottom: -0.14em; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not (background-clip: text) { .hero__line.is-accent { color: var(--accent); background: none; } }
.hero__subtitle { margin-top: 28px; max-width: 54ch; color: var(--soft); font-size: clamp(1rem, 1.7vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 720px; }
.hero__facts li { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.hero__scroll { display: none; position: absolute; left: 50%; margin-left: -14px; bottom: 32px; width: 28px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 2s infinite; }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* Hero con entrada escalonada */
.js .hero__eyebrow, .js .hero__subtitle, .js .hero__actions, .js .hero__facts, .js .hero__line {
  opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease) forwards;
}
.js .hero__eyebrow { animation-delay: 0.1s; }
.js .hero__line:nth-child(1) { animation-delay: 0.2s; }
.js .hero__line:nth-child(2) { animation-delay: 0.32s; }
.js .hero__subtitle { animation-delay: 0.5s; }
.js .hero__actions { animation-delay: 0.62s; }
.js .hero__facts { animation-delay: 0.78s; }

/* ---------- 6 · QUIÉN SOY ---------- */
.about__grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; } }
.about__media {
  position: relative; display: grid; place-items: center; margin: 0;
  aspect-ratio: 4 / 5; max-width: 100%;
}
.about__logo { width: min(78%, 320px); height: auto; margin-inline: auto; }
.about__media.has-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.about__media.has-img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { margin-top: 28px; display: grid; gap: 16px; color: var(--soft); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 58ch; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.about__facts li { padding: 18px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(20, 14, 6, 0.03); display: grid; gap: 2px; }
.about__facts strong { font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.about__facts span { font-size: 0.76rem; color: var(--muted); }

/* ---------- 7 · SERVICIOS ---------- */
.services { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.svc::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 0, 0.28), transparent); opacity: 0; transition: opacity 0.5s;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(255, 106, 0, 0.55); }
.svc:hover::before { opacity: 1; }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 106, 0, 0.09); border: 1px solid rgba(255, 106, 0, 0.22); color: var(--accent-hi); }
.svc__icon .icon { width: 26px; height: 26px; }
.svc__title { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 10px; }
.svc__desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc__from { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.svc__go { color: var(--accent-hi); transition: transform 0.4s var(--ease); }
.svc:hover .svc__go { transform: translateX(5px); }

/* ---------- 8 · TARIFAS ---------- */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px; margin: 0 calc(var(--gutter) * -1) 40px;
  padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; scroll-snap-align: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(20, 14, 6, 0.03); color: var(--muted);
  font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (min-width: 900px) { .tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

.panel { animation: fade 0.6s var(--ease); }
.gh { margin-bottom: clamp(28px, 4vw, 44px); }
.gh__eyebrow { font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.gh__title { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.95; text-transform: lowercase; margin-top: 10px; }
.gh__tagline { margin-top: 14px; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.gh__intro { margin-top: 16px; max-width: 62ch; color: var(--soft); }

.packs { display: grid; gap: 22px 16px; padding-top: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
@media (min-width: 640px) and (max-width: 999px) {
  .packs--4 { grid-template-columns: repeat(2, 1fr); }
  .packs--3 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (min-width: 880px) and (max-width: 999px) {
  .packs--3 { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
@media (min-width: 1000px) {
  .packs--3 { grid-template-columns: repeat(3, 1fr); }
  .packs--4 { grid-template-columns: repeat(4, 1fr); }
}
.pack {
  position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.pack:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.pack--popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.12), #ffffff 48%);
  box-shadow: 0 30px 70px -28px rgba(255, 106, 0, 0.45), inset 0 1px 0 #ffffff;
}
.pack--popular:hover { border-color: var(--accent-hi); }
.pack__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--sun); color: var(--on-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(255, 106, 0, 0.8);
}
.pack__name { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 12px; position: relative; }
.pack__name::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--accent); }
.price { display: flex; align-items: baseline; margin-top: 18px; line-height: 1; }
.price__num { font-size: clamp(3rem, 5vw, 3.9rem); font-weight: 900; letter-spacing: -0.06em; }
.price__cur { font-size: 1.6rem; font-weight: 800; margin-left: 2px; }
.price__unit { font-size: 1rem; font-weight: 700; margin-left: 4px; color: var(--muted); }
.pack__desc { margin-top: 14px; color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.pack__label { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.pack__list { margin: 10px 0 26px; display: grid; flex: 1; align-content: start; }
.pack__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(20, 14, 6, 0.06); font-size: 0.93rem; }
.pack__list li:last-child { border-bottom: 0; }
.pack__list .icon { color: var(--accent-hi); width: 20px; height: 20px; }
.pack__spacer { flex: 1; min-height: 12px; }
.pack__cta { width: 100%; margin-top: auto; }

.sub { margin-top: 48px; }
.sub:first-of-type { margin-top: 0; }
.sub__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 8px; }
.sub__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.sub__title strong { font-weight: 900; text-transform: uppercase; }
.sub__aud { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }

.addons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.addon { padding: 26px; }
.addon__title { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; padding-bottom: 10px; position: relative; }
.addon__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--accent); }
.addon__head p { margin-top: 12px; color: var(--muted); font-size: 0.85rem; }
.addon__list { margin-top: 16px; }
.addon__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(20, 14, 6, 0.07); }
.addon__list li:last-child { border-bottom: 0; }
.addon__list .icon { color: var(--accent-hi); width: 22px; height: 22px; }
.addon__name { flex: 1; font-size: 0.95rem; }
.addon__price { font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.addons__cta { display: flex; justify-content: center; margin-top: 32px; }
.note { margin-top: 40px; text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ---------- 9 · COMPARATIVA ---------- */
.cmp__sub { margin: 40px 0 14px; }
.panel > .cmp__sub:first-child { margin-top: 0; }
.cmp-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
  contain: paint; /* evita desbordes horizontales de la página en móvil */
}
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; font-size: 0.92rem; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid rgba(20, 14, 6, 0.07); vertical-align: middle; }
.cmp thead th { padding-top: 34px; padding-bottom: 22px; position: relative; }
.cmp tbody th[scope="row"], .cmp thead .cmp__corner {
  text-align: left; font-weight: 500; color: var(--muted);
  position: sticky; left: 0; z-index: 1; background: #ffffff; min-width: 150px; max-width: 220px;
}
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 1px solid rgba(20, 14, 6, 0.07); }
.cmp tfoot td { border-bottom: 0; padding-block: 20px; }
.cmp__name { display: block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.cmp__price { display: block; margin-top: 6px; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.cmp__price small { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.cmp__badge {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--on-accent); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.cmp .is-pop { background: rgba(255, 106, 0, 0.09); }
.cmp td { color: var(--text); }
.cmp__yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 106, 0, 0.16); color: var(--accent-hi); }
.cmp__yes .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.cmp__no { color: rgba(20, 14, 6, 0.25); }

/* ---------- 10 · VENTAJAS, PROCESO, FAQ ---------- */
.why { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.why__item { display: flex; gap: 18px; padding: 26px; transition: transform 0.5s var(--ease), border-color 0.4s; }
.why__item:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.why__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 106, 0, 0.14); color: var(--accent-hi); }
.why__item h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.why__item p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }

.steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 1px; background: linear-gradient(var(--line-strong), transparent); }
.step:last-child::before { display: none; }
.step__icon { position: relative; grid-row: span 2; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(20, 14, 6, 0.04); color: var(--accent-hi); }
.step__icon .icon { width: 26px; height: 26px; }
.step__n { position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; background: var(--sun); color: var(--on-accent); border-radius: 999px; padding: 3px 7px; }
.step h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; align-self: end; }
.step p { color: var(--muted); font-size: 0.93rem; margin-top: 4px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 0; }
  .step__icon { grid-row: auto; margin-bottom: 20px; }
  .step::before { left: calc(50% + 44px); right: calc(-50% + 44px - 20px); top: 32px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
  .step h3 { align-self: auto; }
}

.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; transition: border-color 0.4s; }
.faq__item.is-open { border-color: var(--line-strong); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; border-radius: 20px; }
.faq__chev { width: 22px; height: 22px; color: var(--accent-hi); transition: transform 0.45s var(--ease); }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; color: var(--muted); max-width: 64ch; }

/* ---------- 11 · CTA FINAL Y FOOTER ---------- */
.cta { position: relative; isolation: isolate; padding-block: clamp(80px, 13vw, 170px); text-align: center; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 106, 0, 0.15), transparent 70%),
    radial-gradient(50% 60% at 90% 100%, rgba(255, 170, 40, 0.14), transparent 70%);
}
.cta__inner { display: grid; justify-items: center; gap: 8px; }
.cta__title { font-size: clamp(2rem, 6.4vw, 5rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1; max-width: 16ch; text-wrap: balance; }
.cta .lead { margin-bottom: 26px; }

.footer { background: #f5f5f7; color: #6e6e73; font-size: 0.8rem; line-height: 1.5; padding-block: 20px 88px; }
.footer a { color: inherit; }
.footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.footer__note { padding-bottom: 16px; border-bottom: 1px solid #d2d2d7; }
.footer__note a { color: var(--gold); }
.footer__note a:hover { color: var(--accent-hi); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-block: 26px; }
.footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 52px; height: auto; flex: none; }
.footer__brand p { color: #1d1d1f; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; max-width: 22ch; line-height: 1.35; }
.footer__col h2 { color: #1d1d1f; font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.footer__col ul { display: grid; gap: 7px; }
.footer__col li { min-width: 0; overflow-wrap: anywhere; }
.footer__col li[hidden] { display: none; }
@media (min-width: 900px) {
  .footer__cols { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 24px 40px; }
  .footer__brand { grid-column: auto; align-items: flex-start; flex-direction: column; gap: 12px; }
}
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 16px; border-top: 1px solid #d2d2d7; }

/* ---------- 12 · BOTONES FLOTANTES ---------- */
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right)); z-index: 90;
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.fab .icon { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab--wa { bottom: max(18px, env(safe-area-inset-bottom)); background: #1fa855; color: #fff; }
.fab--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: pulse 2.6s infinite; }
.fab--top { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 66px); width: 46px; height: 46px; right: calc(max(18px, env(safe-area-inset-right)) + 4px); background: rgb(255 255 255 / 0.92); border: 1px solid var(--line-strong); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.4s var(--ease); }
.fab--top .icon { width: 20px; height: 20px; }

.noscript { padding: 16px var(--gutter); text-align: center; background: var(--accent); color: var(--on-accent); }

/* ---------- 13 · ANIMACIONES Y ACCESIBILIDAD ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Los hover de las tarjetas necesitan transiciones propias tras aparecer */
.js .pack.reveal.is-visible, .js .svc-wrap.reveal.is-visible { transition-delay: 0s; }
.js .pack.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease); transition-delay: var(--d, 0s); }
.js .pack.reveal.is-visible:hover { transform: translateY(-6px); transition-delay: 0s; transition-duration: 0.5s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes sunrise { from { opacity: 0; transform: translateY(36px) scale(0.94); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(3%, 2%, 0); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

@media (max-width: 560px) {
  .hero__sun { width: 84px; right: 20px; top: calc(var(--header-h) + 14px); }
  .about__facts { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .header__cta { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__eyebrow, .js .hero__subtitle, .js .hero__actions, .js .hero__facts, .js .hero__line { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}

@media (forced-colors: active) {
  .btn, .tab, .pack, .svc { border: 1px solid CanvasText; }
}
