/* ==========================================================
   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);
  --page: var(--ivory);
  --wrap-gutter: 2.5rem; /* total side inset: half each edge */
  --nav-bg: rgba(250, 247, 240, .78);
  --nav-bg-scrolled: rgba(240, 234, 220, .94);
  --nav-bg-open: var(--ivory);
  --nav-fg: var(--navy);
}

html[data-theme="night"] {
  /* Marino: marca navy / blanco / dorado. Marfil y crema pasan a blanco puro. */
  --ivory: #ffffff;
  --soft: #ffffff;
  --page: #ffffff;
  --nav-bg: var(--navy);
  --nav-bg-scrolled: var(--navy);
  --nav-bg-open: var(--navy);
  --nav-fg: #ffffff;
  background: var(--page);
}

*, *::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(--page); 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% - var(--wrap-gutter), 1140px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
[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); }

/* ---------- NAV (vidrio fijo, sin borde) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: var(--safe-top);
  background: var(--nav-bg);
  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: var(--nav-bg-scrolled); 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(--nav-bg-open); }
.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-start { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.theme-toggle {
  flex: 0 0 auto; border: 1px solid currentColor; background: transparent; color: var(--nav-fg);
  font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .55rem; min-height: 36px; border-radius: 3px; cursor: pointer; line-height: 1; white-space: nowrap;
}
/* Color de la barra: el botón dice el tema al que cambia (Marino / Claro). */
.theme-next::before { content: "Marino"; }
html[data-theme="night"] .theme-next::before { content: "Claro"; }
.nav .logo { height: 3.65rem; width: auto; }
.nav .logo-night,
.footer .logo-night { display: none; }
/* Marino (2026-10-06): barra navy completa (normal, is-scrolled, is-open). Logo = logo-noche.png (script Mónaco
   blanco, JOYERÍA dorada), mismo tamaño que logo.png; swap solo por CSS (data-theme se pone en <head> antes del paint). */
html[data-theme="night"] { --wrap-gutter: 2.5rem; }
html[data-theme="night"] .nav,
html[data-theme="night"] .nav.is-scrolled,
html[data-theme="night"] .nav.is-open { background: var(--navy); }
html[data-theme="night"] .logo-day { display: none; }
html[data-theme="night"] .logo-night { display: block; }
.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(--nav-fg);
  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(--nav-fg); 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 (video h1→h4, sin overlay) ---------- */
/* Escritorio: clip a la derecha (60%), lienzo con el color del borde izquierdo del clip. */
.hero {
  position: relative; overflow: hidden; color: var(--navy); text-align: left;
  min-height: calc(100svh - var(--nav-h) - var(--safe-top));
  display: flex; align-items: center; background: #c4c3c2;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background-color: #bfc2c3; transition: background-color .5s ease-in-out; }
.hero-media::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, rgba(250, 247, 240, .5), rgba(250, 247, 240, 0)); }
.hero-clips { display: none; }
.hero-frame { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: #000; overflow: hidden; }
.hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0; z-index: 1; transition: opacity .5s ease-in-out;
}
.hero-vid.is-on { opacity: 1; z-index: 2; }
.hero-content { position: relative; z-index: 1; align-self: stretch; width: 40%; padding: 3rem clamp(1.5rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1.1rem; background: url("../assets/hero/fondo5.jpg?v=1") center / cover no-repeat; }
.hero-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); text-shadow: 0 0 12px rgba(255, 255, 255, .6); }
.hero h1 {
  font-weight: 500; font-size: clamp(2.48rem, 4vw, 4rem); line-height: 1.08; color: var(--navy);
  text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 6px rgba(255,255,255,.85), 0 0 12px rgba(255,255,255,.55);
}
.hero-sub { font-family: var(--serif); font-style: normal; font-weight: 700; font-size: clamp(1.36rem, 2.12vw, 1.71rem); line-height: 1.35; color: var(--navy); -webkit-text-stroke: 0.7px currentColor; paint-order: stroke fill; text-shadow: 0 0 1px #fff, 0 0 4px rgba(255,255,255,.75), 0 0 10px rgba(255,255,255,.45); }
.hero .btn { margin-top: .4rem; }
/* CTA del hero (2026-10-06): navy con texto/icono blanco en ambos temas; los demás .btn siguen dorados. */
.hero .hero-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.hero .hero-cta:hover { background: #2a3a70; border-color: #2a3a70; color: #fff; box-shadow: 0 10px 22px rgba(30, 42, 85, .28); }
.hero-proof { display: grid; gap: .4rem; font-size: .84rem; color: var(--ink); }
.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(154, 111, 32, .7); text-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.hero-proof .stars { color: var(--gold-dark); letter-spacing: .1em; }
/* Móvil / vertical: clip arriba (cover, centro arriba), texto compacto debajo en marfil.
   Alto del clip = min(65 % del hero, 100vw): con clips 16:9 en cover, más alto que el ancho
   recorta los aros de h5/h6/h8. El clip cede alto (flex-shrink) para que el CTA quepa sin scroll. */
@media (max-width: 800px), (orientation: portrait) {
  .hero { flex-direction: column; align-items: stretch; text-align: left; background: var(--ivory); }
  .hero-media {
    position: relative; inset: auto; flex: 0 1 auto; min-height: 180px;
    height: min(calc((100svh - var(--nav-h) - var(--safe-top)) * .65), 100vw);
    background-color: #000; transition: none;
  }
  .hero-media::before { display: none; }
  .hero-frame { width: 100%; }
  /* Ritmo vertical: un solo gap fluido entre bloques (eyebrow / H1 / sub / CTA / prueba). */
  .hero-content {
    width: 100%; min-width: 0; flex: 1 0 auto; justify-content: flex-end; align-items: stretch;
    padding: clamp(1.25rem, 3svh, 2.75rem) clamp(1.25rem, 6vw, 4rem) .55rem;
    gap: clamp(.9rem, 1.9svh, 1.6rem);
    background-image: url("../assets/hero/fondo5.jpg?v=1");
    background-size: 170% auto;
    background-position: center 30%;
  }
  .hero-eyebrow { font-size: clamp(.64rem, .4vw + .55rem, .8rem); letter-spacing: .26em; }
  .hero h1 { font-size: clamp(1.89rem, 4.96vw + .83rem, 3.54rem); line-height: 1.08; max-width: 22ch; }
  /* La frase ocupa el ancho y baja de renglón. Sin esto, en flex se queda en una línea y el hero la recorta. */
  .hero-sub {
    align-self: stretch; width: 100%; min-width: 0; max-width: 100%;
    white-space: normal; overflow-wrap: break-word;
    font-size: 1.25rem; line-height: 1.35; font-weight: 700;
    -webkit-text-stroke: 0.7px currentColor; paint-order: stroke fill;
    position: relative; isolation: isolate; background: none;
    padding: .15rem .15rem .2rem; text-shadow: 0 0 1px #fff, 0 0 8px rgba(255,255,255,.75);
  }
  .hero-sub::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -.7rem -1rem; border-radius: 6px;
    background: rgba(255, 255, 255, .55); filter: blur(9px);
  }
  .hero .btn { align-self: flex-start; margin-top: 0; min-height: 48px; padding: .8rem 1.8rem; }
  .hero-proof { gap: .45rem; font-size: clamp(.8rem, .5vw + .66rem, .95rem); line-height: 1.45; }
  .hero h1 { text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 6px rgba(255,255,255,.85), 0 0 12px rgba(255,255,255,.55); }
  .hero-eyebrow, .hero-proof a { text-shadow: none; }
  .hero-proof { justify-items: start; }
}
/* Teléfonos bajos: se achica el H1, no los espacios. */
@media (orientation: portrait) and (max-height: 700px) and (max-width: 500px) {
  .hero h1 { font-size: clamp(1.77rem, 7.55vw, 2.07rem); }
  .hero-sub { font-size: 1.2rem; }
  .hero-content { gap: clamp(.75rem, 1.7svh, 1rem); padding-top: 1rem; padding-bottom: .45rem; }
}
/* Pantallas altas en vertical: el hero mide exacto 100svh - nav (el clip se encoge si el texto lo pide). */
@media (orientation: portrait) and (min-height: 560px) {
  .hero { height: calc(100svh - var(--nav-h) - var(--safe-top)); }
}

/* ---------- Secciones ---------- */
.section { padding: 6.5rem 0; }
.section-soft { background: var(--soft); }
/* Menos separación entre Sello de Excelencia y Visítanos (mismo fondo soft) */
#garantia.section { padding-top: 2rem; padding-bottom: 1.6rem; }
#visitar.section { padding-top: 2.5rem; }

.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; }

/* ---------- Catálogo (editor → /api/products) ---------- */
.collections[aria-busy="true"] { min-height: 12rem; }
.collections.is-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.col-card { display: block; color: inherit; }
.col-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.card-col-media.has-photo { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.card-col-media.has-photo::after { display: none; }
.card-col-media.has-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.25) translateY(-10%); transform-origin: center center;
  transition: transform .6s var(--ease);
}
.col-card:hover .card-col-media.has-photo img { transform: scale(1.28) translateY(-10%); }
.col-empty { grid-column: 1 / -1; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--muted); padding: 1.5rem 0; }
.col-empty a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.col-main .section { padding-top: 3.2rem; }
.col-missing { display: grid; justify-items: center; }
.col-back { margin-top: 2.8rem; text-align: center; font-size: .86rem; }
.col-back a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(184, 134, 43, .6); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem 1.6rem; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.pcard-shot { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: #fff; cursor: zoom-in; overflow: hidden; }
.pcard-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.25) translateY(-10%); transform-origin: center center;
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard-img { transform: scale(1.28) translateY(-10%); }
.pcard-more { position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(30, 42, 85, .86); color: #fff; font-size: .68rem; letter-spacing: .06em; }
.pcard-ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--ivory), var(--gold-pale)); color: var(--gold-dark); font-family: var(--serif); font-style: italic; }
.pcard-body { padding: .75rem .9rem 1rem; display: grid; gap: .35rem; align-content: start; text-align: center; justify-items: center; }
.pcard-body h3 { font-size: 1.45rem; }
.pcard-line { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.pcard-price { font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.pcard-wa { display: inline-flex; align-items: center; gap: .45rem; margin-top: .35rem; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--gold); border-radius: 3px; color: var(--gold-dark); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .25s, color .25s; }
.pcard-wa .ico { width: 16px; height: 16px; }
.pcard-wa:hover { background: var(--gold); color: #fff; }
/* Lightbox (canon El Brillante + galería de LOV) */
body.photo-open { overflow: hidden; }
.photo-view { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(20, 28, 59, .92); padding: 3.5rem 3.5rem calc(3rem + var(--safe-bottom)); }
.photo-view[hidden] { display: none !important; }
.photo-img { max-width: min(92vw, 900px); max-height: 82svh; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 2px; }
.photo-x { position: absolute; top: max(.8rem, var(--safe-top)); right: .9rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.photo-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.photo-view.is-many .photo-nav { display: block; }
.photo-prev { left: .6rem; }
.photo-next { right: .6rem; }
.photo-x:hover, .photo-nav:hover { background: rgba(255, 255, 255, .28); }
.photo-count { pointer-events: none; position: absolute; bottom: calc(1rem + var(--safe-bottom)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .85); font-size: .8rem; letter-spacing: .1em; }
@media (max-width: 560px) {
  .photo-view { padding: 3.5rem .5rem calc(3rem + var(--safe-bottom)); }
  .photo-nav { top: auto; bottom: calc(.4rem + var(--safe-bottom)); transform: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
  .pcard-body { padding: .55rem .55rem .85rem; gap: .3rem; }
  .pcard-body h3 { font-size: 1.15rem; }
  .pcard-wa { padding: .5rem .6rem; font-size: .62rem; letter-spacing: .06em; }
}

/* ---------- 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: 1.35rem 2rem 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto; gap: 1.1rem; }
.stars { color: var(--gold); letter-spacing: .2em; font-size: 1.05rem; }
#testimonios.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
#testimonios .section-head { margin-bottom: 1.6rem; }
@media (max-width: 800px), (orientation: portrait) {
  #testimonios.section { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  #testimonios .section-head { margin-bottom: 1.1rem; }
}
.testimonial blockquote { font-family: var(--serif); font-style: italic; font-size: 17.3px; line-height: 1.5; 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); }

/* Movil: testimonios — ~2 lineas; "…" inline al final del texto visible (por quote) */
@media (max-width: 800px), (orientation: portrait) {
  .testimonials { gap: .7rem; }
  .testimonial { padding: .75rem 1.1rem 1.05rem; gap: .45rem; }
  .testimonial figcaption { padding-top: .65rem; }
  .testimonial-quote { display: block; min-width: 0; }
  .testimonial-quote blockquote {
    display: inline;
    margin: 0;
    font: inherit;
    font-family: var(--serif);
    font-style: italic;
    font-size: 17.3px;
    line-height: 1.5;
    color: var(--ink);
  }
  .testimonial-more {
    display: inline;
    margin: 0;
    border: 0;
    background: none;
    color: var(--gold-dark);
    font-family: var(--sans);
    font-style: normal;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.45;
    padding: 0 0 0 .12em;
    min-height: 0;
    vertical-align: baseline;
    cursor: pointer;
  }
  .testimonial-more:hover, .testimonial-more:focus-visible { color: var(--navy); }
}
@media (min-width: 801px) and (orientation: landscape) {
  .testimonial-more { display: none !important; }
  .testimonial-quote blockquote { display: block; }
}

/* ---------- Taller (foto de fondo + velo para texto) ---------- */
.section-taller {
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
  background-image: url("../assets/taller/nuestro-taller.jpg?v=1");
  background-size: cover;
  background-position: center;
}
.section-taller::before { content: none; }
.section-taller > .wrap { position: relative; z-index: 1; }
.taller { display: grid; grid-template-columns: minmax(0, 36rem) 1fr; gap: 2rem; align-items: center; }
.taller-copy { max-width: 36rem; }
/* Menos aire hasta el borde y debajo de Materiales */
#taller.section-taller { padding-top: 3.25rem; padding-bottom: 3.25rem; }
#taller .section-head-left { margin-bottom: 1.1rem; }
#taller .display { font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: #fff; }
#taller .section-lead { font-size: .82rem; line-height: 1.5; color: rgba(255, 255, 255, .92); }

/* ---------- 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 ---------- */
#visitar.section {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(30, 42, 85, .62), rgba(18, 28, 58, .74)),
    url("../assets/visit/local1.webp?v=1");
  background-repeat: no-repeat;
  background-position: center, center 30%;
  background-size: auto, cover;
  color: rgba(255, 255, 255, .92);
}
@media (min-width: 901px) {
  #visitar.section { background-position: center, center 18%; }
}
#visitar .display { color: var(--gold-light); }
#visitar .section-lead { color: rgba(255, 255, 255, .9); }
#visitar .nap,
#visitar .nap a { color: rgba(255, 255, 255, .92); }
.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; }

/* ---------- 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: #25D366; color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .38);
  opacity: 1; visibility: visible;
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s, visibility .3s;
}
.float:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(37, 211, 102, .48); }
.float.is-hidden { opacity: 0; visibility: hidden; 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(--nav-bg-open); 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; }
  .nav-start { gap: .45rem; }
  .nav-end { gap: .6rem; }
  .theme-toggle { padding: .4rem .45rem; letter-spacing: .08em; }
  html[data-theme="night"] .nav-links a:not(.btn) { border-bottom-color: rgba(255, 255, 255, .22); }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 3.25rem 0; }
  #garantia.section { padding-top: 1rem; padding-bottom: 1rem; }
  #visitar.section { padding-top: 1.5rem; }
  .collections, .testimonials, .badges { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .testimonials { gap: .7rem; }
  .taller, .visit { grid-template-columns: 1fr; gap: 3rem; }
  .taller { grid-template-columns: 1fr; }
  #taller.section-taller { padding-top: 2rem; padding-bottom: 2rem; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 2.25rem, 1140px); }
  #garantia.section { padding-top: .75rem; padding-bottom: .75rem; }
  #visitar.section { padding-top: 1.1rem; }
  html[data-theme="night"] { --wrap-gutter: 2.25rem; }
  .section { padding: 2.75rem 0; }
  #taller.section-taller { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .section-head { margin-bottom: 1.8rem; }
  .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; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   Libro de reclamaciones
   ========================================================== */
.libro-main { padding: 3rem 0 4.5rem; }
.libro-wrap { width: min(100% - var(--wrap-gutter), 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.05rem; 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; }
}

/* ---------- Grillas del catálogo: 3 por fila (escritorio/horizontal), 2 (móvil y vertical) ----------
   Columnas de ancho fijo + auto-fit: las tarjetas miden siempre 1/3 (o 1/2) y si hay menos se centran. */
.collections, .pgrid {
  --cg: 1.8rem; --cols: 3;
  grid-template-columns: repeat(auto-fit, calc((100% - (var(--cols) - 1) * var(--cg)) / var(--cols)));
  justify-content: center; gap: 2.2rem var(--cg); max-width: none; margin-inline: 0;
}
.collections.is-single { grid-template-columns: repeat(auto-fit, calc((100% - (var(--cols) - 1) * var(--cg)) / var(--cols))); }
.col-card .card-col-media { aspect-ratio: 4 / 3; }
.col-card .card-col-body { padding: .55rem 1rem .35rem; gap: .2rem; }
.col-card .card-col-body h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.15; }
.col-card .card-col-body .btn { margin-top: .15rem; }
@media (orientation: portrait), (max-width: 760px) {
  .collections, .pgrid { --cols: 2; --cg: clamp(.8rem, 2.6vw, 1.4rem); row-gap: clamp(1rem, 3vw, 1.8rem); }
  .col-card .card-col-body { padding: .4rem .55rem .28rem; gap: .15rem; }
  .col-card .card-col-body h3 { font-size: clamp(1.05rem, .8rem + 1.6vw, 1.5rem); }
  .col-card .card-col-body .btn { padding: .55rem .7rem; font-size: .62rem; letter-spacing: .08em; margin-top: .1rem; }
  .pcard-body { padding: .55rem .55rem .85rem; gap: .3rem; }
  .pcard-body h3 { font-size: clamp(1.05rem, .8rem + 1.6vw, 1.4rem); }
  .pcard-wa { padding: .5rem .6rem; font-size: .62rem; letter-spacing: .06em; }
}
/* Mismo alto en todas las filas; botón/pie alineado abajo */
.pgrid { grid-auto-rows: 1fr; }
.collections { align-items: start; }
.collections > .col-card { display: flex; flex-direction: column; position: relative; }
/* Póster de categoría: cuadrado entero (el nombre va en la foto). El h3 queda solo para lectores. */
.col-card .card-col-media.is-poster { aspect-ratio: 1 / 1; }
.card-col-media.is-poster img,
.col-card:hover .card-col-media.is-poster img { transform: none; }
.col-card:has(.is-poster) .card-col-body {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.col-card .card-col-body { align-content: start; align-items: center; }
.pcard-body { display: flex; flex-direction: column; align-items: center; }
.pcard-wa { margin-top: auto; }

/* ---------- Certificación y confianza (diseño de Yan, 2026-10-03) ---------- */
.cert { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; }
#certificacion.section { padding-block: 4.5rem; }
#certificacion.section-navy {
  background:
    linear-gradient(rgba(30, 42, 85, .62), rgba(18, 28, 58, .74)),
    url("../assets/cert/diamantes.webp?v=1") center 42% / cover no-repeat;
}
#certificacion.section-navy::before { display: none; }
.cert-intro .section-head { margin-bottom: 1.3rem; gap: .7rem; }
.cert-lead { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.15; color: #fff !important; }
.cert-text { color: rgba(255, 255, 255, .82); font-size: 1rem; line-height: 1.75; max-width: 30rem; }
.btn-ghost-light { margin-top: 2rem; background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; border-radius: 999px; padding: .95rem 1.8rem; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.cert-aside { min-width: 0; display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem); }
.cert-visual { margin: 0 auto; align-self: center; width: min(100%, 420px); max-width: 68%; min-width: 0; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px rgba(10, 16, 40, .28); padding: 0; overflow: hidden; }
.cert-visual img { display: block; width: 100%; max-width: 100%; height: auto; }
.cert-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 152px); justify-content: center; gap: .8rem; align-items: stretch; }
.cert-card { background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(10, 16, 40, .28); padding: 1.15rem .8rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.cert-logo { height: 42px; width: auto; margin: .2rem 0 .25rem; }
.cert-brand { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; margin: .1rem 0 .2rem; }
.cert-seal { height: 46px; width: 46px; object-fit: contain; }
.cert-word { font-family: var(--serif); font-weight: 500; font-size: 2.05rem; line-height: 1; letter-spacing: .03em; color: #1a1a1a; }
.cert-card h3 { font-family: var(--sans); font-size: 9.6px; font-weight: 600; color: var(--navy); line-height: 1.3; letter-spacing: .01em; }
.cert-card > p { font-family: var(--sans); color: #24356a; font-size: 8.3px; font-weight: 500; line-height: 1.4; max-width: 17rem; }
.cert-stone { width: auto; max-width: 92%; height: 85px; object-fit: contain; margin: .35rem auto .1rem; }
@media (min-width: 981px) {
  .cert-cards { grid-template-columns: repeat(2, 200px); }
  .cert-card { padding: 1.5rem 1.05rem 1.3rem; gap: .46rem; }
  .cert-logo { height: 55px; }
  .cert-brand { min-height: 55px; }
  .cert-seal { height: 60px; width: 60px; }
  .cert-word { font-size: 2.7rem; }
  .cert-card h3 { font-size: 12.6px; }
  .cert-card > p { font-size: 10.9px; }
  .cert-stone { height: 112px; }
}
@media (max-width: 980px) {
  .cert { grid-template-columns: 1fr; }
  .cert-intro { text-align: center; }
  .cert-intro .section-head { text-align: center; margin-inline: auto; }
  .cert-text { margin-inline: auto; }
}
@media (max-width: 800px) {
  .cert { grid-template-columns: minmax(0, 1fr); justify-content: stretch; width: 100%; }
  .cert-visual { display: block; width: min(100%, 280px); max-width: 72%; margin-inline: auto; overflow: visible; }
  .cert-visual img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
  #certificacion.section { padding-block: 2.4rem; }
}
/* ---------- Taller v2 (2026-10-03): foto real + 3 puntos con icono dorado ---------- */
.taller-points { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 1.15rem; }
.taller-points li { display: flex; align-items: center; gap: 1.2rem; }
.taller-ico { flex: 0 0 auto; width: 52px; height: 52px; color: var(--gold); }
.taller-points span { font-size: .84rem; font-weight: 500; color: #fff; line-height: 1.35; }
@media (max-width: 900px) {
  .taller-points { max-width: 26rem; }
}
@media (max-width: 560px) {
  .taller-ico { width: 44px; height: 44px; }
  .taller-points { gap: .95rem; margin-top: .85rem; }
  #taller .display { font-size: 1.7rem; }
  #taller .section-lead { font-size: .95rem; }
  .taller-points span { font-size: .95rem; }
}

/* ---------- El Sello de Excelencia Mónaco (#garantia, 2026-10-03) ---------- */
.guarantee.seal { max-width: 68rem; gap: .4rem; padding: 1.35rem 2.4rem 1.8rem; }
#garantia .display { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
#garantia .section-lead { font-size: .88rem; line-height: 1.5; }
.guarantee-shield { width: 64px; height: 64px; color: var(--gold); margin: 0 0 .05rem; }
.seal .section-lead { max-width: 46rem; }
.seal-points { list-style: none; margin: .5rem 0 0; padding: .55rem 0 0; border-top: 1px solid var(--line); width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; text-align: center; }
.seal-point { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.seal-point > div { display: grid; gap: .45rem; }
.seal-ico { flex: 0 0 auto; width: 48px; height: 48px; color: var(--gold); }
.seal-point h3 { font-size: 1.1rem; color: var(--navy); }
.seal-point p { color: var(--muted); font-size: .82rem; line-height: 1.5; }
@media (max-width: 860px) {
  .seal-points { grid-template-columns: 1fr; gap: 1.6rem; text-align: left; max-width: 32rem; margin-inline: auto; }
  .seal-point { flex-direction: row; align-items: flex-start; gap: 1.1rem; }
  .seal-ico { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .guarantee.seal { padding: 1.05rem 1.1rem 1.4rem; }
  .seal-points { margin-top: .4rem; padding-top: .45rem; }
  .guarantee-shield { width: 54px; height: 54px; }
  #garantia .display { font-size: 1.5rem; }
  #garantia .section-lead { font-size: .9rem; }
  .seal-point h3 { font-size: 1.02rem; }
  .seal-point p { font-size: .84rem; }
}

/* ---------- Marino (night): blanco puro donde el claro usa marfil/crema (2026-10-04) ----------
   Mismos stops y opacidades que el claro; solo cambia el color a blanco. --gold-pale queda solo
   como acento dorado suave (no fondo de seccion). */
html[data-theme="night"] .hero-media::before { background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); }
html[data-theme="night"] .hero-content { background-image: url("../assets/hero/fondo5.jpg?v=1"); }
html[data-theme="night"] .card-col-media,
html[data-theme="night"] .pcard-ph { background: #ffffff; }
html[data-theme="night"] .map-placeholder {
  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,
    #ffffff;
}
html[data-theme="night"] .section-soft { background: #ffffff; }
html[data-theme="night"] .footer { background: var(--navy); color: rgba(255, 255, 255, .86); }
html[data-theme="night"] .footer-brand p,
html[data-theme="night"] .footer-col li,
html[data-theme="night"] .footer-bottom,
html[data-theme="night"] .footer-libro { color: rgba(255, 255, 255, .82); }
html[data-theme="night"] .footer-col h3 { color: var(--gold-light); }
html[data-theme="night"] .footer-col a:hover { color: #fff; }
html[data-theme="night"] .footer-socials a { border-color: rgba(255, 255, 255, .7); color: #fff; }
html[data-theme="night"] .footer-socials a:hover { background: #fff; color: var(--navy); }
html[data-theme="night"] .footer-bottom { border-top-color: rgba(255, 255, 255, .2); }
html[data-theme="night"] .section-taller { background-color: #141c3b; }
@media (max-width: 800px), (orientation: portrait) {
  html[data-theme="night"] .hero { background: #ffffff; }
  html[data-theme="night"] .hero-content { background-image: url("../assets/hero/fondo5.jpg?v=1"); }
  html[data-theme="night"] .hero-sub { background: none; }
}
@media (max-width: 1060px) {
  html[data-theme="night"] .nav-links a:not(.btn) { border-bottom-color: rgba(255, 255, 255, .22); }
}
