/* ==========================================================
   Joyería Mónaco — estilos
   Paleta del logo: azul marino + dorado + marfil
   ========================================================== */
:root {
  --nav-h: 5rem;
  --navy: #1e2a55;
  --navy-dark: #141c3b;
  --navy-soft: #2c3b6e;
  --gold: #b8862b;
  --gold-dark: #9a6f20;
  --gold-light: #d8b46a;
  --gold-pale: #f1e4c6;
  --ivory: #faf7f0;
  --soft: #f4efe4;
  --white: #ffffff;
  --ink: #22232b;
  --muted: #5f5e68;
  --line: rgba(30, 42, 85, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(20, 28, 59, .08);
  --shadow-lg: 0 20px 50px rgba(20, 28, 59, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--ivory); padding-top: calc(var(--nav-h) + var(--safe-top));
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 2.5rem, 1140px); margin-inline: auto; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

section[id] { scroll-margin-top: calc(var(--nav-h) + var(--safe-top) + .5rem); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: .85rem 1.6rem; border-radius: 3px;
  border: 1px solid var(--gold); background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(184, 134, 43, .28); }
.btn .ico { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-lg { padding: 1rem 2.2rem; font-size: .78rem; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-block { width: 100%; }

/* ---------- NAV (vidrio fijo, sin borde) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(250, 247, 240, .78);
  backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 0;
  transform: translateY(0);
  transition: transform .28s ease, background .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { background: rgba(240, 234, 220, .94); box-shadow: 0 6px 24px rgba(20, 28, 59, .08); }
.nav.is-away { transform: translateY(-110%); pointer-events: none; }
.nav.is-open { transform: none; pointer-events: auto; background: var(--ivory); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.nav .logo { height: 3.65rem; width: auto; }
.nav-end { display: flex; align-items: center; gap: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a:not(.btn) {
  position: relative; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-menu-cta { display: none; }
.nav-links .btn, .nav-links .btn:hover { color: #fff; }
.nav-cta { padding: .7rem 1.1rem; font-size: .68rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  min-height: calc(100svh - var(--nav-h) - var(--safe-top));
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(216, 180, 106, .18), transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(44, 59, 110, .6), transparent 45%),
    linear-gradient(160deg, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-dark) 100%);
}
.hero::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(216, 180, 106, .28); pointer-events: none; }
.hero-ornament { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(216, 180, 106, .16); pointer-events: none; }
.hero-ornament svg { width: min(700px, 125vw); height: auto; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-content { position: relative; padding: 3.5rem 0; display: grid; justify-items: center; gap: 1.25rem; }
.hero-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.hero h1 { font-weight: 500; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; color: #fff; max-width: 20ch; }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.35; color: rgba(255, 255, 255, .9); max-width: 40rem; }
.hero .btn { margin-top: .6rem; }
.hero .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; font-size: .86rem; color: rgba(255, 255, 255, .82); }
.hero-proof li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-proof a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(216, 180, 106, .6); }
.hero-proof .stars { color: var(--gold-light); letter-spacing: .1em; }

/* ---------- Secciones ---------- */
.section { padding: 6.5rem 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.section-navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(216, 180, 106, .14), transparent 40%); pointer-events: none; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.5rem; display: grid; gap: .9rem; }
.section-head-left { text-align: left; margin: 0 0 2.4rem; }
/* h2 = nombre de la sección en color de marca · .section-lead = frase más chica en tinta */
.display { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 500; color: var(--navy); letter-spacing: .01em; }
.section-lead { font-size: 1.06rem; line-height: 1.65; color: var(--ink); font-weight: 400; }
.section-navy .display { color: var(--gold-light); }
.section-navy .section-lead { color: rgba(255, 255, 255, .88); }

/* ---------- Colecciones ---------- */
.collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
.card-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card-col:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-col-media {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--gold);
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .9), transparent 55%), linear-gradient(135deg, var(--ivory), var(--gold-pale));
}
.card-col-media::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(184, 134, 43, .3); }
.card-col-media svg { width: 44%; height: auto; transition: transform .6s var(--ease); }
.card-col:hover .card-col-media svg { transform: scale(1.06); }
.card-col-body { padding: 2.2rem 2rem 2.4rem; text-align: center; display: grid; justify-items: center; gap: .9rem; }
.card-col-body h3 { font-size: 2rem; }
.card-col-body p { color: var(--muted); max-width: 26rem; }
.card-col-body .btn { margin-top: .5rem; }

/* ---------- Certificación ---------- */
.badges { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.badge { text-align: center; padding: 2.6rem 1.6rem; border: 1px solid rgba(216, 180, 106, .3); border-radius: var(--radius); background: rgba(255, 255, 255, .03); display: grid; justify-items: center; gap: .55rem; transition: background .3s, border-color .3s; }
.badge:hover { background: rgba(255, 255, 255, .06); border-color: var(--gold-light); }
.badge-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-light); color: var(--gold-light); margin-bottom: .8rem; }
.badge-ico svg { width: 30px; height: 30px; }
.badge h3 { color: #fff; font-size: 1.5rem; }
.badge p { font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.testimonial { position: relative; background: var(--white); padding: 2.4rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto; gap: 1.1rem; }
.testimonial::before { content: "“"; position: absolute; top: .2rem; right: 1.4rem; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--gold-pale); }
.stars { color: var(--gold); letter-spacing: .2em; font-size: 1.05rem; }
.testimonial blockquote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.testimonial figcaption { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .15rem; }
.testimonial figcaption strong { font-weight: 600; color: var(--navy); font-size: .92rem; }
.testimonial figcaption span { font-size: .82rem; color: var(--muted); }

/* ---------- Taller ---------- */
.taller { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.taller-visual { position: relative; }
.taller-visual::before { content: ""; position: absolute; top: -20px; left: -20px; width: 60%; height: 60%; border: 1px solid var(--gold); z-index: -1; }
.taller-frame {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-dark)); color: var(--gold-light);
}
.taller-frame::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(216, 180, 106, .35); }
.taller-frame svg { width: 42%; }
.taller-frame span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: rgba(255, 255, 255, .88); }
.steps { display: grid; gap: 1.5rem; }
.step { display: flex; gap: 1.4rem; align-items: flex-start; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step > div { display: grid; gap: .2rem; }
.step-num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); min-width: 3rem; }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Garantía ---------- */
.guarantee { position: relative; max-width: 52rem; margin: 0 auto; text-align: center; background: var(--white); padding: 4.2rem 3.6rem; border: 1px solid rgba(184, 134, 43, .35); display: grid; justify-items: center; gap: .9rem; }
.guarantee::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.guarantee-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); margin-bottom: .6rem; }
.guarantee-ico svg { width: 36px; height: 36px; }

/* ---------- Redes ---------- */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.social-card { height: 100%; display: grid; justify-items: center; align-content: center; gap: .45rem; text-align: center; padding: 2.4rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: all .35s var(--ease); }
.social-card svg { width: 40px; height: 40px; color: var(--navy); margin-bottom: .5rem; transition: color .35s; }
.social-name { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); font-weight: 500; line-height: 1.2; }
.social-handle { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.social-card:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.social-card:hover svg { color: var(--gold-light); }
.social-card:hover .social-name { color: #fff; }
.social-card:hover .social-handle { color: rgba(255, 255, 255, .75); }

/* ---------- NAP (texto apilado, un solo gap) ---------- */
.nap { display: grid; gap: .9rem; margin: 1.8rem 0 2.2rem; }
.nap li { display: flex; align-items: center; gap: .8rem; line-height: 1.5; }
.nap svg { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; }
.nap a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184, 134, 43, .6); }

/* ---------- Visítanos ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: stretch; }
.visit-copy .section-lead { margin-top: .9rem; }
.map { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }
.map-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  color: var(--gold); border: 1px solid var(--line);
  background:
    linear-gradient(rgba(30, 42, 85, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(30, 42, 85, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(135deg, #f3efe5, #e9e2d2);
}
.map-placeholder svg { width: 52px; height: 52px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }
.map-placeholder span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0 1rem; }

/* ---------- Nuestro local (carrusel) ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .2rem; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-ph { display: grid; place-items: center; border: 1px dashed rgba(184, 134, 43, .5); background: linear-gradient(135deg, var(--ivory), var(--gold-pale)); }
.slide-ph span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; }
.carousel-btn.prev { left: -.8rem; }
.carousel-btn.next { right: -.8rem; }
.carousel-btn:hover { background: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.3rem; border: 1px solid var(--gold); border-radius: 999px; color: var(--navy); font-size: .82rem; font-weight: 500; letter-spacing: .04em; transition: background .3s, color .3s; }
.chip:hover { background: var(--gold); color: #fff; }

/* ---------- Contáctanos ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-copy .section-lead { margin-top: .9rem; }
.form { background: var(--white); padding: 2.4rem; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.form input, .form select {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid rgba(30, 42, 85, .22); border-radius: 3px;
  background: var(--ivory); font-size: 1rem; color: var(--ink);
}
.form input:focus, .form select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form .btn { margin-top: .4rem; }

/* ---------- Más que joyas ---------- */
.cta {
  padding: 7.5rem 0; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(216, 180, 106, .22), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.cta-content { max-width: 46rem; display: grid; justify-items: center; gap: 1rem; }
.cta .display { color: var(--gold-light); font-size: clamp(2.6rem, 6vw, 4.2rem); }
.cta .section-lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff; }
.cta-text { color: rgba(255, 255, 255, .85); font-weight: 300; font-size: 1.06rem; max-width: 38rem; margin-bottom: 1rem; }
.cta .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ivory); border-top: 3px solid var(--gold); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand .logo { width: 200px; height: auto; }
.footer-brand p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.footer-col h3 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col li { font-size: .9rem; color: var(--muted); }
.footer-col a:hover { color: var(--gold-dark); }
.footer-socials { display: flex; gap: .7rem; }
.footer-socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--navy); color: var(--navy); transition: all .3s; }
.footer-socials a:hover { background: var(--navy); color: var(--gold-light); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.3rem 4.5rem calc(1.3rem + var(--safe-bottom)) 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; font-size: .8rem; color: var(--muted); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-libro { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.footer-libro-ico { width: 14px; height: 14px; flex: 0 0 auto; }

/* ---------- WhatsApp flotante ---------- */
.float {
  position: fixed; z-index: 40;
  right: calc(14px + var(--safe-right)); bottom: calc(14px + var(--safe-bottom));
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #fff;
  box-shadow: 0 8px 20px rgba(184, 134, 43, .38);
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s;
}
.float:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(184, 134, 43, .48); }
.float.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
.float svg { width: 26px; height: 26px; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  :root { --nav-h: 4.5rem; }
  .nav .logo { height: 3.2rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); padding: .4rem 1.25rem 1.4rem;
    box-shadow: 0 20px 30px rgba(20, 28, 59, .12);
    max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-menu-cta { display: inline-flex; margin-top: 1.1rem; }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 5rem 0; }
  .collections, .testimonials, .badges { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .taller, .visit, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .taller-visual { max-width: 420px; width: 100%; margin-inline: auto; }
  .taller-frame { aspect-ratio: 16 / 11; }
  .carousel-track { grid-auto-columns: 82%; gap: 1rem; }
  .carousel-btn { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 2.25rem, 1140px); }
  .section { padding: 4.2rem 0; }
  .section-head { margin-bottom: 2.6rem; }
  .hero::before { inset: 12px; }
  .hero-content { padding: 3.2rem 0; gap: 1.1rem; }
  .hero-proof { flex-direction: column; align-items: center; gap: .45rem; }
  .card-col-body { padding: 1.8rem 1.3rem 2rem; }
  .socials { gap: .9rem; }
  .social-card { padding: 1.8rem .6rem; }
  .social-name { font-size: 1.25rem; }
  .social-handle { font-size: .76rem; }
  .guarantee { padding: 3.2rem 1.5rem; }
  .map { min-height: 280px; }
  .form { padding: 1.6rem 1.2rem; }
  .row { grid-template-columns: 1fr; }
  .cta { padding: 5.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .taller-visual::before { top: -12px; left: -12px; }
}

/* ==========================================================
   Libro de reclamaciones
   ========================================================== */
.libro-main { padding: 3rem 0 4.5rem; }
.libro-wrap { width: min(100% - 2.5rem, 680px); margin-inline: auto; }
.libro-title { font-size: clamp(2.1rem, 5vw, 2.9rem); color: var(--navy); }
.libro-lead { margin: .6rem 0 1.8rem; color: var(--ink); }
.libro-h2 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 0 0 .9rem; }
.libro-establecimiento { border: 1px solid var(--line); background: var(--white); padding: 1.3rem 1.3rem; border-radius: var(--radius); margin-bottom: 1.8rem; }
.libro-dl { display: grid; gap: .8rem; }
.libro-dl div { display: grid; gap: .15rem; }
.libro-dl dt { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.libro-dl dd { margin: 0; overflow-wrap: anywhere; }
.libro-dl a { text-decoration: underline; text-underline-offset: 3px; }
.libro-form { display: grid; gap: .4rem; }
.libro-fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .9rem; min-width: 0; }
.libro-fieldset legend { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: .9rem; }
.libro-tipo { display: grid; gap: .6rem; }
.libro-form .libro-radio { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: .95rem; }
.libro-form .libro-radio span { flex: 1 1 0; min-width: 0; }
.libro-form input[type="radio"] { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--gold); flex: 0 0 auto; }
.libro-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.libro-form label:not(.libro-radio) { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--navy); }
.libro-form input:not([type="radio"]), .libro-form textarea, .libro-form select {
  width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1px solid rgba(30, 42, 85, .22); border-radius: 3px; background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 400;
}
.libro-form textarea { min-height: 7rem; resize: vertical; }
.libro-form input:focus, .libro-form textarea:focus, .libro-form select:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.libro-form .opt-tag { font-weight: 400; color: var(--muted); font-size: .85em; }
.libro-date-note, .libro-legal { font-size: .85rem; color: var(--muted); }
.libro-error { color: #8a1f1f; margin-top: .5rem; }
.libro-constancia { border: 1px solid var(--line); padding: 1.4rem 1.3rem; background: var(--white); border-radius: var(--radius); display: grid; gap: .5rem; }
.libro-code-label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.libro-code { font-family: var(--sans); font-size: 1.3rem; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.libro-const-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 .4rem; }
.libro-footer { padding-top: 0; }
.libro-footer .footer-bottom { border-top: 0; }
.libro-form select { height: 46px; }
@media (max-width: 560px) {
  .libro-row { grid-template-columns: 1fr; }
  .libro-form .btn, .libro-const-actions .btn { width: 100%; }
}
@media print {
  .nav, .footer, .float, .libro-const-actions, .libro-form { display: none !important; }
  body { padding-top: 0; background: #fff; }
  #libro-constancia { display: grid !important; border: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
