/* ==========================================================================
   Kalytero — hoja de estilo principal
   Estética: estudio de arquitectura. Clean, editorial, mucho aire.
   ========================================================================== */

:root {
  --bone: #f4f0e8;
  --bone-2: #eae3d7;
  --ink: #16130f;
  --ink-2: rgba(22, 19, 15, 0.64);
  --ink-3: rgba(22, 19, 15, 0.4);
  --line: rgba(22, 19, 15, 0.14);
  --line-strong: rgba(22, 19, 15, 0.28);
  --clay: #a8502a;
  --clay-2: #c2703f;
  --sand: #d9cbb4;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1480px;
  --pad: clamp(20px, 4.6vw, 72px);
  --sp-section: clamp(84px, 11vw, 172px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset --- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  /* Evita el desplazamiento horizontal que provoca el full-bleed. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--clay); color: var(--bone); }

:focus-visible {
  outline: 1.5px solid var(--clay);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bone);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------ tipografía - */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
}

.display {
  font-size: clamp(2.7rem, 7.4vw, 7.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.85rem, 4.1vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1.12;
}

em, .italic {
  font-style: italic;
  color: var(--clay);
}

.lead {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 46ch;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.serif-body {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  line-height: 1.42;
  letter-spacing: -0.005em;
}

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--sp-section); }
.section + .section { border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}

/* etiquetas de sección ---------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: clamp(28px, 4vw, 56px);
}

.eyebrow .num {
  font-family: var(--serif);
  font-size: 0.95em;
  letter-spacing: 0.06em;
  color: var(--clay);
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  transform: translateY(-5px);
}

/* ---------------------------------------------------------------- header - */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad);
  color: var(--ink);
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
    padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(244, 240, 232, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
  padding-block: 14px;
}

/* Ojo: backdrop-filter crea un containing block para los hijos con
   position:fixed (el panel del menú móvil), así que se desactiva al abrirlo. */
body.nav-open .site-header {
  background: var(--bone);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.brand {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span { color: var(--clay); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.nav a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 4px;
  opacity: 0.86;
  transition: opacity 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.header-cta:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--bone);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
}
.burger i {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger i:nth-child(1) { top: 18px; }
.burger i:nth-child(2) { top: 25px; }
body.nav-open .burger i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero - */

.hero {
  background: var(--bone);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 126px var(--pad) clamp(34px, 4vw, 58px);
}

.hero__intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.hero .eyebrow {
  flex: 1;
  margin: 0;
  color: var(--ink-2);
}
.hero .eyebrow .num { color: var(--clay); }
.hero__note {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 300;
}

.hero__services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 22px);
  margin-top: clamp(22px, 3vw, 40px);
}
.hero-service { min-width: 0; }
.hero-service__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  background: var(--bone-2);
}
.hero-service__image picture,
.hero-service__image img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-service__image img {
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.hero-service:hover .hero-service__image img { transform: scale(1.04); }
.hero-service__caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding-top: 11px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-service__caption > span:first-child { color: var(--ink-3); }
.hero-service__caption strong { font-weight: 400; }
.hero-service__caption > span:last-child { color: var(--clay); }

.hero .hero__wordmark {
  margin-top: clamp(42px, 6vw, 82px);
  font-size: clamp(2.6rem, 15.4vw, 15rem);
}

/* ---------------------------------------------------------------- marquee - */

.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  background: var(--bone);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee__track ul {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  margin: 0;
  padding: 0 clamp(12px, 1.5vw, 23px);
  list-style: none;
}
.marquee li {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.marquee li .dot { color: var(--clay); font-size: 0.7em; vertical-align: middle; }
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------- manifiesto --- */

.manifesto .grid { align-items: start; }

.manifesto__title { grid-column: 1 / span 7; }
.manifesto__body {
  grid-column: 9 / span 4;
  padding-top: 8px;
}
.manifesto__body .lead { max-width: 34ch; }

.manifesto__stats {
  grid-column: 9 / span 4;
  margin-top: 28px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.manifesto__stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.manifesto__stats strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
}

.figure {
  position: relative;
  overflow: hidden;
  background: var(--bone-2);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.figure figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 19, 15, 0.46);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.96);
}

.manifesto__figure {
  grid-column: 1 / span 12;
  margin-top: clamp(40px, 6vw, 84px);
  aspect-ratio: 16 / 8;
}

/* -------------------------------------------------------------- negocios - */

.biz-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.biz-head .h2 { max-width: 16ch; }
.biz-head .lead { max-width: 40ch; }

.biz {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 74px);
  border-top: 1px solid var(--line);
}
.biz:last-of-type { border-bottom: 1px solid var(--line); }

.biz__media { grid-column: 1 / span 6; }
.biz__body { grid-column: 8 / span 5; }

.biz:nth-child(even) .biz__media { grid-column: 7 / span 6; order: 2; }
.biz:nth-child(even) .biz__body { grid-column: 1 / span 5; order: 1; }

.biz__media .figure { aspect-ratio: 4 / 5; }
.biz:hover .figure img { transform: scale(1.035); }

.biz__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.8;
  color: var(--clay);
  display: block;
  margin-bottom: 18px;
}

.biz__body .h3 { margin-bottom: 14px; }
.biz__body .lead { max-width: 40ch; margin-bottom: 24px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-arrow svg { transition: transform 0.45s var(--ease); }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }
.link-arrow:hover svg { transform: translateX(5px); }

.pill {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* -------------------------------------------------------------- criterio - */

.dark {
  background: var(--ink);
  color: var(--bone);
}
.dark .eyebrow { color: rgba(244, 240, 232, 0.66); }
.dark .eyebrow::after { background: rgba(244, 240, 232, 0.22); }
.dark .eyebrow .num { color: var(--sand); }
.dark .h2 em { color: var(--sand); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(244, 240, 232, 0.2);
  padding-top: clamp(28px, 4vw, 48px);
}
.principle .num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sand);
  letter-spacing: 0.08em;
}
.principle h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 18px 0 14px;
}
.principle p {
  color: rgba(244, 240, 232, 0.66);
  font-weight: 300;
  font-size: 0.96rem;
  max-width: 34ch;
}

.dark .quote {
  margin-top: clamp(56px, 8vw, 110px);
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  line-height: 1.14;
}

/* -------------------------------------------------------------- contacto - */

.contact .h2 { max-width: 18ch; }

.contact__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: end;
  margin-top: clamp(32px, 4vw, 56px);
}

.mailto {
  display: inline-block;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 2.5rem);
  letter-spacing: -0.01em;
  padding-bottom: 6px;
}
.mailto::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: background 0.4s var(--ease);
}
.mailto:hover { color: var(--clay); }
.mailto:hover::after { background: var(--clay); }

.contact__meta {
  display: grid;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 300;
}
.contact__meta .note {
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  font-size: 0.86rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.35);
}
.contact__meta .note strong { font-weight: 500; color: var(--ink); }

.socials {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.socials a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.socials a:hover { color: var(--clay); border-color: var(--clay); }

.addr {
  font-style: normal;
  line-height: 1.7;
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 36px;
  background: var(--bone);
}

.site-footer .grid { align-items: start; }

.footer__col h4 {
  margin: 0 0 18px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--clay); }
.footer__col small { display: block; margin-top: 4px; font-size: 0.68rem; color: var(--ink-3); }

.footer__brand { grid-column: 1 / span 5; }
.footer__nav { grid-column: 7 / span 2; }
.footer__biz { grid-column: 9 / span 2; }
.footer__contact { grid-column: 11 / span 2; }

.wordmark {
  margin-top: clamp(48px, 7vw, 96px);
  font-family: var(--sans);
  font-size: clamp(2.6rem, 15.4vw, 15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.82;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(10px, 1.4vw, 22px);
  overflow: hidden;
}
.wordmark span { display: inline-block; transform: translateY(8%); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.footer__legal a:hover { color: var(--clay); }

/* ------------------------------------------------------------- animación - */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

.figure.reveal img { transform: scale(1.08); }
.figure.reveal.is-visible img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .figure.reveal img { transform: none; }
}

/* ------------------------------------------------------------ responsive - */

/* Tablets y portátiles pequeños ------------------------------------------- */

@media (max-width: 1024px) {
  .manifesto__title { grid-column: 1 / span 12; }
  .manifesto__body,
  .manifesto__stats { grid-column: 1 / span 12; }
  .manifesto__body { margin-top: 28px; }
  .manifesto__body .lead { max-width: 52ch; }

  .biz__media,
  .biz:nth-child(even) .biz__media { grid-column: 1 / span 12; order: 1; }
  .biz__body,
  .biz:nth-child(even) .biz__body { grid-column: 1 / span 12; order: 2; }
  .biz__media .figure { aspect-ratio: 3 / 2; }
  .biz__body { margin-top: 4px; }
  .biz__body .lead { max-width: 56ch; }

  .contact__grid { grid-template-columns: 1fr; align-items: start; }

  .manifesto__figure { aspect-ratio: 3 / 2; }

  .footer__brand { grid-column: 1 / span 12; margin-bottom: 34px; }
  .footer__nav { grid-column: 1 / span 4; }
  .footer__biz { grid-column: 5 / span 4; }
  .footer__contact { grid-column: 9 / span 4; }

  .principles { grid-template-columns: 1fr 1fr; }
}

/* Móvil ------------------------------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --sp-section: clamp(64px, 14vw, 108px);
    --pad: clamp(18px, 5.2vw, 30px);
  }

  html { scroll-padding-top: 74px; }

  body {
    font-size: 15.5px;
    -webkit-tap-highlight-color: transparent;
  }

  .nav,
  .header-cta { display: none; }

  .burger { display: block; }

  /* por encima del panel del menú (que es descendiente posicionado del header) */
  .brand,
  .burger { position: relative; z-index: 110; }

  .site-header {
    z-index: 100;
    padding-top: max(22px, env(safe-area-inset-top));
  }
  .site-header.is-scrolled {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: calc(96px + env(safe-area-inset-top)) var(--pad)
      calc(48px + env(safe-area-inset-bottom));
    background: var(--bone);
    color: var(--ink);
    transform: translateY(-100%);
    /* El header con backdrop-filter es el containing block del panel, así que
       translateY(-100%) no basta: hay que ocultarlo de verdad al cerrarlo. */
    visibility: hidden;
    transition: transform 0.6s var(--ease), visibility 0.6s var(--ease);
  }
  body.nav-open .nav {
    transform: none;
    visibility: visible;
  }
  body.nav-open .nav a {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 9vw, 3rem);
    letter-spacing: -0.01em;
    text-transform: none;
    opacity: 1;
    padding-block: 8px;
  }
  body.nav-open .nav a::after { display: none; }

  /* --- HERO: marca y cuatro imágenes ----------------------------------- */
  .hero__inner {
    padding-top: calc(104px + env(safe-area-inset-top));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
  .hero__intro { display: block; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero__note { font-size: 0.78rem; }
  .hero__services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .hero-service__image { aspect-ratio: 1.08 / 1; }
  .hero-service__caption { gap: 7px; font-size: 0.62rem; }
  .hero .hero__wordmark { margin-top: 36px; font-size: clamp(3rem, 15.5vw, 6rem); }

  /* --- IMÁGENES A PANTALLA COMPLETA (full-bleed) ----------------------- */
  /* Se usa el padding lateral en negativo en vez de 100vw: 100vw incluye la
     barra de scroll y provocaba 15px de desbordamiento horizontal. */
  .manifesto__figure,
  .biz__media .figure {
    width: auto;
    margin-inline: calc(var(--pad) * -1);
    height: 100vh;
    height: 100svh;
    max-height: none;
    aspect-ratio: auto;
  }
  .manifesto__figure { margin-top: clamp(26px, 7vw, 44px); }
  .manifesto__figure img,
  .biz__media .figure img { object-position: center; }
  .figure figcaption {
    left: max(14px, env(safe-area-inset-left));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .principles { grid-template-columns: 1fr; gap: 30px; }

  /* El enlace + la píldora no caben en una línea en móvil: dejamos que
     "Próximamente" baje debajo de la URL en vez de recortarse. */
  .link-arrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
  }

  .footer__nav,
  .footer__biz,
  .footer__contact { grid-column: 1 / span 12; margin-bottom: 26px; }
  .footer__legal {
    flex-direction: column;
    gap: 8px;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Móviles pequeños -------------------------------------------------------- */

@media (max-width: 420px) {
  .biz-head { margin-bottom: 40px; }
  .biz__num { font-size: clamp(2.4rem, 14vw, 3.4rem); margin-bottom: 12px; }

  .tags li { padding: 6px 11px; font-size: 0.6rem; }

  .contact__meta .note { padding: 15px 16px; }

  .marquee { padding-block: 16px; }
  .wordmark { font-size: 15.5vw; }
}

/* Móvil en horizontal: deja respirar algo de página alrededor ----------------- */

@media (max-width: 720px) and (orientation: landscape) {
  .manifesto__figure,
  .biz__media .figure {
    height: 86vh;
    height: 86svh;
  }
}

/* Dispositivos táctiles: sin efectos hover pesados ------------------------ */

@media (hover: none) {
  .biz:hover .figure img,
  .hero-service:hover .hero-service__image img { transform: none; }
  .link-arrow:hover svg { transform: none; }
}
