/* =============================================================
   innit · styles.css
   Arquetipo: 01 Editorial Light Cream (adaptado a marca innit)
   Firma: "post de marca" que se expande a pantalla completa al hacer scroll
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --white:      #ffffff;
  --paper:      #f7f5f0;
  --paper-2:    #efebe3;
  --cream:      #f3efe8;
  --sand:       #d8cebf;
  --ink:        #0e0e0c;
  --ink-2:      #37362f;
  --mute:       #75726a;
  --mute-2:     #a6a298;
  --olive:      #4b5a26;
  --olive-dark: #3b4719;
  --olive-2:    #66773a;
  --olive-3:    #a9b874;
  --olive-soft: #e9ebdc;
  --night:      #10110d;
  --night-2:    #1a1c15;
  --on-night:   #f2f0e9;
  --on-night-2: #a9a79b;
  --line:       rgba(14, 14, 12, 0.1);
  --line-2:     rgba(14, 14, 12, 0.18);

  --serif:   "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --grotesk: "Space Grotesk", "Instrument Sans", system-ui, sans-serif;

  --gutter:   clamp(20px, 4vw, 48px);
  --max:      1240px;
  --nav-h:    56px;
  --radius-l: 36px;
  --radius-m: 24px;
  --radius-s: 14px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  interpolate-size: allow-keywords;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, 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 { font-weight: 600; text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--olive); color: var(--cream); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--white);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(980px + var(--gutter) * 2); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); background-size: 180px 180px;
  opacity: .16; mix-blend-mode: multiply;
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  font-family: var(--grotesk);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section-head { text-align: center; max-width: 900px; margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 6.4vw, 5.8rem);
  line-height: .95;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-title em, .panel-title em, .contact-title em, .tile-big em { color: var(--olive); }
.section-lede {
  margin: 24px auto 0;
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--mute);
}
.inline-link { color: var(--olive); font-weight: 600; border-bottom: 1px solid currentColor; }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
}
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(75, 90, 38, .65);
}
.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 9px 17px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--olive); font-weight: 600; font-size: 17px;
}
.link-arrow span { transition: transform .4s var(--ease-out); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover span { transform: translateX(4px); }

/* Chip (como el "● PRÓXIMAMENTE" de los posts) */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(14, 14, 12, .75);
  border-radius: 999px;
  font-family: var(--grotesk); font-weight: 500;
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--olive); flex: none;
  box-shadow: 0 0 0 0 rgba(75, 90, 38, .5);
  animation: dotPulse 2.6s var(--ease-soft) infinite;
}

/* Glass (tarjetas esmeriladas de los posts) — fallback sólido primero */
.glass-card {
  background: rgba(244, 241, 235, .9);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-m);
  box-shadow: 0 30px 80px -40px rgba(45, 38, 24, .38), inset 0 1px 0 rgba(255, 255, 255, .6);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass-card {
    background: rgba(244, 241, 235, .7);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
  }
}

/* Email pill */
.email-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: -0.015em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.email-pill .ico { width: 22px; height: 22px; }
.email-pill-go { margin-left: auto; color: var(--olive); font-size: 1.3em; transition: transform .45s var(--ease-out); }
.email-pill:hover { transform: translateY(-2px); }
.email-pill:hover .email-pill-go { transform: translateX(5px); }

/* Check list */
.checks { display: grid; gap: 12px; margin: 28px 0 32px; }
.checks li {
  position: relative; padding-left: 34px;
  font-size: 16px; color: var(--ink-2);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3efe8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12.5 4 4L18 8'/></svg>") center / 14px no-repeat;
}

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.tags li {
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(242, 240, 233, .18);
  font-size: 14px; color: var(--on-night);
  background: rgba(242, 240, 233, .04);
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 249, 246, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background-color .4s;
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .nav {
    background: rgba(250, 249, 246, .72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav-logo img { height: 21px; width: auto; }
.nav-links { display: none; gap: 30px; margin-inline: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; padding-block: 6px; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--olive); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: auto; display: none; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 40px; height: 40px; border-radius: 50%;
  position: relative;
}
.js .nav-toggle { display: block; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.menu-open .nav-toggle span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.nav-sheet {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px var(--gutter) 40px;
  background: var(--paper);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
}
.menu-open .nav-sheet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-sheet nav { display: grid; gap: 6px; }
.nav-sheet nav a {
  font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.1;
  border-bottom: 1px solid var(--line); padding-block: 8px;
}
.nav-sheet-contact { display: grid; gap: 8px; font-weight: 600; color: var(--olive); }
.nav-sheet-contact a { width: fit-content; }
html:not(.js) .nav-sheet { display: none; }
html:not(.js) .nav-links {
  display: flex; overflow-x: auto; margin: 0 0 0 auto; gap: 18px; font-size: 13px; white-space: nowrap;
}
.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 11vh, 128px));
  padding-bottom: clamp(56px, 9vh, 104px);
  text-align: center;
  background: var(--white);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-h1 { display: flex; flex-direction: column; align-items: center; font-weight: 400; letter-spacing: normal; line-height: 1; }
.hero-chip { animation: fadeUp 1s var(--ease-out) .05s both; text-wrap: balance; }
.hero-title {
  display: block;
  margin-top: 30px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.8rem, 12vw, 10rem);
  line-height: .9;
  letter-spacing: -0.02em;
  color: var(--olive);
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .06em .1em; }
.hero-title .line > span { display: inline-block; animation: rise 1.25s var(--ease-out) .15s both; }
.hero-title .line:nth-child(2) > span { animation-delay: .28s; }
.hero-sub {
  margin-top: 26px; max-width: 44ch;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.5;
  color: var(--ink-2);
  animation: fadeUp 1.1s var(--ease-out) .5s both;
}
.hero-actions {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px;
  animation: fadeUp 1.1s var(--ease-out) .65s both;
}

/* ---------- STAGE (firma) ---------- */
.stage { position: relative; padding-inline: 12px; background: var(--white); }
.stage-frame {
  --p: 1;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 28px;
  background: #cdbfaa;
  min-height: 100svh;
  display: grid; align-items: center;
}
.stage-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 60%;
}
.stage-frame .grain { z-index: -1; }
.stage-content {
  width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding: clamp(40px, 8vw, 80px) clamp(18px, 5vw, 40px);
  display: grid; gap: 36px;
}
.stage-head .eyebrow { margin-bottom: 16px; }
.stage-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 7.6rem); line-height: .9; letter-spacing: -0.02em;
  color: var(--olive);
}
.stage-note { margin-top: 20px; max-width: 32ch; font-size: 1.08rem; color: var(--ink-2); }
.stage-card { padding: 6px clamp(18px, 2.4vw, 32px); }
.svc-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 22px;
  padding: 24px 4px;
  border-bottom: 1px solid rgba(14, 14, 12, .12);
}
.svc-row:last-child { border-bottom: 0; }
.svc-num {
  font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1;
  color: var(--olive); width: 1.6em;
}
.svc-text strong { display: block; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.15; }
.svc-text span { display: block; margin-top: 4px; font-size: clamp(.95rem, 1.2vw, 1.05rem); color: var(--ink-2); line-height: 1.45; }
.svc-go {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--olive); font-size: 1.2rem;
  border: 1px solid rgba(75, 90, 38, .25);
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.svc-row:hover .svc-go { background: var(--olive); color: var(--cream); transform: translateX(4px); }
.stage-side .email-pill { margin-top: 14px; }

/* ---------- MANIFIESTO ---------- */
.manifesto { padding-block: clamp(100px, 18vh, 220px); background: var(--white); }
.manifesto .eyebrow { margin-bottom: 28px; }
.manifesto-text {
  font-weight: 600;
  font-size: clamp(1.75rem, 3.7vw, 3.35rem);
  line-height: 1.16; letter-spacing: -0.03em;
  color: var(--ink);
}
.manifesto-text em {
  font-family: var(--serif); font-weight: 400; font-size: 1.1em; letter-spacing: -0.01em;
  color: var(--olive);
}
.manifesto-text.is-armed .w { opacity: .16; transition: opacity .35s var(--ease-soft); }
.manifesto-text.is-armed .w.is-lit { opacity: 1; }

/* ---------- SERVICIOS ---------- */
.services { padding-bottom: clamp(40px, 8vh, 80px); background: var(--white); }
.services .section-head { margin-bottom: clamp(48px, 8vh, 88px); }
.panel { padding-block: 10px; scroll-margin-top: calc(var(--nav-h) + 6px); }
.panel-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 48px; align-items: center;
  padding: clamp(32px, 6vw, 88px) clamp(24px, 6vw, 88px);
  border-radius: var(--radius-l);
  background: var(--paper);
}
.panel-card.is-dark { background: var(--night); color: var(--on-night); }
.panel-card.is-cream { background: var(--olive-soft); }
.panel-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--grotesk); font-weight: 500;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-2);
}
.panel-kicker span {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 24px; padding-inline: 8px; border-radius: 999px;
  background: var(--olive); color: var(--cream); letter-spacing: .08em;
}
.panel-title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem); line-height: .98; letter-spacing: -0.015em;
}
.panel-text { margin-top: 22px; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.12rem); color: var(--ink-2); }
.is-dark .panel-kicker { color: var(--on-night-2); }
.is-dark .panel-title em { color: var(--olive-3); }
.is-dark .panel-text { color: var(--on-night-2); }
.is-dark .link-arrow { color: var(--olive-3); }
.panel-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70%; aspect-ratio: 1; right: -18%; bottom: -45%;
  background: radial-gradient(closest-side, rgba(126, 146, 64, .42), rgba(126, 146, 64, 0));
  filter: blur(30px);
}
.panel-visual { position: relative; }

/* Web · mockups */
.visual-web { padding: 10px 0 36px; }
.mock-browser {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 50px 100px -45px rgba(35, 32, 20, .45), 0 0 0 1px rgba(14, 14, 12, .06);
  transform-origin: 50% 100%;
}
.mb-bar {
  height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: #f1eee8; border-bottom: 1px solid var(--line);
}
.mb-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d3c7; }
.mb-url {
  margin-inline: auto; transform: translateX(-20px);
  padding: 3px clamp(20px, 6vw, 64px); border-radius: 7px;
  background: var(--white); font-size: 11px; color: var(--mute);
}
.mb-page { padding: 16px clamp(14px, 2.4vw, 24px) 22px; }
.mb-nav { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.mb-nav b { margin-right: auto; font-weight: 700; letter-spacing: -0.02em; }
.mb-nav span { width: 32px; height: 5px; border-radius: 4px; background: #e4e0d7; }
.mb-nav em {
  font-style: normal; font-weight: 600; font-size: 10px;
  padding: 5px 11px; border-radius: 999px; background: var(--olive); color: var(--cream);
}
.mb-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(12px, 2vw, 22px); align-items: center; margin-top: 20px; }
.mb-copy small { display: block; font-family: var(--grotesk); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.mb-copy strong {
  display: block; margin: 8px 0 12px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2.7vw, 2.1rem); line-height: .98; color: var(--olive);
}
.mb-btn {
  display: inline-block; padding: 6px 13px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 10px; font-weight: 600;
}
.mb-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mb-cards span { height: clamp(34px, 5vw, 56px); border-radius: 10px; background: var(--paper-2); }
.mb-cards span:first-child { background: var(--olive-soft); }
.mock-phone-mini {
  position: absolute; right: -2%; bottom: 0; z-index: 2;
  width: 29%; max-width: 172px; aspect-ratio: 9 / 18.5;
  padding: 5px; border-radius: 26px; background: #151513;
  box-shadow: 0 40px 70px -30px rgba(20, 20, 12, .55);
}
.mpm-screen {
  height: 100%; border-radius: 21px; overflow: hidden;
  background: var(--white);
  padding: 16px 10px 10px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 9px;
}
.mpm-screen b { font-weight: 700; font-size: 10px; }
.mpm-screen img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.mpm-screen strong { font-family: var(--serif); font-weight: 400; font-size: clamp(.8rem, 1.6vw, 1.1rem); line-height: 1; color: var(--olive); }
.mpm-screen .mb-btn { align-self: flex-start; font-size: 8px; padding: 4px 9px; }
.float-badge {
  position: absolute; left: 3%; bottom: 6%; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 40px -18px rgba(20, 20, 12, .35), 0 0 0 1px rgba(14, 14, 12, .05);
  font-weight: 600; font-size: 13.5px;
  animation: bob 6s ease-in-out infinite;
}
.float-badge .ico { color: var(--olive); width: 18px; height: 18px; stroke-width: 2.4; }

/* Automatización · flujo */
.flow { position: relative; display: grid; gap: 14px; }
.flow::before {
  content: ""; position: absolute; left: 39px; top: 34px; bottom: 34px; width: 1.5px;
  background: rgba(242, 240, 233, .12);
}
.flow::after {
  content: ""; position: absolute; left: 36px; top: 34px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--olive-3); box-shadow: 0 0 16px 4px rgba(169, 184, 116, .55);
  animation: flowDot 8s cubic-bezier(.65, 0, .35, 1) infinite;
}
.flow-step {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 20px 16px 18px;
  border-radius: 20px;
  background: rgba(242, 240, 233, .045);
  border: 1px solid rgba(242, 240, 233, .09);
  animation: stepOn 8s linear infinite;
}
.flow-step:nth-child(2) { animation-delay: 2s; }
.flow-step:nth-child(3) { animation-delay: 4s; }
.flow-step:nth-child(4) { animation-delay: 6s; }
.flow-ico {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--night-2); border: 1px solid rgba(242, 240, 233, .1);
  color: var(--on-night);
}
.flow-txt { font-size: clamp(.98rem, 1.3vw, 1.06rem); line-height: 1.35; color: var(--on-night); }
.flow-txt small {
  display: block; margin-bottom: 3px;
  font-family: var(--grotesk); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive-3);
}
.flow-foot {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--grotesk); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-night-2);
}
.flow-foot .chip-dot { background: var(--olive-3); }

/* Redes · teléfono */
.visual-social { display: grid; place-items: center; padding: 20px 0; }
.phone {
  position: relative;
  width: min(300px, 72vw); aspect-ratio: 9 / 19;
  padding: 11px; border-radius: 50px;
  background: #141412;
  box-shadow: 0 60px 120px -55px rgba(40, 44, 20, .6), inset 0 0 0 1.5px #3b3b36, inset 0 0 0 4px #1f1f1c;
}
.phone-island {
  position: absolute; top: 22px; left: 50%; z-index: 3; transform: translateX(-50%);
  width: 29%; height: 24px; border-radius: 20px; background: #000;
}
.phone-screen {
  height: 100%; border-radius: 40px; overflow: hidden;
  background: var(--white);
  display: flex; flex-direction: column;
}
.ig-head {
  display: flex; align-items: center; gap: 11px;
  padding: 54px 16px 14px;
  border-bottom: 1px solid var(--line);
}
.ig-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--cream);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--olive);
}
.ig-avatar img { width: 72%; }
.ig-name b { display: block; font-size: 14.5px; letter-spacing: -0.02em; line-height: 1.2; }
.ig-name small { font-family: var(--grotesk); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ig-feed { flex: 1; overflow: hidden; }
.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  animation: feed 26s ease-in-out infinite alternate;
}
.ig-grid img, .ig-tile { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ig-tile {
  display: grid; place-items: center; align-content: center; padding: 6px;
  text-align: center; font-family: var(--serif); font-size: 15px; line-height: 1;
}
.ig-tile em { display: block; }
.tile-olive { background: var(--olive); color: var(--cream); }
.tile-cream { background: #efe9df; color: var(--olive); gap: 2px; }
.tile-ink { background: var(--ink); color: var(--cream); }
.notif {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 22px 44px -20px rgba(20, 20, 12, .4), 0 0 0 1px rgba(14, 14, 12, .05);
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
  opacity: 0;
  animation: notif 9s var(--ease-out) infinite;
}
.notif-ico {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--olive); color: var(--cream);
}
.notif-ico .ico { width: 16px; height: 16px; stroke-width: 2; }
.notif-1 { top: 16%; left: 0; }
.notif-2 { top: 44%; right: 0; animation-delay: 3s; }
.notif-3 { bottom: 14%; left: 4%; animation-delay: 6s; }

/* ---------- POR QUÉ (bento) ---------- */
.why { padding-block: clamp(96px, 15vh, 180px); background: var(--paper); }
.why .section-head { margin-bottom: clamp(48px, 7vh, 80px); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 250px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 30px;
  background: var(--white);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(40, 38, 25, .35); }
.tile p { color: var(--ink-2); font-size: 1.02rem; }
.tile h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.tile-kicker { font-family: var(--grotesk); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; }
.tile-hero { background: var(--olive); color: var(--cream); justify-content: flex-end; min-height: 420px; }
.tile-hero .tile-kicker { color: rgba(243, 239, 232, .7); order: -2; margin-bottom: auto; }
.tile-hero p { color: rgba(243, 239, 232, .82); max-width: 42ch; }
.tile .tile-big {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: .94; letter-spacing: -0.015em;
}
.tile-hero .tile-big em { color: #d5dcb4; }
.tile-orbs {
  order: -1; align-self: center;
  display: flex; margin: 16px 0 28px;
}
.tile-orbs span {
  width: clamp(96px, 11vw, 132px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  margin-inline: -12px;
  border: 1px solid rgba(243, 239, 232, .4);
  background: rgba(243, 239, 232, .06);
  font-family: var(--grotesk); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream);
  transition: transform .7s var(--ease-out), background-color .5s var(--ease-out), border-color .5s var(--ease-out);
}
/* Al pasar el ratón los círculos se abren un poco (nunca se juntan más) */
@media (hover: hover) {
  .tile-hero:hover .tile-orbs span { background: rgba(243, 239, 232, .1); border-color: rgba(243, 239, 232, .6); }
  .tile-hero:hover .tile-orbs span:nth-child(1) { transform: translateX(-14px); }
  .tile-hero:hover .tile-orbs span:nth-child(3) { transform: translateX(14px); }
  .tile-hero:hover .tile-orbs span:hover { background: rgba(243, 239, 232, .2); }
}
.tile .stat {
  font-family: var(--serif); font-size: clamp(4.4rem, 7vw, 6.6rem); line-height: .9;
  color: var(--olive); letter-spacing: -0.03em;
  margin-bottom: auto;
}
.tile-ico { width: 46px; height: 46px; fill: none; stroke: var(--olive); stroke-width: 1.4; stroke-linecap: round; margin-bottom: auto; }
.tile-photo { padding: 0; min-height: 320px; justify-content: flex-end; }
.tile-photo img {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.tile-photo:hover img { transform: scale(1.05); }
.tile-glass { margin: 16px; padding: 20px 22px; border-radius: 20px; }
.tile-glass h3 { font-size: 1.25rem; }
.tile-glass p { margin-top: 4px; font-size: .98rem; }

/* ---------- PROCESO ---------- */
.process { padding-block: clamp(96px, 15vh, 180px); background: var(--white); }
.steps-wrap { --progress: 1; position: relative; margin-top: clamp(56px, 8vh, 88px); }
.steps { display: grid; gap: 40px; position: relative; }
.steps-line {
  position: absolute; left: 21px; top: 22px; bottom: 60px; width: 2px;
  background: var(--line);
}
.steps-line span {
  position: absolute; inset: 0;
  background: var(--olive);
  transform-origin: 50% 0; transform: scaleY(var(--progress));
}
.step { position: relative; padding-left: 70px; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--line-2);
  font-family: var(--grotesk); font-size: 13px; font-weight: 500;
  transition: background-color .5s var(--ease-out), color .5s, border-color .5s, transform .6s var(--ease-out);
}
.step.is-active .step-num { background: var(--olive); color: var(--cream); border-color: var(--olive); transform: scale(1.06); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -0.01em; padding-top: 4px; }
.step p { margin-top: 10px; color: var(--mute); max-width: 32ch; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(96px, 15vh, 180px); background: var(--paper); }
.faq-grid { display: grid; gap: 48px; }
.faq .section-head { text-align: left; margin: 0; }
.faq .section-lede { margin-left: 0; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2);
  font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--olive);
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--olive); color: var(--cream); border-color: var(--olive); }
.faq-item p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 62ch; }
.faq-item::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

/* ---------- CONTACTO ---------- */
.contact {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(96px, 15vh, 180px);
  scroll-margin-top: 0;
}
.contact-bg { position: absolute; inset: 0; z-index: -1; background: #cdbfaa; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.contact-grid { display: grid; gap: 40px; align-items: center; }
.contact-title {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .92; letter-spacing: -0.02em;
}
.contact-title em { color: var(--olive); }
.contact-text { margin-top: 22px; max-width: 38ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); }
.email-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.email-row .email-pill { flex: 1 1 280px; }
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; min-height: 64px;
  font-weight: 600;
  transition: transform .45s var(--ease-out);
}
.copy-btn:hover { transform: translateY(-2px); }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 40px); border-radius: 30px; }
.field { display: block; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend {
  display: block; margin-bottom: 8px; padding: 0;
  font-family: var(--grotesk); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: var(--radius-s);
  border: 1px solid rgba(14, 14, 12, .13);
  background: rgba(255, 255, 255, .72);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--olive); background: var(--white);
  box-shadow: 0 0 0 4px rgba(75, 90, 38, .16);
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(14, 14, 12, .14); background: rgba(255, 255, 255, .6);
  font-weight: 500; font-size: 15px; cursor: pointer; user-select: none;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.pill span:hover { border-color: var(--olive); }
.pill input:checked + span { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.pill input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--mute); text-align: center; }

/* ---------- FOOTER ---------- */
.footer { background: var(--white); padding-top: clamp(64px, 10vh, 110px); }
.footer-top { display: grid; gap: 40px; }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; color: var(--mute); font-size: 15px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col h4 {
  margin-bottom: 6px;
  font-family: var(--grotesk); font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute);
}
.footer-col a { color: var(--ink-2); transition: color .25s; width: fit-content; }
.footer-col a:hover { color: var(--olive); }
.footer-mark {
  margin-top: clamp(56px, 9vh, 96px);
  width: 100%; aspect-ratio: 2524 / 936;
  background: linear-gradient(180deg, var(--olive) 0%, rgba(75, 90, 38, .08) 100%);
  -webkit-mask: url("assets/img/logo-innit-wordmark-xl.webp") center / contain no-repeat;
  mask: url("assets/img/logo-innit-wordmark-xl.webp") center / contain no-repeat;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 28px; padding-block: 26px 34px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.footer-credits a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-credits a:hover { color: var(--olive); }

/* ---------- CRÉDITOS (página secundaria) ---------- */
.page-credits main { padding: calc(var(--nav-h) + 72px) 0 120px; }
.credits-list { display: grid; gap: 14px; margin-top: 40px; }
.credits-list li { padding: 18px 22px; border-radius: 18px; background: var(--paper); color: var(--ink-2); font-size: 15px; }
.credits-list a { color: var(--olive); font-weight: 600; }

/* =============================================================
   7. Effects
   ============================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js .bento [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .bento [data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .bento [data-reveal]:nth-child(4) { transition-delay: .24s; }
.js .panel-visual[data-reveal] { transition-delay: .12s; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 90, 38, .45); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(75, 90, 38, 0); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes flowDot {
  0%, 4%    { top: 34px; }
  21%, 29%  { top: calc(34px + (100% - 76px) / 3); }
  46%, 54%  { top: calc(34px + (100% - 76px) / 3 * 2); }
  71%, 94%  { top: calc(100% - 42px); opacity: 1; }
  98%       { top: calc(100% - 42px); opacity: 0; }
  100%      { top: 34px; opacity: 0; }
}
@keyframes stepOn {
  0%, 25%, 100% { background: rgba(242, 240, 233, .045); border-color: rgba(242, 240, 233, .09); }
  3%, 22%       { background: rgba(169, 184, 116, .12); border-color: rgba(169, 184, 116, .45); }
}
@keyframes feed {
  0%, 12%   { transform: translateY(0); }
  88%, 100% { transform: translateY(-38%); }
}
@keyframes notif {
  0%       { opacity: 0; transform: translateY(14px) scale(.96); }
  5%, 27%  { opacity: 1; transform: none; }
  33%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); }
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .nav-cta { display: inline-flex; }
  .nav-toggle { margin-left: 8px; }
}

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-hero, .tile-photo { grid-column: span 2; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

@media (min-width: 960px) {
  :root { --nav-h: 58px; }
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
  .js .nav-toggle, .nav-sheet { display: none; }

  /* Stage a pantalla completa con marco que se abre (via --p) */
  .stage { padding-inline: 0; }
  .stage-frame {
    height: 100svh; min-height: 620px; border-radius: 0;
    clip-path: inset(calc(var(--p) * 3.5svh) calc(var(--p) * var(--gutter)) round calc(var(--p) * 36px));
  }
  .stage-content {
    grid-template-columns: 1fr 1.08fr; align-items: center; gap: 6vw;
    padding-inline: calc(var(--gutter) + 3vw);
  }

  .panel-card { grid-template-columns: 1fr 1.12fr; gap: 64px; min-height: 640px; }
  .panel-auto .panel-card, .panel-social .panel-card { grid-template-columns: 1fr 1fr; }

  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-hero { grid-column: span 2; grid-row: span 2; min-height: 540px; }
  .tile-photo { grid-column: 3 / span 2; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps-line { left: 22px; right: auto; top: 21px; bottom: auto; width: calc(75% + 24px); height: 2px; }
  .steps-line span { transform-origin: 0 50%; transform: scaleX(var(--progress)); }
  .step { padding-left: 0; padding-top: 72px; }

  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--nav-h) + 40px); }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); }
}

@media (min-width: 1280px) {
  .visual-web { margin-right: -24px; }
}

@media (max-width: 539px) {
  .hero-chip { font-size: 10px; letter-spacing: .16em; padding: 8px 14px; }
  .chip-lead { display: none; }
  .tile-orbs span { width: 100px; margin-inline: -9px; font-size: 9px; letter-spacing: .06em; }
  .tile-stat, .tile-mobile { min-height: 0; }
  .tile .stat { margin-bottom: 8px; }
  .tile-ico { margin-bottom: 12px; }
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-go { display: none; }
  .mb-nav span { display: none; }
  .notif { font-size: 12px; }
  .notif-1 { left: -4px; }
  .notif-2 { right: -4px; }
  .faq-item p { padding-right: 0; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip-dot { animation: none; }
  .ig-grid { animation-duration: 60s; }
}

/* =============================================================
   10. Añadidos v2 — contacto, formulario, cookies, carga, utilidades
   ============================================================= */

/* ---------- Barra de scroll ---------- */
html { scrollbar-color: var(--olive-2) var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--olive-2); border-radius: 999px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--olive); }

/* ---------- Pantalla de carga ---------- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--white);
  transition: opacity .6s var(--ease-out), visibility 0s .6s;
  animation: splashSafety .01s 3s forwards;           /* red de seguridad si falla el JS */
}
html:not(.js) .splash { display: none; }
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { display: grid; justify-items: center; gap: 22px; }
.splash-inner img { width: 132px; height: auto; animation: splashLogo .9s var(--ease-out) both; }
.splash-line { width: 132px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.splash-line span { display: block; height: 100%; background: var(--olive); transform-origin: left; animation: splashBar 1s var(--ease-soft) .1s both; }
@keyframes splashLogo { from { opacity: 0; transform: translateY(10px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes splashBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Imágenes que aparecen suavemente al cargar */
.js img.img-fade { opacity: 0; transition: opacity .7s var(--ease-soft); }
.js img.img-fade.is-loaded { opacity: 1; }

/* ---------- Canales de contacto ---------- */
.channels { display: grid; gap: 10px; margin-top: 30px; }
.channels .email-row { margin-top: 0; }
.channel-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
}
.channel:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(45, 38, 24, .5); }
.channel-ico {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--olive); color: var(--cream);
  transition: transform .45s var(--ease-out);
}
.channel-ico svg { width: 22px; height: 22px; fill: currentColor; }
.channel-tel .channel-ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.channel-wa .channel-ico { background: #2f7d4f; }
.channel:hover .channel-ico { transform: rotate(-8deg) scale(1.06); }
.channel-txt { display: grid; line-height: 1.25; min-width: 0; }
.channel-txt small { font-family: var(--grotesk); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.channel-txt strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.channel-txt span { font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.channel-go { margin-left: auto; color: var(--olive); font-size: 1.2rem; transition: transform .45s var(--ease-out); }
.channel:hover .channel-go { transform: translateX(4px); }

/* ---------- Formulario ---------- */
.form-body { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field .opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--mute); }
.field-error { margin-top: 6px; font-size: 13px; color: #a3321f; font-weight: 500; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error textarea {
  border-color: #c2412b; background: #fff7f5;
  box-shadow: 0 0 0 4px rgba(194, 65, 43, .12);
}
.field.is-valid input:not([type=checkbox]), .field.is-valid textarea { border-color: rgba(75, 90, 38, .55); }
.field input:hover:not(:focus), .field textarea:hover:not(:focus) { border-color: rgba(14, 14, 12, .28); }

/* Trampa para robots: fuera de la vista */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Pregunta anti-robots */
.captcha > label { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.captcha-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--olive); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.captcha-input { display: flex; gap: 8px; align-items: center; }
.field .captcha-input input { width: 96px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.captcha-refresh {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(14, 14, 12, .13); background: rgba(255, 255, 255, .6);
  transition: transform .5s var(--ease-out), border-color .3s, background-color .3s;
}
.captcha-refresh svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; }
.captcha-refresh:hover { border-color: var(--olive); background: var(--white); transform: rotate(-90deg); }
.captcha.is-loading > label span:last-child { opacity: .5; }

/* Casilla de privacidad */
.field > label.check {
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
  font-family: var(--sans); font-size: 14.5px; letter-spacing: 0; text-transform: none;
  color: var(--ink-2); cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid rgba(14, 14, 12, .3); background: rgba(255, 255, 255, .7);
  transition: background-color .25s, border-color .25s;
}
.check input:checked + .check-box {
  background: var(--olive) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3efe8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12.5 4 4L18 8'/></svg>") center / 14px no-repeat;
  border-color: var(--olive);
}
.check input:focus-visible + .check-box { outline: 2px solid var(--olive); outline-offset: 2px; }
.check:hover .check-box { border-color: var(--olive); }
.check a, .form-note a { color: var(--olive); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consent.has-error .check-box { border-color: #c2412b; }

/* Botón con estado de envío */
.btn-send { position: relative; }
.btn-spinner {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; border: 2px solid rgba(243, 239, 232, .35); border-top-color: var(--cream);
  opacity: 0; animation: spin .8s linear infinite;
}
.btn-send.is-loading { pointer-events: none; }
.btn-send.is-loading .btn-label { opacity: 0; }
.btn-send.is-loading .btn-spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: 14px; font-weight: 600; text-align: center; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; color: #8f2a18; background: #fdecea; border: 1px solid #f3c4bc; }
.form-status.is-info { padding: 12px 14px; color: var(--olive-dark); background: var(--olive-soft); }

.form-success { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 12px; }
.form-success[hidden] { display: none; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--olive); }
.form-success p { color: var(--ink-2); max-width: 32ch; }
.success-check { width: 76px; height: 76px; fill: none; stroke: var(--olive); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease-out) forwards; }
.success-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(14, 14, 12, .22); }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); transform: translateY(-2px); }

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: var(--cream);
  box-shadow: 0 16px 34px -14px rgba(59, 71, 25, .7);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .4s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top.is-visible:hover { background: var(--olive-dark); transform: translateY(-3px); }
.to-top-arrow { position: relative; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.to-top-ring circle { stroke: rgba(243, 239, 232, .22); }
.to-top-ring .to-top-progress { stroke: var(--cream); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
  max-width: 420px; padding: 20px 22px;
  display: grid; gap: 12px;
  font-size: 14.5px; color: var(--ink-2);
  animation: fadeUp .6s var(--ease-out) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.cookie-banner a { color: var(--olive); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Pie: enlaces legales ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-legal a, .footer-legal button { color: var(--ink-2); font-size: 13px; transition: color .25s; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Estados de hover extra ---------- */
.faq-item summary { transition: color .25s; }
.faq-item summary:hover { color: var(--olive); }
.faq-item summary:hover::after { border-color: var(--olive); }
.step { transition: transform .5s var(--ease-out); }
.step:hover { transform: translateY(-4px); }
.step:hover .step-num { border-color: var(--olive); }
.nav-logo { transition: opacity .25s; }
.nav-logo:hover { opacity: .7; }
.inline-link { transition: color .25s, border-color .25s; }
.inline-link:hover { color: var(--olive-dark); }
.checks li { transition: transform .35s var(--ease-out); }
.checks li:hover { transform: translateX(4px); }
.tags li { transition: background-color .3s, border-color .3s; }
.tags li:hover { background: rgba(169, 184, 116, .14); border-color: rgba(169, 184, 116, .5); }

/* ---------- Páginas secundarias (legales, créditos, 404) ---------- */
.page-simple main { padding: calc(var(--nav-h) + 64px) 0 110px; }
.page-simple .nav-back { margin-left: auto; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: .95; margin: 16px 0 12px; }
.legal h1 em { color: var(--olive); }
.legal .updated { color: var(--mute); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); max-width: 72ch; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin-top: 8px; }
.legal a { color: var(--olive); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--grotesk); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.legal .table-wrap { overflow-x: auto; }
.legal .credits-list { margin-top: 28px; }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; isolation: isolate; overflow: hidden; padding: 100px 20px; }
.notfound .contact-bg { position: absolute; inset: 0; z-index: -1; }
.notfound .contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.notfound-card { max-width: 560px; padding: clamp(32px, 6vw, 56px); border-radius: 32px; }
.notfound-code { font-family: var(--serif); font-size: clamp(6rem, 22vw, 11rem); line-height: .8; color: var(--olive); letter-spacing: -0.04em; }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); margin-top: 14px; }
.notfound p { color: var(--ink-2); margin: 12px auto 26px; max-width: 36ch; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .cookie-banner { left: 20px; right: auto; bottom: 20px; }
}
@media (max-width: 539px) {
  .channel-grid { grid-template-columns: 1fr; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .cookie-open .to-top { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
}

.notfound-logo { display: inline-block; margin: 0 auto 26px; }
.notfound-logo img { width: 120px; height: auto; }
