/* Zubi Studio — zubistudio.com */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #08070d;
  --bg-2: #0f0d18;
  --bg-3: #171427;
  --ink: #f5f2fb;
  --ink-2: #bdb6cf;
  --ink-3: #8c85a3;
  --violet: #9d7bff;
  --orchid: #c77dff;
  --pink: #ff6aa8;
  --blush: #ffd3e6;
  --chrome: linear-gradient(160deg, #f7f6fb 0%, #9c98ad 22%, #f2f0f8 40%, #5d5970 62%, #d9d6e3 80%, #8e8aa0 100%);
  --aurora: linear-gradient(115deg, var(--violet) 0%, var(--orchid) 45%, var(--pink) 100%);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(112px, 15vw, 220px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--pink); color: #12060c; }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 4px; border-radius: 6px; }
html { scrollbar-color: #3a3352 var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2e2843; border-radius: 10px; border: 2px solid var(--bg); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  font-variation-settings: "opsz" 96;
}
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; letter-spacing: -0.015em; }
.body-l { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 1.6em;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .5s var(--ease);
  position: relative; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 1.15em; font-size: .9375rem; }
.btn--lg { --h: 62px; padding: 0 2em; font-size: 1.0625rem; }
.btn--light { background: var(--ink); color: #0b0912; }
.btn--light:hover { background: #fff; }
.btn--glow {
  color: #0d0814;
  background: linear-gradient(#f8f5ff, #f8f5ff) padding-box, var(--aurora) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 40px -12px rgba(255, 106, 168, .55), 0 6px 24px -14px rgba(157, 123, 255, .8);
}
.btn--glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--aurora); opacity: 0; transition: opacity .4s var(--ease);
}
.btn--glow:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 50px -14px rgba(255, 106, 168, .75), 0 10px 30px -16px rgba(157, 123, 255, .9); }
.btn--glow:hover::after { opacity: 1; }
.btn--ghost { color: var(--ink); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.btn--ghost:hover { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; color: var(--ink); padding-block: 6px; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--blush); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, backdrop-filter .4s, box-shadow .4s; }
.nav.is-scrolled { background: rgba(8, 7, 13, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: baseline; gap: .45em; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1; display: inline-flex; align-items: baseline; }
.brand__u { width: .55em; height: .5em; margin: 0 .03em; overflow: visible; }
.brand__u path { fill: none; stroke: var(--pink); stroke-width: 12; }
.brand__studio { font-size: .6875rem; color: var(--ink-2); letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav__links a { font-size: .9688rem; color: var(--ink-2); transition: color .25s; position: relative; padding-block: 8px; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--aurora); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__mobile-only { display: none; }
.nav__tools { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.lang button { min-width: 38px; height: 32px; padding: 0 8px; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--ink-2); transition: background-color .3s, color .3s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #0b0912; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 999px; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; overflow: hidden; isolation: isolate; }
.hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(48% 52% at 66% 40%, rgba(157, 123, 255, .30), transparent 70%),
    radial-gradient(34% 40% at 80% 58%, rgba(255, 106, 168, .26), transparent 72%),
    radial-gradient(60% 50% at 10% 100%, rgba(157, 123, 255, .10), transparent 70%);
}
.hero__stage { position: absolute; z-index: -1; top: 4%; right: -2%; width: min(64vw, 1000px); height: 82%; }
.arch-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.arch-canvas.is-ready { opacity: 1; }
.arch-fallback { display: none; }
.no-webgl .arch-fallback {
  display: block; position: absolute; left: 22%; right: 22%; top: 18%; height: 60%;
  border: 34px solid transparent; border-bottom: 0; border-radius: 999px 999px 0 0;
  background: var(--chrome) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
}
.hero__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  grid-template-rows: 1fr auto auto;
  padding-top: 132px; padding-bottom: clamp(48px, 7vh, 88px);
  position: relative;
}
.hero__intro { grid-column: 1 / span 5; grid-row: 1; align-self: start; display: grid; gap: 32px; }
.hero__lede { font-size: clamp(1.0625rem, 1.3vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 34ch; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__gloss { grid-column: 1 / span 5; grid-row: 2; justify-self: start; align-self: end; margin-bottom: clamp(20px, 4vh, 44px); color: var(--ink-2); font-size: .9688rem; }
.hero__gloss-word { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); margin-right: .35em; }
.hero__title {
  grid-column: 1 / -1; grid-row: 3;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 7.1vw, 7.6rem);
  line-height: .94; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:nth-child(2) { padding-left: 1.05em; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; }
.services__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: 120px; display: grid; gap: 28px; }
.services__list { grid-column: 7 / -1; display: grid; gap: 8px; counter-reset: svc; }
.svc {
  position: relative; padding: 30px 32px 32px; border-radius: var(--radius);
  background: var(--bg-2);
  display: grid; gap: 10px;
  transition: background-color .5s var(--ease), transform .6s var(--ease);
  overflow: hidden; isolation: isolate;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,106,168,.16), transparent 55%), radial-gradient(120% 140% at 0% 100%, rgba(157,123,255,.18), transparent 55%);
  transition: opacity .6s var(--ease);
}
.svc:hover { background: var(--bg-3); transform: translateX(-6px); }
.svc:hover::before { opacity: 1; }
.svc__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2.05rem); line-height: 1.1; letter-spacing: -0.015em; }
.svc__text { color: var(--ink-2); max-width: 52ch; }

/* ---------- Work ---------- */
.work { background: var(--bg-2); overflow: hidden; }
.work::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 85% 20%, rgba(157,123,255,.14), transparent 70%), radial-gradient(40% 30% at 10% 75%, rgba(255,106,168,.10), transparent 70%); }
.work__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(64px, 9vw, 128px); position: relative; }
.work__head .h2 { grid-column: 1 / span 7; }
.work__head .body-l { grid-column: 9 / -1; }
.case { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; position: relative; }
.case + .case { margin-top: clamp(96px, 13vw, 184px); }
.case__media { grid-column: 1 / span 7; position: relative; padding-right: 9%; padding-bottom: 7%; }
.case__info { grid-column: 9 / -1; display: grid; gap: 18px; align-content: center; }
.case--flip .case__media { grid-column: 6 / -1; order: 2; padding-right: 0; padding-left: 9%; }
.case--flip .case__info { grid-column: 1 / span 4; order: 1; }
.case__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -0.025em; }
.case__sub { display: block; font-style: italic; font-weight: 400; font-size: .55em; color: var(--ink-2); letter-spacing: -0.01em; margin-top: .35em; }
.case__meta { color: var(--blush); font-size: .9688rem; }
.case__text { color: var(--ink-2); max-width: 42ch; }

/* Devices */
.laptop { position: relative; perspective: 1600px; }
.laptop__lid {
  padding: 12px 12px 18px; border-radius: 20px 20px 6px 6px;
  background: linear-gradient(180deg, #2a2737, #121019);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.8), 0 30px 120px -40px rgba(157,123,255,.45);
  transform: rotateX(var(--tilt, 0deg)); transform-origin: bottom center;
  transition: transform 1s var(--ease);
}
.laptop__screen { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 6s var(--ease); }
.case:hover .laptop__screen img { transform: scale(1.03); }
.laptop__base {
  height: 16px; margin: 0 -7%; border-radius: 2px 2px 18px 18px;
  background: var(--chrome);
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.9);
  position: relative;
}
.laptop__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: rgba(0,0,0,.28); }
.phone {
  position: absolute; right: 0; bottom: 0; width: 25%;
  padding: 7px; border-radius: 34px;
  background: var(--chrome);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 20px 80px -30px rgba(255,106,168,.5);
  transition: transform 1s var(--ease);
}
.case--flip .phone { right: auto; left: 0; }
.phone__screen { border-radius: 28px; overflow: hidden; aspect-ratio: 390 / 844; background: #000; box-shadow: 0 0 0 3px #0a0910; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case:hover .phone { transform: translateY(-12px) rotate(-1.5deg); }
.case--flip:hover .phone { transform: translateY(-12px) rotate(1.5deg); }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg); }
.pricing__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.pricing__head .h2 { grid-column: 1 / span 6; }
.pricing__side { grid-column: 8 / -1; display: grid; gap: 22px; justify-items: start; }

.region { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.region button { position: relative; z-index: 1; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: .9688rem; color: var(--ink-2); transition: color .4s var(--ease); }
.region button[aria-checked="true"] { color: #0b0912; }
.region__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease); }
.region[data-active="pen"] .region__thumb { transform: translateX(100%); }

.plans { display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: 0; border-radius: 30px; background: var(--bg-2); position: relative; align-items: stretch; }
.plan { padding: clamp(28px, 3.2vw, 48px); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan + .plan:not(.plan--star)::before, .plan--star + .plan::before { content: none; }
.plan--star {
  margin-block: -22px; border-radius: 30px; z-index: 1;
  background: linear-gradient(180deg, #1d1830, #120f1e) padding-box, var(--aurora) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 40px 100px -40px rgba(255, 106, 168, .55), 0 30px 80px -40px rgba(157, 123, 255, .6);
}
.plan__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.plan__for { color: var(--ink-2); min-height: 3.2em; }
.plan__price { margin-top: 8px; display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; }
.plan__from { color: var(--ink-2); font-size: 1rem; }
.plan .price { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; font-variation-settings: "opsz" 96; }
.plan__list { display: grid; gap: 12px; margin: 22px 0 30px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; color: var(--ink); }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 1.75px solid var(--pink); border-bottom: 1.75px solid var(--pink); transform: rotate(-45deg); }
.plan__cta { align-self: stretch; }
.price.is-swapping { animation: priceSwap .6s var(--ease); }
@keyframes priceSwap { 0% { opacity: 0; transform: translateY(14px); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }

.care { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px; }
.care > * { background: var(--bg-2); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); }
.care__intro { display: grid; gap: 12px; align-content: start; background: transparent; padding-left: 0; }
.care__intro p { color: var(--ink-2); max-width: 36ch; }
.care__plan { display: grid; gap: 8px; align-content: start; }
.care__name { font-weight: 500; color: var(--blush); }
.care__price .price { font-family: var(--serif); font-size: clamp(2rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: lining-nums; }
.care__price .per { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); letter-spacing: 0; margin-left: .2em; }
.care__text { color: var(--ink-2); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 50% 30%, rgba(157,123,255,.12), transparent 70%); }
.process__title { max-width: 16ch; margin-bottom: clamp(56px, 7vw, 96px); position: relative; }
.bridge { position: relative; }
.bridge__arc { width: 100%; height: clamp(120px, 16vw, 230px); overflow: visible; }
.bridge__path { stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); filter: drop-shadow(0 0 10px rgba(255,106,168,.45)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; position: relative; }
.step { display: grid; gap: 12px; align-content: start; }
.step p { color: var(--ink-2); max-width: 30ch; }
.step__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; }
.step__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-3); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); transition: background .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease); }
.step.is-lit .step__dot { background: var(--pink); box-shadow: 0 0 0 5px rgba(255,106,168,.18), 0 0 24px rgba(255,106,168,.8); transform: scale(1.1); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; background: var(--bg); padding-bottom: clamp(96px, 12vw, 180px); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 60% at 20% 45%, rgba(157,123,255,.26), transparent 70%), radial-gradient(40% 50% at 35% 70%, rgba(255,106,168,.18), transparent 70%); }
.contact__stage { position: absolute; z-index: -1; left: -6%; top: 6%; width: min(56vw, 860px); height: 86%; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: end; min-height: clamp(520px, 62vw, 760px); }
.contact__title { grid-column: 1 / span 7; align-self: end; font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 6.2vw, 6.2rem); line-height: .98; letter-spacing: -0.035em; text-wrap: balance; font-variation-settings: "opsz" 96; }
.contact__body { grid-column: 8 / -1; display: grid; gap: 36px; justify-items: start; }
.contact__list { display: grid; gap: 22px; }
.contact__label { display: block; color: var(--ink-3); font-size: .9375rem; margin-bottom: 2px; }
.contact__link { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.15; background: var(--aurora) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .6s var(--ease); overflow-wrap: anywhere; }
.contact__link:hover { background-size: 100% 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding-bottom: 32px; overflow: hidden; }
.footer__word {
  font-family: var(--serif); font-weight: 500; font-size: clamp(7rem, 30vw, 30rem); line-height: 1; padding-bottom: .04em; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  margin: 0 0 32px -0.04em; user-select: none;
}
.footer__row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--ink-3); font-size: .9375rem; }
.footer__top { color: var(--ink-2); }
.footer__top:hover { color: var(--ink); }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js .hero.is-in .hero__title .line > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero__title .line > span { opacity: 1; transform: none; transition: none; }
  .btn, .svc, .phone, .laptop__lid, .laptop__screen img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .hero__intro { grid-column: 1 / span 6; }
  .services__head { grid-column: 1 / -1; position: static; }
  .services__list { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .case__media, .case--flip .case__media { grid-column: 1 / -1; order: 1; }
  .case__info, .case--flip .case__info { grid-column: 1 / span 8; order: 2; margin-top: 48px; }
  .plans { grid-template-columns: 1fr; gap: 8px; background: transparent; }
  .plan:not(.plan--star) { background: var(--bg-2); border-radius: 26px; }
  .plan--star { margin-block: 0; order: -1; border-radius: 26px; }
  .care { grid-template-columns: 1fr 1fr; }
  .care__intro { grid-column: 1 / -1; }
  .contact__title, .contact__body { grid-column: 1 / -1; }
  .contact__stage { left: auto; right: -20%; width: 80vw; height: 60%; top: 0; }
  .contact__grid { min-height: 0; padding-top: clamp(200px, 30vw, 320px); }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 96px var(--gutter) 40px; background: rgba(8,7,13,.97);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3rem); color: var(--ink); letter-spacing: -0.02em; padding-block: 6px; }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav__mobile-only { display: block; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }

  .hero { min-height: auto; }
  .hero__stage { top: 76px; left: -6%; right: -6%; width: auto; height: 46vh; min-height: 300px; max-height: 460px; }
  .hero__grid { grid-template-rows: auto; padding-top: calc(76px + clamp(270px, 42vh, 420px)); row-gap: 24px; }
  .hero__title { grid-row: 2; font-size: clamp(2.8rem, 11.5vw, 5.4rem); line-height: .98; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__intro { grid-row: 3; grid-column: 1 / -1; gap: 26px; }
  .hero__gloss { grid-row: 1; grid-column: 1 / -1; justify-self: start; text-align: left; margin: 0 0 -12px; }
  .hero__actions .btn { flex: 1 1 auto; }

  .work__head .h2, .work__head .body-l, .pricing__head .h2, .pricing__side { grid-column: 1 / -1; }
  .work__head { row-gap: 20px; }
  .case__info, .case--flip .case__info { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .services__list { grid-template-columns: 1fr; }
  .svc { padding: 24px 22px 26px; }
  .svc:hover { transform: none; }
  .case__media { padding-right: 12%; padding-bottom: 10%; }
  .case--flip .case__media { padding-left: 12%; }
  .phone { width: 30%; border-radius: 22px; padding: 4px; }
  .phone__screen { border-radius: 18px; box-shadow: 0 0 0 2px #0a0910; }
  .laptop__lid { padding: 7px 7px 11px; border-radius: 12px 12px 4px 4px; }
  .laptop__base { height: 10px; }
  .region { width: 100%; }
  .region button { padding: 0 12px; }
  .care { grid-template-columns: 1fr; }
  .bridge__arc { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; padding-left: 30px; position: relative; }
  .steps::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--violet), var(--pink)); border-radius: 2px; opacity: .8; }
  .step { padding-bottom: 40px; position: relative; }
  .step__dot { position: absolute; left: -30px; top: .55em; }
  .contact__stage { right: -30%; width: 110vw; height: 46%; }
  .btn--lg { width: 100%; }
  .footer__row { flex-direction: column; }
}

/* nota de pago: precio único en USD, se acepta USDC */
.paynote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink-2); font-size: .95rem; }
.paynote__chip { font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--ink); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(157,123,255,.45); background: rgba(157,123,255,.1); }

/* ---------- Preguntas frecuentes ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: start; }
.faq__grid .h2 { grid-column: 1 / span 4; position: sticky; top: 120px; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid rgba(245,242,251,.1); }
.faq__item { border-bottom: 1px solid rgba(245,242,251,.1); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.2; color: var(--ink); transition: color .25s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--pink), var(--pink)) center / 100% 1.5px no-repeat, linear-gradient(var(--pink), var(--pink)) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--blush); }
.faq__item summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
.faq__item p { color: var(--ink-2); line-height: 1.65; max-width: 60ch; padding: 0 0 28px; font-size: 1.0625rem; }

/* ---------- WhatsApp flotante (solo si hay número) ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); background: var(--ink); box-shadow: 0 10px 30px -8px rgba(157,123,255,.6); transition: transform .3s var(--ease), background .3s; }
.wa-float:hover { transform: translateY(-3px); background: var(--blush); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float[hidden], [data-wa-item][hidden] { display: none; }

@media (max-width: 860px) {
  .faq__grid .h2, .faq__list { grid-column: 1 / -1; position: static; }
}
