/* ═══════════════════════════════════════════════════════
   Alex Vargas Photography — premium portfolio
   ═══════════════════════════════════════════════════════ */

:root {
  --ink:        #0e0e0c;
  --ink-2:      #1a1a17;
  --ink-soft:   #2a2925;
  --paper:      #f6f2ea;
  --paper-2:    #ebe5d8;
  --bone:       #ddd5c4;
  --muted:      #6b6457;
  --muted-2:    #8c8576;
  --gold:       #b39865;
  --gold-soft:  #c9b289;
  --line-light: rgba(14, 14, 12, .12);
  --line-dark:  rgba(246, 242, 234, .14);

  --serif:  "Cormorant Garamond", Georgia, serif;
  --sans:   "Inter", system-ui, -apple-system, sans-serif;

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --pad: clamp(1.25rem, 2.5vw, 2.5rem);
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY — quieter, photographer-first
   ═══════════════════════════════════════════════════════ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1.05;
}

h2 em, h1 em, .about-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  padding: 0 1.6rem;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}

.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn-line {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 242, 234, .35);
}
.btn-line:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }

.btn-solid {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-solid:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Wrapper para CTA centrado al final de la sección de servicios.
   La sección es un grid de 2 columnas con .services-head sticky;
   forzamos el CTA a ocupar todo el ancho para que quede debajo
   de ambas columnas y no choque con el título al hacer scroll. */
.services-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-light);
}

.text-link,
.work-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: .35rem;
  transition: color .3s, border-color .3s;
}
.text-link svg,
.work-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .35s var(--ease); }
.text-link:hover,
.work-link:hover { color: var(--gold); border-color: var(--gold); }
.text-link:hover svg,
.work-link:hover svg { transform: translate(3px, -3px); }

/* ═══════════════════════════════════════════════════════
   HEADER · BRAND
   ═══════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  height: 88px;
  padding: 0 var(--pad);
  color: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease),
              height .35s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(246, 242, 234, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.site-header.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  color: var(--paper) !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: inherit;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink);
  transition: width .35s, height .35s, filter .4s var(--ease);
}

.site-header.scrolled .brand-mark { width: 32px; height: 32px; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-line-1 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.brand-line-2 {
  font-family: var(--sans);
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin-top: .35rem;
  color: var(--gold);
}

.site-header.scrolled .brand-line-2 { color: var(--gold); }

/* primary nav */
.primary-nav {
  justify-self: center;
  display: flex;
  gap: clamp(1.4rem, 2.8vw, 2.6rem);
}
.primary-nav a {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .82;
  position: relative;
  padding: .25rem 0;
  transition: opacity .25s, color .25s;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .3s var(--ease);
}
.primary-nav a:hover { opacity: 1; }
.primary-nav a:hover::after { right: 0; }

/* header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.1rem;
  border: 1px solid currentColor;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.header-cta svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.header-cta:hover svg { transform: translateX(3px); }

/* mobile button */
.menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  z-index: 70;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: top .3s var(--ease), transform .3s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child  { top: 25px; }
.menu-btn.open span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn.open span:last-child  { top: 21px; transform: rotate(-45deg); }
.menu-btn.open span { background: var(--paper) !important; }

/* ═══════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.2rem, 3.5vw, 2rem);
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  font-weight: 500;
  color: rgba(246, 242, 234, .7);
  transition: color .3s var(--ease);
}
.mobile-nav a em {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .25em;
  font-style: normal;
  color: var(--gold);
}
.mobile-nav a:hover { color: var(--paper); }

.mobile-meta {
  position: absolute;
  bottom: clamp(2rem, 6vw, 3.5rem);
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.mobile-meta a {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .55);
  transition: color .3s;
}
.mobile-meta a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroSettle 1800ms var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,12,.55) 0%, rgba(14,14,12,.05) 30%, rgba(14,14,12,.55) 75%, rgba(14,14,12,.92) 100%),
    linear-gradient(90deg, rgba(14,14,12,.55) 0%, transparent 60%);
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 8rem var(--pad) clamp(7rem, 12vw, 10rem);
  max-width: 1100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(179, 152, 101, .15);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--paper);
  margin-bottom: 1.8rem;
  /* Sombra muy sutil para garantizar legibilidad sobre cualquier
     foto, sin que se note como "sombra" en pantallas grandes. */
  text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
}
.reveal-line > span {
  display: inline-block;
  padding-bottom: .04em;
  transform: translateY(105%);
  animation: lineUp .9s var(--ease-out) forwards;
}
.reveal-line:nth-of-type(1) > span { animation-delay: .35s; }
.reveal-line:nth-of-type(2) > span { animation-delay: .55s; }

.hero-sub {
  max-width: 540px;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(246, 242, 234, .85);
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.hero-foot {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: var(--pad);
  right: var(--pad);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: rgba(246, 242, 234, .7);
}
.hero-tags i {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(246, 242, 234, .55);
}
.hero-scroll i {
  display: inline-block;
  width: 28px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* ═══════════════════════════════════════════════════════
   STATEMENT
   ═══════════════════════════════════════════════════════ */

.statement {
  background: var(--paper);
  padding: clamp(5rem, 9vw, 9rem) var(--pad);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.statement .eyebrow { padding-top: .5rem; }

.statement-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 880px;
}
.statement-text em {
  font-style: italic;
  color: var(--gold);
}
.statement .text-link { grid-column: 2; margin-top: .6rem; }

/* ═══════════════════════════════════════════════════════
   SHOWCASE ROW
   ═══════════════════════════════════════════════════════ */

/* ─── Tríptico editorial (fondo oscuro) ──────────────
   3 categorías equilibradas con título arriba y foto abajo.
   Fondo --ink, jerarquía clara, animación staggered al entrar
   y "ken burns" sutil en cada foto. */
.showcase {
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--pad);
}

.showcase-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.showcase-card header {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line-dark);
}

.showcase-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .04em;
}

.showcase-cat {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -.005em;
  line-height: 1;
  transition: color .35s var(--ease);
}

.showcase-frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4 / 5;
  /* Marco doble dorado: borde fino → separación → anillo exterior */
  box-shadow:
    0 0 0 1px  rgba(212,175,85,.38),
    0 0 0 10px var(--ink),
    0 0 0 11px rgba(212,175,85,.18),
    0 20px 40px rgba(0,0,0,.3);
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02) brightness(.96);
  /* Animación "ken burns" sutil en loop */
  animation: showcaseDrift 14s ease-in-out infinite alternate;
  transition: filter .6s var(--ease), transform .9s var(--ease);
}

/* Anclaje per-card en DESKTOP. Cada foto se ancla en un punto distinto
   según donde estén los sujetos (caras, cabezas).
   👉 Si cambias las fotos, ajusta estos % para reposicionar:
      - "Bajar la foto" (mostrar más abajo)  → SUBIR el % (50, 60, 70)
      - "Subir la foto" (mostrar más arriba) → BAJAR el % (40, 25, 10) */
.showcase-card:nth-child(1) .showcase-frame img { object-position: 50% 50%; } /* Bodas */
.showcase-card:nth-child(2) .showcase-frame img { object-position: 50% 15%; } /* Editorial */
.showcase-card:nth-child(3) .showcase-frame img { object-position: 70% 50%; } /* Retratos */

/* Cada card empieza el drift en una fase diferente */
.showcase-card:nth-child(1) .showcase-frame img { animation-delay: 0s; }
.showcase-card:nth-child(2) .showcase-frame img { animation-delay: -4.5s; }
.showcase-card:nth-child(3) .showcase-frame img { animation-delay: -9s; }

.showcase-card:hover .showcase-frame img {
  filter: saturate(1.05) contrast(1.04) brightness(1);
  animation-play-state: paused;
  transform: scale(1.06);
}
.showcase-card:hover .showcase-cat { color: var(--gold); }
.showcase-card:hover .showcase-frame { 
  box-shadow: 
    0 0 0 1px  rgba(212,175,85,.48),
    0 0 0 10px var(--ink),
    0 0 0 11px rgba(212,175,85,.28),
    0 24px 54px rgba(0,0,0,.6);
}
.showcase-frame { transition: box-shadow .5s var(--ease); }

/* Stagger de entrada: cada card aparece con un delay pequeño */
.showcase .showcase-card.reveal { transition-delay: 0s; }
.showcase .showcase-card:nth-child(2).reveal { transition-delay: .15s; }
.showcase .showcase-card:nth-child(3).reveal { transition-delay: .30s; }

@keyframes showcaseDrift {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.2%, 1%); }
}

/* ═══════════════════════════════════════════════════════
   WORK / PORTFOLIO
   ═══════════════════════════════════════════════════════ */

.work {
  background: var(--paper);
  padding: clamp(5rem, 9vw, 9rem) var(--pad);
  max-width: 1380px;
  margin: 0 auto;
}

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow link"
    "title   link";
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
}
.work-head .eyebrow { grid-area: eyebrow; }
.work-head h2 {
  grid-area: title;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  max-width: 620px;
}
.work-head .work-link {
  grid-area: link;
  align-self: end;
  justify-self: end;
}

/* ─── Editorial card grid ─────────────────────────────
   Clean 3-column grid, all cards same size.
   Compact 5:6 aspect ratio. Hover reveals overlay + CTA. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3rem) clamp(1.2rem, 2vw, 2rem);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.work-card-frame {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 5 / 6;
  isolation: isolate;
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.93) contrast(1.02);
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
  will-change: transform;
}

.work-card-num {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 2;
  font-family: var(--serif);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
}
.work-card-num i {
  font-style: italic;
  font-weight: 400;
  opacity: .7;
}

/* Overlay: bottom-up gradient + CTA fade-in */
.work-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.4rem;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 12, 0) 45%,
    rgba(14, 14, 12, .55) 100%
  );
  opacity: 0;
  transition: opacity .55s var(--ease);
}

.work-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1rem;
  background: rgba(246, 242, 234, .96);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform .55s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.work-card-cta svg { width: 12px; height: 12px; flex-shrink: 0; }

.work-card:hover .work-card-img {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.05);
}
.work-card:hover .work-card-overlay { opacity: 1; }
.work-card:hover .work-card-cta {
  transform: translateY(0);
  background: var(--gold);
  color: var(--ink);
}

/* Meta below image */
.work-card-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding-top: .2rem;
  border-top: 1px solid transparent;
  transition: border-color .35s var(--ease);
}
.work-card:hover .work-card-meta {
  border-top-color: var(--line-light);
}

.work-card-text { display: flex; flex-direction: column; gap: .35rem; }

.work-card-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.005em;
  transition: color .35s var(--ease);
}
.work-card:hover .work-card-title { color: var(--gold); }

.work-card-cat {
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.work-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), transform .35s var(--ease);
}
.work-card-arrow svg { width: 12px; height: 12px; }
.work-card:hover .work-card-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */

.about {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 9rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

.about-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
  /* Marco doble dorado: borde fino → separación → anillo exterior */
  box-shadow:
    0 0 0 1px  rgba(212,175,85,.38),
    0 0 0 10px var(--ink),
    0 0 0 11px rgba(212,175,85,.18),
    0 48px 90px rgba(0,0,0,.6);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92);
  transition: transform 1s var(--ease);
}
.about-image:hover img { transform: scale(1.03); }

.about-body { max-width: 580px; }

.about-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--paper);
  margin: 1rem 0 1.6rem;
  letter-spacing: -.01em;
}

.about-text {
  font-size: .98rem;
  line-height: 1.85;
  color: rgba(246, 242, 234, .68);
  max-width: 540px;
}
.about-text + .about-text { margin-top: 1.1rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
}
.stat-num em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.stat-label {
  display: block;
  margin-top: .55rem;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .42);
}

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */

.services {
  background: var(--paper);
  padding: clamp(5rem, 9vw, 9rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1500px;
  margin: 0 auto;
}

.services-head {
  position: sticky;
  top: 7rem;
  align-self: start;
}
.services-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-top: 1rem;
  letter-spacing: -.01em;
}

.services-list { border-top: 1px solid var(--line-light); }

.service {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line-light);
  transition: background .3s;
}
.service:hover { background: rgba(179, 152, 101, .04); }

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: .35rem;
}

.service-name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: .55rem;
}

.service-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */

.contact {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: stretch;
}

.contact .eyebrow { color: var(--gold); }

.contact-body {
  padding: clamp(3rem, 5vw, 5rem) var(--pad);
  max-width: 720px;
}
.contact-body h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--paper);
  margin: 1rem 0 1.5rem;
  letter-spacing: -.01em;
}
.contact-body h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

.contact-copy {
  font-size: .98rem;
  line-height: 1.75;
  color: rgba(246, 242, 234, .68);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
}

.field {
  display: grid;
  gap: .35rem;
}
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .55);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .6rem 0 .85rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--paper);
  outline: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .35s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 50px; line-height: 1.6; }
.field select option { background: var(--ink); color: var(--paper); }

/* Hacemos visible y clickeable el icono del calendario nativo */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1) opacity(0.4);
  transition: filter .3s;
}
.field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  filter: invert(1) opacity(0.9);
}

.contact-side {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--ink-2);
}

.contact-image {
  overflow: hidden;
  min-height: 200px;
}
.contact-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform 1s var(--ease);
}
.contact-image:hover img { transform: scale(1.03); }

.contact-direct {
  padding: clamp(1.5rem, 2vw, 2rem) var(--pad);
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
}
.direct-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line-dark);
}
.direct-row:last-child { border-bottom: 0; padding-bottom: 0; }

.direct-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
}
.direct-row a,
.direct-row span {
  font-size: .9rem;
  color: var(--paper);
  transition: color .3s;
}
.direct-row a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.site-footer {
  background: var(--ink);
  color: rgba(246, 242, 234, .7);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 1.4rem;
  border-top: 1px solid var(--line-dark);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.brand-footer .brand-mark { width: 44px; height: 44px; }
.brand-footer .brand-line-1 { color: var(--paper); font-size: 1.25rem; }

.footer-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .55);
  transition: color .3s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, .42);
}
.footer-bottom a { color: inherit; transition: color .3s; }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   WHATSAPP FAB
   ═══════════════════════════════════════════════════════ */

.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .35);
  transition: transform .3s, box-shadow .3s;
}
.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37, 211, 102, .5);
}
.wa-fab svg { width: 24px; height: 24px; fill: #fff; }

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */

@keyframes heroSettle {
  to { transform: scale(1); }
}
@keyframes lineUp {
  to { transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .primary-nav, .header-cta { display: none; }
  .menu-btn { display: block; justify-self: end; }

  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-image {
    aspect-ratio: 3 / 4;
    max-height: 500px;
    max-width: 72%;
    margin: 0 auto;
  }

  .services { grid-template-columns: 1fr; }
  .services-head { position: static; }

  .contact { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr 1fr; }
  .contact-image { min-height: 280px; }
}

@media (max-width: 820px) {
  .statement {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .statement .text-link { grid-column: 1; }

  .showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* En mobile reducimos altura — la foto no debe ocupar
     toda la pantalla, debe sentirse como un teaser. */
  .showcase-frame {
    aspect-ratio: auto;
    height: clamp(260px, 56vw, 380px);
    max-height: 56vh;
  }
  /* Cada foto se ancla en un punto distinto según donde estén
     los sujetos. Si cambias las fotos del showcase y necesitas
     reajustar, modifica el porcentaje (0% = anclado arriba,
     50% = centrado, 100% = anclado abajo). */
  .showcase-card:nth-child(1) .showcase-frame img { object-position: 50% 28%; } /* Bodas */
  .showcase-card:nth-child(2) .showcase-frame img { object-position: 50% 75%; } /* Editorial */
  .showcase-card:nth-child(3) .showcase-frame img { object-position: 70% 50%; } /* Retratos */
  .showcase-card { gap: .9rem; }

  .work-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "link";
    gap: 1.2rem;
  }
  .work-head .work-link { justify-self: start; }

  /* En celular: 2 columnas con cards compactas, no una foto
     gigante por viewport. Se ven 4 obras a la vez. */
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
  .work-card { gap: .65rem; }
  .work-card-frame { aspect-ratio: 4 / 5; }
  .work-card-num { top: .7rem; left: .8rem; font-size: .55rem; }
  .work-card-title { font-size: .9rem; }
  .work-card-cat { font-size: .5rem; letter-spacing: .22em; }
  .work-card-arrow { width: 26px; height: 26px; }
  .work-card-arrow svg { width: 10px; height: 10px; }
  .work-card-cta { font-size: .5rem; padding: .45rem .75rem; letter-spacing: .22em; }

  .about-stats { grid-template-columns: 1fr; gap: 1.4rem; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr; }
  .contact-image { display: none; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; padding: 0 1rem; }
  .site-header.scrolled { height: 60px; }
  .brand-line-1 { font-size: 1rem; }
  .brand-line-2 { font-size: .5rem; letter-spacing: .3em; }
  .brand-mark { width: 34px; height: 34px; }
  .site-header.scrolled .brand-mark { width: 30px; height: 30px; }

  /* En mobile dividimos el contenido del hero en dos bloques:
     eyebrow + título arriba (sobre árboles), sub + botones abajo
     (sobre zona oscura). El centro queda libre para que las caras
     se vean sin texto encima. */
  .hero { align-items: stretch; }
  .hero-image img { object-position: center; }
  .hero-frame {
    display: flex;
    flex-direction: column;
    padding: 5.5rem 1rem 2.5rem;
  }

  .hero-actions { 
    flex-direction: row; 
    flex-wrap: wrap; 
    align-items: center; 
    gap: .6rem;
  }
  .btn {
    min-height: 44px;
    padding: 0 1.25rem;
    font-size: .58rem;
    letter-spacing: .2em;
  }

  /* Títulos un punto más chicos */
  .hero-title { font-size: clamp(2.2rem, 8.5vw, 3rem); margin-bottom: .4rem; line-height: .92; }
  .hero-eyebrow { font-size: .58rem; margin-bottom: auto; }
  .hero-sub { font-size: .85rem; margin-bottom: 1.2rem; line-height: 1.5; }

  /* Veil "inverso" — oscuro arriba y abajo, claro en el centro
     donde quedan visibles las caras de la foto. */
  .hero-veil {
    background:
      linear-gradient(180deg,
        rgba(14,14,12,.78) 0%,
        rgba(14,14,12,.55) 22%,
        rgba(14,14,12,.15) 42%,
        rgba(14,14,12,.18) 58%,
        rgba(14,14,12,.78) 82%,
        rgba(14,14,12,.96) 100%);
  }

  /* Sin sombras para dejar la foto completamente limpia */
  .hero-title { text-shadow: none; }
  .hero-sub { color: rgba(246, 242, 234, .96); text-shadow: none; }
  .hero-eyebrow { color: var(--paper); text-shadow: none; }

  /* Tags decorativos: redundantes con el sub. Ocultos en mobile. */
  .hero-foot { display: none; }

  .hero-foot {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }
  .hero-tags { flex-wrap: wrap; gap: .6rem; }
  .hero-scroll { display: none; }

  .direct-row { grid-template-columns: 1fr; gap: .25rem; }
  .direct-row { padding-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
