/* ── Variables ── */
:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --surface: #1e1e1e;
  --border: #2a2a2a;
  --text: #f0ede8;
  --text-muted: #888880;
  --text-dim: #555550;
  --gold: #c9a96e;
  --gold-light: #e0c48a;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
  --transition: 0.3s ease;
  --radius: 2px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(3.5rem, 9vw, 7.5rem); letter-spacing: 0.03em; font-family: 'Tangerine', cursive; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: 0.03em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  transition: background var(--transition), backdrop-filter var(--transition);
}
#nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

/* mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--text); }

/* ── Hero ── */
#hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 0.4em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-logo {
  display: block;
  width: clamp(200px, 38vw, 480px);
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.2rem;
  opacity: 0.95;
}
.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.hero-scroll:hover { color: rgba(255,255,255,0.8); }
.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 0.8; }
}

/* slide indicators */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s, width 0.3s;
}
.hero-dot.active {
  background: var(--gold);
  width: 36px;
}

/* ── Section shared ── */
section { padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem); }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  color: var(--text);
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.section-title em {
  font-style: italic;
  color: var(--text-muted);
}

/* ── Gallery ── */
#gallery { background: var(--bg); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 0;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--text);
}
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.gallery-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 0;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}
.gallery-footer-note {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
/* Mobile: grid para patrón V+V/H */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

/* Desktop: grid 3 cols, horizontales 2 cols (más anchas) */
@media (min-width: 768px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-flow: dense;
    align-items: center;
  }
  .gallery-item[data-orientation="h"] { grid-column: span 2; }
}
@media (min-width: 1300px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .gallery-item[data-orientation="h"] { grid-column: span 2; }
}

/* Desktop: crop centrado para alturas consistentes en el grid */
@media (min-width: 768px) {
  .gallery-item img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .gallery-item:not([data-orientation="h"]) { aspect-ratio: 2/3; }
  .gallery-item[data-orientation="h"]       { aspect-ratio: 4/3; }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg2);
}


.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item img[src] {
  aspect-ratio: auto;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
}
.gallery-item-location {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
}
.gallery-item-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: var(--gold);
  color: #000;
  font-weight: 600;
}
.gallery-item.le {
  outline: 1px solid rgba(201,169,110,0.25);
  outline-offset: -1px;
}
.gallery-item[data-visible="false"] { display: none; }

/* ── Lightbox ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.97);
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lightbox-img-wrap {
  position: relative;
  max-height: 90vh;
  display: flex;
  align-items: center;
}
.lightbox-img-wrap img {
  max-width: 80vw;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
}
.lightbox-info {
  position: absolute;
  bottom: -3.5rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
}
.lightbox-loc {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.lb-btn-print {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all var(--transition);
  white-space: nowrap;
}
.lb-btn-print:hover { background: var(--gold); color: var(--bg); }
.lb-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: color var(--transition);
  z-index: 201;
  padding: 0.5rem;
  line-height: 1;
}
.lb-close:hover { color: var(--text); }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 1rem;
  z-index: 201;
}
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
.lb-prev:hover, .lb-next:hover { color: var(--text); }

/* ── Prints Section ── */
#prints { background: var(--bg2); }
.prints-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  line-height: 1.8;
}
.prints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
}
.print-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
  aspect-ratio: 4/3;
}
.print-card-mockup {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.print-card:hover .print-card-mockup { transform: scale(1.04); }
.print-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.print-card:hover .print-card-overlay { opacity: 1; }
.print-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
}
.print-card-meta {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 4px;
}
.print-card-cta {
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(201,169,110,0.6);
  color: var(--gold-light);
  display: inline-block;
  align-self: flex-start;
  transition: all var(--transition);
}
.print-card-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.print-card-le-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: rgba(201,169,110,0.95);
  color: #000;
  font-weight: 600;
}

/* ── Print Modal ── */
#print-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#print-modal.open { display: flex; }
.print-modal-inner {
  background: var(--bg2);
  border: 1px solid var(--border);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
@media (max-width: 700px) { .print-modal-inner { grid-template-columns: 1fr; } }
.pm-visual {
  position: relative;
  background: var(--bg3);
}
.pm-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  min-height: 320px;
}
.pm-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* When frame is active, switch image to natural proportions */
.pm-visual.framed {
  padding: 24px;
  background: #0d0d0d;
}
.pm-visual.framed img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 62vh;
  object-fit: unset;
}
.pm-frame-wrap {
  --fw: 16px;
  display: inline-flex;
  position: relative;
  transition: padding 0.35s ease, box-shadow 0.35s ease;
}
.pm-frame-wrap.show-marco,
.pm-frame-wrap.show-passe {
  padding: var(--fw);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.7),
    0 3px 10px rgba(0,0,0,0.4);
}
/* ── Mitered frame rails (4 sticks joined at 45°) ── */
.pm-rail {
  display: none;
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.pm-frame-wrap.show-marco .pm-rail,
.pm-frame-wrap.show-passe .pm-rail { display: block; }

.pm-rail-top {
  top: 0; left: 0; right: 0; height: var(--fw);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--fw)) 100%, var(--fw) 100%);
}
.pm-rail-bottom {
  bottom: 0; left: 0; right: 0; height: var(--fw);
  clip-path: polygon(var(--fw) 0, calc(100% - var(--fw)) 0, 100% 100%, 0 100%);
}
.pm-rail-left {
  top: 0; bottom: 0; left: 0; width: var(--fw);
  clip-path: polygon(0 0, 100% var(--fw), 100% calc(100% - var(--fw)), 0 100%);
}
.pm-rail-right {
  top: 0; bottom: 0; right: 0; width: var(--fw);
  clip-path: polygon(0 var(--fw), 100% 0, 100% 100%, 0 calc(100% - var(--fw)));
}
/* recessed photo edge under the frame */
.pm-mat { position: relative; z-index: 2; }
.pm-frame-wrap.show-marco .pm-mat,
.pm-frame-wrap.show-passe .pm-mat {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(0,0,0,0.15);
}

/* Negro — vertical rails (left/right) */
.color-negro .pm-rail-left,
.color-negro .pm-rail-right {
  background: linear-gradient(90deg, #0c0c0c 0%, #3a3a3a 45%, #1e1e1e 72%, #0a0a0a 100%);
}
/* Negro — horizontal rails (top/bottom) */
.color-negro .pm-rail-top,
.color-negro .pm-rail-bottom {
  background: linear-gradient(0deg, #0c0c0c 0%, #3a3a3a 45%, #1e1e1e 72%, #0a0a0a 100%);
}

/* Madera natural — grain runs along the length of each stick */
.color-natural .pm-rail-left,
.color-natural .pm-rail-right {
  background:
    repeating-linear-gradient(91deg, transparent 0 3px, rgba(0,0,0,0.08) 3px 4px),
    repeating-linear-gradient(89deg, transparent 0 9px, rgba(255,255,255,0.05) 9px 10px),
    linear-gradient(90deg, #5e3a14 0%, #ad7a3f 42%, #8c6230 70%, #5a3712 100%);
}
.color-natural .pm-rail-top,
.color-natural .pm-rail-bottom {
  background:
    repeating-linear-gradient(1deg, transparent 0 3px, rgba(0,0,0,0.08) 3px 4px),
    repeating-linear-gradient(-1deg, transparent 0 9px, rgba(255,255,255,0.05) 9px 10px),
    linear-gradient(0deg, #5e3a14 0%, #ad7a3f 42%, #8c6230 70%, #5a3712 100%);
}

/* Blanco — vertical rails */
.color-blanco .pm-rail-left,
.color-blanco .pm-rail-right {
  background: linear-gradient(90deg, #d4cec4 0%, #ffffff 45%, #ece7df 72%, #cfc9bf 100%);
}
/* Blanco — horizontal rails */
.color-blanco .pm-rail-top,
.color-blanco .pm-rail-bottom {
  background: linear-gradient(0deg, #d4cec4 0%, #ffffff 45%, #ece7df 72%, #cfc9bf 100%);
}
.pm-mat {
  display: inline-flex;
  transition: padding 0.35s ease, box-shadow 0.35s ease;
}
.pm-mat.show-passe {
  padding: 30px;
  background: #ece7da;
  box-shadow:
    inset 3px 3px 10px rgba(0,0,0,0.14),
    inset -1px -1px 5px rgba(0,0,0,0.07),
    inset 0 0 0 1px rgba(0,0,0,0.06);
}
.pm-toggle {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.pm-toggle button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background var(--transition);
}
.pm-toggle button.active { background: var(--gold); }
.pm-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pm-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--text);
}
.pm-location {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.pm-le-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  background: var(--gold);
  color: #000;
  font-weight: 600;
}
.pm-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}
.pm-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pm-option-row {
  display: flex;
  gap: 0.5rem;
}
.pm-opt {
  flex: 1;
  padding: 0.6rem 0.4rem;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .pm-opt { font-size: 0.62rem; padding: 0.55rem 0.2rem; letter-spacing: 0.04em; }
}
.pm-opt:hover { border-color: var(--gold); color: var(--text); }
.pm-opt.active { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.pm-price-display {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text);
}
.pm-price-display span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  margin-left: 4px;
}
.pm-submit {
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pm-submit:hover { background: var(--gold-light); }
.pm-note {
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.pm-color-options {
  display: flex;
  gap: 0.5rem;
}
.pm-color-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: all var(--transition);
}
.pm-color-btn:hover { border-color: var(--gold); color: var(--text); }
.pm-color-btn.active { border-color: var(--gold); color: var(--text); }
.pm-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.pm-close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.3rem;
  color: var(--text-muted);
  padding: 0.5rem;
  line-height: 1;
  transition: color var(--transition);
  z-index: 310;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-close:hover { color: var(--text); }

/* ── About ── */
#about {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 768px) { #about { grid-template-columns: 1fr; } }
.about-photo {
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 600px;
  object-position: center;
}
.about-text { display: flex; flex-direction: column; gap: 1.5rem; }
.about-text p { color: var(--text-muted); line-height: 1.9; font-size: 0.95rem; }
.about-text p strong { color: var(--text); font-weight: 500; }
.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.about-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text);
  line-height: 1;
}
.about-stat-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

/* ── Contact ── */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info p { color: var(--text-muted); line-height: 1.8; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.contact-detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail-value { font-size: 0.95rem; color: var(--text); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg2); }
.form-submit {
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
  transition: background var(--transition);
}
.form-submit:hover { background: var(--gold-light); }
.form-success {
  display: none;
  padding: 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ── Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

/* ── Prints footer note ── */
.prints-footer-note {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}
.prints-contact-link {
  color: var(--gold);
  border-bottom: 1px solid rgba(201,169,110,0.3);
  transition: border-color var(--transition);
}
.prints-contact-link:hover { border-color: var(--gold); }

/* ── Divider ── */
.gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Mobile ── */
@media (max-width: 768px) {
  body { overflow-x: hidden; }

  /* Nav: ocultar links, mostrar hamburguesa */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Logo animado más pequeño y z-index bajo el nav */
  /* El JS calcula destH=28, en mobile queremos que quede bajo los links */
  #nav { z-index: 101; }

  /* Hero: logo más pequeño, hero cubre todo el ancho */
  .hero-logo { width: clamp(160px, 72vw, 260px); }
  #hero { width: 100vw; left: 0; }
  .hero-slide { background-size: cover; background-position: center center; }

  /* Hero subtitle: achicarlo un poco */
  .hero-subtitle { font-size: 0.65rem; margin-bottom: 1.2rem; }

  /* Galería: 1 columna en pantallas muy pequeñas */
  @media (max-width: 480px) {
    .gallery-grid { columns: 1; }
  }

  /* Print modal: pantalla completa en mobile */
  .print-modal-inner {
    grid-template-columns: 1fr;
    max-height: 100dvh;
    overflow-y: auto;
    border-radius: 0;
  }
  .pm-visual {
    min-height: 0;
    max-height: 42vh;
    padding: 1rem;
    background: #0d0d0d;
  }
  .pm-visual img {
    max-height: 40vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .pm-visual.framed {
    padding: 0.6rem;
    max-height: none;
  }
  .pm-visual.framed img { max-height: 34vh; }
  .pm-mat.show-passe { padding: 12px; }
  .pm-frame-wrap.show-marco,
  .pm-frame-wrap.show-passe { padding: 8px; }
  .pm-body { padding: 1.2rem; }

  /* About: stack vertical */
  #about { grid-template-columns: 1fr; }

  /* Sección padding reducido */
  section { padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem, 4vw, 2rem); }
}
