/* ==========================================================
   IRENE · RETRATOS DE MASCOTAS EN ACUARELA
   Estilo: Estudio de artista. Marfil, Carbón, Terracota suave.
   ========================================================== */

:root {
  --color-bg: #f9f7f2;          /* Fondo marfil cálido */
  --color-surface: #ffffff;     /* Superficie blanca limpia */
  --color-surface-subtle: #f3efe6; /* Fondo secundario marfil suave */
  --color-text: #2c2b29;        /* Carbón suave */
  --color-text-muted: #66635e;  /* Gris neutro cálido */
  --color-terracotta: #c46851;  /* Terracota artesanal suave */
  --color-terracotta-dark: #a9533e;
  --color-border: #e6e0d4;      /* Borde sutil marfil */
  --color-border-subtle: #ede8dc;
  
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-subtle: 0 4px 20px rgba(44, 43, 41, 0.05);
  --shadow-card: 0 10px 30px rgba(44, 43, 41, 0.08);
  --shadow-hover: 0 16px 40px rgba(44, 43, 41, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --transition: all 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: var(--color-terracotta-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(249, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.brand-logo:hover {
  color: var(--color-terracotta);
}

.site-nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--color-terracotta);
  border-bottom-color: var(--color-terracotta);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: #ffffff;
  border: 1px solid var(--color-terracotta);
  box-shadow: 0 4px 12px rgba(196, 104, 81, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-terracotta-dark);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(196, 104, 81, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-text);
  color: var(--color-text);
  background-color: rgba(44, 43, 41, 0.03);
}

/* Portada / Hero */
.hero-section {
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.tagline {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  background-color: var(--color-surface);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.hero-figure img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.hero-figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Sección Galería */
.gallery-section {
  padding: 5rem 0;
  background-color: var(--color-surface-subtle);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.artwork-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.artwork-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #d8cfc0;
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  background-color: #f2ece1;
}

.zoom-trigger {
  width: 100%;
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  position: relative;
  text-align: left;
}

.zoom-trigger img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background-color: #f5f0e6;
  transition: transform 0.4s ease;
}

.zoom-trigger:hover img,
.zoom-trigger:focus-visible img {
  transform: scale(1.02);
}

.zoom-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(44, 43, 41, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.zoom-trigger:hover .zoom-badge {
  opacity: 1;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  margin-bottom: 0.3rem;
}

.card-technique {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Accordion para montajes secundarios */
.mockup-toggle-wrap {
  margin-top: auto;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
}

.mockup-accordion summary {
  font-size: 0.85rem;
  color: var(--color-terracotta);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  padding: 0.3rem 0;
}

.mockup-accordion summary:hover {
  text-decoration: underline;
}

.secondary-mockup {
  margin-top: 1rem;
  background: #fdfcf9;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

.secondary-mockup img {
  border-radius: 2px;
  max-height: 380px;
  width: 100%;
  object-fit: cover;
}

.mockup-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #837f77;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Cartel secundario */
.promo-box {
  margin-top: 3rem;
  background-color: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.promo-box .mockup-accordion summary {
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
}

.cartel-figure {
  max-width: 420px;
  margin: 1.5rem auto 0;
}

/* Sección Cómo encargar */
.process-section {
  padding: 5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Sección Sobre Irene */
.about-section {
  padding: 4.5rem 0;
  background-color: var(--color-surface-subtle);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.about-container {
  display: flex;
  justify-content: center;
}

.about-inner {
  max-width: 760px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-subtle);
}

.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--color-text);
  margin: 1.5rem 0;
}

.about-note {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Sección Cierre / Contacto */
.cta-section {
  padding: 5rem 0;
  text-align: center;
}

.cta-container {
  max-width: 680px;
}

.cta-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.contact-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.contact-status-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact-status-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  background-color: #f4efe5;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-note {
  font-family: monospace;
  font-size: 0.8rem;
  color: #8e8a83;
}

/* Modal de ampliación accesible */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(30, 29, 28, 0.88);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop:not([hidden]) {
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: #ffffff;
  padding: 6px;
}

.modal-caption {
  color: #f9f7f2;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.modal-close:hover, .modal-close:focus-visible {
  color: var(--color-terracotta);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-media {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .zoom-trigger img {
    height: 400px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-leaf-deco { width: clamp(95px, 24vw, 115px); }
  .header-inner {
    height: 4rem;
  }
  
  .site-nav {
    gap: 1rem;
  }
  
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .zoom-trigger img {
    height: 320px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* P626 · Estudio de acuarela */
body { background: #fcf6e9; }
.hero-section {
  background: radial-gradient(ellipse at 8% 4%, #efc4a8 0%, transparent 51%),
    radial-gradient(ellipse at 87% 78%, #b3cec4 0%, transparent 51%), #fcf6e9;
}
.hero-media { position: relative; isolation: isolate; }
.hero-figure { position: relative; z-index: 1; }
.studio-brush { position: absolute; width: clamp(66px, 10vw, 145px); height: auto;
  bottom: -8%; right: -3%; z-index: 2; pointer-events: none; filter: drop-shadow(3px 6px 3px #39271a3a); }
.gallery-section { background: #fff9ee; }
.process-section { background: radial-gradient(ellipse at 90% 0%, #efd4b6, transparent 66%), #edf2e9; }
.about-section { background: radial-gradient(ellipse at 4% 70%, #eabda6, transparent 65%), #f6e9d9; }
.about-container { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem); max-width: 980px; }
.artist-photo { margin: 0; padding: 12px; background: #fffdf7; border-radius: 5px;
  box-shadow: 0 12px 36px #59362224; }
.artist-photo img { display: block; width: 100%; height: auto; }
.artist-photo figcaption { color: #554b43; font-size: .85rem; padding-top: .65rem; text-align: center; }
.ig-link, .studio-contacts, .studio-contacts .btn { display: inline-flex; align-items: center; gap: .55rem; }
.studio-contacts { justify-content: center; flex-wrap: wrap; gap: 1.2rem; }
.site-nav .ig-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.whatsapp-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20; display: inline-flex; align-items: center; gap: .5rem; border-radius: 100px;
  padding: .7rem 1rem; background: #176448; color: #fff; box-shadow: 0 4px 16px #143d3450; font-weight: 600; text-decoration: none; }
.whatsapp-float:hover { background: #104936; }
.whatsapp-float:focus-visible, .ig-link:focus-visible { outline: 3px solid #9b4d39; outline-offset: 4px; }
.site-footer { padding-bottom: 5rem; }
@media (max-width: 680px) {
  .about-container { grid-template-columns: 1fr; }
  .artist-photo { width: min(100%, 310px); margin-inline: auto; }
  .studio-brush { right: 0; }
  .whatsapp-float { padding: .72rem; }
  .whatsapp-float span { display: none; }
}

/* P626 V3 · Color y materiales de acuarela */
.hero-section {
  background:
    radial-gradient(ellipse at 4% 6%, #efaa9b 0%, transparent 64%),
    radial-gradient(ellipse at 94% 18%, #9bcbb8 0%, transparent 63%),
    radial-gradient(ellipse at 68% 102%, #efba64 0%, transparent 67%),
    #fbe2bc;
}
.gallery-section {
  background:
    radial-gradient(ellipse at 0% 22%, #f1b4a3 0%, transparent 53%),
    radial-gradient(ellipse at 100% 72%, #a7c9d9 0%, transparent 58%),
    #f9e9ca;
}
.process-section { background: radial-gradient(ellipse at 94% 14%, #edbb79, transparent 68%), #c8e0d3; }
.about-section { background: radial-gradient(ellipse at 0% 20%, #e9a99a, transparent 73%), #f5dcb6; }
.studio-materials { margin: 0; background: #dba28b; }
.studio-materials img { display: block; width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; object-position: center 52%; }
.about-container { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); max-width: 840px; }
.artist-photo { width: min(100%, 240px); margin-inline: auto; }
@media (max-width: 680px) {
  .about-container { grid-template-columns: 1fr; }
  .artist-photo { width: min(100%, 200px); }
  .studio-materials img { height: auto; }
}

/* Cuaderno de taller */
.atelier-cover { overflow:hidden; background:#faefe0; position:relative; padding:clamp(3.5rem,8vw,7rem) 0 clamp(4rem,9vw,8rem); }
.atelier-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(2rem,6vw,6rem); align-items:center; }
.atelier-intro { position:relative; z-index:1; background:#fff9ebea; border-radius:32% 20% 28% 24% / 15% 20% 24% 20%; padding:clamp(1rem,3vw,2.6rem); }
.atelier-intro h1 { font-size:clamp(3rem,6vw,6rem); line-height:.93; letter-spacing:-.055em; color:#26243d; margin:.5rem 0 1rem; }
.atelier-intro h1 em { color:#a43b5b; }
.atelier-note, .atelier-sample figcaption { font:italic 600 clamp(1.05rem,2vw,1.45rem) Georgia,serif; color:#185b63; }
.atelier-intro > p:not(.atelier-note) { max-width:38ch; }
.atelier-board { position:relative; padding:0 4% 15% 0; }
.atelier-board figure { margin:0; background:#fffdf5; padding:10px; box-shadow:0 13px 29px #3b213633; }
.atelier-board img { display:block; width:100%; height:auto; }
.atelier-desk { transform:rotate(-3deg); border-radius:8px; }
.atelier-sample { position:absolute; width:46%; bottom:0; right:2%; transform:rotate(8deg); }
.atelier-sample figcaption { font-size:clamp(.8rem,1.4vw,1.1rem); padding:.3rem 0; text-align:center; }
.gallery-section { background:radial-gradient(ellipse at 3% 16%,#ffb0a4,transparent 57%),radial-gradient(ellipse at 100% 78%,#96cadd,transparent 62%),#ffefca; }
.process-section { background:linear-gradient(120deg,#c9e8d8,#ffdfae 60%,#fac3cc); }
.step-number { font-size:1.55rem; }
.about-section { background:linear-gradient(125deg,#f8b4a1,#ffe9ba 57%,#b5dcd2); }
.cta-section { background:#faefe0; position:relative; color:#25233a; }
.cta-container { background:#fff9ebed; padding:1.5rem; border-radius:1.5rem; }
.cta-section h2,.cta-section .cta-lead { color:#25233a; }
@media(max-width:760px) {
  .atelier-layout { grid-template-columns:1fr; }
  .atelier-cover { padding-top:2rem; }
  .atelier-intro h1 { font-size:clamp(3.1rem,10vw,4.5rem); }
  .atelier-board { width:min(100%,560px); margin:auto; }
}

/* --- Iconos sueltos de acuarela (V4 Taller) --- */
.deco-icon {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  user-select: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
}

.atelier-cover { position: relative; }
.atelier-intro { position: relative; }
.atelier-board { position: relative; }
.atelier-sample { position: relative; }

/* Portada: brochazo azul cerca del titular, estrellas junto a miniatura, pincel plano al margen de la foto de paleta */
.deco-brochazo-azul {
  top: -10px;
  right: 15px;
  width: clamp(90px, 14vw, 150px);
  opacity: 0.85;
}
.deco-estrellas-hero {
  top: -18px;
  right: -10px;
  width: clamp(40px, 7vw, 65px);
}
.deco-pincel-hero {
  bottom: -25px;
  right: -20px;
  width: clamp(75px, 12vw, 115px);
  transform: rotate(-12deg);
}

/* Galería: huella turquesa junto al título y salpicaduras coral y ultramar en márgenes */
.gallery-section { position: relative; }
.deco-huella-title {
  display: inline-block;
  vertical-align: middle;
  width: clamp(26px, 4vw, 34px);
  margin-right: 8px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.08));
}
.deco-salpicadura-coral-galeria {
  top: 40px;
  left: 1.5%;
  width: clamp(55px, 8vw, 90px);
  opacity: 0.85;
}
.deco-salpicadura-ultramar-galeria {
  bottom: 60px;
  right: 2%;
  width: clamp(55px, 8vw, 90px);
  opacity: 0.85;
}

/* Cómo encargar: paleta pequeña y brochazo rosa como acentos */
.process-section { position: relative; }
.deco-paleta-proceso {
  top: 25px;
  left: 2.5%;
  width: clamp(65px, 9vw, 100px);
  opacity: 0.9;
  transform: rotate(-8deg);
}
.deco-brochazo-rosa-proceso {
  bottom: 20px;
  right: 3%;
  width: clamp(110px, 15vw, 170px);
  opacity: 0.85;
}

/* Contacto: corazón coral y estrella discreta */
.cta-section { position: relative; }
.deco-corazon-cta {
  top: 25px;
  left: 6%;
  width: clamp(40px, 6vw, 65px);
  transform: rotate(-10deg);
}
.deco-estrellas-cta {
  bottom: 25px;
  right: 6%;
  width: clamp(40px, 6vw, 60px);
}

@media (max-width: 768px) {
  .deco-salpicadura-coral-galeria,
  .deco-salpicadura-ultramar-galeria,
  .deco-paleta-proceso,
  .deco-brochazo-rosa-proceso {
    display: none;
  }
  .deco-pincel-hero {
    right: 5px;
    bottom: -15px;
    width: 65px;
  }
  .deco-brochazo-azul {
    width: 80px;
    top: -5px;
    right: 10px;
  }
  .deco-corazon-cta {
    left: 15px;
    top: 15px;
  }
  .deco-estrellas-cta {
    right: 15px;
    bottom: 15px;
  }
}

/* El visor cerrado debe quedar fuera del flujo y de la detección de clics. */
.modal-backdrop[hidden] {
  display: none;
}

#galeria, #como-encargar, #sobre-irene {
  scroll-margin-top: 6rem;
}

/* Montajes verticales: mostrar la escena completa. */
.mockup-toggle-wrap .secondary-mockup img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Enlace llamativo Tarjetas Navideñas en menú */
.nav-badge-xmas {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #c44d3f, #e06d53);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.35rem 0.85rem !important;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(196, 77, 63, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-bottom: none !important;
}
.nav-badge-xmas:hover, .nav-badge-xmas:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(196, 77, 63, 0.45);
  color: #ffffff !important;
}
.nav-badge-xmas .sparkle-icon {
  font-size: 0.9rem;
}

/* Nota explicativa para tarjetas demostrativas */
.demo-disclaimer-note {
  font-size: 0.8rem;
  color: #8c6a58;
  font-style: italic;
  background: #fdf6ec;
  border-left: 3px solid #d47a61;
  padding: 0.4rem 0.6rem;
  border-radius: 0 4px 4px 0;
  margin-top: 0.5rem;
}

/* Cuadrícula y tarjetas DIN A5 para postales navideñas */
.postales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.postcard-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.postcard-card:hover {
  box-shadow: var(--shadow-card);
  border-color: #d8cfc0;
  transform: translateY(-3px);
}

.postcard-image-wrap {
  position: relative;
  background-color: #f7f3ea;
  padding: 0.6rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.postcard-image-wrap .zoom-trigger {
  width: 100%;
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  position: relative;
  text-align: left;
}

.postcard-image-wrap .zoom-trigger img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.414; /* DIN A5 vertical ratio */
  object-fit: contain;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(44, 43, 41, 0.08);
  display: block;
  transition: transform 0.3s ease;
}

.postcard-image-wrap .zoom-trigger:hover img,
.postcard-image-wrap .zoom-trigger:focus-visible img {
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .postales-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero-leaf-deco { width: clamp(95px, 24vw, 115px); }
  .postales-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================
   PORTADA PROPUESTA POR IRENE & DESCUBRE MI TRABAJO
   ========================================================== */

/* Nueva Portada: Pequeñas historias pintadas a mano */
.irene-hero-section {
  background-color: #faf3ea; /* Tono marfil que fusiona con los bordes del recorte (254, 245, 236) */
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
}

.irene-hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-top-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.hero-leaf-deco {
  width: clamp(105px, 9.5vw, 140px); /* 120–150 px en ordenador, 95–115 px en móvil */
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.06));
  margin-right: 0.4rem;
  transform: rotate(-6deg);
  display: block;
}

.hero-artist-tag {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem); /* Más grande, alcanzando ~ la 't' o 's' de historias */
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--color-terracotta);
  line-height: 1.2;
}

.hero-story-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.script-terracotta {
  font-family: 'Allura', cursive, var(--font-serif);
  font-weight: 400;
  font-size: 1.35em; /* Proporción elegante para caligrafía ligada inglesa */
  color: #c05c44;
  letter-spacing: 0.02em;
  display: inline-block;
  padding-left: 0.1em;
  line-height: 1.1;
}

.hero-story-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: #55514a;
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.btn-hero-order {
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
}

/* Gato y composición visual derecha */
.irene-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cat-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-cat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* El fondo marfil de la sección se funde limpio con los bordes de la acuarela */
  filter: drop-shadow(0 12px 30px rgba(44, 43, 41, 0.08));
}

.hero-heart-deco {
  position: absolute;
  top: 15px;
  right: 25px;
  width: 28px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
  animation: floatHeart 3.5s ease-in-out infinite alternate;
}

@keyframes floatHeart {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-5px) rotate(6deg); }
}

/* ==========================================================
   SECCIÓN DESCUBRE MI TRABAJO (4 CATEGORÍAS INFORMATIVAS)
   ========================================================== */
.discover-work-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background-color: #fbf7f0;
  border-bottom: 1px solid var(--color-border);
}

.discover-header {
  margin-bottom: 2.8rem;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  max-width: 1080px;
  margin: 0 auto;
}

.discover-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Título informativo encima de su imagen */
.discover-item-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
  user-select: none;
}

.discover-figure {
  margin: 0;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  background-color: #faf3ea;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.discover-figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: #d8cfc0;
}

.discover-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.discover-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #8c7f71;
  font-style: italic;
}

/* Adaptación responsive */
@media (max-width: 900px) {
  .irene-hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-top-accent {
    justify-content: center;
  }
  .hero-story-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-cat-wrapper {
    margin: 0 auto;
    max-width: 420px;
  }
  .discover-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
}

@media (max-width: 540px) {
  .discover-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .hero-story-title {
    font-size: 2.3rem;
  }
}

/* Dos líneas finas con el corazón en el centro */
.hero-divider-heart {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 420px;
  margin: 0.4rem 0 1.4rem;
}

.hero-divider-heart .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(196, 104, 81, 0.1), rgba(196, 104, 81, 0.45));
}

.hero-divider-heart .divider-line:last-child {
  background: linear-gradient(to left, rgba(196, 104, 81, 0.1), rgba(196, 104, 81, 0.45));
}

.divider-heart-img {
  width: 18px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 1px 3px rgba(192, 92, 68, 0.2));
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-divider-heart {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================
   FONDO NAVIDEÑO EN GRANDE PARA TARJETAS NAVIDEÑAS
   ========================================================== */
body.xmas-page {
  background-color: #faf3ea;
  background-image: 
    linear-gradient(rgba(250, 243, 234, 0.88), rgba(250, 243, 234, 0.94)),
    url('img/fondo-navideno-taller.webp');
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: scroll;
}

body.xmas-page .atelier-cover {
  background-color: transparent !important;
  background-image: none !important;
}

body.xmas-page .gallery-section {
  background-color: rgba(255, 249, 238, 0.82) !important;
  backdrop-filter: blur(2px);
}

body.xmas-page .process-section {
  background: rgba(246, 233, 217, 0.85) !important;
  backdrop-filter: blur(2px);
}

body.xmas-page .cta-section {
  background-color: transparent !important;
  background-image: none !important;
}

@media (min-width: 900px) {
  body.xmas-page {
    background-size: cover;
    background-attachment: fixed;
  }
}
