/* ============================================
   LOVELY HÜS — Styles
   Calma visual. Textures nobles. Racons amb intenció.
   ============================================ */

/* --- VARIABLES --- */
:root {
  --paper:      #F5F0EA;
  --mist:       #EDE6DB;
  --sand:       #E0D0BC;
  --clay:       #C4A882;
  --madera:     #A0856A;
  --ink:        #3D3027;
  --muted:      #8A7060;
  --sage:       #7A8C6E;
  --white:      #FDFAF6;
  --line:       rgba(61, 48, 39, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --radius:     12px;
  --transition: 0.5s ease;
  --max-width:  1100px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- BASE --- */
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 70% 0%, rgba(224, 208, 188, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(196, 168, 130, 0.2) 0%, transparent 50%);
  overflow-x: hidden;
}

/* Textura grain subtil */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* --- TIPOGRAFIA --- */
h1, h2, h3, blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; }
h3 { font-size: 1.5rem; font-weight: 400; }

em { font-style: italic; color: var(--madera); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
  display: block;
}

.body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.2rem;
}

.muted { color: var(--clay); }

/* --- CONTENIDORS --- */
.container        { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 2rem; }
.text-center      { text-align: center; }
.text-center .body-text { margin-left: auto; margin-right: auto; }

/* --- BOTONS --- */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  margin-top: 1.5rem;
}
.btn-primary:hover { background: var(--madera); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
  margin-top: 1.5rem;
}
.btn-secondary:hover { color: var(--madera); border-color: var(--madera); }

/* --- NAV --- */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 2rem;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 234, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.6rem 1.2rem;
}

.nav-logo-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
}

/* --- LANGUAGE SWITCH --- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
}

.lang-sep {
  color: var(--line);
  font-size: 0.75rem;
  line-height: 1;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0.2rem 0.25rem;
  transition: color var(--transition);
  text-transform: uppercase;
}

.lang-btn.is-active {
  color: var(--ink);
  font-weight: 500;
}

.lang-btn:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: var(--transition);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(0.95) brightness(0.92);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 20, 12, 0.72) 0%,
    rgba(30, 20, 12, 0.3) 40%,
    transparent 75%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content .eyebrow { color: rgba(253, 250, 246, 0.7); }

.hero-content h1 {
  color: var(--white);
  font-weight: 300;
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.hero-sub {
  color: rgba(253, 250, 246, 0.75);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 40ch;
}

.hero-content .btn-primary {
  background: rgba(253, 250, 246, 0.15);
  border: 1px solid rgba(253, 250, 246, 0.4);
  backdrop-filter: blur(4px);
  color: var(--white);
}
.hero-content .btn-primary:hover {
  background: rgba(253, 250, 246, 0.25);
  transform: translateY(-2px);
}

/* --- HISTORIA --- */
.section-historia {
  background: var(--white);
  overflow: hidden;
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.historia-img-wrap {
  position: relative;
  overflow: hidden;
}

.historia-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.75) brightness(1.02);
  display: block;
}

.historia-text {
  padding: 7rem 5rem 7rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.historia-text h2 { margin-bottom: 1.5rem; }

.cita {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--madera);
  border-left: 2px solid var(--clay);
  padding-left: 1.5rem;
  margin-top: 2.5rem;
  line-height: 1.4;
}

/* --- PECES --- */
.section-peces {
  padding: 8rem 0;
  background: var(--paper);
}

.section-header {
  margin-bottom: 4rem;
}

.section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  line-height: 1.6;
}

.peces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.peca {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.peca:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(61, 48, 39, 0.1);
}

.peca-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--mist);
}

/* Placeholder quan no hi ha foto */
.peca-img-wrap.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.peca-img-wrap.img-placeholder::after {
  content: "Foto properament";
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-size: 1rem;
}

.peca-img-wrap {
  cursor: zoom-in;
}

.peca-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: saturate(0.9);
  pointer-events: none;
}
.peca:hover .peca-img { transform: scale(1.03); }

.peca-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(245, 240, 234, 0.9);
  backdrop-filter: blur(4px);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.peca-info { padding: 1.5rem; }
.peca-info h3 { margin-bottom: 0.6rem; font-size: 1.35rem; }

.peca-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.peca-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.peca-preu {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
}

.btn-peca {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 1px;
  transition: color var(--transition);
  white-space: nowrap;
}
.btn-peca:hover { color: var(--ink); }

.peces-nota {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-size: 0.95rem;
  margin-top: 3rem;
  letter-spacing: 0.03em;
}

/* --- GALERIA --- */
/* --- OVERLAY GALERIA --- */
.galeria-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(26, 23, 20, 0.97);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 5rem 2rem 4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.galeria-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.galeria-overlay-close {
  position: fixed;
  top: 1.6rem;
  right: 2.2rem;
  background: none;
  border: none;
  color: rgba(245, 240, 234, 0.55);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 901;
  line-height: 1;
  transition: color 0.2s ease;
  font-family: var(--font-body);
  padding: 0.4rem;
}

.galeria-overlay-close:hover {
  color: var(--paper);
}

.galeria-overlay-inner {
  width: 100%;
  max-width: 1160px;
}

.galeria-overlay-header {
  text-align: center;
  margin-bottom: 3rem;
}

.galeria-overlay-header .eyebrow {
  color: rgba(245, 240, 234, 0.45);
}

.galeria-overlay-header h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3rem);
}

.galeria-overlay-header h2 em {
  color: rgba(245, 240, 234, 0.7);
}

.galeria-overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .galeria-overlay-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .galeria-overlay-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
}

.galeria-overlay-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.85);
  transition: transform 0.6s ease, filter 0.6s ease;
  cursor: zoom-in;
}

.galeria-overlay-img:hover {
  transform: scale(1.02);
  filter: saturate(1.05);
}

/* --- VISOR FOTO INDIVIDUAL --- */
.foto-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 9, 8, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.foto-viewer.is-open {
  opacity: 1;
  pointer-events: all;
}

.foto-viewer-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  clip-path: inset(0 round 14px);
  transition: opacity 0.25s ease, clip-path 0s;
}

.foto-viewer-close {
  position: fixed;
  top: 1.4rem;
  right: 1.8rem;
  background: none;
  border: none;
  color: rgba(245, 240, 234, 0.5);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
  font-family: var(--font-body);
  padding: 0.4rem;
}

.foto-viewer-close:hover { color: var(--paper); }

.foto-viewer-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(245, 240, 234, 0.4);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  padding: 1rem;
  transition: color 0.2s;
  line-height: 1;
}

.foto-viewer-nav:hover { color: var(--paper); }
.foto-viewer-prev { left: 1.2rem; }
.foto-viewer-next { right: 1.2rem; }

/* --- PROCÉS --- */
.section-proces {
  padding: 8rem 0;
  background: var(--mist);
}

.container-proces {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.proces-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.proces-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.proces-content h2 { margin-bottom: 1.5rem; }

/* --- ASSESSORIA --- */
.section-assessoria {
  padding: 8rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* --- FOOTER --- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 234, 0.2);
  margin-bottom: 1rem;
  filter: brightness(0.9);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--clay);
  line-height: 1.5;
}

.footer-contacte .eyebrow { color: var(--clay); margin-bottom: 0.8rem; }

.footer-contacte p {
  color: rgba(245, 240, 234, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-email {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: 1.2rem;
  transition: color var(--transition);
  border-bottom: 1px solid rgba(245, 240, 234, 0.2);
  padding-bottom: 0.5rem;
}
.footer-email:hover { color: var(--clay); }

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 234, 0.7);
  border: 1px solid rgba(245, 240, 234, 0.2);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-instagram:hover {
  color: var(--paper);
  border-color: rgba(245, 240, 234, 0.5);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 234, 0.3);
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(245, 240, 234, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* --- POPUP NOVETAT --- */
.novelty-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1200;
  max-width: 300px;
  width: calc(100vw - 2.4rem);
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 48px rgba(61, 48, 39, 0.18);
  padding: 1.6rem 1.8rem 1.4rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.novelty-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.novelty-x {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  transition: color var(--transition);
}
.novelty-x:hover { color: var(--ink); }

.novelty-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
}

.novelty-desc {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.novelty-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.novelty-cta {
  font-size: 0.8rem;
  padding: 0.55rem 1.2rem;
  border-radius: 60px;
  cursor: pointer;
}

.novelty-skip {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color var(--transition);
}
.novelty-skip:hover { color: var(--ink); }

/* --- BOTIGA OVERLAY --- */
.botiga-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.botiga-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.botiga-close {
  position: fixed;
  top: 1.6rem;
  right: 2.2rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.4rem;
  transition: color var(--transition);
}
.botiga-close:hover { color: var(--ink); }

.botiga-inner {
  text-align: center;
  padding: 2rem;
  max-width: 540px;
}

.botiga-eyebrow {
  color: var(--muted);
  margin-bottom: 1.6rem;
  letter-spacing: 0.22em;
}

.botiga-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.botiga-title em {
  font-style: italic;
  color: var(--clay);
}

.botiga-deco {
  font-size: 1rem;
  color: var(--sand);
  letter-spacing: 0.4em;
  margin-bottom: 1.8rem;
}

.botiga-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .historia-grid { grid-template-columns: 1fr; }
  .historia-img-wrap { aspect-ratio: 4/3; }
  .historia-text { padding: 4rem 2rem; max-width: 100%; }
  .peces-grid { grid-template-columns: 1fr 1fr; }
  .container-proces { grid-template-columns: 1fr; gap: 3rem; }
  .proces-image-wrap { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  /* NAV */
  .nav-logo-img { width: 48px; height: 48px; }
  .nav-wrap { padding: 0.7rem 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(245, 240, 234, 0.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem 1.5rem;
    gap: 1.2rem;
    border-top: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
  }
  .lang-switch { gap: 0.25rem; }
  .lang-btn { font-size: 0.65rem; padding: 0.15rem 0.3rem; }

  /* HERO */
  .hero-content { padding: 0 1.2rem; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 0.9rem; }

  /* SECCIONS */
  .section-historia,
  .section-peces,
  .section-proces,
  .section-assessoria { padding: 4rem 0; }
  .container { padding: 0 1.2rem; }
  .container-narrow { padding: 0 1.2rem; }

  /* HISTORIA */
  .historia-text { padding: 2.5rem 1.2rem; }
  .cita { font-size: 1.1rem; }

  /* PECES */
  .peces-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 3rem; }

  /* GALERIA OVERLAY */
  .galeria-overlay { padding: 4.5rem 0.8rem 3rem; }
  .galeria-overlay-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* FOTO VIEWER */
  .foto-viewer-img { max-width: 96vw; max-height: 80vh; }
  .foto-viewer-close { top: 0.8rem; right: 0.8rem; font-size: 1.1rem; }
  .foto-viewer-prev { left: 0.4rem; }
  .foto-viewer-next { right: 0.4rem; }

  /* FOOTER */
  .footer { padding: 4rem 0 2.5rem; }
  .footer-grid { gap: 2rem; }
  .footer-email { font-size: 1rem; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .nav-logo-img { width: 40px; height: 40px; }
  .galeria-overlay-grid { gap: 6px; }
}
