/* ═══════════════════════════════════════════════════════════════════
   BANNER DE COOKIES (GA4 consent) — pegado abajo
═══════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  background: #15171C;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.32);
  animation: cookieIn .35s ease-out;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner-fadeout { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
}
.cookie-banner-text { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.5; }
.cookie-banner-text strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.cookie-banner-text p { color: rgba(255,255,255,.78); margin: 0; }
.cookie-banner-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.cookie-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.cookie-btn-accept { background: #fff; color: #15171C; border-color: #fff; }
.cookie-btn-accept:hover { background: #f0f0f0; }

@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 12px 14px; }
}

/* ═══════════════════════════════════════════════════════════════════
   IVÁN OROZMOLER — Estilos principales
   Paleta: Blanco #FFFFFF · Gris claro #FBFBFA · Negro #15171C
           Gris secundario #8E9299 · Borde #EDEDED · Azul #1D3B6E
   Tipografía: Cormorant Garamond (títulos) · Outfit (UI)
═══════════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #FFFFFF;
  --off-white:    #FBFBFA;
  --near-black:   #15171C;
  --gray:         #8E9299;
  --border:       #EDEDED;
  --blue:         #1D3B6E;
  --blue-hover:   #162D54;
  --blue-light:   #EEF2F8;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Outfit', system-ui, sans-serif;

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

  --container:   1200px;
  --section-gap: 120px;
  --section-gap-sm: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 80px);
}

/* ── Tipografía base ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p { line-height: 1.7; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ── Botones pill ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 980px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease-out-expo),
              color 0.3s var(--ease-out-expo),
              transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 8px 24px rgba(29,59,110,.25); }

.btn-outline {
  background: transparent;
  color: var(--near-black);
  box-shadow: inset 0 0 0 1.5px var(--near-black);
}
.btn-outline:hover {
  background: var(--near-black);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--near-black);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.btn-large { padding: 1rem 2.5rem; font-size: 0.95rem; }

.icon-wa { width: 16px; height: 16px; flex-shrink: 0; }
.icon-sm  { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Sección alt (fondo gris muy claro) ────────────────────────── */
.section-alt { background: var(--off-white); }

/* ── Section header ────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--section-gap-sm);
}

.section-header h2 { margin-bottom: 1.25rem; }

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ── Scroll Reveal ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay  { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ══════════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out-expo),
              border-color 0.4s var(--ease-out-expo),
              backdrop-filter 0.4s var(--ease-out-expo);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.main-nav a:not(.btn) {
  font-size: 0.85rem;
  color: var(--near-black);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.main-nav a:not(.btn):hover { opacity: 1; }

/* Selector de idioma (header desktop) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch .lang-active {
  font-weight: 500;
  color: var(--near-black);
}
.lang-switch .lang-sep {
  color: var(--gray);
  opacity: 0.6;
}
.lang-switch a {
  color: var(--gray);
  opacity: 0.85;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.lang-switch a:hover { color: var(--blue); opacity: 1; }

/* Cuando el header está sobre el hero oscuro (tablet, no scrolleado),
   el selector también va en blanco para mantener el contraste */
@media (max-width: 1024px) {
  .site-header.over-hero:not(.scrolled) .lang-switch {
    border-color: rgba(255,255,255,0.45);
  }
  .site-header.over-hero:not(.scrolled) .lang-switch .lang-active { color: #fff; }
  .site-header.over-hero:not(.scrolled) .lang-switch .lang-sep { color: rgba(255,255,255,0.5); }
  .site-header.over-hero:not(.scrolled) .lang-switch a { color: rgba(255,255,255,0.7); }
  .site-header.over-hero:not(.scrolled) .lang-switch a:hover { color: #fff; }
}

/* En móvil real (≤ 768 px) el .main-nav se oculta y aparece el hamburger.
   El selector de idioma del nav debe ocultarse también: el visitante usa el
   .lang-switch-mobile dentro del menú desplegable. */
@media (max-width: 768px) {
  .main-nav .lang-switch { display: none !important; }
}

/* Selector dentro del menú móvil oscuro */
.lang-switch-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  align-self: flex-start;
  margin-top: 0.4rem;
}
.lang-switch-mobile .lang-active { font-weight: 500; color: #fff; }
.lang-switch-mobile .lang-sep { color: rgba(255,255,255,0.45); }
.lang-switch-mobile a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-switch-mobile a:hover { color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--near-black);
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — panel oscuro translúcido con texto blanco */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(15, 17, 22, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem clamp(20px, 5vw, 80px) 2rem;
  gap: 1.25rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

/* Enlaces del menú móvil en blanco */
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.mobile-menu li a {
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.01em;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.mobile-menu li a:hover { opacity: 1; }

/* El botón "Comprar por WhatsApp" mantiene su estilo de botón
   primario pero adaptado al fondo oscuro */
.mobile-menu li a.btn-primary {
  background: #fff;
  color: var(--blue);
  margin-top: 0.5rem;
  align-self: flex-start;
  opacity: 1;
}
.mobile-menu li a.btn-primary:hover {
  background: var(--blue-light);
  color: var(--blue-hover);
}

/* ── Header sobre hero oscuro (solo móvil/tablet) ─────────────── */
/* En móvil/tablet el hero es a pantalla completa con imagen oscura.
   Logo, enlaces del menú y hamburguesa por defecto se ven en blanco.
   En PC el header se queda transparente con texto oscuro
   (comportamiento original). */
@media (max-width: 1024px) {
  .site-header.over-hero:not(.scrolled) .logo-name      { color: #fff; }
  .site-header.over-hero:not(.scrolled) .logo-sub       { color: rgba(255,255,255,.7); }
  .site-header.over-hero:not(.scrolled) .hamburger span { background: #fff; }

  /* Enlaces del menú superior (visible en iPad/tablet horizontal) */
  .site-header.over-hero:not(.scrolled) .main-nav a:not(.btn) {
    color: #fff;
    opacity: 0.92;
  }
  .site-header.over-hero:not(.scrolled) .main-nav a:not(.btn):hover { opacity: 1; }

  /* Cuando el menú móvil está abierto: header acoplado al panel
     oscuro del menú; logo y X del hamburger se quedan en blanco. */
  .site-header.over-hero:has(.hamburger[aria-expanded="true"]) {
    background: rgba(15, 17, 22, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: rgba(255,255,255,0.06);
  }
}

/* ══════════════════════════════════════════════════════════════════
   HERO HÍBRIDO
   · DESKTOP (≥ 1025 px) → texto izq. + carrusel con marco blanco der.
   · MÓVIL  (≤ 1024 px) → imagen a pantalla completa con texto encima.
═══════════════════════════════════════════════════════════════════ */

/* ─── DESKTOP — layout dividido ───────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(72px + 80px);
  padding-bottom: var(--section-gap);
  overflow: hidden;
  background: var(--white);
  color: var(--near-black);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 560px; }

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.0;
}
.hero-title em {
  font-style: italic;
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-subtitle strong {
  color: var(--near-black);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* En desktop ocultamos los slides de fondo, el velo y los controles
   inferiores (esos son para móvil). */
.hero-slides,
.hero-scrim,
.hero-controls {
  display: none;
}

/* ─── Carrusel desktop (marco blanco) ─────────────────────────── */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.showcase-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.stack-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
  transform: scale(0.97) translateY(8px);
  pointer-events: none;
}
.stack-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  position: relative;       /* saca del stack absoluto y da altura */
}

.stack-slide .artwork-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  padding: 22px 22px 58px;
  margin: 0 auto;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  box-shadow:
    0 2px 1px rgba(0,0,0,.04),
    0 12px 40px rgba(0,0,0,.08),
    0 40px 80px rgba(0,0,0,.06);
}

.stack-slide .artwork-frame > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  object-fit: contain;
  background: linear-gradient(180deg, #FBFBFA 0%, #F4F4F3 100%);
  border: 1px solid rgba(0,0,0,.04);
}

.stack-slide .artwork-caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stack-slide .caption-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
}
.stack-slide .caption-tech {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* Controles del carrusel desktop */
.showcase-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.showcase-prev,
.showcase-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.showcase-prev svg, .showcase-next svg { width: 16px; height: 16px; }
.showcase-prev:hover, .showcase-next:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: scale(1.06);
}
.showcase-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
}
.showcase-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.showcase-dots .dot.active {
  background: var(--blue);
  transform: scale(1.4);
}
.showcase-dots .dot:hover { background: var(--gray); }

/* ─── MÓVIL — full-screen con bg slider ───────────────────────── */
@media (max-width: 1024px) {
  .hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #0d0e12;
  }

  /* Pila de imágenes de fondo */
  .hero-slides {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
  }

  img.hero-slide {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 2s ease-in-out, transform 9s ease-out;
    margin: 0;
    padding: 0;
    border: 0;
  }
  img.hero-slide.active {
    opacity: 1;
    transform: scale(1.1);
  }

  /* Velo oscuro */
  .hero-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(120% 80% at 50% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 70%),
      linear-gradient(180deg,
        rgba(15,17,22,.30) 0%,
        rgba(15,17,22,.45) 45%,
        rgba(15,17,22,.80) 100%);
  }

  /* Layout del contenido encima */
  .hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: calc(72px + 24px) 24px 110px;
    gap: 0;
  }

  .hero-text {
    max-width: 640px;
    margin: 0 auto;
    animation: heroIn 1.1s var(--ease-out-expo) .15s both;
  }
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-text .eyebrow {
    color: rgba(255,255,255,.7);
    margin-bottom: 1.25rem;
  }
  .hero-title {
    color: #fff;
    text-shadow: 0 2px 36px rgba(0,0,0,.35);
    font-size: clamp(2.4rem, 8vw, 4.5rem);
  }
  .hero-title em { color: rgba(255,255,255,.88); }
  .hero-subtitle {
    color: rgba(255,255,255,.9);
    max-width: 560px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 12px rgba(0,0,0,.3);
    font-size: 1.05rem;
  }
  .hero-subtitle strong { color: #fff; }
  .hero-ctas {
    justify-content: center;
  }
  .hero-ctas .btn-outline {
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .hero-ctas .btn-outline:hover {
    background: #fff;
    color: var(--near-black);
    box-shadow: inset 0 0 0 1.5px #fff;
  }

  /* En móvil el carrusel desktop se oculta */
  .hero-showcase { display: none !important; }

  /* Controles inferiores del slider móvil */
  .hero-controls {
    display: flex;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    align-items: center;
    gap: 14px;
    padding: 8px 14px;
    background: rgba(15,17,22,.32);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hero-prev, .hero-next {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }
  .hero-prev svg, .hero-next svg { width: 13px; height: 13px; }
  .hero-prev:hover, .hero-next:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.55);
  }
  .hero-prev:active, .hero-next:active { transform: scale(0.94); }

  .hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .hero-dots .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none; padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
  }
  .hero-dots .dot.active {
    background: #fff;
    width: 22px;
    border-radius: 999px;
  }
  .hero-dots .dot:hover { background: rgba(255,255,255,.7); }
}

@media (max-width: 640px) {
  .hero-inner { padding: calc(72px + 16px) 20px 100px; }
  .hero-controls { bottom: 22px; gap: 10px; padding: 6px 12px; }
}

/* Artwork frame */
.artwork-frame {
  position: relative;
  display: inline-block;
  background: var(--white);
  padding: 20px 20px 56px;
  box-shadow: 0 2px 1px rgba(0,0,0,.04),
              0 8px 32px rgba(0,0,0,.08),
              0 32px 64px rgba(0,0,0,.06);
  max-width: 380px;
  width: 100%;
}

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

.artwork-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.caption-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
}
.caption-tech {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════
   LÍNEA DE VALOR
══════════════════════════════════════════════════════════════════ */
.value-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
}

.value-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--near-black);
  white-space: nowrap;
}
.value-item strong { font-weight: 500; }

.value-icon {
  color: var(--blue);
  font-size: 0.6rem;
}

/* ══════════════════════════════════════════════════════════════════
   GALERÍA MASONRY
══════════════════════════════════════════════════════════════════ */
.section-gallery {
  padding: var(--section-gap) 0;
}

.masonry-gallery {
  columns: 3;
  column-gap: 24px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  transition: box-shadow 0.4s var(--ease-out-expo);
  padding: 12px 12px 0;
}

.gallery-frame:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.1);
}

.gallery-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-frame:hover img { transform: scale(1.02); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 28, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-expo);
}

.gallery-frame:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay { opacity: 1; }

.btn-comprar-obra {
  background: var(--white);
  color: var(--near-black);
  padding: 0.65rem 1.4rem;
  border-radius: 980px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.btn-comprar-obra:hover { background: var(--blue); color: var(--white); }

.gallery-caption {
  padding: 12px 4px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-caption h3 {
  font-size: 0.9rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.gallery-tech {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.03em;
}
.gallery-price {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 400;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════════
   TAMAÑOS Y PRECIOS
══════════════════════════════════════════════════════════════════ */
.section-tamanios { padding: var(--section-gap) 0; }

.tamanios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Price table */
.price-table {
  display: flex;
  gap: 20px;
}

.price-card {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: relative;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease-out-expo), border-color 0.3s;
}
.price-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  border-color: var(--blue);
}

.price-card-featured {
  border-color: var(--blue);
  background: var(--blue-light);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 980px;
  white-space: nowrap;
}

.price-card-header { display: flex; flex-direction: column; gap: 4px; }
.price-size {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
}
.price-dims { font-size: 0.78rem; color: var(--gray); }

.price-amount {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
}
.price-currency { font-size: 1.5rem; vertical-align: super; }

/* Steps */
.steps-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.75rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.steps-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gray);
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content strong {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.step-content p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Chips */
.specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3rem;
}
.chip {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(29,59,110,.15);
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════════
   EL PAPEL
══════════════════════════════════════════════════════════════════ */
.section-papel { padding: var(--section-gap) 0; }

.papel-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 4rem;
}

.papel-pillar {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease-out-expo), border-color 0.3s;
}
.papel-pillar:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  border-color: rgba(29,59,110,.2);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.pillar-number span {
  font-size: 1.2rem;
  margin-left: 2px;
}

.papel-pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.papel-pillar p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.papel-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.papel-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gray);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   EL ESTUDIO / AUTOR
══════════════════════════════════════════════════════════════════ */
.section-estudio { padding: var(--section-gap) 0; }

.estudio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.author-frame {
  position: relative;
  max-width: 400px;
  width: 100%;
}
.author-frame::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  z-index: 0;
}
.author-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 4px;
  filter: grayscale(100%);
  transition: filter 0.4s var(--ease-out-expo);
}
.author-frame:hover img { filter: grayscale(20%); }

.estudio-texto .eyebrow { margin-bottom: 1rem; }
.estudio-texto h2 { margin-bottom: 1.5rem; }
.estudio-texto p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.estudio-texto p:last-of-type { margin-bottom: 1.75rem; }

.author-firma {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--near-black) !important;
  margin-bottom: 0 !important;
}

/* Award badge */
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  margin: 1.5rem 0;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
}
.award-icon {
  color: var(--blue);
  flex-shrink: 0;
  line-height: 0;
}
.award-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.award-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.award-event {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--near-black);
}
/* Lista de premios cuando hay varios */
.award-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.award-list li {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--near-black);
  line-height: 1.4;
}
.award-list li strong {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--blue);
  margin-right: 0.3rem;
}

/* ══════════════════════════════════════════════════════════════════
   OBRA POR ENCARGO
══════════════════════════════════════════════════════════════════ */
.section-encargo {
  padding: var(--section-gap) 0;
  background: var(--white);
}
.encargo-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.encargo-intro {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  margin-top: 1rem;
}
.encargo-ideas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 768px) {
  .encargo-ideas { grid-template-columns: 1fr; gap: 1.25rem; }
}
.encargo-idea {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.encargo-idea-icon {
  color: var(--blue);
  margin-bottom: 1rem;
}
.encargo-idea h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--near-black);
}
.encargo-idea p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.65;
}
.encargo-proceso {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--blue-light);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .encargo-proceso {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
  }
  .proceso-arrow { display: none; }
}
.proceso-step {
  flex: 1;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.proceso-num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.proceso-step strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--near-black);
  margin-bottom: 0.3rem;
}
.proceso-step p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}
.proceso-arrow {
  font-size: 1.25rem;
  color: var(--blue);
  padding-top: 0.5rem;
  flex-shrink: 0;
}
/* Tamaños y precios del encargo */
.encargo-pricing {
  margin: 0 auto 2.5rem;
  max-width: 720px;
}
.encargo-pricing-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  margin-bottom: 1rem;
}
.encargo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.encargo-pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.encargo-pricing-size {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--near-black);
}
.encargo-pricing-price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--blue);
}
.encargo-pricing-card-other .encargo-pricing-size {
  color: var(--gray);
}
.encargo-pricing-link {
  margin-top: 0.4rem;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.encargo-pricing-link:hover { color: var(--blue-hover); text-decoration: underline; }

@media (max-width: 600px) {
  .encargo-pricing-grid { grid-template-columns: 1fr; }
}

.encargo-cta {
  text-align: center;
}
.encargo-nota {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.85rem;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════════
   FORMACIÓN
══════════════════════════════════════════════════════════════════ */
.section-formacion {
  padding: var(--section-gap) 0;
}
.formacion-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.formacion-intro {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  margin-top: 1rem;
}
.formacion-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .formacion-cards { grid-template-columns: 1fr; }
}
.formacion-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
}
.formacion-card-featured {
  background: var(--near-black);
  border-color: var(--near-black);
  color: var(--white);
}
.formacion-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.formacion-card-icon {
  color: var(--blue);
  flex-shrink: 0;
  line-height: 0;
}
.formacion-card-featured .formacion-card-icon {
  color: rgba(255,255,255,.6);
}
.formacion-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--near-black);
  margin-bottom: 0.4rem;
}
.formacion-card-featured h3 {
  color: var(--white);
}
.formacion-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
}
.formacion-badge-dark {
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
}
.formacion-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.formacion-list li {
  font-size: 0.93rem;
  color: var(--gray);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.formacion-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.formacion-card-featured .formacion-list li {
  color: rgba(255,255,255,.65);
}
.formacion-card-featured .formacion-list li::before {
  color: rgba(255,255,255,.4);
}
.formacion-precio {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--near-black);
  margin-bottom: 1.25rem;
}
.formacion-card-featured .formacion-precio {
  color: var(--white);
}
.formacion-card .btn {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════════════════════ */
.section-cta {
  padding: var(--section-gap) 0;
  background: var(--near-black);
  color: var(--white);
}

.section-cta .eyebrow { color: rgba(255,255,255,.45); }

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.section-cta h2 { color: var(--white); }
.section-cta h2 em { font-style: italic; color: rgba(255,255,255,.7); }

.section-cta p {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
}

.section-cta .btn-primary {
  background: var(--white);
  color: var(--blue);
}
.section-cta .btn-primary:hover {
  background: var(--blue-light);
  box-shadow: 0 8px 32px rgba(255,255,255,.15);
}

/* ══════════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════════ */
.section-faq { padding: var(--section-gap) 0; }

.section-faq .section-header { text-align: left; margin-inline: 0; }

.faq-list {
  max-width: 720px;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--near-black);
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }

.faq-icon {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}
.faq-icon::before { width: 8px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 1.5px; height: 8px; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--blue);
  background: var(--blue);
}
.faq-question[aria-expanded="true"] .faq-icon::before { background: var(--white); }

.faq-answer {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  display: block;
}
.faq-answer[hidden] { display: none; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--near-black);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-watercolour {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,.35);
  margin-bottom: 6px;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}

.footer-nav-title {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.25rem;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
  padding: 1.5rem clamp(20px, 5vw, 80px);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a {
  color: rgba(255,255,255,.3);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

.footer-legal {
  font-size: 0.7rem !important;
  color: rgba(255,255,255,.22) !important;
  max-width: 720px;
  margin: 0 auto 0.6rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.footer-credit {
  margin-top: 2.5rem !important;
  font-size: 0.7rem !important;
  color: rgba(255,255,255,.28) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
}
/* Línea decorativa sutil con dos rayitas que enmarcan el texto */
.footer-credit::before,
.footer-credit::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.18);
  vertical-align: middle;
  margin: 0 14px;
}
.footer-credit a {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
  font-weight: 400;
  letter-spacing: 0.14em;
  transition: color 0.2s;
  margin-left: 4px;
}
.footer-credit a:hover {
  color: rgba(255,255,255,.95) !important;
}
.footer-heart {
  color: #d4a89a;
  font-size: 1.1em;
  display: inline-block;
  transform: translateY(2px);
  margin: 0 2px;
}

@media (max-width: 600px) {
  .footer-credit { margin-top: 2rem !important; }
  .footer-credit::before,
  .footer-credit::after { width: 16px; margin: 0 10px; }
}

/* ══════════════════════════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
══════════════════════════════════════════════════════════════════ */
.wa-float-wrapper {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
}

.wa-float {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 14px;
  border-radius: 980px;
  box-shadow: 0 4px 16px rgba(29,59,110,.4);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  transition: background 0.3s var(--ease-out-expo),
              padding 0.4s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo),
              transform 0.3s var(--ease-out-expo);
  overflow: hidden;
}

.wa-float-icon { width: 22px; height: 22px; flex-shrink: 0; }

.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.4s var(--ease-out-expo), opacity 0.3s;
}

.wa-float:hover {
  background: var(--blue-hover);
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(29,59,110,.45);
  transform: translateY(-2px);
}
.wa-float:hover .wa-float-label {
  max-width: 200px;
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════
   MODAL DE COMPRA
══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(21, 23, 28, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-expo);
}
.modal-overlay:not([hidden]) { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease-out-expo);
}
.modal-overlay:not([hidden]) .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-close svg { width: 16px; height: 16px; }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.modal-img-wrap {
  background: var(--off-white);
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.modal-img {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  box-shadow: 0 4px 32px rgba(0,0,0,.12);
}

.modal-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  flex-grow: 1;
}

.modal-size-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.size-options {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 1rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}
.size-btn strong { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; }
.size-btn span { font-size: 0.72rem; color: var(--gray); }
.size-price { font-size: 0.9rem !important; color: var(--blue) !important; font-weight: 500 !important; }

.size-option input:checked + .size-btn {
  border-color: var(--blue);
  background: var(--blue-light);
}
.size-option:hover .size-btn { border-color: var(--blue); }

.modal-note {
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
}

/* ── Botón "Añadir al pedido" del modal y enlace WA secundario ── */
.modal-add-btn {
  width: 100%;
  justify-content: center;
}
.modal-add-btn svg { width: 18px; height: 18px; }
.modal-add-btn.in-cart {
  background: var(--near-black);
  color: #fff;
}
.modal-add-btn.in-cart:hover {
  background: var(--near-black);
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
}

.modal-wa-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.modal-wa-link:hover { color: var(--blue); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-gap: 90px; }

  .tamanios-grid { gap: 48px; }
  .estudio-inner { gap: 48px; }
  .papel-pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .masonry-gallery { columns: 2; }
  .tamanios-grid { grid-template-columns: 1fr; }
  .estudio-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }

  .papel-pillars { grid-template-columns: 1fr; }

  .modal-inner { grid-template-columns: 1fr; }
  .modal-img-wrap { border-radius: 20px 20px 0 0; min-height: 280px; }
  .modal-info { padding: 32px 28px; }

  .value-strip-inner { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  .wa-float-wrapper { bottom: 20px; right: 20px; }
}

@media (max-width: 540px) {
  .masonry-gallery { columns: 1; }
  .price-table { flex-direction: column; }
  .size-options { flex-direction: column; }
  .size-btn { flex-direction: row; justify-content: space-between; }
}

/* (Bloque viejo de "HERO BG SLIDER" / carrusel dual eliminado.
   El hero a pantalla completa nuevo está al principio del archivo
   en la sección "HERO — Pantalla completa con crossfade".) */

/* (El antiguo bloque "HERO SHOWCASE / CAROUSEL" duplicado se ha
   eliminado: las reglas definitivas del carrusel desktop están al
   principio del archivo en la sección "HERO HÍBRIDO".)             */

/* ── Focus visible ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════════
   AJUSTES MÓVIL — iPhone y similares (≤ 480 px)
   Reduce tipografía, espaciados y paddings para que la composición
   no se desborde en pantallas pequeñas.
══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --section-gap: 56px;
    --section-gap-sm: 40px;
  }

  /* Tipografía: bajar el mínimo de los clamp() */
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.05; }
  h2 { font-size: clamp(1.65rem, 6.5vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }

  /* Hero: el padding general lo controla el bloque .hero del principio */
  .hero-title    { line-height: 1.05; margin-bottom: 1.1rem; }
  .hero-subtitle { font-size: 1rem;   margin-bottom: 1.75rem; }

  /* Marco de obra (galería) un poco más compacto */
  .gallery-frame { padding: 8px 8px 0; }

  /* Barra de valor: más compacta */
  .value-strip { padding: 16px 0; }
  .value-strip-inner { gap: 10px 18px; justify-content: flex-start; }
  .value-item { font-size: 0.76rem; gap: 8px; white-space: normal; }

  /* Secciones genéricas */
  .section-header { margin-bottom: 40px; }
  .section-subtitle { font-size: 0.98rem; }

  /* Galería: tarjetas más juntas */
  .masonry-gallery { columns: 1; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
  .gallery-frame { padding: 8px 8px 0; }
  .gallery-caption { padding: 10px 4px 14px; }
  /* En táctil no hay hover: mostramos botón siempre sobre la imagen */
  .gallery-overlay {
    background: linear-gradient(to top, rgba(21,23,28,.55) 0%, rgba(21,23,28,0) 60%);
    opacity: 1;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
  }
  .btn-comprar-obra { padding: 0.55rem 1.1rem; font-size: 0.75rem; }

  /* Precios */
  .price-card { padding: 1.5rem 1.1rem; }
  .price-size { font-size: 1.75rem; }
  .price-amount { font-size: 3rem; }
  .specs-chips { margin-top: 2rem; gap: 8px; }
  .chip { font-size: 0.72rem; padding: 5px 12px; }

  /* Papel */
  .papel-pillars { gap: 16px; margin-bottom: 2.5rem; }
  .papel-pillar { padding: 1.75rem 1.4rem; border-radius: 12px; }
  .papel-quote { padding-top: 2rem; }
  .papel-quote p { font-size: 1.05rem; }

  /* Estudio / autor */
  .estudio-inner { gap: 32px; }
  /* Evita overflow horizontal del marco del retrato (::before salía -12px) */
  .author-frame { max-width: 320px; margin: 0 auto; }
  .author-frame::before { inset: 8px -8px -8px 8px; }
  .estudio-texto h2 { margin-bottom: 1rem; }
  .author-firma { font-size: 1.2rem; }

  /* Award badge */
  .award-badge { padding: 0.6rem 0.9rem; margin: 1.25rem 0; gap: 0.6rem; }
  .award-label { font-size: 0.78rem; }
  .award-event { font-size: 0.92rem; }

  /* Encargo */
  .encargo-header { margin-bottom: 2.5rem; }
  .encargo-idea { padding: 1.5rem 1.25rem; }
  .encargo-idea h3 { font-size: 1.1rem; }
  .encargo-proceso { padding: 1.5rem 1.25rem; }

  /* Formación */
  .formacion-header { margin-bottom: 2.5rem; }
  .formacion-cards { gap: 16px; }
  .formacion-card { padding: 1.75rem 1.4rem; border-radius: 12px; }
  .formacion-card h3 { font-size: 1.15rem; }
  .formacion-precio { font-size: 1.05rem; margin-bottom: 1rem; }

  /* FAQ */
  .faq-question { font-size: 1.02rem; padding: 1.2rem 0; }
  .faq-answer { font-size: 0.92rem; padding-bottom: 1.25rem; }

  /* CTA final */
  .cta-inner { gap: 1.2rem; }

  /* Footer */
  .site-footer { padding-top: 56px; }
  .footer-inner { gap: 32px; padding-bottom: 40px; }
  .footer-name { font-size: 1.2rem; }

  /* Header */
  .header-inner { height: 60px; }
  .site-header.scrolled .header-inner { height: 60px; }
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: 0.55rem; }

  /* WhatsApp flotante: que no tape contenido */
  .wa-float-wrapper { bottom: 16px; right: 16px; }
  .wa-float { padding: 12px; }
  .wa-float-icon { width: 20px; height: 20px; }

  /* Modal */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 16px 16px 0 0; max-height: 92vh; }
  .modal-img-wrap { min-height: 220px; padding: 20px; border-radius: 16px 16px 0 0; }
  .modal-info { padding: 24px 20px 28px; gap: 0.8rem; }
  .modal-close { top: 12px; right: 12px; width: 32px; height: 32px; }
  .size-options { gap: 10px; }
  .size-btn { padding: 0.85rem 1rem; }
  .size-btn strong { font-size: 1.2rem; }
}

/* ── iPhone mini / pantallas muy estrechas (≤ 380 px) ─────────── */
@media (max-width: 380px) {
  h1 { font-size: clamp(1.95rem, 10vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 1.8rem); }

  .container { padding-inline: 16px; }
  .hero-subtitle { font-size: 0.95rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.82rem; }

  .value-item { font-size: 0.72rem; }
  .price-amount { font-size: 2.5rem; }
  .papel-pillar { padding: 1.5rem 1.1rem; }
  .formacion-card { padding: 1.5rem 1.1rem; }
}

/* ── Salvaguardas globales contra scroll horizontal en móvil ──── */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: clip; }
  img, video, iframe { max-width: 100%; height: auto; }
}

/* ══════════════════════════════════════════════════════════════════
   OBRA ORIGINAL — piezas únicas, marco más sobrio que la galería
══════════════════════════════════════════════════════════════════ */
.section-originales {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.originales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-bottom: 2.5rem;
}

.original-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.original-card:hover {
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  transform: translateY(-3px);
}

.original-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.original-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
}

.original-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* Fondo blanco translúcido con blur para asegurar legibilidad
     sobre cualquier color de la obra que haya debajo. */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  color: var(--near-black);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
/* El punto de color es lo que diferencia el estado de un vistazo */
.original-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-disponible::before {
  background: #2E7D52;
  box-shadow: 0 0 0 3px rgba(46, 125, 82, 0.18);
}
.status-reservada::before {
  background: #C58E26;
  box-shadow: 0 0 0 3px rgba(197, 142, 38, 0.18);
}
.status-vendida::before {
  background: #B43434;
  box-shadow: 0 0 0 3px rgba(180, 52, 52, 0.18);
}

.original-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}
.original-info h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.original-meta {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 1rem;
}
.original-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.original-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blue);
}

.originales-nota {
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .originales-grid { gap: 22px; }
  .original-frame { padding: 18px; }
  .original-info { padding: 16px 18px 20px; }
  .original-info h3 { font-size: 1.3rem; }
}

/* ══════════════════════════════════════════════════════════════════
   TIENDA — Tres tarjetas de oferta
══════════════════════════════════════════════════════════════════ */
.section-tienda {
  padding: var(--section-gap) 0;
  background: var(--off-white);
}

.tienda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0.5rem;
}

.tienda-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
  position: relative;
}
.tienda-card:hover {
  border-color: rgba(29, 59, 110, 0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.tienda-card-featured {
  background: var(--near-black);
  color: var(--white);
  border-color: var(--near-black);
}
.tienda-card-featured:hover {
  border-color: var(--near-black);
}

.tienda-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}
.tienda-card-featured .tienda-eyebrow {
  color: rgba(255,255,255,.6);
}

.tienda-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.tienda-card-featured h3 { color: var(--white); }

.tienda-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.tienda-card-featured p { color: rgba(255,255,255,.68); }

.tienda-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--near-black) !important;
  margin-bottom: 1.25rem !important;
  margin-top: auto;
}
.tienda-price strong {
  font-style: normal;
  font-weight: 500;
  color: var(--blue);
}
.tienda-card-featured .tienda-price { color: rgba(255,255,255,.88) !important; }
.tienda-card-featured .tienda-price strong { color: #fff; }

.tienda-cta {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--blue);
  display: inline-block;
}
.tienda-card-featured .tienda-cta { color: #fff; }

@media (max-width: 900px) {
  .tienda-grid { grid-template-columns: 1fr; gap: 16px; }
  .tienda-card { padding: 1.75rem 1.5rem; }
  .tienda-card h3 { font-size: 1.35rem; }
}

/* ══════════════════════════════════════════════════════════════════
   CONTACTO — Tarjetas de contacto + ubicación
══════════════════════════════════════════════════════════════════ */
.section-contacto {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 2.5rem;
}

.contacto-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.9rem 1.5rem 1.6rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.contacto-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.contacto-icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.contacto-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.contacto-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.8rem;
  line-height: 1.55;
  word-break: break-word;
}
.contacto-cta {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue);
  margin-top: auto;
}

.contacto-ubicacion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}
.contacto-ubicacion svg { color: var(--blue); flex-shrink: 0; }
.contacto-ubicacion strong { color: var(--near-black); font-weight: 500; }

@media (max-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ══════════════════════════════════════════════════════════════════
   CART de WHATSAPP — multi-selección de láminas
══════════════════════════════════════════════════════════════════ */

/* Botón "+" / "✓" en cada tarjeta de la galería para añadir al pedido */
.gallery-cart-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--near-black);
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  padding: 0;
}
.gallery-cart-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out-expo);
}
.gallery-cart-toggle .icon-check { display: none; }
.gallery-cart-toggle:hover {
  background: var(--blue);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(29, 59, 110, 0.35);
}
.gallery-cart-toggle.in-cart {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 10px rgba(29, 59, 110, 0.32);
}
.gallery-cart-toggle.in-cart .icon-bag { display: none; }
.gallery-cart-toggle.in-cart .icon-check { display: block; }
.gallery-cart-toggle.just-added {
  animation: cartTogglePulse 0.5s var(--ease-out-expo);
}
@keyframes cartTogglePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Barra flotante con el contador + total */
.cart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 850;
  animation: cartBarIn 0.45s var(--ease-out-expo);
}
.cart-bar[hidden] { display: none; }

@keyframes cartBarIn {
  from { transform: translate(-50%, 80px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

.cart-bar-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--near-black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
  transition: transform 0.2s, box-shadow 0.3s;
  white-space: nowrap;
}
.cart-bar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.32);
}

.cart-bar-icon { width: 22px; height: 22px; flex-shrink: 0; color: #fff; }
.cart-bar-text { display: inline-flex; gap: 6px; align-items: baseline; }
.cart-bar-text strong { font-weight: 500; }
.cart-bar-sep { opacity: 0.35; padding: 0 2px; }
.cart-bar-action { color: rgba(255,255,255,0.65); font-size: 0.82rem; padding-left: 6px; border-left: 1px solid rgba(255,255,255,0.2); }

@media (max-width: 540px) {
  .cart-bar { bottom: 16px; left: 16px; right: 16px; transform: none; }
  @keyframes cartBarIn {
    from { transform: translateY(80px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .cart-bar-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 18px;
  }
  .cart-bar-action { display: none; }
}

/* Panel lateral del cart */
.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.cart-panel[hidden] { display: none; }

.cart-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 22, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: auto;
}
.cart-panel.open .cart-panel-backdrop { opacity: 1; }

.cart-panel-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-expo);
  pointer-events: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.20);
}
.cart-panel.open .cart-panel-content { transform: translateX(0); }

.cart-panel-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cart-panel-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  border: none;
  color: var(--gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cart-close svg { width: 16px; height: 16px; }
.cart-close:hover { background: var(--border); color: var(--near-black); }

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 4px 24px 12px;
  margin: 0;
  list-style: none;
}
.cart-empty {
  padding: 60px 12px;
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.cart-item-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cart-item-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}
.cart-item-sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cart-item-sizes label { cursor: pointer; }
.cart-item-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.cart-item-sizes span {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s, background 0.2s, font-weight 0.2s;
}
.cart-item-sizes input:checked + span {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 500;
}
.cart-item-sizes input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.cart-item-remove {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
  padding: 0;
}
.cart-item-remove:hover { background: #FAE8E8; color: #B43434; }

.cart-panel-foot {
  padding: 20px 24px 26px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.cart-total-row span { color: var(--gray); font-size: 0.95rem; }
.cart-total-row strong {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--near-black);
}
.cart-send {
  width: 100%;
  justify-content: center;
}
.cart-foot-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 12px;
}

@media (max-width: 540px) {
  .cart-panel-content { max-width: 100%; }
  .cart-item { grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 0; }
  .cart-item-thumb { width: 70px; height: 70px; }
  .cart-item-title { font-size: 0.98rem; }
  .cart-items { padding: 4px 18px 8px; }
  .cart-panel-foot { padding: 18px 18px 22px; }
  .cart-panel-head { padding: 18px; }
}

/* ══════════════════════════════════════════════════════════════════
   CARRUSEL — Marco uniforme con imagen centrada
   Todas las obras del carrusel (vertical u horizontal) quedan en
   un marco blanco del mismo tamaño. La imagen va centrada dentro
   y conserva su proporción gracias a object-fit: contain.
═══════════════