/* =========================================================
   Sora Pigni — Diseño Web
   Hoja de estilos principal
   ========================================================= */

:root {
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --black: #000000;
  --gray: #828282;      /* segunda línea de títulos */
  --text-2: #545454;    /* textos secundarios */
  --light: #B8B8B8;
  --line: #E5E5E5;
  --panel: #F0F0F0;
  --green: #12B33F;
  --green-soft: #9BE3AE;
  --radius: 18px;
  --frame: 1080px;      /* ancho del marco con líneas */
  --pad: 44px;          /* margen interno del marco */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Marco con líneas ---------- */
.band { border-top: 1px solid var(--line); }
.band--bottom { border-bottom: 1px solid var(--line); }
.frame {
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.section { padding-top: 110px; padding-bottom: 110px; }

/* ---------- Tipografía ---------- */
.title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-size: 64px; /* se reemplaza por JS para ocupar el ancho */
}
.title { width: 100%; }
.title--inter { font-family: var(--font-body); letter-spacing: -0.04em; line-height: 1.0; }
.title .l { display: block; width: max-content; white-space: nowrap; }
.title--center { text-align: center; }
.title--center .l { margin-left: auto; margin-right: auto; }
.g { color: var(--gray); }
.title .w { display: inline-block; will-change: filter, opacity, transform; }

.lead {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-2);
}
.lead strong { color: var(--black); font-weight: 700; }
.label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--white); box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.btn--light { background: var(--white); color: var(--black); }
.btn--avatar { padding-left: 5px; }
.btn--avatar img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.btn svg { flex-shrink: 0; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px;
  font-size: 18px; letter-spacing: -0.02em;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translate(2px,-2px); }

/* ---------- Badge con punto verde ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: -0.02em;
}
.dot {
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--green); border: 2px solid var(--green-soft);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(18,179,63,.45); }
  70% { box-shadow: 0 0 0 7px rgba(18,179,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(18,179,63,0); }
}

/* ---------- Navegación ---------- */
.nav-wrap {
  position: fixed; top: 20px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; pointer-events: none;
  padding: 0 16px;
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  height: 56px; padding: 0 7px 0 7px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
  transition: gap .35s ease;
}
.nav__brand { display: flex; align-items: center; gap: 10px; padding-right: 6px; }
.nav__brand img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.nav__brand span { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 18px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.nav__links a:not(.nav__cta):hover { color: var(--text-2); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav__cta {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.nav__toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; cursor: pointer;
  align-items: center; justify-content: center; gap: 4px;
}
.nav__toggle i { width: 5px; height: 5px; border-radius: 999px; background: currentColor; display: block; transition: transform .3s; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: none; flex-direction: column; gap: 4px; padding: 10px;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
}
.nav__menu a { padding: 12px 14px; border-radius: 12px; }
.nav__menu a:hover { background: var(--panel); }
.nav.is-open .nav__menu { display: flex; }
/* compacto al hacer scroll */
.nav.is-compact .nav__links { display: none; }
.nav.is-compact .nav__toggle { display: inline-flex; }
.nav.is-compact { gap: 24px; }

/* ---------- Botón flotante ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: 16px; z-index: 55;
  transform: translate(-50%, 0);
  display: flex; align-items: center; gap: 28px;
  height: 62px; padding: 0 8px 0 22px;
  background: rgba(250,250,250,.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid #E0E0E0; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: opacity .3s, transform .3s;
}
.float-cta.is-hidden { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.float-cta > span:first-child { white-space: nowrap; }
.float-cta b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.float-cta small { display: block; font-size: 13px; color: var(--text-2); }
.float-cta__icon { width: 44px; height: 44px; border-radius: 999px; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding-top: 150px; padding-bottom: 96px;
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.hero__text .lead { max-width: 360px; }
.hero__text .title { width: 100%; }
.hero__slot { height: 440px; }

/* ---------- Escenario de proyectos (efecto) ---------- */
.stage { position: relative; }
.fly {
  position: absolute; left: 0; top: 0;
  border-radius: var(--radius); overflow: hidden;
  pointer-events: none; opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.fly img { width: 100%; height: 100%; object-fit: cover; }
.fly:nth-of-type(1) { z-index: 4; }
.no-js .fly { display: none; }

/* ---------- Prueba social / logos ---------- */
.proof { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.rating { flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.avatars { display: flex; padding-left: 8px; }
.avatars img { width: 32px; height: 32px; margin-left: -8px; border-radius: 999px; border: 2px solid var(--bg); object-fit: cover; }
.stars { display: flex; gap: 3px; }
.rating__text { display: flex; flex-direction: column; gap: 3px; }
.rating__text span { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); }
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track img { height: 32px; width: auto; opacity: .55; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trusted__label { flex-shrink: 0; font-size: 22px; letter-spacing: -0.03em; color: var(--text-2); }
.trusted__label strong { color: var(--black); font-weight: 700; }

/* ---------- Grilla de proyectos ---------- */
.projects { display: flex; flex-direction: column; gap: 44px; }
.projects__head { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--text-2); margin: 0; }
.projects__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.project { display: flex; flex-direction: column; gap: 14px; }
.project__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project__media img { transform: scale(1.03); }
.js .stage .project__media img { visibility: hidden; } /* en la home la imagen la pone la tarjeta que vuela */
.project__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; transition: opacity .4s ease; }
.js .stage:not(.is-landed) .project__info { opacity: 0; }
.project__name { font-size: 18px; letter-spacing: -0.02em; }
.project__type { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--gray); letter-spacing: -0.02em; margin-top: 4px; }
.project__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: color .2s; }
.project:hover .project__more { color: var(--black); }
.center { display: flex; justify-content: center; }

/* ---------- Testimonios ---------- */
.testi__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.testi__head .title { flex: 1; min-width: 0; }
.testi__head .rating { padding-bottom: 8px; }
.carousel {
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 20px 8px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.vcard {
  position: relative; flex: 0 0 280px; aspect-ratio: 9 / 16;
  border-radius: var(--radius); overflow: hidden; background: var(--text-2);
  scroll-snap-align: start; isolation: isolate;
}
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.92) 100%); transition: opacity .3s; }
.vcard__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 12px; padding: 20px 84px 20px 20px; color: var(--white); transition: opacity .3s; }
.vcard__quote { margin: 0; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__name { font-size: 14px; font-weight: 600; }
.vcard__role { font-size: 12px; color: var(--light); margin-top: 2px; }
.vcard__play { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .2s; }
.vcard__play:hover { transform: scale(1.08); }
.vcard__mute { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgba(0,0,0,.55); color: var(--white); display: none; align-items: center; justify-content: center; cursor: pointer; }
.vcard__bar { position: absolute; top: 0; left: 0; z-index: 3; height: 3px; width: 0; background: var(--white); }
.vcard.is-playing .vcard__shade, .vcard.is-playing .vcard__info { opacity: 0; }
.vcard.is-playing .vcard__mute { display: flex; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 10px; padding-top: 16px; padding-bottom: 110px; }
.arrow { width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid #E0E0E0; background: var(--bg); color: var(--black); transition: opacity .2s; }
.arrow--dark { background: var(--black); border-color: var(--black); color: var(--white); }
.arrow:disabled { opacity: .35; cursor: default; }

/* ---------- Servicios ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split > * { min-width: 0; }
.services__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.services__text .lead { color: var(--black); max-width: 460px; }
.services__list { list-style: none; margin: 0; padding: 0 0 0 40px; display: flex; flex-direction: column; gap: 46px; }
.services__list li { display: flex; align-items: center; gap: 14px; font-size: 22px; letter-spacing: -0.03em; }
.icon-box { width: 42px; height: 42px; flex-shrink: 0; border-radius: 14px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0,0,0,.2); }

/* ---------- Sobre mí ---------- */
.about { display: flex; flex-direction: column; gap: 56px; }
.about__grid { display: grid; grid-template-columns: 371px minmax(0, 1fr); gap: 64px; align-items: start; }
.about__photo img { width: 100%; aspect-ratio: 371 / 410; object-fit: cover; border-radius: 16px; }
.about__name { margin-top: 14px; font-family: var(--font-head); font-size: 16px; letter-spacing: -0.02em; }
.about__name b { display: block; font-weight: 700; }
.about__name span { color: var(--text-2); }
.about__text { display: flex; flex-direction: column; gap: 28px; padding-top: 6px; }
.about__text p { font-size: 18px; line-height: 1.5; letter-spacing: -0.02em; color: var(--text-2); }
.about__text strong { color: var(--black); font-weight: 700; }

/* ---------- Proceso y precios ---------- */
.process { display: flex; flex-direction: column; gap: 56px; }
.process__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.process__head .title { flex: 1; min-width: 0; }
.process__head .lead { max-width: 300px; padding-bottom: 8px; flex-shrink: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.step p { font-family: var(--font-head); font-size: 16px; line-height: 1.5; letter-spacing: -0.02em; color: var(--text-2); max-width: 240px; }

.pricing { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: var(--panel); border-radius: 26px; }
.pricing__row { display: grid; grid-template-columns: 5fr 7fr; gap: 8px; }
.card { background: var(--white); border-radius: 20px; }
.card--work { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 490px; padding: 32px; }
.tilt {
  position: absolute; left: -22px; top: -50px; width: min(400px, calc(100% + 30px)); height: 280px;
  padding: 26px 28px; background: var(--black); color: var(--white); border-radius: 22px;
  transform: rotate(-4deg); box-shadow: 0 30px 50px rgba(0,0,0,.3);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.tilt__pill { align-self: flex-start; padding: 7px 12px; background: var(--white); color: var(--black); border-radius: 999px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: -0.02em; position: relative; z-index: 1; }
.tilt__sp { position: absolute; right: -24px; top: 34px; width: 220px; opacity: .55; transform: rotate(-18deg); }
.tilt__text { position: relative; font-size: 22px; letter-spacing: -0.03em; line-height: 1.3; }
.tilt__text span { color: var(--light); }
.card--work h3, .card--project h3 { margin: 0; font-family: var(--font-head); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; }
.card--work p { font-family: var(--font-head); font-size: 14px; line-height: 1.55; letter-spacing: -0.01em; max-width: 320px; }
.card--project { display: flex; flex-direction: column; gap: 22px; padding: 34px; }
.card--project .desc { font-family: var(--font-head); font-size: 14px; line-height: 1.6; color: var(--text-2); }
.card--project .desc span { color: var(--black); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.price b { white-space: nowrap; font-family: var(--font-head); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.price span { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--text-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.checks svg { margin-top: 2px; flex-shrink: 0; }
.card--project .btn { margin-top: auto; align-self: flex-start; }
.cta-black { display: flex; flex-direction: column; gap: 22px; padding: 30px 32px; background: var(--black); color: var(--white); border-radius: 20px; box-shadow: 0 16px 30px rgba(0,0,0,.2); }
.cta-black h3 { margin: 0; font-family: var(--font-head); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; }
.cta-black__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-black__row > p { font-family: var(--font-head); font-size: 14px; line-height: 1.6; font-weight: 600; }
.cta-black__row > p span { font-weight: 500; color: var(--light); }
.cta-black .checks { grid-template-columns: repeat(2, auto); gap: 14px 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.faq > * { min-width: 0; }
.faq__main { display: flex; flex-direction: column; gap: 40px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq__item summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 12px 16px; cursor: pointer; font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; transition: background .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: #F7F7F7; }
.faq__num { font-weight: 500; color: var(--text-2); width: 22px; flex-shrink: 0; }
.faq__item[open] .faq__num { display: none; }
.faq__q { flex: 1; }
.faq__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--black); transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 16px 16px; font-family: var(--font-head); font-size: 14px; line-height: 1.6; letter-spacing: -0.01em; }
.faq__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq__aside > img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; }
.faq__aside h3 { margin: 0; font-family: var(--font-head); font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.faq__aside p { font-family: var(--font-head); font-size: 14px; line-height: 1.6; max-width: 280px; }
.faq__aside .btn { align-self: flex-start; }

/* ---------- Calendario ---------- */
.calendar { display: flex; flex-direction: column; gap: 44px; }
.cal-box { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; min-height: 680px; }
#cal-inline { width: 100%; min-height: 680px; overflow: auto; }
.cal-fallback { padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-family: var(--font-head); }

/* ---------- Página de proyecto ---------- */
.case { padding-top: 150px; padding-bottom: 96px; }
.case__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--font-head); font-size: 14px; font-weight: 600; }
.case__meta span { color: var(--gray); margin-right: 8px; }
.case__image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.case__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__body { display: flex; flex-direction: column; gap: 20px; }
.case__body p { font-size: 17px; line-height: 1.6; letter-spacing: -0.015em; color: #1a1a1a; }
.case__done h2 { margin: 0 0 12px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--gray); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 7px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-size: 12px; font-weight: 600; }
.likes { padding-top: 64px; padding-bottom: 96px; }
.likes__card { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 64px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.likes__card h2 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.03em; }

/* ---------- Página trabajos ---------- */
.works-hero { padding-top: 150px; padding-bottom: 72px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); overflow: hidden; }
.footer .frame { border: 0; }
.footer__top { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer .title .g { color: var(--gray); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--text-2); }
.footer__label { display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--gray); }
.footer__cols a.big { font-size: 18px; word-break: break-word; }
.footer__cols a.big:hover { color: var(--light); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 999px; background: var(--white); color: var(--black); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.socials a:hover { transform: translateY(-2px); }
.footer__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer__menu { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 20px; font-family: var(--font-head); font-size: 12px; font-weight: 700; }
.footer__menu a:hover { color: var(--light); }
.footer__copy { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--light); }
.footer__giant {
  margin: 0 auto; padding: 10px 16px 0; max-width: var(--frame);
  text-align: center; font-family: var(--font-head); font-weight: 500; line-height: .82;
  letter-spacing: -0.04em; white-space: nowrap; font-size: 158px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  user-select: none;
}
.footer__giant span { display: inline-block; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  :root { --pad: 28px; }
  .section { padding-top: 84px; padding-bottom: 84px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 120px; padding-bottom: 56px; }
  .hero__slot { height: 360px; }
  .split, .faq { grid-template-columns: 1fr; }
  .services__list { padding-left: 0; gap: 28px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { max-width: 420px; }
  .process__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .process__head .title { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .pricing__row { grid-template-columns: 1fr; }
  .card--work { min-height: 460px; margin-top: 40px; }
  .tilt { left: -8px; }
  .cta-black__row { flex-direction: column; align-items: flex-start; }
  .faq__aside { position: static; }
  .testi__head { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { gap: 24px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .hero__slot { height: 280px; }
  .projects__grid { grid-template-columns: 1fr; gap: 32px; }
  .proof { flex-direction: column; align-items: flex-start; gap: 18px; }
  .marquee { width: 100%; }
  .marquee__track img { height: 26px; }
  .marquee__track { gap: 44px; }
  .lead, .about__text p { font-size: 16px; }
  .services__list li { font-size: 19px; }
  .checks { grid-template-columns: 1fr; }
  .cta-black .checks { grid-template-columns: 1fr 1fr; }
  .card--project, .card--work { padding: 24px; }
  .card--work h3, .card--project h3, .cta-black h3, .faq__aside h3 { font-size: 26px; }
  .tilt { height: 240px; padding: 22px; }
  .tilt__sp { width: 170px; }
  .vcard { flex-basis: 74vw; }
  .carousel__nav { justify-content: center; padding-bottom: 80px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .float-cta { height: 56px; gap: 18px; padding-left: 18px; bottom: 12px; }
  .float-cta small { font-size: 12px; }
  .float-cta__icon { width: 40px; height: 40px; }
  .case { padding-top: 120px; }
  .cal-box, #cal-inline { min-height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .dot { animation: none; }
  .title .w { filter: none !important; opacity: 1 !important; transform: none !important; }
}
