/* ==========================================================================
   Daniel Sandes — Fotografía
   Sistema de diseño. Tamaños fluidos: el sitio de referencia escala todo con
   el ancho de pantalla (título 45px a 1440px = 3.125vw); acá se hace igual
   pero con piso y techo para que el texto nunca quede ilegible.
   ========================================================================== */

:root {
  --ink: #1a1b17;
  --ink-soft: #333333;
  /* El original usa #888 y #a6a6a6 (2.4–3.5:1). Se oscurecen para cumplir WCAG AA (≥4.5:1). */
  --muted: #6b6b6b;
  --muted-2: #737373;
  --paper: #ffffff;
  --panel: #f7f7f7;
  --accent: #c4aa89;
  --accent-ink: #373737;
  --line: rgba(26, 27, 23, 0.22);
  --veil: rgba(0, 0, 0, 0.15);

  --f-title: "Cardo", Georgia, serif;
  --f-body: "Crimson Text", Georgia, serif;
  --f-label: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --f-sub: "Oswald", "Arial Narrow", sans-serif;
  --f-italic: "Rosarivo", Georgia, serif;
  --f-display: "Sorts Mill Goudy", Georgia, serif;
  --f-caps: "Cormorant SC", Georgia, serif;
  --f-logo: "Cormorant Garamond", Georgia, serif;

  --fs-h1: clamp(30px, 3.125vw, 54px);
  --fs-h2: clamp(25px, 2.34vw, 40px);
  --fs-h3: clamp(19px, 1.41vw, 24px);
  --fs-body: clamp(17px, 1.25vw, 20px);
  --fs-small: clamp(15px, 1.05vw, 17px);
  --fs-label: clamp(10.5px, 0.86vw, 13px);
  --fs-btn: clamp(10.5px, 0.78vw, 12.5px);
  --fs-sub: clamp(11.5px, 0.94vw, 15px);
  --fs-italic: clamp(22px, 2.19vw, 36px);
  --fs-display: clamp(50px, 5.08vw, 86px);
  --fs-caps: clamp(19px, 1.875vw, 30px);
  --fs-tiny: clamp(10px, 0.7vw, 12px);

  --gutter: clamp(20px, 5.5vw, 96px);
  --section: clamp(64px, 7vw, 120px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-family: var(--f-label); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografía utilitaria ---------- */

.t-h1 { font-family: var(--f-title); font-size: var(--fs-h1); line-height: 1.1; }
.t-h2 { font-family: var(--f-title); font-size: var(--fs-h2); line-height: 1.2; }
.t-h3 { font-family: var(--f-title); font-size: var(--fs-h3); line-height: 1.4; }
.t-label {
  font-family: var(--f-label); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.6;
}
.t-label--light { font-weight: 400; color: var(--muted); }
.t-sub {
  font-family: var(--f-sub); font-size: var(--fs-sub); letter-spacing: 0.3em;
  text-transform: uppercase; line-height: 1.7;
}
.t-italic { font-family: var(--f-italic); font-style: italic; font-size: var(--fs-italic); line-height: 1.2; }
.t-display { font-family: var(--f-display); font-size: var(--fs-display); line-height: 1.2; letter-spacing: -0.05em; }
.t-caps {
  font-family: var(--f-caps); font-size: var(--fs-caps); letter-spacing: 0.15em;
  text-transform: uppercase; line-height: 1.3; font-weight: 500;
}
.t-tiny {
  font-family: var(--f-body); font-size: var(--fs-tiny); letter-spacing: 0.2em;
  text-transform: uppercase; line-height: 1.3;
}
.t-date {
  font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2);
}
.t-small { font-size: var(--fs-small); line-height: 1.75; }

/* Enlace-botón: texto en mayúsculas subrayado, sin caja (como el original). */
.link-btn {
  display: inline-block;
  font-family: var(--f-label); font-weight: 600; font-size: var(--fs-btn);
  letter-spacing: 0.23em; text-transform: uppercase; line-height: 1.2;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: opacity 0.3s var(--ease), text-underline-offset 0.3s var(--ease);
}
.link-btn:hover { opacity: 0.6; text-underline-offset: 8px; }

.btn {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-label); font-weight: 600; font-size: clamp(11.5px, 0.94vw, 14px);
  letter-spacing: 0.17em; text-transform: uppercase;
  padding: 1.2em 1.65em; border-radius: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: relative; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(22px, 2.6vw, 40px) var(--gutter);
  background: var(--paper);
}
.site-header--over {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; color: #fff;
}

.logo {
  font-family: var(--f-logo); font-weight: 700;
  font-size: clamp(22px, 1.9vw, 31px); letter-spacing: -0.02em; line-height: 1;
  white-space: nowrap;
}
.logo span { font-weight: 400; font-style: italic; }
.logo img { display: block; height: clamp(46px, 4.6vw, 72px); width: auto; }

.nav { width: min(50%, 720px); }
.nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: space-between; align-items: center;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-block; padding: 8px 0;
  font-family: var(--f-title); font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 0.06em; text-transform: uppercase;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link.is-current { background-size: 100% 1px; }
.nav__sub a[aria-current="page"] { color: var(--muted); }

.nav__sub {
  list-style: none; margin: 0; padding: 18px 26px;
  position: absolute; top: 100%; left: 50%; min-width: 210px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.is-closed > .nav__sub { opacity: 0; visibility: hidden; }
.nav__sub a {
  display: block; padding: 7px 0;
  font-family: var(--f-title); font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav__sub a:hover { color: var(--muted); }

.burger { display: none; width: 30px; height: 20px; position: relative; }
.burger span {
  position: absolute; right: 0; height: 1px; background: currentColor;
  transition: width 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 2px; width: 30px; }
.burger span:nth-child(2) { top: 10px; width: 20px; }
.burger span:nth-child(3) { top: 18px; width: 30px; }
.burger:hover span { width: 30px; }

/* Menú móvil a pantalla completa */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--panel); color: var(--ink);
  padding: 22px 20px 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
.mobile-menu__close {
  align-self: center; width: 44px; height: 44px; position: relative;
  border-bottom: 1px solid var(--ink); width: 100%;
}
.mobile-menu__close::before,
.mobile-menu__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--ink);
}
.mobile-menu__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu a,
.mobile-menu__toggle {
  display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%;
  padding: 20px 0;
  font-family: var(--f-title); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
}
.mobile-menu__toggle::after {
  content: ""; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid;
  transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease);
}
.mobile-menu__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
.mobile-menu__sub { display: none; padding-bottom: 12px !important; }
.mobile-menu__sub.is-open { display: block; }
.mobile-menu__sub a { padding: 10px 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- Hero slider (home) ---------- */

.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; color: #fff; background: #222;
}
.hero__track {
  display: flex; height: 100%;
  transition: transform 0.8s ease;
  will-change: transform;
}
.hero__slide { position: relative; flex: 0 0 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.38) 100%);
}
.hero__content {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter);
  bottom: clamp(28px, 4vw, 60px);
}
.hero__title { margin-bottom: clamp(14px, 1.4vw, 22px); text-shadow: 0 1px 20px rgba(0,0,0,0.15); }
.hero__rule { height: 1px; background: rgba(255,255,255,0.85); margin-bottom: clamp(16px, 1.6vw, 24px); }
.hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Flechas largas y finas con contador "1 / 6" */
.arrows { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.arrow {
  width: clamp(36px, 3.4vw, 54px); height: 24px; position: relative; color: inherit;
  transition: transform 0.3s var(--ease);
}
.arrow::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor;
}
.arrow::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-left: 1px solid currentColor;
}
.arrow--prev::after { left: 1px; transform: translateY(-50%) rotate(-45deg); }
.arrow--next::after { right: 1px; transform: translateY(-50%) rotate(135deg); }
.arrow--prev:hover { transform: translateX(-5px); }
.arrow--next:hover { transform: translateX(5px); }
.counter {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-size: 13px; min-width: 52px; justify-content: center;
}
.counter i { display: inline-block; width: 1px; height: 18px; background: currentColor; transform: rotate(25deg); }

/* ---------- Secciones ---------- */

.section { padding: var(--section) var(--gutter); }
.wrap { max-width: 1240px; margin: 0 auto; }
.center { text-align: center; }

.intro {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 6vw, 110px); max-width: 1180px; margin: 0 auto;
}
.intro__quote { color: var(--ink-soft); text-align: center; max-width: 13em; margin: 0 auto; }
.intro__text { max-width: 28em; font-size: var(--fs-small); color: #000; }

/* Banner con foto de fondo */
.banner {
  position: relative; color: #fff; overflow: hidden;
  min-height: clamp(480px, 51vw, 780px);
  display: grid;
}
.banner__bg, .banner__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; background: var(--veil); z-index: 1; }
.banner > *:not(.banner__bg) { position: relative; z-index: 2; }

.prints {
  grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto;
  padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(40px, 5vw, 80px);
  column-gap: 6vw;
}
.prints__label { grid-column: 1; grid-row: 1; padding-top: 1.2em; }
.prints__title { grid-column: 2; grid-row: 1; text-align: center; }
.prints__body { grid-column: 1; grid-row: 3; max-width: 34em; font-size: var(--fs-small); }
.prints__cta { display: inline-block; margin-top: 1.4em; transition: opacity 0.3s; }
.prints__cta:hover { opacity: 0.7; }

/* Collage "Mi objetivo es" */
.goal {
  display: grid; grid-template-columns: 37fr 3fr 25fr 3fr 26fr 6fr;
  align-items: start; padding: 12px 0 var(--section);
}
.goal__main { grid-column: 1; position: relative; color: #fff; min-height: clamp(420px, 53vw, 820px); }
.goal__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.goal__main::before { content: ""; position: absolute; inset: 0; background: var(--veil); z-index: 1; }
.goal__label { position: absolute; z-index: 2; top: 1.8em; left: 0; right: 0; text-align: center; }
.goal__phrase {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(24px, 3vw, 48px);
  text-align: center; padding: 0 8%;
}
.goal__phrase::before {
  content: ""; display: block; height: 1px; background: rgba(255,255,255,0.8); margin: 0 -8% 0.6em;
}
.goal__item { text-align: center; }
.goal__item--a { grid-column: 3; margin-top: clamp(80px, 13.5vw, 210px); }
.goal__item--b { grid-column: 5; margin-top: clamp(20px, 3.8vw, 60px); }
.goal__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1.6em; }

/* Presentación "Soy Daniel" */
.hello {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 6vw; padding: 0 var(--gutter) var(--section);
}
.hello__text { text-align: center; max-width: 30em; margin: 0 auto; }
.hello__text .t-display { margin-bottom: 0.15em; }
.hello__text .t-tiny { margin-bottom: 2.6em; display: block; font-family: var(--f-caps); letter-spacing: 0.2em; font-size: clamp(11px, 0.86vw, 13px); }
.hello__text .t-italic { margin-bottom: 2.2em; }
.hello__text .t-small { margin-bottom: 2.4em; }
.hello__img img { width: 100%; max-width: 560px; aspect-ratio: 4 / 5; object-fit: cover; }

/* Encabezado de sección con regla superior */
.sec-head { text-align: center; padding-top: clamp(28px, 2.6vw, 40px); border-top: 1px solid var(--ink); margin: 0 var(--gutter); }
.sec-head .t-label { margin-bottom: 0.4em; }

/* ---------- Grilla escalonada (portfolio, recientes, journal) ---------- */

.stagger {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3.5vw, 60px);
  padding: clamp(40px, 5vw, 80px) var(--gutter) var(--section); align-items: start;
}
.stagger__col { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 90px); }
.card { display: block; text-align: center; }
.card__media { overflow: hidden; margin-bottom: clamp(18px, 1.8vw, 30px); background: #eee; }
.card__media img { width: 100%; transition: transform 1.2s var(--ease), opacity 0.6s; }
.card:hover .card__media img { transform: scale(1.035); }
.card__cat { display: block; margin-bottom: 0.9em; }
.card__title { margin-bottom: 0.45em; transition: opacity 0.3s; }
.card:hover .card__title { opacity: 0.65; }
.card__excerpt { color: var(--muted); font-size: var(--fs-small); max-width: 26em; margin: 0.6em auto 0; }

/* ---------- Testimonio ---------- */

.testimonial {
  display: grid; grid-template-columns: 42fr 5fr 46fr 7fr; align-items: center;
  padding: 0 0 var(--section) var(--gutter);
}
.testimonial__media { grid-column: 1; position: relative; color: #fff; }
.testimonial__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.testimonial__media::before { content: ""; position: absolute; inset: 0; background: var(--veil); }
.testimonial__media .t-h1 { position: absolute; top: 0.7em; left: 0.7em; right: 0.7em; }
.testimonial__body { grid-column: 3; }
.testimonial__body .t-h2 { margin-bottom: 1.6em; }
.testimonial__letter { margin: 0; font-size: var(--fs-small); color: #000; max-width: 34em; }
.testimonial__sign { margin-top: 1.6em; }
.testimonial__sign .t-tiny { display: block; margin-top: 0.3em; }

/* ---------- Pre-footer (solo home) ---------- */

.prefooter { background: var(--panel); display: grid; grid-template-columns: 1fr 1px 1fr; padding: clamp(48px, 5vw, 80px) var(--gutter); gap: 0; }
.prefooter__rule { background: var(--muted-2); }
.prefooter__contact { text-align: center; padding: 0 clamp(20px, 5vw, 90px); }
.prefooter__contact .t-sub { color: #1a1817; margin-bottom: 1.6em; display: block; }
.prefooter__contact p { font-size: var(--fs-small); max-width: 22em; margin: 0 auto 1.6em; color: #000; }
.socials { display: flex; justify-content: center; gap: 22px; }
.socials a { display: inline-flex; width: 22px; height: 22px; opacity: 0.7; transition: opacity 0.3s; }
.socials a:hover { opacity: 1; }
.socials svg { width: 100%; height: 100%; }
.prefooter__links {
  display: grid; grid-template-columns: 1fr 1fr; align-content: center; row-gap: 2.6em;
  text-align: center; font-family: var(--f-title); font-size: clamp(14px, 1.02vw, 17px);
}
.prefooter__links a:hover { color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { padding: clamp(36px, 3.5vw, 56px) var(--gutter) 22px; }
.insta { text-align: center; margin-bottom: clamp(28px, 3vw, 44px); }
.insta .t-label { font-weight: 400; color: #000; }
.insta__handle { font-family: var(--f-title); font-size: var(--fs-h3); display: inline-block; margin-top: 0.2em; }
.insta__handle:hover { color: var(--muted); }
.insta__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 26px; }
.insta__strip a { display: block; overflow: hidden; }
.insta__strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.insta__strip a:hover img { transform: scale(1.06); opacity: 0.85; }
.footbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.footbar .t-tiny { font-size: clamp(9.5px, 0.66vw, 11px); }
.footbar__mark { display: block; width: 34px; height: 34px; }
.footbar__top { justify-self: end; display: inline-flex; align-items: center; gap: 14px; }
.footbar__top::after { content: "↑"; font-family: var(--f-body); letter-spacing: 0; font-size: 14px; transition: transform 0.3s; }
.footbar__top:hover::after { transform: translateY(-3px); }

/* ---------- Páginas internas ---------- */

.page-title { text-align: center; padding: clamp(40px, 4.5vw, 72px) var(--gutter) clamp(32px, 3.5vw, 56px); }
.page-title .t-date, .page-title .t-label { display: block; }
.page-title .t-h1 { margin: 0.25em 0; }

/* Carrusel de galería: alto fijo, ancho variable, foto activa centrada */
.gallery { position: relative; overflow: hidden; user-select: none; }
.gallery__track {
  display: flex; gap: clamp(10px, 1.2vw, 22px); height: clamp(320px, 48.4vw, 760px);
  max-height: 78vh; transition: transform 0.8s ease; will-change: transform; cursor: grab;
}
.gallery__track.is-dragging { transition: none; cursor: grabbing; }
.gallery__slide { flex: 0 0 auto; height: 100%; opacity: 0.55; transition: opacity 0.8s ease; }
.gallery__slide.is-active { opacity: 1; }
.gallery__slide img { height: 100%; width: auto; pointer-events: none; }
.gallery__nav {
  display: flex; justify-content: center; padding: clamp(28px, 3vw, 44px) 0 0; color: var(--muted);
}
.gallery__nav .arrows { color: var(--ink); }
.gallery__nav .counter { color: var(--muted); }

.related { padding: var(--section) var(--gutter); }
.related__title { text-align: center; margin-bottom: clamp(32px, 3.5vw, 56px); font-size: clamp(15px, 1.1vw, 18px); letter-spacing: 0.04em; text-transform: uppercase; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 54px); max-width: 1180px; margin: 0 auto; }
.related__grid .card__media img { aspect-ratio: 3 / 2.2; object-fit: cover; }
.related__grid .card__title { font-size: var(--fs-h3); }

/* Sobre mí */
.about-head { text-align: center; padding: clamp(36px, 4vw, 64px) var(--gutter) 0; }
.about-head .t-tiny { display: block; font-family: var(--f-caps); font-size: clamp(11px, 0.86vw, 13px); letter-spacing: 0.22em; max-width: 22em; margin: 0.6em auto clamp(28px, 3vw, 48px); line-height: 1.6; }
.about-head img { width: min(42vw, 600px); margin: 0 auto; aspect-ratio: 1; object-fit: cover; }
.about-lead { text-align: center; padding: clamp(36px, 4vw, 64px) var(--gutter) clamp(24px, 3vw, 40px); }
.columns-2 { columns: 2; column-gap: clamp(32px, 5vw, 90px); max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) var(--section); font-size: var(--fs-small); }
.columns-2 p { break-inside: avoid; }

.believe { min-height: clamp(420px, 42vw, 680px); place-items: center; text-align: center; padding: var(--section) var(--gutter) calc(var(--section) + 60px); }
.believe .t-label { margin-bottom: 1em; }
.believe .t-h1 { font-size: clamp(36px, 4vw, 68px); }
.believe .t-italic { font-size: clamp(17px, 1.3vw, 22px); margin-top: 0.4em; }
.overlap {
  position: relative; z-index: 3; background: var(--panel);
  max-width: 1240px; margin: -110px auto 0; padding: clamp(40px, 5vw, 80px) clamp(24px, 6vw, 110px);
  text-align: center; font-size: var(--fs-small);
}
.overlap-wrap { padding: 0 var(--gutter); }

.strip-3 { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: clamp(10px, 1.2vw, 22px); padding: var(--section) var(--gutter) 0; align-items: end; }
.strip-3 img { width: 100%; object-fit: cover; }
.strip-3 img:nth-child(1) { aspect-ratio: 4 / 5; }
.strip-3 img:nth-child(2) { aspect-ratio: 3 / 2.3; }
.strip-3 img:nth-child(3) { aspect-ratio: 4 / 5.4; }
.cta-block { text-align: center; padding: clamp(48px, 5vw, 80px) var(--gutter) var(--section); }
.cta-block .t-italic { margin-bottom: 1.2em; }

/* Paquetes */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.split__text { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: var(--section) clamp(24px, 6vw, 110px); }
.split__text .t-h1 { margin-bottom: 0.15em; }
.split__text .t-label { margin-bottom: 2em; }
.split__text p { font-size: var(--fs-small); }
.split__panel { background: var(--panel); position: relative; min-height: 560px; }
.split__panel img { position: absolute; object-fit: cover; box-shadow: 0 0 0 0 transparent; }
.split__panel img:nth-child(1) { left: -10%; top: 22%; width: 48%; aspect-ratio: 3 / 4.6; }
.split__panel img:nth-child(2) { right: 10%; top: 8%; width: 40%; aspect-ratio: 3 / 2.3; }
.split__panel img:nth-child(3) { right: 16%; top: 46%; width: 36%; aspect-ratio: 4 / 5; }
.signature { font-family: var(--f-italic); font-style: italic; font-size: var(--fs-h3); margin-top: 0.6em; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 130px); align-items: center; padding: var(--section) var(--gutter); max-width: 1320px; margin: 0 auto; }
.feature--rev .feature__media { order: -1; }
.feature__text { max-width: 30em; font-size: var(--fs-small); }
.feature__text .t-label { margin-bottom: 0.6em; color: var(--muted); font-weight: 400; }
.feature__text .t-h1 { margin-bottom: 1.2em; }
.feature__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }

.narrow { max-width: 760px; margin: 0 auto; text-align: center; padding: var(--section) var(--gutter); font-size: var(--fs-small); }
.narrow .t-h1, .narrow .t-italic { margin-bottom: 1em; }

.packages { background: var(--panel); padding: var(--section) var(--gutter); }
.packages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 44px); max-width: 1240px; margin: clamp(32px, 3.5vw, 56px) auto 0; }
.package { background: var(--paper); padding: clamp(32px, 3.6vw, 60px) clamp(20px, 2.4vw, 40px); text-align: center; font-size: var(--fs-small); display: flex; flex-direction: column; }
.package .t-h1 { font-size: var(--fs-h2); margin-bottom: 1.1em; }
.package ul { list-style: none; padding: 0; margin: 0 0 1.4em; line-height: 1.9; }
.package__price { font-family: var(--f-label); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 1.6em 0 1.4em; }
.package .link-btn { margin-top: auto; align-self: center; }
.package--featured { outline: 1px solid var(--accent); outline-offset: -12px; }
.footnote { max-width: 1240px; margin: clamp(28px, 3vw, 44px) auto 0; font-family: var(--f-label); font-size: 12px; line-height: 1.7; color: var(--muted); text-align: center; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 80px); padding: 0 var(--gutter) var(--section); max-width: 1320px; margin: 0 auto; }
.pair img { width: 100%; aspect-ratio: 3 / 2.1; object-fit: cover; }

.faq { padding: var(--section) var(--gutter); max-width: 1240px; margin: 0 auto; }
.faq > .t-h1 { text-align: center; margin-bottom: clamp(36px, 4vw, 64px); }
.faq__grid { columns: 2; column-gap: clamp(32px, 6vw, 110px); }
.faq__item { break-inside: avoid; margin-bottom: 2.2em; font-size: var(--fs-small); }
.faq__item h3 { font-family: var(--f-title); font-size: var(--fs-h3); margin-bottom: 0.5em; line-height: 1.3; }

.closing { min-height: clamp(380px, 46vw, 760px); place-items: center; text-align: center; padding: var(--section) var(--gutter); }
.closing .t-sub { display: block; margin-bottom: 1.6em; }
.closing .t-h1 { margin-bottom: 1.2em; }

/* Contacto */
.contact-hero { min-height: clamp(380px, 46vw, 680px); place-items: center; text-align: center; padding: var(--section) var(--gutter) calc(var(--section) + 70px); }
.contact-hero .t-label { margin-bottom: 0.6em; }
.contact-hero .t-h1 { font-size: clamp(38px, 4.2vw, 72px); }
.contact-hero .t-italic { font-size: clamp(17px, 1.4vw, 24px); }

.contact { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--section); }
.contact__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.contact__form { padding: clamp(40px, 4.5vw, 80px) var(--gutter) clamp(40px, 4.5vw, 80px) clamp(28px, 4vw, 70px); }
.contact__form .t-h1 { margin-bottom: 0.4em; }
.contact__form .t-caps-sm { font-family: var(--f-caps); font-size: clamp(11px, 0.86vw, 13px); letter-spacing: 0.22em; text-transform: uppercase; }
.contact__email { text-align: right; margin: 2em 0 1.4em; font-family: var(--f-label); font-size: clamp(10px, 0.72vw, 11.5px); letter-spacing: 0.15em; text-transform: uppercase; }
.contact__email a:hover { color: var(--muted); }

.field { margin-bottom: clamp(24px, 2.4vw, 36px); position: relative; }
.field label { display: block; font-family: var(--f-label); font-size: clamp(10px, 0.72vw, 11.5px); letter-spacing: 0.17em; text-transform: uppercase; margin-bottom: 0.6em; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent;
  font-family: var(--f-body); font-size: var(--fs-small); color: var(--ink);
  padding: 8px 0; border-radius: 0; outline: none; transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; border: 1px solid var(--line); border-bottom-color: var(--ink); padding: 10px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #a5482f; }
.field__error { display: none; color: #a5482f; font-family: var(--f-label); font-size: 11px; letter-spacing: 0.08em; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { display: none; padding: 1.4em; background: var(--panel); text-align: center; margin-top: 1.2em; }
.form-ok.is-visible { display: block; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(48px, 5vw, 80px) var(--gutter); text-align: center; }
.trio a { padding: 0.4em 1em; border-left: 1px solid var(--muted-2); }
.trio a:first-child { border-left: 0; }
.trio .t-label { font-weight: 400; color: var(--muted-2); display: block; margin-bottom: 0.2em; }
.trio .t-h2 { font-size: clamp(22px, 1.9vw, 32px); transition: opacity 0.3s; }
.trio a:hover .t-h2 { opacity: 0.6; }

/* Journal */
.journal-head { text-align: center; padding: clamp(36px, 4vw, 64px) var(--gutter) 0; }
.journal-head .t-h1 { margin-bottom: clamp(28px, 3vw, 48px); }
.journal-head img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; }
.journal-head .t-sub { display: block; margin-top: clamp(32px, 3.5vw, 56px); color: var(--ink); }
.pagination { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin: 0 var(--gutter) var(--section); padding-top: 22px; font-family: var(--f-label); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }
.pagination__pages { display: flex; gap: 18px; color: var(--muted); }
.pagination__pages a:hover, .pagination a:hover { color: var(--ink); }
.pagination__pages [aria-current] { color: var(--ink); }

/* Post */
.post-cover { padding: 0 var(--gutter); max-width: 1400px; margin: 0 auto; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { max-width: 700px; margin: 0 auto; padding: clamp(40px, 4.5vw, 72px) var(--gutter) 0; font-size: var(--fs-body); }
.prose p { margin-bottom: 1.3em; }
.prose blockquote { margin: 1.8em 0; padding: 0; font-family: var(--f-italic); font-style: italic; font-size: var(--fs-h2); line-height: 1.35; text-align: center; }
.prose figure { margin: 2.4em calc(-1 * clamp(0px, 8vw, 160px)); }
.prose figcaption { font-family: var(--f-label); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 12px; }
.share { display: flex; justify-content: center; align-items: center; gap: 22px; padding: clamp(40px, 4vw, 64px) var(--gutter) 0; }
.share .t-label { font-weight: 400; color: var(--muted); }
.share a { font-family: var(--f-label); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.share a:hover { border-color: var(--ink); }

/* Impresiones */
.prints-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 72px) clamp(20px, 3vw, 54px); padding: clamp(16px, 2vw, 32px) var(--gutter) var(--section); max-width: 1400px; margin: 0 auto; align-items: end; }
.print { text-align: center; }
.print__frame { background: var(--panel); padding: clamp(18px, 2.4vw, 40px); margin-bottom: 1.4em; transition: background 0.4s; }
.print:hover .print__frame { background: #efece8; }
.print__frame img { width: 100%; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12); }
.print .t-h3 { margin-bottom: 0.2em; }
.print__meta { color: var(--muted); font-size: var(--fs-small); margin-bottom: 1em; }

/* ---------- Animación de entrada (solo con JS y si el usuario no pidió menos movimiento) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__track, .gallery__track { transition-duration: 0.01ms; }
}

/* Imágenes: aparecen suave al cargar */
.js img[loading="lazy"] { opacity: 0; transition: opacity 0.8s var(--ease); }
.js img[loading="lazy"].is-loaded { opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .nav { width: min(58%, 620px); }
  .goal { grid-template-columns: 1fr 1fr; gap: 20px; padding: 12px var(--gutter) var(--section); }
  .goal__main { grid-column: 1 / -1; }
  .goal__item--a, .goal__item--b { grid-column: auto; margin-top: 8px; }
  .goal__item--a { margin-top: 48px; }
  .testimonial { grid-template-columns: 1fr; padding: 0 var(--gutter) var(--section); gap: 40px; }
  .testimonial__media, .testimonial__body { grid-column: 1; }
  .testimonial__media { max-width: 560px; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__content { text-align: center; bottom: 28px; }
  .hero__title { position: absolute; left: 0; right: 0; bottom: calc(50vh - 40px); }
  .hero__content .t-sub { position: absolute; left: 0; right: 0; bottom: calc(50vh - 110px); }
  .hero__bar { justify-content: center; }
  .hero__bar .arrows { width: 100%; justify-content: space-between; }
  .intro, .hello, .split, .feature, .contact, .prints { grid-template-columns: 1fr; }
  .intro__text { margin: 0 auto; text-align: center; }
  .prints { row-gap: 28px; text-align: center; }
  .prints__label, .prints__title, .prints__body { grid-column: 1; grid-row: auto; margin: 0 auto; }
  .hello__img { order: -1; }
  .hello__img img { margin: 0 auto; }
  .stagger { grid-template-columns: 1fr; }
  .stagger__col + .stagger__col { margin-top: clamp(48px, 5vw, 90px); }
  .prefooter { grid-template-columns: 1fr; gap: 40px; }
  .prefooter__rule { height: 1px; width: 60%; margin: 0 auto; }
  .related__grid, .packages__grid, .prints-grid { grid-template-columns: 1fr; max-width: 520px; }
  .columns-2, .faq__grid { columns: 1; }
  .split__panel { min-height: 120vw; }
  .split__panel img:nth-child(1) { left: 6%; }
  .feature--rev .feature__media { order: 0; }
  .feature__text { max-width: none; }
  .pair { grid-template-columns: 1fr; }
  .about-head img { width: 100%; }
  .contact__media img { min-height: 320px; max-height: 60vh; }
  .contact__form { padding: 48px var(--gutter); }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .trio { grid-template-columns: 1fr; gap: 28px; }
  .trio a { border-left: 0; }
  .insta__strip { grid-template-columns: repeat(3, 1fr); }
  .footbar { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .footbar__mark { grid-row: 1; grid-column: 1 / -1; justify-self: center; }
  .strip-3 { grid-template-columns: 1fr 1fr; }
  .strip-3 img:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .gallery__track { height: 62vh; }
  .pagination { flex-direction: column; gap: 16px; }
  .overlap { margin-top: -70px; }
  .prose figure { margin-left: 0; margin-right: 0; }
}
