/* ==========================================================
   hr.studio_lens — Portfolio · Editorial Dark Warm
   ========================================================== */
:root {
  --bg: #111214;
  --bg-2: #1B1C1F;
  --bg-3: #25262A;
  --cream: #F4F2EE;
  --cream-2: #D9D4CC;
  --mute: #A8A39B;
  --gold: #CBB89B;
  --gold-2: #DDCDB2;
  --line: rgba(244,242,238,.1);
  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.7,.1,1);
  --wrap: min(1240px, 100% - 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--cream);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
em { font-style: italic; color: var(--gold-2); }
::selection { background: var(--gold); color: var(--bg); }

.wrap { width: var(--wrap); margin-inline: auto; }
.num { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.kicker { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -.01em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; }
.lead { color: var(--cream-2); font-size: 1.05rem; max-width: 52ch; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-sub { color: var(--mute); font-size: .9rem; }
section { padding-block: clamp(80px, 12vw, 160px); position: relative; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
  will-change: transform;
}
.btn-sm { padding: 10px 20px; font-size: .7rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: #D9D9D9; }
.btn-ghost { border: 1px solid rgba(244,242,238,.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

/* Grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
  animation: splashOut .8s 2.6s var(--ease) forwards; /* safety net */
}
.splash-inner { display: grid; justify-items: center; gap: 18px; }
.splash-logo { width: 110px; height: auto; animation: logoIn 1.2s var(--ease) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.92); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.splash-bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.splash-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: bar 1.4s var(--ease) forwards; }
.splash-tc { font-size: .7rem; letter-spacing: .2em; color: var(--mute); font-variant-numeric: tabular-nums; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
.is-loaded .splash { animation: splashOut .7s var(--ease) forwards; }

/* Cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--gold); mix-blend-mode: difference;
  display: grid; place-items: center; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
}
.cursor-label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-media { width: 76px; height: 76px; margin: -38px 0 0 -38px; mix-blend-mode: normal; background: var(--cream); }
.cursor.is-media .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 22px clamp(20px, 4vw, 48px);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(17,18,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; border-color: var(--line); }
.nav-logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-right: auto; display: inline-flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo em { font-style: normal; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-2); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-burger { display: none; width: 34px; height: 34px; position: relative; }
.nav-burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: var(--cream); transition: transform .35s var(--ease); }
.nav-burger span:first-child { top: 13px; } .nav-burger span:last-child { top: 20px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: grid; align-content: center; justify-items: center; gap: 18px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu a { font-family: var(--serif); font-size: 2.4rem; font-style: italic; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }

/* Hero */
.hero { min-height: 100svh; padding: 0; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(1.1) contrast(1.05); }
.hero-tint { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 25% 55%, rgba(17,18,20,.55), rgba(17,18,20,.35) 75%),
  linear-gradient(180deg, rgba(17,18,20,.55), transparent 28%, transparent 60%, rgba(17,18,20,.95)); }
.letterbox { position: absolute; left: 0; right: 0; height: 7vh; background: var(--bg); z-index: 1; transition: transform 1.4s var(--ease); }
.letterbox-top { top: 0; } .letterbox-bottom { bottom: 0; }
.is-loaded .letterbox-top { transform: translateY(-100%); }
.is-loaded .letterbox-bottom { transform: translateY(100%); }
.hero-hud {
  position: absolute; top: 96px; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); z-index: 2;
  display: flex; gap: 24px; align-items: center;
  font-size: .68rem; letter-spacing: .2em; color: var(--cream-2); font-variant-numeric: tabular-nums;
}
.hud-meta { margin-left: auto; color: var(--mute); }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #d33; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-inner { width: var(--wrap); margin-inline: auto; padding-top: 80px; padding-bottom: 130px; position: relative; z-index: 2; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 8.4vw, 7rem); line-height: .95; letter-spacing: -.02em; margin: 22px 0 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 46ch; color: var(--cream-2); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats {
  position: absolute; bottom: 44px; left: clamp(20px, 4vw, 48px); z-index: 2;
  display: flex; gap: clamp(20px, 4vw, 56px); list-style: none;
}
.hero-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--gold-2); }
.hero-stats strong em { color: inherit; }
.hero-stats span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.scroll-cue { position: absolute; right: clamp(20px, 4vw, 48px); bottom: 44px; z-index: 2; display: grid; justify-items: center; gap: 10px; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4vw, 3rem); white-space: nowrap; }
.marquee b { color: var(--gold); font-weight: 400; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifesto */
.manifesto-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.manifesto-text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.2; }
.manifesto-text .w { display: inline-block; opacity: .15; transition: opacity .6s; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-sign { display: flex; align-items: center; gap: 16px; margin-top: 48px; }
.manifesto-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--gold); }
.manifesto-sign strong { display: block; font-weight: 500; }
.manifesto-sign span { font-size: .8rem; color: var(--mute); }

/* Cases */
.case { width: var(--wrap); margin: 0 auto clamp(90px, 12vw, 160px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.case-rev .case-media { order: 2; }
.case-media { position: relative; padding-bottom: 60px; }
.case-main { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.case-main img { width: 100%; height: 115%; object-fit: cover; }
.case-float { position: absolute; width: 42%; aspect-ratio: 3/4; right: -6%; bottom: 0; overflow: hidden; border-radius: 4px; border: 6px solid var(--bg); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.case-rev .case-float { right: auto; left: -6%; }
.case-float img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(244,242,238,.4); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.case-body .h3 { margin-bottom: 20px; }
.case-facts { margin: 32px 0; border-top: 1px solid var(--line); }
.case-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-facts dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.case-facts dd { font-size: .95rem; }
.case-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 3px; filter: grayscale(.4); transition: filter .5s, transform .5s var(--ease); }
.case-thumbs img:hover { filter: none; transform: translateY(-4px); }

/* Web case (MARBIGO) */
.browser { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #1a1a1a; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1f1f1f; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.browser-bar span { margin-left: 14px; font-size: .7rem; color: var(--mute); background: #111214; padding: 3px 14px; border-radius: 999px; }
.browser img { width: 100%; }
.browser-2 { width: 78%; margin: -60px 0 0 auto; position: relative; }
.moto-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.moto-strip img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .5s var(--ease); }
.moto-strip img:hover { filter: none; transform: translateY(-4px); }
.case-web .case-media { padding-bottom: 0; }
.case-price { font-size: .95rem; color: var(--cream-2); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.case-price b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--cream); }
.case-price a { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.footer .credits { flex-basis: 100%; font-size: .7rem; opacity: .7; }

/* Reels */
.reels { background: var(--bg-2); }
.reels-row { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.reel:nth-child(even) { transform: translateY(48px); }
.reel:hover { border-color: rgba(244,242,238,.6); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.reel figcaption span { display: block; font-family: var(--sans); font-style: normal; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.reel-sound { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(17,18,20,.6); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.reel-sound.is-on { background: var(--gold); color: var(--bg); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); transition: all .3s; }
.filter sup { color: var(--gold); font-size: .6rem; margin-left: 2px; }
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.masonry { columns: 4 240px; column-gap: 14px; }
.g-item { display: block; break-inside: avoid; margin-bottom: 14px; overflow: hidden; border-radius: 3px; position: relative; transition: opacity .4s, transform .4s var(--ease); }
.g-item img { width: 100%; transition: transform .8s var(--ease), filter .6s; filter: saturate(.9); }
.g-item:hover img { transform: scale(1.06); filter: saturate(1.15); }
.g-item.is-hidden { display: none; }

/* Services */
.billing { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; width: max-content; margin-top: 12px; }
.billing-opt { padding: 10px 20px; border-radius: 999px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); transition: all .3s; }
.billing-opt b { color: var(--gold); font-weight: 500; }
.billing-opt.is-active { background: var(--gold); color: var(--bg); }
.billing-opt.is-active b { color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 40px 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); display: flex; flex-direction: column; transition: border-color .4s, box-shadow .4s; transform-style: preserve-3d; }
.plan:hover { border-color: rgba(244,242,238,.5); box-shadow: 0 30px 80px -30px rgba(244,242,238,.25); }
.plan-featured { background: linear-gradient(180deg, #1B1C1F, var(--bg-2)); border-color: rgba(244,242,238,.55); }
.plan-badge { position: absolute; top: -12px; left: 34px; background: var(--gold); color: var(--bg); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; }
.plan-for { color: var(--mute); font-size: .9rem; min-height: 3em; }
.price { font-family: var(--serif); font-size: 4rem; line-height: 1; margin: 26px 0; color: var(--gold-2); }
.price small { font-family: var(--sans); font-size: .78rem; color: var(--mute); margin-left: 6px; }
.plan ul { list-style: none; margin-bottom: 34px; flex: 1; }
.plan li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: 13px; }
.extras { margin-top: 80px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.extras-title { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.extras-list { list-style: none; }
.extras-list li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; }
.extras-list i { flex: 1; border-bottom: 1px dotted rgba(244,242,238,.25); }
.extras-list b { font-weight: 500; color: var(--gold-2); }
.extras-note { grid-column: 2; color: var(--mute); font-size: .82rem; }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 40px 28px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.step.in::before { transform: scaleX(1); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 3.4rem; color: var(--gold); line-height: 1; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 14px 0 10px; }
.step p { color: var(--cream-2); font-size: .95rem; }

/* Contact */
.contact { overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(1); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(17,18,20,.7)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact .h2 { margin: 18px 0 24px; }
.contact-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.contact-list a { transition: color .3s; font-size: 1.05rem; }
.contact-list a:hover { color: var(--gold-2); }
.form { background: rgba(17,16,16,.85); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.field { display: grid; gap: 8px; }
.field span, .chips legend { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(244,242,238,.2); padding: 8px 0; outline: none; transition: border-color .3s; border-radius: 0; resize: vertical; }
.field select option { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.is-error input { border-color: #d55; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; cursor: pointer; transition: all .25s; }
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.chips input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 2px; }
.form-note { font-size: .78rem; color: var(--mute); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: .8rem; color: var(--mute); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.footer-logo em { font-style: normal; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo img { height: 30px; width: auto; }
.footer a:hover { color: var(--gold-2); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(13,14,16,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 3px; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.1rem; transition: border-color .3s, background .3s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--gold); background: rgba(244,242,238,.12); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 24px; font-size: .74rem; letter-spacing: .2em; color: var(--mute); }

/* WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--bg); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* Brands */
.brands { padding-block: 56px; border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.brands-list { list-style: none; display: flex; gap: clamp(28px, 6vw, 80px); align-items: center; flex-wrap: wrap; flex: 1; }
.brands-list li { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 1.5rem; color: var(--cream-2); opacity: .7; transition: opacity .4s, transform .4s var(--ease); }
.brands-list li:hover { opacity: 1; transform: translateY(-3px); }
.brands-list img { height: 70px; width: auto; filter: grayscale(1) brightness(1.3); transition: filter .4s; }
.brands-list li:hover img { filter: grayscale(1) brightness(1.6); }
.brands-next a { display: flex; align-items: center; gap: 14px; }
.brands-next b { width: 64px; height: 64px; border-radius: 50%; border: 1px dashed var(--gold); display: grid; place-items: center; font-weight: 300; font-size: 1.8rem; color: var(--gold); transition: background .3s; }
.brands-next a:hover b { background: rgba(244,242,238,.15); }
.case-logo { height: 76px; width: auto; display: block; margin-bottom: 22px; filter: grayscale(1) brightness(1.4); }
.extras-cta { grid-column: 2; justify-self: start; margin-top: 8px; }

/* Campaigns */
.camp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.camp { border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 38px); background: var(--bg-2); display: flex; flex-direction: column; gap: 22px; transition: border-color .4s; }
.camp:hover { border-color: rgba(244,242,238,.35); }
.camp-head { display: flex; gap: 18px; align-items: center; }
.camp-logo { height: 64px; width: auto; filter: grayscale(1) brightness(1.4); }
.camp-head .tag { margin-bottom: 8px; }
.camp h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.camp-desc { color: var(--cream-2); }
.camp-inc { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.camp-inc li { padding: 14px 8px; font-size: .78rem; color: var(--mute); line-height: 1.3; }
.camp-inc li + li { border-left: 1px solid var(--line); }
.camp-inc b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--cream); line-height: 1.1; }
.camp-modes { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.camp-modes button { padding: 10px 6px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); transition: all .3s; }
.camp-modes button.is-active { background: var(--cream); color: var(--bg); }
.camp-what { color: var(--mute); font-size: .92rem; min-height: 3em; }
.camp-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.camp-price { font-family: var(--serif); font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.camp-price small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--mute); margin-top: 6px; }
.camp-wide { grid-column: 1 / -1; }
.camp-modes-4 { grid-template-columns: repeat(4, 1fr); }
.camp-modes-5 { grid-template-columns: repeat(5, 1fr); }
.camp-ref { display: grid; gap: 8px; padding: 16px 18px; border: 1px dashed rgba(244,242,238,.3); border-radius: 8px; }
.camp-ref span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.camp-ref input { background: transparent; border: 0; border-bottom: 1px solid rgba(244,242,238,.25); padding: 8px 0; outline: none; }
.camp-ref input:focus { border-color: var(--cream); }
.camp-ref[hidden] { display: none !important; }
.camp-extra { font-size: .82rem; color: var(--mute); border-top: 1px solid var(--line); padding-top: 16px; }
.camp-extra b { color: var(--cream); font-weight: 500; }
.camp-note { color: var(--mute); font-size: .82rem; margin-top: 24px; }

/* Builder */
.builder-sec { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.builder { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.b-main { display: grid; gap: 44px; }
.b-step { border: 0; display: grid; gap: 16px; }
.b-step legend { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.7rem; margin-bottom: 16px; }
.b-step legend small { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.b-n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; font-family: var(--sans); font-size: .85rem; flex: none; }
.b-main input[type=radio], .b-main input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.b-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.b-card { border: 1px solid var(--line); border-radius: 6px; padding: 16px 12px; cursor: pointer; display: grid; gap: 8px; justify-items: center; text-align: center; font-size: .85rem; line-height: 1.3; transition: all .3s; background: var(--bg-2); }
.b-card i { font-style: normal; font-size: 1.5rem; color: var(--gold-2); }
.b-card:hover { border-color: rgba(244,242,238,.5); }
.b-hint { color: var(--mute); font-size: .9rem; font-style: italic; min-height: 1.5em; }
.b-goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.b-goal { border: 1px solid var(--line); border-radius: 6px; padding: 16px; cursor: pointer; display: grid; gap: 4px; transition: all .3s; background: var(--bg-2); }
.b-goal b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.b-goal small { color: var(--mute); font-size: .8rem; line-height: 1.4; }
.b-goal .tagf { font-size: .6rem; letter-spacing: .2em; color: var(--gold); }
.b-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.b-pack { border: 1px solid var(--line); border-radius: 6px; padding: 16px; cursor: pointer; display: grid; gap: 2px; transition: all .3s; background: var(--bg-2); }
.b-pack b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.b-pack span { color: var(--mute); font-size: .85rem; font-variant-numeric: tabular-nums; }
.b-card:has(input:checked), .b-goal:has(input:checked), .b-pack:has(input:checked) { border-color: var(--gold); background: #1B1C1F; box-shadow: inset 0 -2px 0 var(--gold); }
.b-card:has(input:focus-visible), .b-goal:has(input:focus-visible), .b-pack:has(input:focus-visible), .b-seg label:has(input:focus-visible), .b-opt:has(input:focus-visible) { outline: 1px solid var(--gold-2); outline-offset: 2px; }
.b-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.b-seg label { padding: 14px 18px; cursor: pointer; transition: background .3s; }
.b-seg label + label { border-left: 1px solid var(--line); }
.b-seg label span { display: grid; }
.b-seg small { color: var(--mute); font-size: .78rem; }
.b-seg small.ok, .ok { color: #C9C4BB; }
.b-seg label:has(input:checked) { background: #1B1C1F; box-shadow: inset 0 -2px 0 var(--gold); }
.b-rows { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.b-row, .b-opt { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--bg-2); }
.b-row + .b-row, .b-opt + .b-opt { border-top: 1px solid var(--line); }
.b-lbl { display: grid; line-height: 1.35; }
.b-lbl small { color: var(--mute); font-size: .8rem; }
.b-lbl .inc { color: #C9C4BB; font-size: .76rem; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 38px; height: 38px; color: var(--gold-2); font-size: 1.2rem; border-radius: 50%; transition: background .2s; }
.stepper button:hover { background: rgba(244,242,238,.14); }
.stepper output { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.stepper output.bump { animation: bump .3s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); color: var(--gold-2); } }
.b-opt { grid-template-columns: 22px 1fr auto; cursor: pointer; }
.box { width: 20px; height: 20px; border: 1px solid var(--gold); border-radius: 4px; display: grid; place-items: center; transition: background .2s; }
.b-opt input:checked + .box, .b-strat input:checked ~ .box { background: var(--gold); }
.b-opt input:checked + .box::after, .b-strat input:checked ~ .box::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.b-opt .pr { color: var(--gold-2); font-variant-numeric: tabular-nums; font-size: .92rem; white-space: nowrap; }
.b-opt.is-included { cursor: default; }
.b-opt.is-included .box { background: #C9C4BB; border-color: #C9C4BB; }
.b-opt.is-included .pr { color: #C9C4BB; }
.b-strats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-strat { position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 18px 50px; cursor: pointer; background: var(--bg-2); display: grid; gap: 6px; transition: all .3s; }
.b-strat .box { position: absolute; left: 18px; top: 20px; }
.b-strat b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; }
.b-strat p { color: var(--mute); font-size: .84rem; line-height: 1.45; }
.b-strat .pr { color: var(--gold-2); font-size: .9rem; font-variant-numeric: tabular-nums; }
.b-strat .b-rec { position: absolute; top: -9px; right: 12px; background: var(--gold); color: var(--bg); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; font-weight: 500; }
.b-strat:hover { border-color: rgba(244,242,238,.5); }
.b-strat:has(input:checked) { border-color: var(--gold); background: #1B1C1F; }
.b-strat.is-included { opacity: .6; cursor: default; }
.b-strat.is-included .box { background: #C9C4BB; border-color: #C9C4BB; }

.summary { position: sticky; top: 90px; background: var(--bg-3); border: 1px solid rgba(244,242,238,.5); border-radius: 8px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.sum-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-head img { height: 36px; width: auto; }
.sum-head b { display: block; font-weight: 400; font-size: .85rem; color: var(--cream-2); font-variant-numeric: tabular-nums; }
.summary h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.sum-meta { font-size: .82rem; color: var(--mute); margin-top: -8px; }
.sum-lines { display: grid; gap: 7px; font-size: .88rem; color: var(--cream-2); max-height: 280px; overflow: auto; }
.sum-lines div { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines b { font-weight: 400; color: var(--cream); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-lines .grp { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.sum-tot { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .9rem; }
.sum-tot div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum-tot .strike { text-decoration: line-through; color: var(--mute); margin-right: 6px; }
.sum-grand { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.sum-big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.sum-grand small { color: var(--mute); font-size: .82rem; }
.sum-actions { display: grid; gap: 10px; }
.sum-fine { font-size: .74rem; color: var(--mute); text-align: center; }

/* Reveal (JS adds .js; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links, .nav .btn { display: none; }
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
  .insta-head { grid-template-columns: 1fr; }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
  .b-cards { grid-template-columns: repeat(3, 1fr); }
  .nav-burger { display: block; }
  .reels-row { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 800px) {
  .hud-meta { display: none; }
  .hero-inner { padding-top: 40px; }
  .hero-stats { left: 20px; right: 90px; bottom: 30px; display: grid; grid-template-columns: repeat(2, auto); gap: 14px 28px; justify-content: start; }
  .hero-stats li:nth-child(4) { display: none; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-stats span { font-size: .56rem; letter-spacing: .1em; }
  .scroll-cue { display: none; }
  .hero { padding-bottom: 150px; }
  .manifesto-grid, .case, .contact-grid, .extras { grid-template-columns: 1fr; }
  .case-rev .case-media { order: 0; }
  .case-float { right: -2%; } .case-rev .case-float { left: -2%; }
  .extras-note { grid-column: 1; }
  .reels-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; width: 100%; padding-inline: 24px; }
  .reel { flex: 0 0 68%; scroll-snap-align: center; }
  .reel:nth-child(even) { transform: none; }
  .masonry { columns: 2; column-gap: 10px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item { margin-bottom: 10px; }
  .steps { grid-template-columns: 1fr; }
  .case-facts div { grid-template-columns: 1fr; gap: 2px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .b-cards, .b-goals, .b-packs, .b-strats { grid-template-columns: 1fr 1fr; }
  .extras-cta { grid-column: 1; }
  .camp-grid { grid-template-columns: 1fr; }
  .camp-inc { grid-template-columns: 1fr 1fr; }
  .camp-inc li:nth-child(3) { border-left: 0; }
  .camp-inc li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .camp-modes button { font-size: .62rem; letter-spacing: .04em; }
  .camp-modes-5 { grid-template-columns: repeat(3, 1fr); }
  .brands-list img { height: 54px; }
  .brands-list li { font-size: 1.2rem; }
  .case-logo { height: 60px; }
}

/* Print: only the budget */
@media print {
  body { background: #fff; color: #111214; }
  body > *:not(main), main > *:not(#presupuesto), #presupuesto .section-head, #presupuesto .b-main, .grain, .cursor, .wa-float { display: none !important; }
  #presupuesto { padding: 0; background: none; }
  .builder { display: block; }
  .summary { position: static; border: 1px solid #7A1F2B; box-shadow: none; background: #fff; color: #111214; max-width: 640px; margin: 0 auto; }
  .summary * { color: #111214 !important; }
  .sum-big { color: #111214 !important; }
  .sum-actions { display: none; }
  .sum-lines { max-height: none; }
}

/* Reduced motion: only intrusive effects */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .marquee-track { animation-duration: 90s; }
  html { scroll-behavior: auto; }
}

/* MARBIGO logo is dark: give it a light chip */
img[src*="logo-marbigo"] { background: var(--cream); border-radius: 10px; padding: 6px 10px; filter: grayscale(1) !important; }


/* Instagram */
.insta { background: var(--bg-2); }
.insta-head { grid-template-columns: 1fr auto; align-items: end; }
.insta-head > div { display: grid; gap: 14px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-tile { position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: saturate(.9); }
.ig-tile:hover img { transform: scale(1.07); filter: saturate(1.1); }
.ig-kind { position: absolute; top: 10px; right: 10px; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; background: rgba(17,18,20,.7); padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ig-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font-size: .78rem; line-height: 1.3; display: grid; gap: 2px; }
.ig-meta b { font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); }

/* Asistente de IA */
.ai-float {
  position: fixed; right: 22px; bottom: 90px; z-index: 96;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: var(--bg-3); color: var(--cream);
  border: 1px solid rgba(244,242,238,.35); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease), background .3s;
}
.ai-float:hover { transform: translateY(-2px); background: #25262A; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); animation: blink 2s infinite; }
.ai-panel {
  position: fixed; right: 22px; bottom: 90px; z-index: 97; width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 560px); background: var(--bg-2); border: 1px solid rgba(244,242,238,.28);
  border-radius: 14px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.85);
  display: flex; flex-direction: column; overflow: hidden;
}
.ai-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ai-head strong { display: block; font-weight: 500; font-size: .95rem; }
.ai-head span { font-size: .76rem; color: var(--mute); }
.ai-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; color: var(--cream-2); }
.ai-close:hover { background: rgba(244,242,238,.1); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px 18px; display: grid; gap: 12px; align-content: start; }
.ai-msg { font-size: .92rem; line-height: 1.6; padding: 12px 14px; border-radius: 12px; white-space: pre-wrap; }
.ai-bot { background: var(--bg-3); border: 1px solid var(--line); }
.ai-me { background: var(--cream); color: var(--bg); justify-self: end; max-width: 85%; }
.ai-chips { display: flex; gap: 8px; padding: 0 18px 12px; flex-wrap: wrap; }
.ai-chips button { font-size: .76rem; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--cream-2); transition: border-color .3s, color .3s; }
.ai-chips button:hover { border-color: var(--cream); color: var(--cream); }
.ai-form { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(244,242,238,.25); padding: 8px 0; outline: none; }
.ai-form input:focus { border-color: var(--cream); }
.ai-form button { width: 42px; border-radius: 50%; background: var(--cream); color: var(--bg); font-size: 1.1rem; }
.ai-fine { font-size: .72rem; color: var(--mute); padding: 0 18px 14px; }
.ai-fine a { text-decoration: underline; }
@media (max-width: 800px) {
  .ai-float { right: 16px; bottom: 84px; padding: 10px 14px; }
  .ai-panel { right: 16px; left: 16px; bottom: 84px; width: auto; max-height: 68vh; }
}
.ai-panel[hidden], .ai-float[hidden] { display: none !important; }


@media (max-width: 800px) { .hero-inner { padding-bottom: 0; } }
/* Calculadora: columnas que pueden encoger en móvil (la letra de la marca es más ancha) */
.builder > *, .b-main > *, .b-main fieldset, .b-cards > *, .b-goals > *, .b-packs > * { min-width: 0; }
.b-card, .b-goal { overflow-wrap: break-word; }
.b-row > *, .b-opt > *, .b-strats > *, .b-seg > * { min-width: 0; }
.b-opt b, .b-opt p, .b-row b, .b-row p { overflow-wrap: break-word; }


/* ---------- Webs (23/11/2026) ---------- */
.webs { background: var(--bg-2); }
.webs-group + .webs-group { margin-top: clamp(48px, 7vw, 88px); }
.webs-title { font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.webs-grid { display: grid; gap: 28px; }
.webs-grid-desk { grid-template-columns: repeat(2, 1fr); }
.webs-grid-phone { grid-template-columns: repeat(4, 1fr); }
.web-card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-top: 20px; }
.web-card p { color: var(--mute); font-size: .92rem; line-height: 1.55; margin-top: 8px; }
.web-link { display: inline-block; margin-top: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); border-bottom: 1px solid currentColor; }
.phone { position: relative; aspect-ratio: 390 / 844; border-radius: 30px; overflow: hidden; border: 6px solid #0c0c0d; outline: 1px solid var(--line); background: #0c0c0d; box-shadow: 0 40px 80px -34px rgba(0,0,0,.85); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.web-badge { position: absolute; z-index: 1; top: 12px; right: 12px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #111214; background: var(--gold-2); padding: 4px 10px; border-radius: 999px; }
.webs-cta { margin-top: clamp(48px, 7vw, 80px); }
@media (max-width: 900px) {
  .webs-grid-desk { grid-template-columns: 1fr; }
  .webs-grid-phone { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .phone { border-radius: 22px; border-width: 4px; }
  .web-card h4 { font-size: 1.25rem; }
}
.phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- Instagram en movimiento (23/11/2026) ---------- */
.ig-marquee { display: block; width: 100%; overflow: hidden; }
.ig-marquee.is-ready { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ig-marquee:not(.is-ready) { display: flex; gap: 14px; overflow-x: auto; padding-inline: 24px; }
.ig-marquee .ig-tile { flex: 0 0 auto; width: clamp(190px, 21vw, 290px); border-radius: 10px; }
.ig-row { overflow: hidden; }
.ig-row + .ig-row { margin-top: 16px; }
.ig-track { display: flex; gap: 16px; width: max-content; padding-right: 16px; animation: ig-slide 60s linear infinite; will-change: transform; }
.ig-row-rev .ig-track { animation-direction: reverse; }
.ig-marquee:hover .ig-track, .ig-marquee:focus-within .ig-track { animation-play-state: paused; }
.ig-marquee .ig-meta { font-size: .9rem; padding: 56px 16px 16px; }
.ig-marquee .ig-meta b { font-size: .74rem; }
@keyframes ig-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .ig-marquee .ig-tile { width: 46vw; }
  .ig-track { gap: 12px; padding-right: 12px; animation-duration: 45s; }
  .ig-row + .ig-row { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-track { animation: none; }
  .ig-row { overflow-x: auto; }
}

/* ---------- Marcas: más logos (23/11/2026) ---------- */
.brands-many { gap: 22px clamp(22px, 3.2vw, 44px); }
.brands-many li { font-size: 1.12rem; gap: 12px; }
.brands-many img { height: 52px; }
.brands-list img.round { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.brand-mono { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--cream-2); display: grid; place-items: center; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; color: var(--cream); }
.brands-many .brands-next b { width: 52px; height: 52px; font-size: 1.5rem; }
@media (max-width: 700px) {
  .brands-many img, .brands-list img.round, .brand-mono, .brands-many .brands-next b { height: 44px; width: 44px; }
  .brands-many img:not(.round) { width: auto; }
  .brands-many li { font-size: 1rem; }
}
