/* =====================================================================
   SISTEMA DE DISEÑO PÚBLICO
   Personalidad: tipografía Bricolage Grotesque + ritmo espacial +
   "keyline de marca" (línea del color del cliente como hilo conductor).
   Los colores de marca llegan como variables desde el layout (--brand, etc.).
   ===================================================================== */

/* ---- Fuentes (vendorizadas, sin CDN) -------------------------------- */
@font-face { font-family:'Bricolage'; font-weight:500; font-display:swap; src:url('../vendor/fonts/bricolage-grotesque-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Bricolage'; font-weight:600; font-display:swap; src:url('../vendor/fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'Bricolage'; font-weight:700; font-display:swap; src:url('../vendor/fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Bricolage'; font-weight:800; font-display:swap; src:url('../vendor/fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }

/* ---- Tokens --------------------------------------------------------- */
:root {
    --ink:        #171A1F;
    --ink-soft:   #5B6672;
    --ink-faint:  #8B939D;
    --paper:      #FFFFFF;
    --sand:       #F6F5F1;   /* off-white cálido para secciones alternas */
    --line:       #E7E6E0;   /* hairline cálido */
    --line-soft:  #F0EFEA;

    --display: 'Bricolage', 'Segoe UI', system-ui, sans-serif;
    --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --wrap: 1160px;
    --gap: clamp(56px, 8vw, 112px);   /* ritmo vertical entre secciones */
    --r: 14px;
    --r-sm: 9px;
    --shadow: 0 1px 2px rgba(23,26,31,.04), 0 12px 32px -12px rgba(23,26,31,.14);

    /* Fallbacks si el layout no inyecta marca */
    --brand: #1f6feb; --brand-ink: #ffffff;
    --btn: #1f6feb; --btn-ink: #ffffff;
    --footer-bg: #0d1117; --footer-ink: #e9edf2;
}

/* ---- Reset / base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper);
    font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

/* ---- Firma: keyline de marca ---------------------------------------- */
.brandline { height: 3px; background: var(--brand); width: 100%; }

/* ---- Utilidades ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section { padding: var(--gap) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

/* Eyebrow: etiqueta corta con "tick" de marca (motivo estructural) */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--display); font-weight: 600; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .14em; color: var(--brand);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--brand); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; }

/* ---- Botones -------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--display); font-weight: 600; font-size: 1rem;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn--primary { background: var(--btn); color: var(--btn-ink); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--btn) 60%, transparent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--on-brand { background: var(--brand-ink); color: var(--brand); }
.btn--on-brand:hover { transform: translateY(-2px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9);
    backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand-logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--ink); }
.brand-logo img { height: 40px; width: auto; }
.brand-logo__dot { width: 11px; height: 11px; border-radius: 3px; background: var(--brand); flex: none; }

/* Navegación */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
    font-weight: 500; font-size: .98rem; color: var(--ink); transition: color .15s, background .15s;
}
.nav__link:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.nav__item--has-children > .nav__link::after { content: "▾"; font-size: .7em; color: var(--ink-faint); }

/* Submenú desplegable */
.nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow);
    padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.nav__item--has-children:hover .nav__sub,
.nav__item--has-children:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 7px; font-size: .95rem; color: var(--ink); }
.nav__sub a:hover { background: var(--sand); color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburguesa / drawer móvil */
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav-backdrop { display: none; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .header-cta .btn { display: none; }
    .nav {
        position: fixed; top: 0; right: 0; height: 100dvh; width: min(84vw, 340px);
        background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 88px 20px 24px; transform: translateX(100%); transition: transform .28s ease;
        box-shadow: -20px 0 40px -20px rgba(0,0,0,.3); overflow-y: auto; z-index: 70;
    }
    body.nav-open .nav { transform: translateX(0); }
    body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(10,14,20,.4); z-index: 65; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav__link { padding: 14px 16px; font-size: 1.05rem; border-radius: 10px; }
    .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 16px; padding: 0; }
    .nav__item--has-children > .nav__link::after { margin-left: auto; }
}

/* =====================================================================
   HERO (portada)
   ===================================================================== */
/* Hero tipográfico (cuando no hay banner) */
.hero-type { padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 7vw, 96px); }
.hero-type__inner { max-width: 860px; }
.hero-type h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.035em; }
.hero-type p { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--ink-soft); margin-top: 22px; max-width: 640px; }
.hero-type .btn { margin-top: 34px; }

/* Banner slider */
.banner { position: relative; overflow: hidden; background: var(--sand); }
.banner__track { display: flex; transition: transform .6s cubic-bezier(.6,.02,.1,1); }
.banner__slide { min-width: 100%; position: relative; }
.banner__slide img { width: 100%; height: clamp(240px, 42vw, 560px); object-fit: cover; }
.banner__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.banner__dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.55); border: 0; cursor: pointer; padding: 0; transition: .2s; }
.banner__dot.is-active { background: #fff; width: 26px; }
.banner__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 999px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.2rem; display: grid; place-items: center;
    box-shadow: var(--shadow);
}
.banner__arrow--prev { left: 16px; } .banner__arrow--next { right: 16px; }
.banner__arrow:hover { background: #fff; }
@media (max-width: 640px) { .banner__arrow { display: none; } }

/* =====================================================================
   BLOQUE PRESENTACIÓN
   ===================================================================== */
.presentation__inner { max-width: 780px; }
.presentation h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.presentation .rich { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
.presentation .rich :where(p) { margin: 0 0 .8em; }
.presentation .btn { margin-top: 28px; }

/* =====================================================================
   TARJETAS (productos / galería)
   ===================================================================== */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card__media { aspect-ratio: 4/3; background: var(--sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 600; }
.card__title { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.card__desc { color: var(--ink-soft); font-size: .95rem; }
.card__price { margin-top: auto; padding-top: 10px; font-family: var(--display); font-weight: 700; color: var(--ink); }
.card__price .muted { color: var(--ink-faint); font-weight: 500; }

.section-cta { margin-top: clamp(32px, 5vw, 48px); display: flex; justify-content: center; }

/* Galería (mosaico) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--sand); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* =====================================================================
   BLOQUE DESTACADO (imagen + texto)
   ===================================================================== */
.featured__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .featured__inner { grid-template-columns: 1fr; } }
.featured__media img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.featured h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.featured .rich { color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
.featured .btn { margin-top: 26px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: clamp(52px, 7vw, 84px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; color: #fff; }
.footer-col h4 { font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: color-mix(in srgb, var(--footer-ink) 65%, transparent); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { color: var(--footer-ink); opacity: .82; font-size: .96rem; margin: 0 0 10px; transition: opacity .15s; }
.footer-col a:hover { opacity: 1; }
.footer-contact-line { display: flex; gap: 10px; align-items: flex-start; }
.social-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.social-row a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--footer-ink) 12%, transparent); opacity: 1; }
.social-row a:hover { background: var(--brand); color: var(--brand-ink); }
.social-row svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid color-mix(in srgb, var(--footer-ink) 15%, transparent); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .87rem; opacity: .72; }
.footer-bottom a { color: var(--footer-ink); }

/* =====================================================================
   WHATSAPP FLOTANTE + COOKIES
   ===================================================================== */
.wa-float {
    position: fixed; bottom: 22px; right: 22px; z-index: 80;
    width: 58px; height: 58px; border-radius: 999px; background: #25D366; color: #fff;
    display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(37,211,102,.6);
    transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.cookies {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 75;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px -12px rgba(0,0,0,.15);
    padding: 16px clamp(16px, 4vw, 32px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
}
.cookies p { margin: 0; font-size: .92rem; color: var(--ink-soft); max-width: 640px; }
.cookies a { color: var(--brand); font-weight: 600; }
.cookies__actions { display: flex; gap: 10px; }
.cookies.is-hidden { display: none; }

/* =====================================================================
   PÁGINA DE CONTENIDO (páginas simples)
   ===================================================================== */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.page-hero .lead { color: var(--ink-soft); font-size: 1.15rem; margin-top: 16px; max-width: 640px; }
.page-cover { width: 100%; border-radius: var(--r); margin: 8px 0 clamp(28px,4vw,44px); aspect-ratio: 21/9; object-fit: cover; box-shadow: var(--shadow); }
.rich-content { max-width: 760px; font-size: 1.08rem; color: #2a2f37; }
.rich-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 .5em; }
.rich-content h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.rich-content p { margin: 0 0 1.1em; }
.rich-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.rich-content ul, .rich-content ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.rich-content li { margin: .3em 0; }
.rich-content img { border-radius: var(--r-sm); margin: 1em 0; }
.rich-content blockquote { border-left: 3px solid var(--brand); margin: 1.2em 0; padding: .2em 0 .2em 1.2em; color: var(--ink-soft); font-style: italic; }

/* ---- Animación de aparición (respeta reduce-motion) ----------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .banner__track { transition: none; }
}

/* ---- 404 ------------------------------------------------------------ */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; color: var(--brand); }
.notfound p { color: var(--ink-soft); font-size: 1.1rem; margin: 8px 0 24px; }

/* ---- Lightbox ------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10,12,16,.92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* =====================================================================
   CATÁLOGO / FICHA DE PRODUCTO / GALERÍA PÚBLICA
   ===================================================================== */
/* Encabezado de listado */
.list-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.list-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.list-hero p { color: var(--ink-soft); margin-top: 12px; font-size: 1.08rem; }

/* Filtro por categoría (chips) */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 clamp(28px, 4vw, 40px); }
.chip {
    font-family: var(--display); font-weight: 600; font-size: .92rem; padding: 9px 18px; border-radius: 999px;
    border: 1.5px solid var(--line); color: var(--ink-soft); background: #fff; transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* Paginación */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: clamp(32px, 5vw, 48px); flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px;
    border: 1.5px solid var(--line); font-weight: 600; font-family: var(--display); color: var(--ink);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-active { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* Breadcrumb */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-faint); padding: clamp(20px,3vw,28px) 0 0; flex-wrap: wrap; }
.crumbs a { color: var(--ink-soft); } .crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink); }

/* Ficha: layout */
.product { padding: clamp(20px, 3vw, 36px) 0 var(--gap); }
.product__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .product__top { grid-template-columns: 1fr; } }

.product-gallery__main { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.product-gallery__thumbs button { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--line); background: none; cursor: pointer; padding: 0; }
.product-gallery__thumbs button.is-active { border-color: var(--brand); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info .eyebrow { margin-bottom: 12px; }
.product-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.product-price { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin: 16px 0; color: var(--ink); }
.product-price .muted { color: var(--ink-faint); font-weight: 600; font-size: 1.15rem; }
.product-lead { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 20px; }
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(37,211,102,.5); }
.btn--wa svg { width: 20px; height: 20px; fill: currentColor; }

/* Descripción + secciones */
.product__body { max-width: 820px; margin-top: clamp(36px, 5vw, 56px); }
.product__body .rich-content { max-width: none; }
.acc { border-top: 1px solid var(--line); margin-top: 28px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 18px 4px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.acc details[open] summary::after { content: "–"; }
.acc .acc__content { padding: 0 4px 20px; color: #2a2f37; }
.acc .acc__content p { margin: 0 0 .8em; }

/* Formulario de consulta */
.inquiry { margin-top: clamp(40px, 6vw, 64px); background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); max-width: 820px; }
.inquiry h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.inquiry p.sub { color: var(--ink-soft); margin: 8px 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .92rem; }
.form-field input, .form-field textarea {
    font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field.honey { position: absolute; left: -9999px; opacity: 0; }
.form-err { color: #b42318; font-size: .85rem; }
.form-actions { margin-top: 18px; }
.alert { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: .96rem; }
.alert--ok { background: #E7F6EE; border: 1px solid #B7E0C8; color: #10643a; }
.alert--err { background: #FEECEB; border: 1px solid #F5C4C0; color: #93251c; }

/* =====================================================================
   CATÁLOGO
   ===================================================================== */
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip {
    font-family: var(--display); font-weight: 500; font-size: .95rem;
    padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
    color: var(--ink-soft); background: #fff; transition: all .15s ease; cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.catalog-empty { padding: 60px 20px; text-align: center; color: var(--ink-soft); }

/* =====================================================================
   FICHA DE PRODUCTO
   ===================================================================== */
.ficha { padding: clamp(28px, 4vw, 48px) 0 var(--gap); }
.ficha__back { display: inline-flex; gap: 6px; color: var(--ink-soft); font-size: .92rem; margin-bottom: 22px; }
.ficha__back:hover { color: var(--brand); }
.ficha__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .ficha__grid { grid-template-columns: 1fr; } }

.ficha-gallery__main { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; background: var(--sand); border: 1px solid var(--line); cursor: zoom-in; }
.ficha-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.ficha-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.ficha-gallery__thumb { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--line); background: var(--sand); cursor: pointer; flex: none; transition: border-color .15s; }
.ficha-gallery__thumb.is-active { border-color: var(--brand); }
.ficha-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.ficha-info__cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); font-weight: 600; }
.ficha-info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 8px 0 14px; }
.ficha-info__price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--ink); margin: 6px 0 4px; }
.ficha-info__price .muted { color: var(--ink-faint); font-weight: 600; font-size: 1.2rem; }
.ficha-info__short { color: var(--ink-soft); font-size: 1.08rem; margin: 14px 0 24px; }
.ficha-info__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(37,211,102,.6); }
.btn--wa svg { width: 20px; height: 20px; fill: currentColor; }

.ficha-desc { max-width: 820px; margin-top: clamp(36px, 5vw, 56px); }
.ficha-desc .rich-content { max-width: none; }

/* Acordeón de secciones */
.ficha-sections { max-width: 820px; margin-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__sum { list-style: none; cursor: pointer; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.acc[open] .acc__sum::after { content: "−"; }
.acc__body { padding: 0 4px 22px; color: #2a2f37; }
.acc__body .rich-content { max-width: none; font-size: 1.02rem; }

/* =====================================================================
   FORMULARIOS PÚBLICOS
   ===================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.form-input, .form-textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--brand); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-field.is-invalid .form-input, .form-field.is-invalid .form-textarea { border-color: #C6362F; }
.form-error { color: #C6362F; font-size: .86rem; margin-top: 6px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 20px; font-size: .96rem; }
.alert--ok { background: #EAF7EF; border: 1px solid #B7E4C7; color: #1B7A43; }
.alert--error { background: #FDECEA; border: 1px solid #F5C2BD; color: #B02A22; }

/* =====================================================================
   FAQs
   ===================================================================== */
.faq-group { margin-bottom: clamp(28px, 4vw, 44px); }
.faq-group__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.faq-cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.faq-cta p { color: var(--ink-soft); margin-bottom: 14px; }

/* =====================================================================
   CONTACTO
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-line__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 600; }
.contact-line a:hover { color: var(--brand); }
.contact-map { margin-top: 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; }

/* ---- FAQs ----------------------------------------------------------- */
.faq-group { margin-bottom: clamp(32px, 5vw, 48px); }
.faq-group__title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; margin-bottom: 4px; }

/* ---- Página de contacto -------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.contact-line:first-child { padding-top: 0; }
.contact-line__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 600; }
.contact-line a:hover { color: var(--brand); }
.contact-map { margin-top: clamp(32px, 5vw, 52px); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; }

/* Separador del crédito en el pie */
.footer-sep { margin: 0 6px; opacity: .4; }
