/* =================================================================
   ZILEX — Visual content studio
   Palette: black / orange / white · Font: Figtree
   ================================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #16161a;
  --white: #f6f5f3;
  --muted: #a5a3a0;
  --muted-2: #6f6d6a;
  --orange: #ff5b1e;
  --orange-2: #ff7a3d;
  --orange-glow: rgba(255, 91, 30, 0.5);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Figtree', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

::selection { background: var(--orange); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, var(--orange-glow), transparent 62%);
  filter: blur(40px); opacity: 0; transform: translate(-50%, -50%);
  transition: opacity 0.5s ease; mix-blend-mode: screen;
}

/* ---------- Utilities ---------- */
.grad {
  background: linear-gradient(100deg, var(--orange), var(--orange-2) 60%, #ffd0b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 22px;
}
.section-title {
  font-size: clamp(2rem, 5.2vw, 4rem); font-weight: 700;
  line-height: 1.03; letter-spacing: -0.035em;
}
.section-lead {
  color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 560px; margin-top: 22px; line-height: 1.6;
}
.section-head { max-width: var(--maxw); margin: 0 auto 64px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x); border-radius: 100px;
  font-weight: 600; font-size: 0.98rem; cursor: pointer;
  background: var(--orange); color: #fff; border: 1px solid var(--orange);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s ease;
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -12px var(--orange-glow); background: var(--orange-2); }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 0.88rem; }
.btn--lg { --pad-y: 18px; --pad-x: 34px; font-size: 1.02rem; }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,0.05); box-shadow: none; border-color: var(--white); }

/* ---------- Logo ---------- */
.logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 14px var(--orange); animation: pulseDot 2.4s ease-in-out infinite;
}
.logo__img { height: 1.75rem; width: auto; display: block; }
.logo--lg { font-size: 2.6rem; }
.logo--lg .logo__img { height: 3rem; }
@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.35);opacity:0.6} }

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 32px; transition: padding 0.4s var(--ease);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px; border-radius: 100px;
  border: 1px solid transparent; transition: all 0.5s var(--ease);
}
.nav.scrolled { padding: 12px 32px; }
.nav.scrolled .nav__inner {
  background: rgba(14,14,16,0.72); backdrop-filter: blur(18px);
  border-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0,0,0,0.8);
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 0.94rem; font-weight: 500; color: var(--muted);
  position: relative; transition: color 0.3s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--orange); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

/* =================== HERO =================== */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px 24px 80px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,91,30,0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255,91,30,0.08), transparent 70%);
}
.hero__content { position: relative; z-index: 3; max-width: 900px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); margin-bottom: 30px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 var(--orange-glow); animation: pulseRing 2s infinite; }
@keyframes pulseRing { 0%{box-shadow:0 0 0 0 var(--orange-glow)} 70%{box-shadow:0 0 0 10px transparent} 100%{box-shadow:0 0 0 0 transparent} }

.hero__title {
  font-size: clamp(2.6rem, 8vw, 6.2rem); font-weight: 800;
  line-height: 1.06; letter-spacing: -0.045em; margin-bottom: 30px;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--orange); }
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.reveal-line > span {
  display: block; transform: translateY(110%);
  animation: lineUp 0.95s var(--ease) forwards;
}
.reveal-line:nth-child(1) > span { animation-delay: 0.05s; }
.reveal-line:nth-child(2) > span { animation-delay: 0.15s; }
.reveal-line:nth-child(3) > span { animation-delay: 0.25s; }
.reveal-line:nth-child(4) > span { animation-delay: 0.35s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  max-width: 620px; margin: 0 auto 38px; line-height: 1.6;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero__stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; text-shadow: 0 2px 18px rgba(0,0,0,0.85); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat strong { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.stat span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }

/* Floating hero images */
.hero__field { position: absolute; inset: 0; z-index: 1; }
.float {
  position: absolute; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9);
  border: 1px solid var(--line); opacity: 0;
  animation: floatIn 1.2s var(--ease) forwards; will-change: transform;
}
.float img { transition: transform 0.6s var(--ease); }
.float::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent, rgba(10,10,11,0.35)); }
.float--a { width: 170px; height: 220px; top: 15%; left: 6%; animation-delay: 0.3s; }
.float--b { width: 140px; height: 140px; top: 60%; left: 11%; animation-delay: 0.5s; }
.float--c { width: 150px; height: 200px; bottom: 8%; left: 3%; animation-delay: 0.7s; }
.float--d { width: 130px; height: 170px; top: 13%; right: 8%; animation-delay: 0.4s; }
.float--e { width: 165px; height: 210px; top: 52%; right: 6%; animation-delay: 0.6s; }
.float--f { width: 150px; height: 130px; bottom: 10%; right: 3%; animation-delay: 0.8s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(40px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.float { animation-name: floatIn, bob; animation-duration: 1.2s, 6s; animation-timing-function: var(--ease), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
.float--b { animation-duration: 1.2s, 7s; } .float--c { animation-duration: 1.2s, 8s; }
.float--d { animation-duration: 1.2s, 6.5s; } .float--e { animation-duration: 1.2s, 7.5s; } .float--f { animation-duration: 1.2s, 6.8s; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }

@media (max-width: 900px) { .hero__field { opacity: 0.28; } .float--b,.float--f { display: none; } }
@media (max-width: 720px) { .hero__field { display: none; } }

.hero__scroll { display: none; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--orange), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:''; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--white); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%{top:-50%} 100%{top:100%} }

/* =================== MARQUEE =================== */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg-2); }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 30px; animation: scrollX 26s linear infinite; }
.marquee__track span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: var(--white); }
.marquee__track .dot { color: var(--orange); font-size: 0.9rem; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* =================== BAND (dual scrolling gallery) =================== */
.band { padding: 60px 0; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.band__row { display: flex; gap: 20px; width: max-content; }
.band__row--up { animation: bandLeft 45s linear infinite; }
.band__row--down { animation: bandRight 45s linear infinite; }
.band__img { width: 260px; height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; position: relative; }
.band__img img { transition: transform 0.7s var(--ease); filter: saturate(1.02); }
.band__img:hover img { transform: scale(1.06); }
@keyframes bandLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bandRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =================== SERVICES =================== */
.services { padding: 120px 32px; max-width: var(--maxw); margin: 0 auto; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  position: relative; padding: 34px 30px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg-2); overflow: hidden;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.5s var(--ease), border-color 0.5s ease;
}
.service::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background-image: var(--bg-img); background-size: cover; background-position: center;
  transition: opacity 0.6s var(--ease); transform: scale(1.1);
}
.service::after { content:''; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(10,10,11,0.4), rgba(10,10,11,0.92)); opacity: 0; transition: opacity 0.6s ease; }
.service:hover { transform: translateY(-6px); border-color: var(--orange); }
.service:hover::before { opacity: 0.5; transform: scale(1); }
.service:hover::after { opacity: 1; }
.service > * { position: relative; z-index: 2; }
.service__num { position: absolute; top: 26px; left: 30px; font-size: 0.85rem; font-weight: 700; color: var(--orange); z-index: 2; }
.service h3 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service__tags span { font-size: 0.74rem; font-weight: 500; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.service--cta { background: linear-gradient(150deg, #331a12, var(--bg-2)); border-color: rgba(255,91,30,0.3); align-items: flex-start; gap: 12px; }
.service--cta h3 { margin-bottom: 4px; }

/* =================== PROCESS =================== */
.process { padding: 120px 32px; max-width: var(--maxw); margin: 0 auto; }
.process__steps { display: flex; flex-direction: column; gap: 0; }
.pstep {
  display: grid; grid-template-columns: 90px 1fr 200px; align-items: center; gap: 40px;
  padding: 40px 0; border-top: 1px solid var(--line); transition: padding 0.4s var(--ease);
}
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep__index { font-size: 2.4rem; font-weight: 800; color: var(--muted-2); letter-spacing: -0.04em; transition: color 0.4s ease; }
.pstep__body h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 10px; }
.pstep__body p { color: var(--muted); max-width: 460px; line-height: 1.6; }
.pstep__media { width: 200px; height: 130px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); opacity: 0.55; transition: opacity 0.5s ease, transform 0.5s var(--ease); }
.pstep__media img { transition: transform 0.6s var(--ease); }
.pstep:hover { padding-left: 20px; }
.pstep:hover .pstep__index { color: var(--orange); }
.pstep:hover .pstep__media { opacity: 1; transform: scale(1.03); }
.pstep:hover .pstep__media img { transform: scale(1.08); }

/* =================== WORK GRID =================== */
.work { padding: 120px 32px; max-width: var(--maxw); margin: 0 auto; }
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.wcard { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.wcard--tall { grid-row: span 2; }
.wcard--wide { grid-column: span 2; }
.wcard img { transition: transform 0.8s var(--ease); }
.wcard::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,0.9)); opacity: 0.7; transition: opacity 0.4s ease; }
.wcard:hover img { transform: scale(1.07); }
.wcard:hover::after { opacity: 0.9; }
.wcard figcaption { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; display: flex; flex-direction: column; gap: 3px; transform: translateY(8px); opacity: 0.9; transition: transform 0.4s var(--ease); }
.wcard figcaption span { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }
.wcard:hover figcaption { transform: translateY(0); }

/* =================== ABOUT =================== */
.about { padding: 120px 32px; max-width: var(--maxw); margin: 0 auto; }
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
.about__media img { transition: transform 0.8s var(--ease); }
.about__media:hover img { transform: scale(1.04); }
.about__badge { position: absolute; left: 20px; bottom: 20px; padding: 14px 20px; border-radius: 14px; background: rgba(14,14,16,0.7); backdrop-filter: blur(16px); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.about__badge strong { font-size: 1.15rem; font-weight: 700; }
.about__badge span { font-size: 0.82rem; color: var(--muted); }
.about__content p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin-top: 20px; }
.about__values { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.value { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--orange); }
.value strong { font-size: 1.05rem; font-weight: 700; }
.value span { font-size: 0.86rem; color: var(--muted-2); }

/* =================== CTA =================== */
.cta { position: relative; padding: 140px 32px; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.cta__glow { position: absolute; top: 50%; left: 50%; width: 700px; height: 700px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,91,30,0.18), transparent 60%); filter: blur(30px); }
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta__title { font-size: clamp(2.4rem, 6.5vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin: 12px 0 22px; }
.cta__inner p { color: var(--muted); font-size: 1.15rem; max-width: 500px; margin: 0 auto 40px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================== FOOTER =================== */
.footer { padding: 80px 32px 40px; max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; padding-bottom: 50px; }
.footer__tag { color: var(--muted); max-width: 320px; text-align: right; }
.footer__cta { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 44px; font-size: clamp(1.1rem, 2.2vw, 1.55rem); font-weight: 700; letter-spacing: -0.025em; color: var(--white); transition: gap 0.35s var(--ease); }
.footer__cta:hover { gap: 18px; }
.footer__cta:hover .btn__arrow { transform: translateX(4px); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px 0; border-top: 1px solid var(--line); }
.footer__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.98rem; margin-bottom: 10px; transition: color 0.3s ease, transform 0.3s ease; width: fit-content; }
.footer__col a:hover { color: var(--orange); transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.86rem; }

/* =================== FAQ =================== */
.faq { padding: 40px 32px 120px; max-width: 940px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; transition: border-color 0.35s ease, background 0.35s ease; }
.faq__item[open] { border-color: rgba(255,91,30,0.45); background: var(--bg-3); }
.faq__item summary { list-style: none; cursor: pointer; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: clamp(1.02rem, 1.6vw, 1.22rem); font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--orange); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.35s ease; }
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 26px 24px; }
.faq__answer p { color: var(--muted); line-height: 1.65; max-width: 660px; }

/* =================== REVEAL ANIMATION =================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 440px; }
}
@media (max-width: 720px) {
  .nav { padding: 14px 16px; }
  .nav__links { display: none; }
  .nav.scrolled { padding: 10px 16px; }
  .services, .process, .about { padding: 80px 18px; }
  .faq { padding: 40px 18px 90px; }

  /* Banda vertical en móvil (un poco más grande) */
  .band__img { width: 215px; height: 305px; }

  /* Servicios: tarjetas que se apilan al hacer scroll (estilo Framer) */
  .services__grid { display: block; }
  .service {
    position: sticky; top: 84px; margin-bottom: 16px; min-height: 300px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
  }
  .service:last-child { position: static; }

  /* Proceso: imagen de la campaña de fondo en cada paso, aparece al hacer scroll */
  .pstep {
    grid-template-columns: 54px 1fr; gap: 14px; position: relative; overflow: hidden;
    padding: 26px 20px; min-height: 210px; margin-bottom: 14px;
    border: 1px solid var(--line); border-radius: var(--radius);
  }
  .pstep:last-child { border-bottom: 1px solid var(--line); }
  .pstep__media {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    border: none; border-radius: var(--radius); opacity: 0.42; z-index: 0;
  }
  .pstep__media img { width: 100%; height: 100%; object-fit: cover; }
  .pstep::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(115deg, rgba(10,10,11,0.92) 30%, rgba(10,10,11,0.55));
  }
  .pstep__index, .pstep__body { position: relative; z-index: 1; }
  .pstep:hover { padding-left: 20px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__tag { text-align: left; }
  .footer__top { align-items: flex-start; }
  .hero__stats { gap: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
}
