/* =============================================================
   Alesso Studio — styles.css
   Dirección: blanco dominante, bloques negros, tipografía grande.
   Monocromo como el logotipo; el único color es el verde de WhatsApp.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg:        #ffffff;
  --bg-2:      #f4f4f1;
  --ink:       #0a0a0a;
  --ink-2:     rgba(10, 10, 10, .70);
  --mute:      rgba(10, 10, 10, .62);
  --line:      rgba(10, 10, 10, .10);
  --line-2:    rgba(10, 10, 10, .18);

  --card:      #0b0b0b;
  --card-2:    #161616;
  --card-3:    #222222;
  --on-card:   #f5f5f2;
  --on-card-2: rgba(245, 245, 242, .68);
  --on-card-3: rgba(245, 245, 242, .60);
  --card-line: rgba(245, 245, 242, .12);

  --wa:        #25d366;
  --wa-deep:   #128c4a;
  --ok:        #1f9d57;
  --err:       #d23b3b;

  --sans:  "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --brand: "Montserrat", "Inter Tight", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1360px;
  --radius: 24px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
main, .footer { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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; }
ol, ul { list-style: none; }
fieldset { border: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.ico, .btn svg { width: 18px; height: 18px; flex: none; }
.ico use, svg use { fill: currentColor; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.shine-text {
  background: linear-gradient(100deg, #0a0a0a 0%, #0a0a0a 38%, #9a9a9a 50%, #0a0a0a 62%, #0a0a0a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5.5s var(--ease-out) infinite;
  padding-right: .04em;
}
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -20% 0; } }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--brand); font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--mute);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero .kicker::before { display: none; }
.kicker-light { color: var(--on-card-3); }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10,10,10,.35); } 70% { box-shadow: 0 0 0 12px rgba(10,10,10,0); } 100% { box-shadow: 0 0 0 0 rgba(10,10,10,0); } }
.section-title { font-size: clamp(2.3rem, 5.4vw, 4.9rem); margin-top: 1.2rem; }
.section-lead { margin-top: 1.4rem; font-size: 1.08rem; max-width: 32rem; color: var(--ink-2); }

/* =============================================================
   5. Components
   ============================================================= */
/* ---- Buttons ---- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  height: 58px; padding: 0 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease-out), color .4s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn svg { transition: transform .5s var(--ease-out); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease-out); }
.btn:hover::before { transform: translateY(0); }

.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -14px rgba(0,0,0,.55); }
.btn-dark::before { background: var(--wa-deep); }
.btn-dark:hover { box-shadow: 0 20px 44px -14px rgba(18,140,74,.55); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: #fff; }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { background: var(--wa); }
.btn-light:hover { color: #04140a; }
.btn-outline-light { color: var(--on-card); border: 1px solid var(--card-line); }
.btn-outline-light::before { background: #fff; }
.btn-outline-light:hover { color: var(--ink); }
.btn-sm { height: 44px; padding: 0 1.1rem; font-size: .92rem; gap: .5rem; }
.btn-sm svg { width: 17px; height: 17px; }

/* ---- Image placeholders (dark, on black frames) ---- */
.ph {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(160deg, #1d1d1d, #0d0d0d);
  color: rgba(255,255,255,.7); text-align: center;
}
.ph::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.16); border-radius: inherit; pointer-events: none; }
.ph-tag { font-family: var(--brand); font-size: .62rem; font-weight: 500; letter-spacing: .2em; padding: .35rem .7rem; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.ph-name { font-size: .72rem; opacity: .5; }
.ph-mark { width: 44px; height: 44px; color: rgba(255,255,255,.3); margin-bottom: .2rem; }

/* ---- Floating chips (hero) ---- */
.chip {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .8rem 1.15rem .8rem .8rem; border-radius: 18px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.05);
  font-size: .85rem; white-space: nowrap;
}
.chip small { display: block; font-family: var(--brand); font-size: .6rem; font-weight: 500; color: var(--mute); letter-spacing: .14em; text-transform: uppercase; }
.chip strong { font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.chip-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); }
.chip-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gauge { width: 44px; height: 44px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: var(--line); stroke-width: 4; }
.gauge .gauge-fill { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset 2s var(--ease-out) .6s; }
.is-ready .gauge .gauge-fill, html:not(.js) .gauge .gauge-fill { stroke-dashoffset: 2; }
.chip-secure { padding: .65rem 1.05rem .65rem .65rem; font-weight: 500; font-size: .84rem; }
.lock { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-2); }
.lock svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; }

/* ---- Toast ---- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: .8rem 1.2rem; border-radius: 99px; background: var(--ink); color: #fff; font-size: .92rem; font-weight: 500;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---- Splash ---- */
.splash {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: #fff;
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-in);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
html:not(.js) .splash { display: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); visibility: hidden; } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.splash-mark { width: 88px; height: 88px; color: var(--ink); animation: splashPop 1.1s var(--ease-out) both; }
@keyframes splashPop { from { opacity: 0; transform: translateY(14px) scale(.9); filter: blur(6px); } }
.splash-word { font-family: var(--brand); font-weight: 300; font-size: 1.1rem; letter-spacing: .6em; padding-left: .6em; animation: splashWord 1.2s var(--ease-out) .2s both; }
@keyframes splashWord { from { opacity: 0; letter-spacing: 1.2em; } }
.splash-bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.splash-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: splashBar 1.2s var(--ease-out) .2s both; }
@keyframes splashBar { from { transform: scaleX(0); } }

/* ---- Cursor ---- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9990; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid #fff;
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .45s;
}
.cursor-ring em { font-family: var(--brand); font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; }
.cursor.is-label .cursor-ring em { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; } html.has-cursor input, html.has-cursor textarea { cursor: text; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--gutter) 1rem;
  transition: padding .5s var(--ease-out), background-color .5s, border-color .5s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { padding-block: calc(.6rem + env(safe-area-inset-top, 0px)) .6rem; background: rgba(255,255,255,.94); border-bottom-color: var(--line); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .nav.is-scrolled { background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { width: 38px; height: 38px; color: var(--ink); transition: transform .7s var(--ease-bounce); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.wordmark { display: flex; flex-direction: column; line-height: 1; font-family: var(--brand); }
.wordmark b { font-weight: 400; font-size: 1rem; letter-spacing: .42em; }
.wordmark small { font-weight: 400; font-size: .5rem; letter-spacing: .72em; color: var(--mute); margin-top: .35rem; }
.nav-links { display: none; gap: .2rem; padding: .3rem; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.7); position: relative; }
.nav-links a { position: relative; z-index: 1; padding: .5rem 1rem; border-radius: 99px; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-pill { position: absolute; z-index: 0; top: .3rem; bottom: .3rem; border-radius: 99px; background: var(--ink); transition: left .45s var(--ease-out), width .45s var(--ease-out), opacity .3s; opacity: 0; }
.nav-right { display: flex; align-items: center; gap: .6rem; }
.nav-cta span { display: none; }
.nav-cta { width: 44px; padding: 0; }
.nav-burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-content: center; gap: 6px; background: #fff; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem;
  padding: 6rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease-out); visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(2.2rem, 10vw, 4.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.14); padding-block: .35rem; }
.menu small { font-family: var(--brand); font-size: .72rem; font-weight: 400; opacity: .5; letter-spacing: .1em; }
.menu-contact { display: flex; flex-direction: column; gap: .4rem; font-size: .95rem; color: rgba(255,255,255,.7); }
.nav.menu-open .brand-mark { color: #fff; }
.nav.menu-open .wordmark { color: #fff; }
.nav.menu-open .wordmark small { color: rgba(255,255,255,.5); }
.nav.menu-open .nav-cta { background: #fff; color: var(--ink); }
.nav.menu-open .nav-burger { border-color: rgba(255,255,255,.3); }
.nav.menu-open { background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ---- Hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 7.5rem var(--gutter) 2rem; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,10,10,.16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 60% 35%, #000 10%, transparent 75%);
}
.hero-spot {
  position: absolute; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,10,10,.08) 0%, rgba(10,10,10,.03) 35%, transparent 65%);
  transform: translate3d(70vw, 30vh, 0); will-change: transform;
}
.hero-watermark { position: absolute; right: -8vw; bottom: -12vw; width: min(62vw, 820px); height: min(62vw, 820px); color: rgba(10,10,10,.04); transform: rotate(-6deg); }
.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; gap: 3rem; align-items: center; width: 100%; max-width: var(--maxw); margin-inline: auto; }
.hero-title { font-size: clamp(2.9rem, 13vw, 5.4rem); font-weight: 650; letter-spacing: -.055em; line-height: .95; margin: 1.4rem 0 1.6rem; }
.hero-title em { font-size: 1.08em; letter-spacing: -.03em; padding-right: .05em; }
.hero-title .shine-text { font-weight: 750; }
.hero-sub { max-width: 34rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; font-size: .9rem; line-height: 1.35; }
.hero-trust span { color: var(--mute); }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; background: linear-gradient(140deg, #2a2a2a, #0a0a0a); }
.avatars span:first-child { margin-left: 0; background: linear-gradient(140deg, #bdbdbd, #6b6b6b); }
.avatars span:nth-child(2) { background: linear-gradient(140deg, #8c8c8c, #333); }
.avatars span:nth-child(3) { background: linear-gradient(140deg, #d9d9d6, #9a9a9a); }

.hero-stage { position: relative; height: 420px; perspective: 1400px; }
.stage-layer { position: absolute; inset: 0; pointer-events: none; transition: transform .9s var(--ease-out); }
.stage-layer > * { pointer-events: auto; }
.window { position: absolute; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid rgba(0,0,0,.9); box-shadow: 0 60px 100px -40px rgba(0,0,0,.55), 0 20px 40px -20px rgba(0,0,0,.25); }
.window-main { left: 0; right: 8%; top: 4%; aspect-ratio: 16 / 11; transform: rotateY(-8deg) rotateX(4deg); }
.window-bar, .work-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #141414; border-bottom: 1px solid rgba(255,255,255,.06); }
.window-bar i, .work-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.window-bar span, .work-bar span { margin-inline: auto; font-size: .68rem; color: rgba(255,255,255,.45); padding: .2rem .8rem; border-radius: 6px; background: rgba(255,255,255,.06); }
.ph-hero { height: calc(100% - 34px); }
.shot { display: block; width: 100%; object-fit: cover; object-position: top center; background: #111; }
.shot-hero { height: calc(100% - 34px); }
.shot-phone { height: 100%; border-radius: 22px; }
.window-phone { width: 31%; min-width: 120px; aspect-ratio: 9 / 16.9; right: 0; bottom: 0; border-radius: 28px; padding: 6px; transform: rotateY(-14deg) rotateZ(3deg); }
.window-phone .ph { height: 100%; border-radius: 22px; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 32%; height: 16px; border-radius: 10px; background: #000; transform: translateX(-50%); z-index: 2; }
.chip-sales { position: absolute; left: -2%; bottom: 12%; animation: bob 6s ease-in-out infinite; }
.chip-speed { position: absolute; right: 22%; top: -2%; animation: bob 7s ease-in-out infinite -2s; }
.chip-secure { position: absolute; left: 30%; bottom: -1%; animation: bob 5.5s ease-in-out infinite -1s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1rem; width: 100%; max-width: var(--maxw); margin: 3.5rem auto 0; border-top: 1px solid var(--line-2); }
.stat { padding: 1.4rem 1rem .6rem 0; display: flex; flex-direction: column; gap: .2rem; }
.stat strong { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stat > span { font-size: .86rem; color: var(--mute); }

/* ---- Marquee ---- */
.marquee { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 1.3rem 0; transform: rotate(-1.4deg) scale(1.03); margin-block: 1.5rem -1rem; z-index: 3; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.marquee span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; white-space: nowrap; }
.marquee span:nth-child(4n+1) { font-family: var(--serif); font-style: italic; font-weight: 400; }
.marquee i { font-style: normal; color: rgba(255,255,255,.4); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Manifesto ---- */
.manifesto { padding: clamp(7rem, 16vw, 12rem) 0 clamp(5rem, 11vw, 9rem); }
.manifesto-text { margin-top: 2rem; font-size: clamp(1.7rem, 4.2vw, 3.9rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; max-width: 1200px; }
.hl-word { transition: opacity .4s linear; opacity: .14; }
.hl-word.is-on { opacity: 1; }

/* ---- Benefits ---- */
.benefits { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.benefits-inner { display: grid; gap: 3rem; }
.big-number { margin-top: 2.4rem; display: flex; align-items: flex-end; gap: 1.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2); }
.big-number strong { font-size: clamp(4.4rem, 10vw, 7.6rem); font-weight: 700; letter-spacing: -.06em; line-height: .8; }
.big-number p { font-size: .95rem; max-width: 18rem; line-height: 1.4; color: var(--ink-2); }
.big-number small { display: block; margin-top: .5rem; font-family: var(--brand); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.benefit-grid { display: grid; gap: 1rem; }
.benefit {
  --sx: 50%; --sy: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  padding: 1.6rem 1.6rem 1.8rem; border-radius: var(--radius);
  background: var(--card); color: var(--on-card);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.benefit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--sx) var(--sy), rgba(255,255,255,.14), transparent 70%);
}
.benefit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }
.benefit:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.55); }
.benefit:hover::before { opacity: 1; }
.benefit-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
.benefit-num { font-family: var(--brand); font-size: .72rem; letter-spacing: .2em; color: var(--on-card-3); }
.benefit-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--card-3); transition: background-color .5s var(--ease-out), color .5s, transform .6s var(--ease-bounce); }
.benefit-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit:hover .benefit-ico { background: #fff; color: var(--ink); transform: rotate(-10deg) scale(1.06); }
.benefit h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.03em; }
.benefit p { margin-top: .6rem; color: var(--on-card-2); font-size: .96rem; }

/* ---- Portfolio ---- */
.portfolio { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--bg-2); border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(0px, 1vw, 16px); }
.portfolio-head { display: grid; gap: 2rem; margin-bottom: 3rem; align-items: end; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { padding: .6rem 1.1rem; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease-bounce); }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.04); }
.work-grid { display: grid; gap: 1.2rem; }
.work { transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.work.is-out { opacity: 0; transform: scale(.94) translateY(12px); }
.work.is-gone { display: none; }
.work-link {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: .7rem .7rem 1.5rem; border-radius: var(--radius);
  background: var(--card); color: var(--on-card);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.work-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--gx) var(--gy), rgba(255,255,255,.12), transparent 65%); }
.work-link:hover { box-shadow: 0 40px 80px -36px rgba(0,0,0,.6); }
.work-link:hover::before { opacity: 1; }
.work-frame { border-radius: 16px; overflow: hidden; background: #111; }
.work-frame img, .ph-work { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1s var(--ease-out); }
.work-link:hover .work-frame img, .work-link:hover .ph-work { transform: scale(1.03); }
.work-info { padding: 1.2rem .7rem 0; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.work-meta { display: flex; justify-content: space-between; font-family: var(--brand); font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-card-3); }
.work-info h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.work-info p { color: var(--on-card-2); font-size: .95rem; }
.work-cta { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; }
.work-cta svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.work-link:hover .work-cta svg { transform: translate(3px, -3px); }
.work-next .work-link { justify-content: space-between; min-height: 340px; padding: 2rem; background: #fff; color: var(--ink); border: 1px dashed var(--line-2); }
.work-next .work-link:hover { border-color: var(--ink); }
.work-next-kicker { font-family: var(--brand); font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.work-next strong { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 650; letter-spacing: -.05em; line-height: .95; }
.work-next-arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease-bounce), background-color .4s; }
.work-next-arrow svg { width: 26px; height: 26px; }
.work-next .work-link:hover .work-next-arrow { transform: rotate(-45deg) scale(1.08); background: var(--wa-deep); }
.work-empty { margin-top: 1.5rem; color: var(--mute); }

/* ---- Process ---- */
.process { padding: clamp(5rem, 10vw, 8rem) 0; }
.process-head { margin-bottom: 3.5rem; }
.process-rail { position: relative; display: grid; gap: 2.4rem; padding-left: 2rem; }
.rail-line { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-line i { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); }
.step { position: relative; }
.step-dot { position: absolute; left: calc(-2rem + 1px); top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.step.is-lit .step-dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(10,10,10,.08); }
.step-week { font-family: var(--brand); font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .5rem 0 .6rem; }
.step p { color: var(--ink-2); max-width: 22rem; }

/* ---- Testimonials (black card on white) ---- */
.testimonials { padding: clamp(2rem, 6vw, 4rem) 0 clamp(5rem, 9vw, 7rem); }
.t-card { position: relative; isolation: isolate; overflow: hidden; background: var(--card); color: var(--on-card); border-radius: clamp(28px, 4vw, 48px); padding: clamp(2rem, 5vw, 4.5rem); }
.t-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 90% 0%, rgba(255,255,255,.08), transparent 60%); }
.t-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; }
.t-score { display: grid; grid-template-columns: auto auto; column-gap: .9rem; align-items: center; }
.t-score strong { grid-row: span 2; font-size: 3.2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.stars { letter-spacing: .15em; font-size: 1.05rem; }
.t-score small { font-family: var(--brand); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-card-3); }
.t-stage { position: relative; }
.t-quote-mark { position: absolute; top: -3.4rem; left: -.6rem; font-family: var(--serif); font-size: 11rem; line-height: 1; color: rgba(255,255,255,.14); pointer-events: none; }
.t-slides { display: grid; }
.t-slide { display: grid; gap: 2.2rem; padding-top: 3rem; }
.t-slide blockquote { font-size: clamp(1.55rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.14; max-width: 1100px; }
.t-slide figcaption { display: flex; align-items: center; gap: 1rem; }
.t-slide figcaption strong { display: block; font-size: 1.05rem; }
.t-slide figcaption small { color: var(--on-card-3); font-size: .88rem; }
.t-avatar { width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, #2c2c2c, #111); border: 1px solid var(--card-line); font-family: var(--brand); font-size: .95rem; font-weight: 500; letter-spacing: .08em; color: var(--on-card); }
html:not(.js) .t-slides { gap: 3rem; }
html.js .t-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease-out), visibility 0s .7s; }
html.js .t-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out) .15s; }
html.js .t-slide blockquote .t-w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out); transition-delay: calc(var(--i) * 22ms + 150ms); }
html.js .t-slide.is-active blockquote .t-w { opacity: 1; transform: none; filter: none; }
.t-controls { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 3rem; }
html:not(.js) .t-controls { display: none; }
.t-bars { display: flex; gap: .5rem; flex: 1; max-width: 420px; }
.t-bars button { flex: 1; min-width: 24px; height: 32px; display: flex; align-items: center; }
.t-bars i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.t-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.t-bars button.is-done i::after { transform: scaleX(1); }
.t-bars button.is-active i::after { animation: tFill var(--t-dur, 6s) linear forwards; }
.testimonials.is-paused .t-bars button.is-active i::after { animation-play-state: paused; }
@keyframes tFill { to { transform: scaleX(1); } }
.t-arrows { display: flex; gap: .6rem; }
.t-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--card-line); display: grid; place-items: center; transition: background-color .4s, color .4s, border-color .4s; }
.t-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-arrow:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---- Contact ---- */
.contact { position: relative; padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem); }
.contact-inner { display: grid; gap: 3rem; align-items: start; }
.contact-title { font-size: clamp(2.6rem, 7vw, 5.8rem); letter-spacing: -.05em; line-height: .96; margin-top: 1.2rem; }
.contact-lead { margin-top: 1.5rem; max-width: 30rem; font-size: 1.08rem; color: var(--ink-2); }
.contact-cards { display: grid; gap: .8rem; margin-top: 2.2rem; max-width: 34rem; }
.c-card {
  --sx: 50%; --sy: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.2rem 1.3rem; border-radius: 22px;
  background: var(--card); color: var(--on-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.c-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--sx) var(--sy), rgba(255,255,255,.12), transparent 70%); }
.c-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.c-card:hover::before { opacity: 1; }
.c-card-main { display: flex; align-items: center; gap: 1.1rem; flex: 1; min-width: 0; }
.c-ico { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--card-3); transition: background-color .4s, color .4s, transform .6s var(--ease-bounce); }
.c-ico svg { width: 26px; height: 26px; }
.c-card-wa .c-ico { background: var(--wa); color: #04140a; }
.c-card:hover .c-ico { transform: rotate(-8deg) scale(1.06); }
.c-card-mail:hover .c-ico { background: #fff; color: var(--ink); }
.c-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.c-body small { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--brand); font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-card-3); }
.c-body strong { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
.c-cta { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--on-card-2); transition: color .3s; }
.c-cta svg { width: 15px; height: 15px; transition: transform .5s var(--ease-out); }
.c-card:hover .c-cta { color: #fff; }
.c-card:hover .c-cta svg { transform: translateX(4px); }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: waPulse 2s infinite; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.c-card-mail { flex-wrap: wrap; row-gap: .8rem; }
.c-card-mail .c-card-main { flex-basis: 100%; }
.c-mail { font-size: clamp(1.02rem, 1.9vw, 1.3rem) !important; }
.c-copy { margin-left: calc(54px + 1.1rem); display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 99px; border: 1px solid var(--card-line); font-size: .82rem; font-weight: 500; color: var(--on-card-2); transition: background-color .3s, color .3s, border-color .3s; z-index: 1; }
.c-copy svg { width: 15px; height: 15px; }
.c-copy:hover { background: #fff; color: var(--ink); border-color: #fff; }
.c-copy.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }
.contact-list { margin-top: 2rem; display: grid; max-width: 34rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list span { font-family: var(--brand); font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-top: .25rem; }

.form {
  position: relative; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px;
  background: var(--card); color: var(--on-card);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.55);
  display: grid; gap: 1.05rem;
}
.form::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 65%, rgba(255,255,255,.7) 80%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 7s linear infinite;
}
@keyframes spinBorder { to { --angle: 360deg; } }
.form-head { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .3rem; }
.form-head strong { font-size: 1.4rem; letter-spacing: -.03em; }
.form-head span { font-size: .88rem; color: var(--on-card-3); }
.form-row { display: grid; gap: 1.05rem; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--on-card);
  padding: 1.5rem 1.1rem .6rem; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--card-line);
  transition: border-color .3s, background-color .3s, box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 110px; }
.field span { position: absolute; left: 1.1rem; top: 1.05rem; color: var(--on-card-3); pointer-events: none; transition: transform .35s var(--ease-out), color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-.65rem) scale(.74); color: var(--on-card-2); }
.field.is-invalid input { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.15); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; margin-bottom: .6rem; font-family: var(--brand); font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-card-3); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--card-line); font-size: .9rem; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease-bounce); }
.chips label:hover span { border-color: rgba(255,255,255,.45); }
.chips input:checked + span { background: #fff; border-color: #fff; color: var(--ink); transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form-actions { display: grid; gap: .6rem; margin-top: .3rem; }
.form-actions .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--on-card-3); text-align: center; }
.form-note.is-ok { color: #7be3a6; }
.form-note.is-err { color: #ff9a9a; }

/* ---- Footer ---- */
.footer { position: relative; overflow: hidden; padding-top: 4.5rem; background: var(--card); color: var(--on-card); }
.footer-top { display: grid; gap: 2.5rem; }
.footer-mark { width: 54px; height: 54px; color: #fff; margin-bottom: 1.2rem; }
.footer-claim { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.footer-claim em { color: var(--on-card-2); }
.footer-label { font-family: var(--brand); font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-card-3); margin-bottom: .3rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: var(--on-card-2); width: fit-content; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.footer-nav a:hover { color: #fff; background-size: 100% 1px; }
.footer-word {
  font-family: var(--brand); font-size: clamp(3.6rem, 17vw, 16rem); font-weight: 300; letter-spacing: .12em; line-height: .8;
  text-align: center; margin-top: 3.5rem; user-select: none; padding-left: .12em;
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.05) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(10%);
}
.footer-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--card-line); font-size: .82rem; color: var(--on-card-3); background: var(--card); }
.to-top:hover { color: #fff; }

/* ---- Floating WhatsApp ---- */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 150; display: flex; align-items: center; gap: .6rem; transition: transform .5s var(--ease-out), opacity .4s; }
.wa-float-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #04140a; box-shadow: 0 16px 34px -10px rgba(18,140,74,.6); position: relative; transition: transform .5s var(--ease-bounce); }
.wa-float-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s var(--ease-out) infinite; }
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float-btn svg { width: 30px; height: 30px; }
.wa-float-tip { padding: .5rem .9rem; border-radius: 99px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .5s var(--ease-out); pointer-events: none; }
.wa-float:hover .wa-float-tip, .wa-float.is-hint .wa-float-tip { opacity: 1; transform: none; }
.wa-float:hover .wa-float-btn { transform: scale(1.08) rotate(-8deg); }
.wa-float.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* =============================================================
   7. Effects — reveals & split text
   ============================================================= */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1 !important; transform: none !important; }
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; padding-right: .06em; margin-right: -.06em; }
.split-in { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--sd, 0ms)); }
.is-split.is-visible .split-in { transform: none; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .c-card-mail .c-card-main { padding-right: 5.6rem; }
  .c-copy { position: absolute; top: 1rem; right: 1rem; margin-left: 0; }
  .hero-stage { height: 500px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-actions { grid-template-columns: 1.2fr 1fr; }
  .nav-cta { width: auto; padding: 0 1.1rem; }
  .nav-cta span { display: inline; }
}
@media (min-width: 720px) {
  .benefit-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-rail { grid-template-columns: repeat(2, 1fr); padding-left: 0; gap: 3rem 2rem; }
  .rail-line, .step-dot { display: none; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .hero { padding-top: 8.5rem; }
  .hero-title { font-size: clamp(4rem, 8.4vw, 7.6rem); }
  .benefits-inner { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .benefits-head { position: sticky; top: 6.5rem; align-self: start; }
  .benefits .section-title { font-size: clamp(2.3rem, 4vw, 3.9rem); }
  .portfolio-head { grid-template-columns: 1fr auto; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .process-rail { grid-template-columns: repeat(4, 1fr); padding-top: 2.5rem; }
  .rail-line { display: block; left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 2px; }
  .rail-line i { transform-origin: left; transform: scaleX(0); }
  .step-dot { display: block; left: 0; top: -2.5rem; }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .t-quote-mark { font-size: 15rem; top: -5rem; left: -1.5rem; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 1280px) {
  .hero-inner { grid-template-columns: 1.08fr 1fr; gap: 2rem; }
  .hero-title { font-size: clamp(4.4rem, 6.6vw, 7.4rem); }
  .hero-stage { height: 560px; margin-right: -2vw; }
}
@media (min-width: 1600px) { .hero-stage { height: 620px; } }

/* =============================================================
   9. Reduced-motion — only INTRUSIVE effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .kicker-dot, .online-dot, .wa-float-btn::after { animation: none; }
  .chip-sales, .chip-speed, .chip-secure { animation-duration: 12s; }
  .marquee-track { animation-duration: 90s; }
  .shine-text { animation-duration: 12s; }
}

/* =============================================================
   10. Lanzamiento: accesibilidad, formularios, legal y cookies
   ============================================================= */
/* Foco visible también sobre fondos negros */
.footer :focus-visible, .benefit :focus-visible, .c-card :focus-visible, .c-card:focus-visible,
.form :focus-visible, .testimonials :focus-visible, .work-link:focus-visible, .btn-dark:focus-visible,
.cookie-bar :focus-visible, .menu :focus-visible { outline-color: #fff; }
.btn-dark:focus-visible, .work-link:focus-visible { box-shadow: 0 0 0 5px var(--ink); }

/* Errores por campo */
.field-err { display: block; min-height: 0; margin-top: .35rem; font-style: normal; font-family: var(--sans); font-size: .8rem; letter-spacing: 0; color: #ff9a9a; }
.field-err:empty { display: none; }
.field.is-invalid textarea { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.15); }
.btn-submit[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn-submit[aria-busy="true"] .ico { animation: pulseIco 1s ease-in-out infinite; }
@keyframes pulseIco { 50% { opacity: .35; } }

/* Campo trampa anti-spam: fuera de pantalla, no visible ni enfocable */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-legal { font-size: .78rem; color: var(--on-card-3); text-align: center; margin-top: -.4rem; }
.form-legal a { color: var(--on-card-2); text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:hover { color: #fff; }

.footer-link-btn { padding: 0; background: none; border: 0; font: inherit; text-align: left; color: var(--on-card-2); cursor: pointer; width: fit-content; }
.footer-link-btn:hover { color: #fff; }

/* Aviso de cookies (solo aparece si se activa analytics en lib/manifest.js) */
.cookie-bar {
  position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 950;
  width: min(640px, calc(100% - 2rem)); transform: translate(-50%, 140%);
  display: grid; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 20px;
  background: var(--card); color: var(--on-card); border: 1px solid var(--card-line);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
  transition: transform .6s var(--ease-out);
}
.cookie-bar.is-on { transform: translate(-50%, 0); }
.cookie-bar p { font-size: .9rem; line-height: 1.5; color: var(--on-card-2); }
.cookie-bar p strong { display: block; color: var(--on-card); font-size: 1rem; margin-bottom: .2rem; }
.cookie-bar a { color: var(--on-card); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { height: 44px; padding: 0 1.2rem; font-size: .9rem; flex: 1 1 auto; }
.cookie-bar ~ .wa-float { transition: transform .4s var(--ease-out); }
@media (min-width: 640px) { .cookie-bar { grid-template-columns: 1fr auto; align-items: center; } .cookie-actions { flex-wrap: nowrap; } }

/* Splash solo en la primera visita de la sesión y nunca con movimiento reducido */
html.no-splash .splash { display: none; }

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  html.js .reveal { transition-duration: .01s; transform: none; }
  .split-in { transition-duration: .01s !important; }
  .marquee-track { animation-play-state: paused; }
}

/* =============================================================
   11. Páginas secundarias: legales y 404
   ============================================================= */
.page-nav { position: sticky; background: rgba(255,255,255,.92); border-bottom-color: var(--line); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .page-nav { background: rgba(255,255,255,.75); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}
.page-back { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; padding: .6rem 1rem; border-radius: 99px; border: 1px solid var(--line-2); transition: background-color .3s, color .3s; }
.page-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.page-back:hover { background: var(--ink); color: #fff; }

.legal { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem); }
.legal-head { max-width: 860px; }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-top: 1.1rem; }
.legal-head h1 em { font-weight: 400; }
.legal-meta { margin-top: 1.2rem; color: var(--mute); font-size: .95rem; }
.legal-body { max-width: 760px; margin-top: clamp(2.2rem, 5vw, 3.5rem); color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.legal-body h2 { color: var(--ink); font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -.025em; line-height: 1.2; margin: 2.6rem 0 .8rem; scroll-margin-top: 6rem; }
.legal-body h3 { color: var(--ink); font-size: 1.08rem; letter-spacing: -.01em; margin: 1.6rem 0 .4rem; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: .9rem; }
.legal-body ul { padding-left: 1.2rem; list-style: disc; }
.legal-body li + li { margin-top: .35rem; }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-toc { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.legal-toc a { padding: .45rem .9rem; border-radius: 99px; border: 1px solid var(--line-2); font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.legal-card { margin-top: 2.6rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); background: var(--card); color: var(--on-card-2); }
.legal-card strong { color: var(--on-card); }
.legal-card a { color: var(--on-card); }

.page-footer { background: var(--card); color: var(--on-card-3); font-size: .86rem; }
.page-footer .container { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
.page-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.page-footer a, .page-footer .footer-link-btn { color: var(--on-card-2); font-size: .86rem; }
.page-footer a:hover { color: #fff; }

.nf { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.nf-main { position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter); }
.nf-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 75%); pointer-events: none; }
.nf-inner { position: relative; max-width: 640px; }
.nf-code { font-size: clamp(7rem, 26vw, 15rem); font-weight: 700; letter-spacing: -.07em; line-height: .85; }
.nf-code em { font-weight: 400; }
.nf h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); margin-top: 1.4rem; }
.nf p { margin-top: 1rem; color: var(--ink-2); font-size: 1.05rem; }
.nf-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
/* Áreas táctiles mínimas de 24px en enlaces sueltos */
.to-top, .page-footer nav a, .page-footer .footer-link-btn, .footer-nav a, .footer-link-btn { display: inline-block; padding-block: .2rem; }
@media (max-width: 539px) {
  .stat strong { font-size: 1.5rem; white-space: nowrap; }
  .stat > span { font-size: .78rem; line-height: 1.35; }
}
@media (max-width: 419px) {
  .t-controls { gap: .9rem; }
  .t-bars { gap: .3rem; }
  .t-arrow { width: 48px; height: 48px; }
}
[hidden] { display: none !important; }
.nf-code { margin-top: 1.2rem; }
