/* Fraunces autoalojada (variable, subset latin) — 1 fichero, sin peticiones a terceros */
  @font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/fraunces-latin.woff2) format('woff2');
  }
  :root {
    --bg: #faf8f4; --ink: #1c1917; --muted: #7a7166;
    --terracotta: #b8422e; --terracotta-2: #d96a4a;
    --green: #16a34a; --amber: #f59e0b; --red: #dc2626;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg); color: var(--ink); overflow-x: hidden;
  }
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }

  /* Blobs */
  .blob { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; }
  .b1 { width: 480px; height: 480px; top: -160px; left: -140px; background: radial-gradient(circle, rgba(22,163,74,0.18), transparent 70%); }
  .b2 { width: 420px; height: 420px; top: 8%; right: -160px; background: radial-gradient(circle, rgba(245,158,11,0.14), transparent 70%); }
  .b3 { width: 460px; height: 460px; bottom: -180px; left: 30%; background: radial-gradient(circle, rgba(184,66,46,0.12), transparent 70%); }

  /* Header */
  header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: rgba(250,248,244,0.75); border-bottom: 1px solid rgba(28,25,23,0.05); }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; max-width: 1100px; margin: 0 auto; }
  .logo { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
  .logo em { font-style: normal; background: linear-gradient(120deg, var(--terracotta), var(--terracotta-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .logo-dot { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(from 0deg, #16a34a, #84cc16, #f59e0b, #16a34a); animation: spin 6s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .nav-links { display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--muted); }
  .nav-links a { text-decoration: none; color: var(--muted); }
  .nav-links a:hover { color: var(--ink); }
  .btn {
    border: none; cursor: pointer; font-weight: 700; border-radius: 999px; padding: 13px 26px; font-size: 15px;
    text-decoration: none; display: inline-block; transition: transform .15s;
  }
  .btn:active { transform: scale(.97); }
  .btn-primary { background: linear-gradient(135deg, var(--terracotta), var(--terracotta-2)); color: #fff; box-shadow: 0 8px 20px rgba(184,66,46,.16); }
  .btn-ghost { background: rgba(255,255,255,.85); color: var(--terracotta); border: 1.5px solid rgba(184,66,46,.25); }

  /* Hero */
  .hero { display: grid; grid-template-columns: 1.14fr 0.86fr; gap: 36px; align-items: center; padding: 70px 0 60px; }
  .hero-visual { position: relative; display: flex; justify-content: center; }
  .eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: rgba(22,163,74,.09); border: 1px solid rgba(22,163,74,.18); padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
  h1 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-size: clamp(36px, 5vw, 59px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }
  h1 .grad { background: linear-gradient(120deg, var(--terracotta), var(--terracotta-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .sub { font-size: 17.5px; line-height: 1.55; color: #6d6459; margin: 20px 0 28px; max-width: 520px; }
  .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .proof { display: flex; gap: 6px; margin-top: 22px; font-size: 12px; color: var(--muted); align-items: center; flex-wrap: wrap; }
  .proof .chip { background: rgba(255,255,255,.92); border: 1px solid rgba(28,25,23,.14); padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; color: #655c52; }


  /* Foto real del hero (círculo con marco blanco) */
  .hero-photo {
    position: absolute; right: -66px; top: -36px; z-index: 1;
    width: 252px; height: 252px; border-radius: 50%; overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 34px 68px rgba(60,45,30,.22), 0 10px 22px rgba(60,45,30,.10);
  }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; filter: saturate(1.05) contrast(1.02); }
  /* El sangrado solo es seguro cuando el contenedor tiene margen: por debajo de 1232px la foto se mete dentro */
  @media (max-width: 1232px) and (min-width: 981px) {
    .hero-photo { right: -6px; top: -30px; width: 214px; height: 214px; }
  }
  @media (max-width: 980px) { .hero-photo { display: none; } }

  /* Phone mockup — actualizado al diseño actual (dos anillos, producto arriba, veredicto) */
  .phone { position: relative; width: 290px; margin: 0 auto; isolation: isolate; z-index: 2; }
  .phone::after { /* sombra ambiental en el suelo */
    content: ""; position: absolute; left: 8%; right: 8%; bottom: -34px; height: 46px; z-index: -1;
    background: radial-gradient(ellipse at center, rgba(60,45,30,.30), transparent 68%); filter: blur(8px);
  }
  .phone-frame {
    position: relative; background: #111; border-radius: 46px; padding: 12px; overflow: hidden;
    box-shadow: 0 60px 120px rgba(60,45,30,.30), 0 24px 48px rgba(60,45,30,.12), 0 6px 16px rgba(60,45,30,.08);
    border: 1px solid rgba(255,255,255,.18);
  }
  .phone-frame::before { /* Dynamic Island */
    content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 88px; height: 24px; border-radius: 999px; background: #000; z-index: 4;
  }
  .phone-frame::after { /* reflejo de cristal */
    content: ""; position: absolute; inset: 0; border-radius: 46px; z-index: 3; pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 68%, rgba(255,255,255,.05) 100%);
  }
  .phone-screen { background: var(--bg); border-radius: 36px; padding: 28px 14px 16px; height: 600px; display: flex; flex-direction: column; gap: 10px; }
  .ph-head { display: flex; justify-content: space-between; align-items: center; }
  .ph-logo { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
  .ph-logo em { font-style: normal; color: var(--terracotta); }
  .ph-gear { width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.9); border: 1px solid rgba(28,25,23,.08); display: flex; align-items: center; justify-content: center; font-size: 13px; }
  .ph-tag { font-size: 12px; color: var(--muted); font-weight: 600; }
  .ph-scan { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 30px rgba(60,45,30,.08); }
  .ph-scan .row { display: flex; gap: 8px; }
  .ph-input { flex: 1; border: 1px solid rgba(28,25,23,.08); border-radius: 999px; padding: 10px 14px; font-size: 11px; background: rgba(255,255,255,.9); color: #8f8579; }
  .ph-btn { background: linear-gradient(135deg, var(--terracotta), var(--terracotta-2)); color: #fff; font-size: 11px; font-weight: 700; border: none; border-radius: 999px; padding: 10px 14px; }
  /* Producto arriba de los anillos */
  .ph-product { display: flex; align-items: center; gap: 10px; }
  .ph-product-img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; background: rgba(255,255,255,.8); border: 1px solid rgba(28,25,23,.05); flex-shrink: 0; }
  .ph-product-text { flex: 1; min-width: 0; }
  .ph-product-name { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ph-product-brand { font-size: 10px; color: var(--muted); }
  /* Dos anillos lado a lado */
  .ph-rings { display: flex; justify-content: center; gap: 10px; margin: 2px auto; }
  .ph-ring-box { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .ph-ring-caption { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .ph-ring-sm { width: 108px; height: 108px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; }
  .ph-ring-sm::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--green) 0%, rgba(22,163,74,.15) 60%, var(--green) 100%); animation: spin 12s linear infinite; box-shadow: 0 0 24px rgba(22,163,74,.22); }
  .ph-ring-sm::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: rgba(255,255,255,.95); }
  .ph-ring-inner { position: relative; z-index: 1; text-align: center; }
  .ph-ring-sm .ph-n { font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: var(--green); line-height: 1; }
  .ph-ring-sm .ph-l { display: inline-block; margin-top: 4px; font-size: 7px; font-weight: 700; color: #fff; background: var(--green); padding: 2px 7px; border-radius: 999px; }
  .ph-ring-personal { width: 116px; height: 116px; }
  .ph-ring-personal::after { inset: 9px; }
  .ph-ring-personal .ph-n { font-size: 32px; }
  .ph-ring-diff { text-align: center; font-size: 9px; font-weight: 800; color: #065f46; background: rgba(22,163,74,.12); padding: 3px 10px; border-radius: 999px; align-self: center; }
  .ph-name { text-align: center; font-size: 12.5px; font-weight: 700; }
  .ph-brand { text-align: center; font-size: 10.5px; color: var(--muted); }
  .ph-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .ph-m { background: rgba(255,255,255,.7); border: 1px solid rgba(28,25,23,.05); border-radius: 12px; padding: 7px; }
  .ph-m .k { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .ph-m .v { font-size: 11px; font-weight: 800; margin-top: 2px; }
  .ph-m .u { font-size: 8px; color: var(--muted); font-weight: 600; }
  .ph-verdict { display: flex; flex-direction: column; gap: 2px; }
  .ph-verdict-item { font-size: 9.5px; display: flex; gap: 4px; line-height: 1.3; }
  .ph-verdict-item.pros { color: #065f46; }
  .ph-verdict-item.cons { color: #991b1b; }

  /* Sections */
  section { padding: 70px 0 60px; position: relative; z-index: 2; }
  .sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
  .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
  h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }
  .sec-sub { color: var(--muted); font-size: 16px; margin-top: 12px; line-height: 1.5; }

  /* Steps */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step { background: rgba(255,255,255,.6); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.8); border-radius: 26px; padding: 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 44px rgba(60,45,30,.07); }
  .step .num { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--terracotta); }
  .step h3 { font-size: 19px; margin: 10px 0 8px; letter-spacing: -0.01em; }
  .step p { font-size: 14px; color: var(--muted); line-height: 1.55; }
  .step .ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(184,66,46,.09); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--terracotta); }

  /* Real data */
  .real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .real-card { background: rgba(255,255,255,.65); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.8); border-radius: 26px; padding: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 44px rgba(60,45,30,.07); }
  .real-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
  .real-card .name { font-size: 15.5px; font-weight: 700; }
  .real-card .thumb { width: 46px; height: 46px; border-radius: 14px; object-fit: contain; background: rgba(255,255,255,.8); border: 1px solid rgba(28,25,23,.05); flex-shrink: 0; }
  .real-card .head { display: flex; align-items: center; gap: 10px; }
  .score-big { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
  .real-card .data { font-size: 13px; color: var(--muted); line-height: 1.6; }
  .real-card .data b { color: var(--ink); }

  /* Features */
  .feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .feat {
    background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; padding: 24px;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .feat:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(60,45,30,.10); }
  .feat h3 { font-size: 16.5px; margin: 12px 0 6px; }
  .feat p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
  .feat .ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(184,66,46,.09); display: flex; align-items: center; justify-content: center; color: var(--terracotta); }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .chips span { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(28,25,23,.05); }

  /* CTA final */
  .final { text-align: center; padding: 70px 0; }
  .final h2 { max-width: 560px; margin: 0 auto; }
  .final p { color: var(--muted); margin: 14px auto 26px; max-width: 480px; font-size: 16px; }
  footer { border-top: 1px solid rgba(28,25,23,.06); padding: 26px 0 34px; text-align: center; color: var(--muted); font-size: 13px; position: relative; z-index: 2; }

  /* FAQ */
  .faq { max-width: 720px; margin: 0 auto; }
  .faq-item { background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 0 22px; margin-bottom: 12px; }
  .faq-item summary { list-style: none; cursor: pointer; font-size: 15.5px; font-weight: 700; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; font-size: 20px; font-weight: 700; color: var(--terracotta); transition: transform .2s; }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p { font-size: 14px; color: var(--muted); line-height: 1.6; padding-bottom: 18px; max-width: 620px; }

  /* Revelado al hacer scroll (solo con JS; si no, todo visible) */
  .js .step, .js .real-card, .js .feat, .js .faq-item { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
  .js .step.in, .js .real-card.in, .js .feat.in, .js .faq-item.in { opacity: 1; transform: none; }
  html { scroll-behavior: smooth; }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding: 30px 0 24px; text-align: center; }
    .sub { margin-left: auto; margin-right: auto; font-size: 15.5px; line-height: 1.5; margin: 16px 0 22px; }
    .cta-row, .proof { justify-content: center; }
    .proof { gap: 6px; margin-top: 18px; font-size: 12px; }
    .proof .chip { padding: 4px 10px; }
    .nav .btn { padding: 10px 18px; font-size: 13.5px; }
    .phone { order: 0; transform: scale(.78); margin-top: 26px; }
    .steps, .real, .feats { grid-template-columns: 1fr; }
    .nav-links { display: none; }
  }
