/* =============================================================
   OTHÓN SILVA — Landing CSI Digital
   Archetype: Editorial Dark Warm (adaptado)
   ============================================================= */

/* 1. TOKENS ---------------------------------------------------- */
:root {
  --bg:        #0F0F0F;
  --bg-2:      #141414;
  --bg-3:      #1A1A1A;   /* card */
  --bg-4:      #202020;

  --cream:     #F2EBE6;   /* text on dark — never pure white */
  --cream-2:   #CFC7C1;
  --cream-3:   #8A827C;   /* metadata */

  --accent:    #E63946;   /* rojo — Anatomía del Engaño, combina con la foto */
  --accent-2:  #B5222E;

  /* pilares */
  --p-rojo:    #E63946;
  --p-purpura: #7B2FBE;
  --p-verde:   #2DC653;
  --p-ambar:   #F4A261;

  --line:      rgba(242,235,230,0.10);
  --line-2:    rgba(242,235,230,0.16);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1200px;
}

/* 2. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-weight: 500; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem;
  background: var(--cream); color: var(--bg); z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* 3. LAYOUT ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding-block: clamp(4rem, 10vw, 8rem); position: relative; }

/* 4. TYPOGRAPHY HELPERS --------------------------------------- */
.kicker {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-3); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
}
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.section-title { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3.1rem); letter-spacing: -0.03em; }
.section-title em, .hero-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.section-intro, .lead { color: var(--cream-2); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 60ch; margin-top: 1.4rem; line-height: 1.7; }

/* 5. BUTTONS --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 500; font-size: .98rem; padding: .95rem 1.7rem; border-radius: 100px;
  transition: transform .4s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  will-change: transform; line-height: 1;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { color: var(--cream); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn-outline { color: var(--cream); border: 1px solid var(--line-2); padding: .75rem 1.4rem; font-size: .9rem; }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-wide { width: 100%; margin-top: 1.25rem; }

/* 6. NAV ------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,15,15,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s, background .4s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(15,15,15,0.9); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: .85rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.nav-brand { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.nav-brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.nav-brand-role { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.nav-links { display: none; gap: 1.6rem; }
.nav-links a { font-size: .92rem; color: var(--cream-2); position: relative; padding: .3rem 0; transition: color .3s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--accent); transition: width .35s var(--ease-out); }
.nav-links a:hover { color: var(--cream); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: none; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); background: var(--bg-2); border-bottom: 1px solid transparent; }
.nav-mobile.is-open { max-height: 460px; border-bottom-color: var(--line); }
.nav-mobile a { padding: .95rem var(--gutter); border-top: 1px solid var(--line); color: var(--cream-2); }
.nav-mobile a:first-child { border-top: 0; }
.nav-mobile .btn { margin: 1rem var(--gutter); }

/* 7. HERO ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(3rem, 8vw, 6rem); min-height: 88vh; display: flex; align-items: center; }
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 28%, rgba(230,57,70,0.28) 0%, transparent 60%),
    radial-gradient(50% 55% at 18% 80%, rgba(123,47,190,0.14) 0%, transparent 65%),
    radial-gradient(80% 60% at 50% 0%, rgba(230,57,70,0.08) 0%, transparent 70%);
  filter: blur(40px); animation: meshBreathe 16s ease-in-out infinite;
}
@keyframes meshBreathe { 0%,100% { transform: scale(1); opacity:.9 } 50% { transform: scale(1.12); opacity:1 } }
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(230,57,70,0.7), transparent);
  animation: scanDown 7s linear infinite; opacity: .5;
}
@keyframes scanDown { 0% { transform: translateY(0) } 100% { transform: translateY(88vh) } }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); width: 100%; display: grid; gap: 2.5rem; align-items: center; }
.hero-title { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 5.2rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero-sub { color: var(--cream-2); font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 46ch; margin-top: 1.6rem; line-height: 1.6; }
.hero-promise { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--cream); margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-portrait { position: relative; justify-self: center; max-width: 340px; }
.hero-portrait::before {
  content:""; position: absolute; inset: -8% -6% -2% -6%; z-index: -1; border-radius: 50% 50% 46% 46%;
  background: radial-gradient(60% 55% at 50% 40%, rgba(230,57,70,0.28), transparent 70%); filter: blur(30px);
}
.hero-portrait img { filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6)); }

/* 8. PROBLEMA -------------------------------------------------- */
.problema { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problema-grid { display: grid; gap: 1.25rem; margin-top: 2.8rem; }
.problema-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem; transition: transform .4s var(--ease-out), border-color .4s; }
.problema-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.problema-num { font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.problema-card h3 { font-family: var(--serif); font-size: 1.3rem; margin: .7rem 0 .6rem; }
.problema-card p { color: var(--cream-2); font-size: .98rem; }
.problema-close { margin-top: 2.5rem; font-size: clamp(1.1rem, 2.6vw, 1.4rem); font-family: var(--serif); color: var(--cream-2); max-width: 46ch; }
.problema-close strong { color: var(--cream); font-weight: 500; }

/* 9. CONSULTORÍA ----------------------------------------------- */
.pasos { display: grid; gap: 1.1rem; margin-top: 2.8rem; }
.paso { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.paso:first-child { border-top: 0; }
.paso-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent); flex: none; width: 2rem; line-height: 1.2; }
.paso h4 { font-size: 1.08rem; margin-bottom: .25rem; }
.paso p { color: var(--cream-2); font-size: .96rem; }
.restriccion { margin-top: 2.6rem; padding: 1.5rem 1.7rem; background: var(--bg-3); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.restriccion p { color: var(--cream-2); font-size: .98rem; }
.restriccion strong { color: var(--cream); font-weight: 600; }

/* 10. PILARES -------------------------------------------------- */
.pilares { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pilares-grid { display: grid; gap: 1.25rem; margin-top: 2.8rem; }
.pilar { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem; overflow: hidden; transition: transform .4s var(--ease-out); }
.pilar::before { content:""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pc); }
.pilar:hover { transform: translateY(-4px); }
.pilar-tag { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pc); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); padding: .3rem .7rem; border-radius: 100px; margin-bottom: 1rem; }
.pilar p { color: var(--cream-2); font-size: .98rem; }

/* 11. PAQUETES ------------------------------------------------- */
.section-intro { color: var(--cream-3); font-size: .95rem; margin-top: 1rem; }
.paquetes-grid { display: grid; gap: 1.1rem; margin-top: 2.6rem; }
.paquete { position: relative; background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem; display: flex; flex-direction: column; transition: transform .4s var(--ease-out), border-color .4s; }
.paquete:hover { transform: translateY(-4px); border-color: var(--line-2); }
.paquete-destacado { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.paquete-badge { position: absolute; top: -11px; left: 1.7rem; background: var(--accent); color: #fff; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px; }
.paquete h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .55rem; }
.paquete-desc { color: var(--cream-2); font-size: .92rem; flex: 1; }
.paquete-precio { font-family: var(--serif); font-size: 1.9rem; margin: 1.1rem 0; letter-spacing: -0.02em; }
.paquete-precio span { font-family: var(--mono); font-size: .8rem; color: var(--cream-3); letter-spacing: .05em; }
.paquete .btn { align-self: flex-start; }

/* 12. PODCAST -------------------------------------------------- */
.podcast { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.podcast-embeds { display: grid; gap: 1.1rem; margin-top: 2.6rem; }
.podcast-embeds iframe { width: 100%; border: 0; border-radius: 14px; aspect-ratio: 16 / 9; display: block; }
.podcast-placeholder { background: var(--bg-3); border: 1px dashed var(--line-2); border-radius: 14px; padding: 2.2rem 1.5rem; text-align: center; }
.podcast-plat { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.podcast-placeholder p { color: var(--cream-2); font-size: .95rem; margin: .7rem 0 1.2rem; }
.podcast-note { margin-top: 2rem; color: var(--cream-2); font-size: .98rem; }
.podcast-note a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }

/* 13. BIO ------------------------------------------------------ */
.bio-grid { display: grid; gap: 2.5rem; align-items: center; }
.bio-cred { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--accent); margin: .4rem 0 1.5rem; }
.bio-text p { color: var(--cream-2); margin-bottom: 1.1rem; max-width: 52ch; }
.bio-text .btn { margin-top: .8rem; }
.bio-photo { position: relative; justify-self: center; max-width: 360px; }
.bio-photo::before { content:""; position:absolute; inset:-10% -5% 0 -5%; z-index:-1; background: radial-gradient(55% 50% at 55% 40%, rgba(230,57,70,0.22), transparent 70%); filter: blur(34px); }
.bio-photo img { filter: drop-shadow(0 26px 44px rgba(0,0,0,0.55)); }

/* 14. AGENDA / TIDYCAL ---------------------------------------- */
.agenda { text-align: center; }
.agenda .kicker { justify-content: center; }
.agenda .section-title { margin-inline: auto; }
.restriccion-mini { color: var(--cream-3); font-family: var(--mono); font-size: .8rem; letter-spacing: .03em; margin-top: 1.2rem; max-width: 58ch; margin-inline: auto; line-height: 1.6; }
.tidycal-wrap { margin-top: 2.5rem; background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px; padding: .75rem; min-height: 120px; text-align: left; }
.tidycal-embed { min-height: 500px; border-radius: 12px; overflow: hidden; }
.tidycal-fallback-note { color: var(--cream-3); padding: 1.5rem; text-align: center; }

/* 15. FAQ ------------------------------------------------------ */
.faq-list { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.05rem; font-weight: 500; color: var(--cream); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; color: var(--accent); flex: none; transition: transform .3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { color: var(--cream-2); font-size: .98rem; padding-bottom: 1.3rem; max-width: 64ch; }

/* 16. FOOTER --------------------------------------------------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5rem); }
.footer-top { display: grid; gap: 1.8rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-name { font-family: var(--serif); font-size: 1.5rem; }
.footer-slogan { font-family: var(--serif); font-style: italic; color: var(--cream-3); margin-top: .3rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.footer-social a { font-size: .9rem; color: var(--cream-2); position: relative; transition: color .3s; }
.footer-social a:hover { color: var(--accent); }
.footer-bottom { padding-top: 2rem; display: grid; gap: 1rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-contact a { font-family: var(--mono); font-size: .85rem; color: var(--cream-2); }
.footer-contact a:hover { color: var(--accent); }
.footer-legal { color: var(--cream-3); font-size: .78rem; max-width: 70ch; line-height: 1.6; }
.footer-copy { color: var(--cream-3); font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; }

/* 17. REVEAL (defensive — visible if JS fails) ---------------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 18. RESPONSIVE ----------------------------------------------- */
@media (min-width: 720px) {
  .problema-grid { grid-template-columns: repeat(3, 1fr); }
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .paquetes-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-embeds { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero-portrait { justify-self: end; max-width: 400px; }
  .paquetes-grid { grid-template-columns: repeat(3, 1fr); }
  .bio-grid { grid-template-columns: 1.1fr .9fr; }
  .bio-text .section-title { text-align: left; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3.5rem, 6vw, 5.4rem); }
}

/* 19. REDUCED MOTION (only intrusive effects) ----------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .hero-scan { animation: none; }
  .hero-scan { display: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   20. SOCIAL ICONS · COOKIE BANNER · LEGAL (añadido)
   ============================================================= */

/* Social icon buttons */
.footer-social { display: flex; flex-wrap: wrap; gap: .45rem; }
.footer-social a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; color: var(--cream-2);
  transition: color .3s, border-color .3s, background .3s, transform .3s var(--ease-out);
}
.footer-social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; display: block; }

/* Legal links row */
.footer-legal-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; align-items: center; margin-top: .2rem; }
.footer-legal-nav a, .footer-legal-nav button {
  font-size: .82rem; color: var(--cream-3); background: none; border: 0; padding: 0;
  font-family: inherit; cursor: pointer; transition: color .3s;
}
.footer-legal-nav a:hover, .footer-legal-nav button:hover { color: var(--accent); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(20,20,20,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2); transform: translateY(100%); transition: transform .5s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; padding: 1.1rem var(--gutter); display: flex; flex-direction: column; gap: 1rem; }
.cookie-text { font-size: .88rem; color: var(--cream-2); line-height: 1.6; max-width: 72ch; }
.cookie-text a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.cookie-actions { display: flex; gap: .6rem; }
.btn-sm { padding: .62rem 1.25rem; font-size: .88rem; }
@media (min-width: 720px) {
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .cookie-actions { flex: none; }
}

/* Legal pages */
.legal-topbar { position: sticky; top: 0; z-index: 100; background: rgba(15,15,15,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-topbar .nav-inner { justify-content: space-between; }
.legal-back { font-size: .9rem; color: var(--cream-2); transition: color .3s; }
.legal-back:hover { color: var(--accent); }
.legal-main { max-width: 820px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(4rem, 9vw, 7rem); }
.legal-main h1 { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.7rem); letter-spacing: -0.03em; margin-bottom: .5rem; }
.legal-updated { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--cream-3); margin-bottom: 2.4rem; }
.legal-main h2 { font-family: var(--serif); font-size: 1.35rem; margin: 2.4rem 0 .7rem; }
.legal-main h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; color: var(--cream); }
.legal-main p { color: var(--cream-2); margin-bottom: .95rem; }
.legal-main ul { padding-left: 1.3rem; margin: .3rem 0 1.1rem; }
.legal-main li { color: var(--cream-2); margin-bottom: .45rem; }
.legal-main a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.legal-note { background: var(--bg-3); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; font-size: .86rem; color: var(--cream-3); margin: 1.4rem 0; }
.legal-main strong { color: var(--cream); font-weight: 600; }

/* =============================================================
   21. CONTACTO (formulario) — añadido
   ============================================================= */
.contacto { background: var(--bg-2); border-top: 1px solid var(--line); }
.inline-link { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.contacto-form { margin-top: 2.4rem; display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
.form-field { display: grid; gap: .45rem; }
.form-field > span { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }
.form-field input, .form-field textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--cream); font-family: var(--sans); font-size: 1rem; padding: .85rem 1rem; line-height: 1.5;
  transition: border-color .3s, background .3s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-4); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--cream-3); opacity: .8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-foot { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.form-note { font-size: .8rem; color: var(--cream-3); line-height: 1.55; max-width: 48ch; }
.form-note a { color: var(--cream-2); border-bottom: 1px solid var(--line-2); }
.form-note a:hover { color: var(--accent); }
.form-status { font-size: .92rem; min-height: 1.2em; }
.form-status.is-ok  { color: var(--p-verde); }
.form-status.is-err { color: var(--accent); }
@media (min-width: 720px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-foot { flex-direction: row; justify-content: space-between; align-items: center; }
  .form-foot .btn { flex: none; }
}
