/* Tipografías alojadas en la propia web (no se pide nada a Google) */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/libre-baskerville-400.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/libre-baskerville-700.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/source-sans-3-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/source-sans-3-500.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/source-sans-3-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/source-sans-3-700.woff2') format('woff2'); }

  :root {
    --navy: #271a47;
    --navy-mid: #33265a;
    --gold: #c19a3b;
    --gold-light: #e2c984;
    --gold-deep: #8a1f3d;
    --cream: #f6f4f2;
    --paper: #ffffff;
    --ink: #231b33;
    --muted: #60586f;
    --line: rgba(39,26,71,.16);
    --tint-a: #efe7d2;
    --tint-b: #ece6f2;
    --tint-c: #f0e4e6;
    --f-display: 'Libre Baskerville', Georgia, serif;
    --f-body: 'Source Sans 3', system-ui, sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--f-body); font-size: 18px; line-height: 1.65; background: var(--cream); color: var(--ink); overflow-x: hidden; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

  /* NAV */
  nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; padding: 0 clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; background: var(--navy); border-bottom: 1px solid var(--gold); }
  .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
  .brand-mark { width: 40px; height: 40px; border: 1.5px solid var(--gold); border-radius: 2px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--gold); flex-shrink: 0; }
  .brand-text { font-family: var(--f-display); font-size: 21px; line-height: 1.1; font-weight: 700; letter-spacing: .01em; }
  .brand-text small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--gold-light); letter-spacing: .04em; margin-top: 2px; }
  .nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
  .nav-links a { display: block; padding: 8px 16px; color: rgba(255,255,255,.82); text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
  .nav-links a:hover { color: #fff; border-bottom-color: rgba(193,154,59,.6); }
  .nav-links a.active { color: #fff; border-bottom-color: var(--gold); }
  .nav-links a.nav-cta { background: var(--gold); color: var(--navy); font-weight: 600; margin-left: 12px; border: 0; border-radius: 2px; padding: 9px 22px; }
  .nav-links a.nav-cta:hover { background: var(--gold-light); }
  .burger { display: none; background: none; border: 1px solid var(--gold); border-radius: 2px; color: #fff; width: 46px; height: 46px; font-size: 22px; cursor: pointer; }

  main { padding-top: 76px; min-height: 80vh; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
  .section { padding: clamp(56px, 8vw, 96px) 0; }
  .section.dark { background: var(--navy); color: #fff; }
  h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; color: var(--navy); font-weight: 700; }
  .dark h1, .dark h2, .dark h3 { color: #fff; }
  h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
  h3 { font-size: 20px; }
  .lead { max-width: 62ch; color: var(--muted); font-size: 20px; }
  .dark .lead { color: rgba(255,255,255,.8); }
  .rule { width: 56px; height: 3px; background: var(--gold); margin: 18px 0 28px; }

  /* BUTTONS */
  .btn { display: inline-block; padding: 13px 30px; font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid var(--gold); border-radius: 2px; background: var(--gold); color: var(--navy); transition: background .2s, color .2s, border-color .2s; }
  .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
  .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
  .btn.ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
  .btn.ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
  .btn.ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
  .btn.small { padding: 9px 22px; font-size: 15px; }

  /* HERO */
  .hero { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(88px, 10vw, 130px); position: relative; overflow: hidden; border-bottom: 3px solid var(--gold); }
  .hero::before { content: ""; position: absolute; right: -170px; top: -150px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(193,154,59,.32); }
  .hero::after { content: ""; position: absolute; right: -90px; top: -70px; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(193,154,59,.2); }
  .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
  .hero-grid > div { max-width: 760px; }
  .hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.18; margin-bottom: 24px; }
  .hero p { font-size: 20px; color: rgba(255,255,255,.82); max-width: 50ch; margin-bottom: 34px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }


  /* VALUES */
  .values { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: -56px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 3px; box-shadow: 0 14px 30px rgba(39,26,71,.12); }
  .value { padding: 32px 30px; border-right: 1px solid var(--line); }
  .value:last-child { border-right: 0; }
  .value h3 { margin-bottom: 8px; font-size: 19px; }
  .value p { color: var(--muted); font-size: 17px; }

  /* TWO COLS */
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .quote { border-left: 3px solid var(--gold); padding: 6px 0 6px 28px; font-family: var(--f-display); font-style: italic; font-size: 22px; line-height: 1.5; color: #fff; }
  .quote span { display: block; margin-top: 16px; font-family: var(--f-body); font-style: normal; font-size: 16px; color: var(--gold-light); }

  /* PRODUCTS */
  .filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 34px; }
  .chip { padding: 9px 22px; border: 1px solid var(--navy); border-radius: 2px; background: transparent; color: var(--navy); font-family: var(--f-body); font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
  .chip:hover { background: rgba(39,26,71,.07); }
  .chip.on { background: var(--navy); color: #fff; }
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
  .product { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 3px; padding: 28px; display: flex; flex-direction: column; }
  .product .cuerpo { font-size: 15px; color: var(--gold-deep); font-weight: 600; margin-bottom: 8px; }
  .product h3 { margin-bottom: 10px; }
  .product p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
  .product ul { list-style: none; margin-bottom: 22px; flex: 1; }
  .product li { padding: 5px 0 5px 22px; font-size: 16px; position: relative; }
  .product li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
  .mail { margin-bottom: 28px; font-size: 18px; }
  .mail a { color: var(--gold-deep); font-weight: 600; }
  .subtabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin: 6px 0 30px; }
  .subtab { padding: 10px 2px; font-weight: 600; font-size: 18px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
  .subtab:hover { color: var(--navy); }
  .subtab.on { color: var(--navy); border-bottom-color: var(--gold); }
  .empty { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 3px; padding: 32px; max-width: 640px; }
  .empty h3 { margin-bottom: 8px; }
  .empty p { color: var(--muted); margin-bottom: 18px; }
  .grp { font-size: 24px; margin: 48px 0 8px; }
  .grp-sub { color: var(--muted); max-width: 62ch; margin-bottom: 24px; }
  .grp:first-of-type { margin-top: 8px; }
  .buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
  .price { font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--navy); }
  .price small { font-family: var(--f-body); font-size: 14px; color: var(--muted); font-weight: 400; }
  .product.pack { background: var(--navy); border-color: var(--navy); border-top-color: var(--gold); }
  .product.pack h3, .product.pack .price { color: #fff; }
  .product.pack p, .product.pack li, .product.pack .price small { color: rgba(255,255,255,.8); }
  .product.pack .cuerpo { color: var(--gold-light); }
  .product.pack .buy { border-top-color: rgba(255,255,255,.2); }

  /* BLOG */
  .posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
  .post-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 3px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
  .post-card:hover { border-color: var(--gold); border-top-color: var(--gold); box-shadow: 0 12px 28px rgba(39,26,71,.12); }
  .meta { font-size: 15px; font-weight: 600; color: var(--gold-deep); margin-bottom: 10px; }
  .post-card h3 { margin-bottom: 10px; }
  .post-card p { color: var(--muted); font-size: 17px; flex: 1; }
  .more { margin-top: 16px; color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--gold); align-self: flex-start; }

  article.post { max-width: 720px; margin: 0 auto; }
  article.post h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; margin: 8px 0 22px; }
  article.post h2 { font-size: 24px; margin: 40px 0 12px; }
  article.post p { margin-bottom: 18px; font-size: 19px; line-height: 1.75; }
  article.post ul { margin: 0 0 20px 22px; }
  article.post li { margin-bottom: 8px; font-size: 19px; line-height: 1.7; }
  .share { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
  .share p { margin-bottom: 12px; font-weight: 600; font-size: 17px; }
  .share-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .post-cta { margin-top: 44px; padding: 32px; background: var(--navy); color: #fff; border-top: 3px solid var(--gold); border-radius: 3px; }
  .post-cta h3 { color: #fff; margin-bottom: 8px; }
  .post-cta p { color: rgba(255,255,255,.82); margin-bottom: 20px; font-size: 18px; }
  .back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .back:hover { color: var(--navy); border-bottom-color: var(--gold); }

  /* FORMS */
  form { display: grid; gap: 16px; max-width: 560px; }
  label { font-weight: 600; font-size: 16px; display: grid; gap: 6px; }
  input, textarea { font: inherit; padding: 12px 14px; border: 1px solid rgba(39,26,71,.4); border-radius: 2px; background: #fff; color: var(--ink); width: 100%; }
  textarea { min-height: 140px; resize: vertical; }
  .inline-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 600px; }
  .inline-form input { flex: 1 1 240px; }
  .hint { font-size: 14px; color: var(--muted); }
  .dark .hint { color: rgba(255,255,255,.65); }
  .ok { padding: 14px 18px; background: var(--tint-a); color: var(--navy); border-left: 3px solid var(--gold); display: none; max-width: 560px; }

  /* FAQ */
  details { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 820px; }
  details:first-of-type { border-top: 1px solid var(--line); }
  summary { cursor: pointer; font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; line-height: 1.4; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--gold-deep); font-family: var(--f-body); font-weight: 400; font-size: 26px; line-height: 1; }
  details[open] summary::after { content: "–"; }
  details p { margin-top: 12px; color: var(--muted); max-width: 66ch; font-size: 17px; }

  /* LEGAL */
  .legal h2 { margin-top: 36px; font-size: 24px; }
  .legal p { margin-bottom: 14px; max-width: 70ch; }
  .todo { background: #fff3cd; border-left: 4px solid #d9a400; padding: 14px 18px; margin-bottom: 24px; font-size: 16px; }

  /* FOOTER */
  footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 52px 0 30px; border-top: 3px solid var(--gold); font-size: 16px; }
  .foot { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 30px; }
  .foot a { color: rgba(255,255,255,.82); text-decoration: none; display: block; padding: 3px 0; }
  .foot a:hover { color: var(--gold-light); }
  .foot strong { color: #fff; font-family: var(--f-display); font-size: 16px; display: block; margin-bottom: 10px; }
  .copy { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; font-size: 14px; }

  /* RESPONSIVE */
  @media (max-width: 880px) {
    .hero-grid, .two { grid-template-columns: 1fr; gap: 40px; }
    .values { grid-template-columns: 1fr; margin-top: -44px; }
    .value { border-right: 0; border-bottom: 1px solid var(--line); }
    .value:last-child { border-bottom: 0; }
    .burger { display: block; }
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 12px 20px 20px; border-bottom: 1px solid var(--gold); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 8px; }
    .nav-links a.nav-cta { margin: 8px 0 0; text-align: center; }
  }

  /* ACORDEONES DE PÁGINA (Cursos y Otros) */
  details.acc { max-width: none; padding: 0; margin-bottom: 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 3px; }
  details.acc > summary { padding: 22px 28px; font-size: 22px; }
  details.acc > summary::after { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; flex-shrink: 0; }
  details.acc[open] > summary { border-bottom: 1px solid var(--line); }
  .acc-body { padding: 28px; }
  .acc-body .grid, .acc-body .posts { margin-top: 6px; }
  .acc-body details { background: transparent; }
  .steps { margin: 6px 0 22px 24px; max-width: 70ch; }
  .steps li { margin-bottom: 16px; padding-left: 6px; }
  .steps li::marker { font-family: var(--f-display); font-weight: 700; color: var(--gold-deep); }
  .steps strong { color: var(--navy); }
  .note { color: var(--muted); max-width: 70ch; margin-bottom: 22px; }
  .checks { list-style: none; margin: 0; }
  .checks li { padding: 6px 0 6px 24px; position: relative; font-size: 18px; color: rgba(255,255,255,.88); }
  .checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
  .panel { border: 1px solid rgba(255,255,255,.25); border-top: 3px solid var(--gold); border-radius: 3px; padding: 28px; background: rgba(255,255,255,.04); }
  .panel h3 { margin-bottom: 14px; font-size: 20px; }
  .card-link { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 3px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
  .card-link:hover { border-color: var(--gold); border-top-color: var(--gold); box-shadow: 0 12px 28px rgba(39,26,71,.12); }
  .card-link h3 { margin-bottom: 10px; }
  .card-link p { color: var(--muted); font-size: 17px; flex: 1; }
  .card-link .more { margin-top: 16px; }
  .course-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 16px; }

  /* AJUSTES: menú sin saltos de línea y cursos a dos columnas */
  .nav-links a, .brand-text, .brand-text small { white-space: nowrap; }
  .acc-body .grid.courses { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .course-foot .btn { white-space: nowrap; }
  @media (max-width: 1060px) {
    .burger { display: block; }
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 12px 20px 20px; border-bottom: 1px solid var(--gold); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 8px; }
    .nav-links a.nav-cta { margin: 8px 0 0; text-align: center; }
  }
  @media (max-width: 420px) { .brand-text small { font-size: 12px; } }

  /* PESTAÑAS DENTRO DE LOS DESPLEGABLES */
  button.subtab { background: none; border: 0; border-bottom: 3px solid transparent; font-family: inherit; line-height: inherit; cursor: pointer; }
  .subtabs { flex-wrap: wrap; gap: 4px 30px; }
  .acc-body .subtabs { margin-top: 0; }
  .tabpanel[hidden] { display: none; }
  .tabpanel h3 { margin: 28px 0 8px; font-size: 21px; }
  .tabpanel h3:first-child { margin-top: 0; }
  .tabpanel p { max-width: 70ch; margin-bottom: 14px; }
  .tab-list { list-style: none; margin: 6px 0 28px; max-width: 70ch; }
  .tab-list li { padding: 8px 0 8px 28px; position: relative; font-size: 18px; border-bottom: 1px solid var(--line); }
  .tab-list li:last-child { border-bottom: 0; }
  .tab-list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
  .tab-list strong { color: var(--navy); }

  /* ARTÍCULOS (páginas propias) */
  article.post p a, article.post li a { color: var(--gold-deep); font-weight: 600; text-underline-offset: 3px; }
  .more-reading { margin-top: 44px; }
  .more-reading h2 { font-size: 24px; margin: 0 0 14px; }
  .post-links { margin: 0 0 8px 22px; }
  .post-links li { font-size: 18px; margin-bottom: 8px; }
  .related { max-width: 1120px; margin: 56px auto 0; }
  .related h2 { font-size: 24px; margin-bottom: 20px; }
  .crumbs { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
  .crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
  .crumbs a:hover { color: var(--navy); border-bottom-color: var(--gold); }

  /* CONSENTIMIENTO (RGPD / LSSI) */
  .consent { flex-basis: 100%; display: grid; gap: 10px; margin-top: 6px; text-align: left; }
  .consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.5; cursor: pointer; }
  .consent input[type=checkbox], .modal input[type=checkbox] { flex: none; width: 20px; height: 20px; padding: 0; margin-top: 2px; accent-color: var(--gold); }
  .consent a, .rgpd a, .modal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
  .rgpd { flex-basis: 100%; font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 4px; max-width: 70ch; }
  .dark .rgpd, .dark .consent { color: rgba(255,255,255,.78); }
  form#contact .consent { margin: 4px 0 0; }
  form#contact .consent label { font-size: 15px; }

  /* AVISO ANTES DE COMPRAR */
  .modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(20,12,40,.62); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
  .modal-bg[hidden] { display: none; }
  .modal { background: #fff; color: var(--ink); max-width: 560px; width: 100%; border-top: 4px solid var(--gold); border-radius: 3px; padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
  .modal h2 { font-size: 24px; margin-bottom: 6px; }
  .modal .resumen { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
  .modal .legalbox { font-size: 15.5px; line-height: 1.55; background: var(--cream); border-left: 3px solid var(--gold); padding: 12px 16px; margin-bottom: 16px; }
  .modal label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15.5px; line-height: 1.5; margin-bottom: 12px; cursor: pointer; }
  .modal .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
  .modal .btn[disabled] { opacity: .45; cursor: not-allowed; }
  .price small.iva { margin-left: 4px; }

  /* PÁGINAS LEGALES */
  .legal-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 30px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .legal-nav a { color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
  .legal-nav a:hover { color: var(--navy); }
  .legal-nav a.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--gold); }
  .legal h2 { margin-top: 36px; }
  .legal h3 { margin: 22px 0 8px; font-size: 19px; }
  .legal ul, .legal ol { margin: 0 0 16px 24px; max-width: 70ch; }
  .legal li { margin-bottom: 6px; }
  .legal a { color: var(--gold-deep); font-weight: 600; text-underline-offset: 3px; }
  .legal .upd { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
  .legal table { border-collapse: collapse; width: 100%; max-width: 860px; margin: 8px 0 22px; font-size: 16px; background: #fff; }
  .legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.5; }
  .legal th { background: var(--tint-b); font-family: var(--f-body); color: var(--navy); }
  .legal .scroll { overflow-x: auto; }
  .falta { background: #fff3cd; color: #7a5a00; padding: 0 5px; border-radius: 2px; font-weight: 600; }
  .legal .formbox { background: #fff; border: 1px solid var(--line); padding: 18px 22px; max-width: 70ch; }

  /* Página de gracias: descargas */
  .descargas { margin: 8px 0 26px; max-width: 70ch; }
  .descargas h2 { margin-bottom: 6px; }
  .dl-list { list-style: none; margin: 14px 0 10px !important; padding: 0; }
  .dl-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); }
  .dl-list li span { font-weight: 600; color: var(--navy); }
  .dl-list .btn { white-space: nowrap; color: var(--navy); text-decoration: none; }
  .dl-nota { color: var(--muted); font-size: 15px; }
  @media (max-width: 520px) { .dl-list li { flex-direction: column; align-items: flex-start; } }
