/* ================================================================
   ZUBIZARRETA SYSTEMS — Public Web CSS
   Estilo: Moderno artesanal / Limpio y profesional
   Paleta: Blancos + neutros + acento verde/tierra
   Tipografía: DM Sans + Fraunces (serif display)
   ================================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
    /* Paleta pública — más cálida que el admin pero más moderna que antes */
    --white:         #FFFFFF;
    --gray-50:       #FAFAFA;
    --gray-100:      #F5F5F5;
    --gray-200:      #E5E5E5;
    --gray-300:      #D4D4D4;
    --gray-400:      #A3A3A3;
    --gray-500:      #737373;
    --gray-700:      #404040;
    --gray-900:      #171717;

    --ink:           #111111;
    --ink-soft:      #374151;
    --ink-muted:     #6B7280;
    --ink-faint:     #9CA3AF;

    /* Acento principal — verde tierra / ocre */
    --brand:         #1A1A1A;        /* Negro para títulos */
    --accent:        #16A34A;        /* Verde */
    --accent-dark:   #15803D;
    --accent-light:  #DCFCE7;
    --earth:         #92400E;        /* Tierra */
    --earth-light:   #FEF3C7;
    --warm:          #F5F0E8;        /* Fondo cálido */
    --warm-dark:     #EDE7DB;
    --warm-border:   #DDD5C8;

    /* Estados */
    --success:       #16A34A;
    --error:         #DC2626;
    --warning:       #D97706;

    /* Tipografía */
    --font-display:  'Fraunces', 'Cormorant Garant', Georgia, serif;
    --font-body:     'DM Sans', 'Inter', system-ui, sans-serif;
    --font-mono:     'JetBrains Mono', monospace;

    /* Espaciado */
    --nav-h:         68px;
    --radius-sm:     4px;
    --radius:        8px;
    --radius-lg:     14px;
    --radius-xl:     20px;

    /* Sombras */
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow:        0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:     0 16px 48px rgba(0,0,0,0.12);
    --shadow-xl:     0 24px 64px rgba(0,0,0,0.16);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--ink-soft);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ── Contenedor ──────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1400px; }

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

/* ================================================================
   NAVBAR
   ================================================================ */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: var(--shadow); }

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.navbar-logo-img {
    height: 36px;
    width: auto;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0 auto;
}

.navbar-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-muted);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--ink);
    background: var(--gray-100);
}

.navbar-cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none;
    cursor: pointer; padding: 6px;
    margin-left: auto;
}

.navbar-toggle span {
    display: block;
    width: 100%; height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.25s;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(17,17,17,0.88) 0%,
        rgba(17,17,17,0.6)  55%,
        rgba(17,17,17,0.25) 100%
    );
}

.hero .container { position: relative; z-index: 1; padding-top: var(--nav-h); }

.hero-content {
    max-width: 580px;
    padding: 5rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px; height: 1px;
    background: rgba(255,255,255,0.35);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6.5vw, 4.5rem);
    font-weight: 300;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
}

.hero-body {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: rgba(255,255,255,0.6);
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
}

/* ================================================================
   SECCIONES
   ================================================================ */

.section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--dark  { background: var(--ink); }
.section--warm  { background: var(--warm); }
.section--gray  { background: var(--gray-50); }
.section--white { background: var(--white); }

/* ── Encabezado ──────────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    flex-wrap: wrap;
}

.section-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.625rem;
}

.section--dark .section-eyebrow { color: rgba(255,255,255,0.35); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.625rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section--dark .section-title { color: white; }

.section-subtitle {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.75;
    margin-top: 0.75rem;
    max-width: 520px;
}

.section--dark .section-subtitle { color: rgba(255,255,255,0.45); }

.section-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    transition: gap 0.2s;
}

.section-link::after { content: '→'; }
.section-link:hover  { gap: 0.625rem; }

/* ================================================================
   BOTONES
   ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.625rem 1.375rem;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-lg { padding: 0.75rem 1.75rem; font-size: 14px; }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 12px; }

.btn-primary {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.btn-primary:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-accent {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--ink);
    background: var(--gray-50);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-muted);
    border-color: transparent;
}
.btn-ghost:hover { color: var(--ink); background: var(--gray-100); }

.btn-full { width: 100%; }

/* ── WhatsApp ────────────────────────────────────────────── */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
}

.btn-whatsapp:hover {
    background: #1fba58;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}

/* ================================================================
   BARRA DE VALORES
   ================================================================ */

.values-bar {
    background: var(--ink);
    padding: 2rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    overflow: hidden;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s;
}

.value-item:last-child { border-right: none; }
.value-item:hover { background: rgba(255,255,255,0.03); }

.value-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.value-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: white;
    letter-spacing: -0.01em;
}

/* ================================================================
   QUIÉNES SOMOS
   ================================================================ */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 7vw, 5rem);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-badge {
    position: absolute;
    top: 2rem;
    left: -1.5rem;
    background: var(--ink);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    display: block;
}

.about-badge-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    display: block;
    margin-top: 2px;
}

.about-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink-muted);
    margin-top: 1.25rem;
}

/* ================================================================
   TARJETAS DE PRODUCTO
   ================================================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.products-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/4;
    background: var(--gray-100);
    flex-shrink: 0;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 1.125rem 1.25rem 1.375rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.375rem;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.375rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 13px;
    color: var(--ink-faint);
    line-height: 1.6;
    margin-bottom: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid var(--gray-100);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.product-unit {
    font-size: 12px;
    color: var(--ink-faint);
}

/* Badges */
.badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 3px;
    z-index: 1;
}

.badge-featured   { background: var(--ink); color: white; }
.badge-lowstock   { background: var(--warning); color: white; }
.badge-outofstock { background: var(--gray-400); color: white; }

/* ================================================================
   GALERÍA
   ================================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.gallery-grid--masonry {
    columns: 3;
    column-gap: 0.75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 0.75rem;
    background: var(--gray-100);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(17,17,17,0.4);
}

.gallery-caption {
    color: white;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: none;
}

/* ================================================================
   VALORES
   ================================================================ */

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.valor-card {
    padding: 2rem 1.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.valor-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--gray-300);
}

.valor-card:hover::before { transform: scaleX(1); }

.valor-icon {
    width: 44px; height: 44px;
    background: var(--accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    font-size: 1.25rem;
}

.valor-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.valor-text {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.75;
}

/* ================================================================
   BLOG
   ================================================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.blog-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.625rem;
    display: block;
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.625rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 1rem;
    transition: gap 0.2s;
}

.blog-read-more::after { content: '→'; }
.blog-read-more:hover  { gap: 8px; }

/* ================================================================
   HORARIO
   ================================================================ */

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr { border-bottom: 1px solid var(--gray-200); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table tr.closed td { color: var(--ink-faint); }

.hours-table td {
    padding: 0.625rem 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.hours-table td:first-child { font-weight: 600; color: var(--ink); }
.hours-table td:last-child  { text-align: right; color: var(--ink-muted); }

/* Dark variant */
.hours-table--dark tr       { border-color: rgba(255,255,255,0.08); }
.hours-table--dark td       { color: rgba(255,255,255,0.5); }
.hours-table--dark td:first-child { color: rgba(255,255,255,0.75); }
.hours-table--dark td:last-child  { color: rgba(255,255,255,0.4); }
.hours-table--dark tr.closed td   { color: rgba(255,255,255,0.2); }

/* ================================================================
   CONTACTO
   ================================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-item:last-child { border-bottom: none; }

.contact-item-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: block;
    margin-bottom: 0.375rem;
}

.contact-item-value {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.65;
}

.contact-item-value a {
    color: var(--accent);
    transition: opacity 0.2s;
}

.contact-item-value a:hover { opacity: 0.75; }

.contact-form-wrapper {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-note {
    font-size: 13px;
    color: var(--ink-faint);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ================================================================
   UBICACIÓN
   ================================================================ */

.location-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.location-section { margin-bottom: 1.75rem; }

.location-section h3 {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.transport-item {
    font-size: 14px;
    color: var(--ink-muted);
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gray-100);
    line-height: 1.5;
}

.transport-item:last-child { border-bottom: none; }

.location-map iframe {
    width: 100%;
    border-radius: var(--radius-xl);
    display: block;
    box-shadow: var(--shadow-lg);
}

/* ================================================================
   PAGE HEADER
   ================================================================ */

.page-header {
    background: var(--ink);
    padding: clamp(4rem, 10vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
    margin-top: var(--nav-h);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 300;
    color: white;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

/* ================================================================
   PRODUCT DETAIL
   ================================================================ */

.page-content { padding-top: var(--nav-h); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    padding: 3rem 0;
}

.product-detail-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gray-100);
}

.product-detail-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.product-category-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.625rem;
}

.product-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.875rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.product-detail-summary {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.price-unit { font-size: 14px; color: var(--ink-faint); }
.price-tax  { font-size: 12px; color: var(--ink-faint); }

.stock-status { font-size: 13px; font-weight: 600; margin-bottom: 1.25rem; }
.stock-ok     { color: var(--success); }
.stock-low    { color: var(--warning); }
.stock-empty  { color: var(--error); }

.whatsapp-cta {
    background: var(--accent-light);
    border: 1px solid rgba(22,163,74,0.2);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.whatsapp-cta p {
    font-size: 14px;
    color: #166534;
    line-height: 1.65;
}

.product-meta {
    border-top: 1px solid var(--gray-100);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.product-meta-item {
    font-size: 13px;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-meta-item::before {
    content: '✓';
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.product-meta-item a { color: var(--accent); }

.product-description {
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}

.product-description h2 {
    font-family: var(--font-display);
    font-size: 1.625rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.description-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink-muted);
    max-width: 700px;
}

.related-products {
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}

/* ================================================================
   CATÁLOGO
   ================================================================ */

.catalog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 0.625rem;
    max-width: 460px;
}

.search-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--ink);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 99px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.filter-tag:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.filter-tag.active {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}

.search-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 13px;
    color: var(--ink-muted);
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.clear-filters {
    font-size: 12px;
    font-weight: 700;
    color: var(--error);
    margin-left: auto;
    cursor: pointer;
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 1rem;
    max-width: 380px;
    margin: 0 auto;
}

.empty-line {
    width: 40px; height: 2px;
    background: var(--gray-200);
    margin: 0 auto 1.5rem;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.empty-state p {
    font-size: 14px;
    color: var(--ink-faint);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ── Paginación ──────────────────────────────────────────── */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 1.25rem 0;
    font-size: 12px;
    color: var(--ink-faint);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--ink-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--gray-300); }

/* ================================================================
   FORMULARIOS PÚBLICOS
   ================================================================ */

.form-group { margin-bottom: 1.125rem; }

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 0.6875rem 0.875rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--ink);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    line-height: 1.65;
}

/* ================================================================
   WHATSAPP FLOTANTE
   ================================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.whatsapp-float-btn {
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}

.whatsapp-float-btn svg { color: white; }

.whatsapp-float-tooltip {
    background: var(--ink);
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.2s;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: none;
}

/* ================================================================
   BANNER TIENDA CERRADA
   ================================================================ */

.store-closed-banner {
    background: var(--ink);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 13px;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 101;
    letter-spacing: 0.01em;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.5);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.35);
    max-width: 280px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.125rem;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer ul a {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: color 0.2s;
}

.footer ul a:hover { color: white; }

.footer-contact p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,0.4);
}

.footer-contact a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-contact a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
    transition: color 0.2s;
}

.footer-legal-links a:hover { color: rgba(255,255,255,0.6); }

.footer-powered {
    font-size: 10px;
    color: rgba(255,255,255,0.12);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-powered:hover { color: rgba(255,255,255,0.35); }

/* ================================================================
   FLASH MESSAGES (PÚBLICO)
   ================================================================ */

.flash-container {
    position: fixed;
    top: calc(var(--nav-h) + 1rem);
    right: 1rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 360px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { opacity:0; transform:translateX(16px); }
    to   { opacity:1; transform:none; }
}

.flash-success { background: white; color: #166534; border: 1px solid #BBF7D0; }
.flash-error   { background: white; color: #991B1B; border: 1px solid #FECACA; }
.flash-warning { background: white; color: #92400E; border: 1px solid #FDE68A; }

.flash-close {
    background: none; border: none; cursor: pointer;
    color: inherit; opacity: 0.4; font-size: 1.125rem;
    padding: 0; flex-shrink: 0;
}

.flash-close:hover { opacity: 0.8; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
    .about-layout    { grid-template-columns: 1fr; }
    .contact-layout  { grid-template-columns: 1fr; }
    .location-layout { grid-template-columns: 1fr; }
    .product-detail  { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: white;
        border-bottom: 1px solid var(--gray-200);
        flex-direction: column;
        padding: 0.75rem;
        gap: 2px;
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }

    .navbar-nav.open { display: flex; }
    .navbar-nav a    { width: 100%; text-align: center; padding: 0.75rem; }

    .navbar-toggle { display: flex; }
    .navbar-cta    { display: none; }

    .gallery-grid--masonry { columns: 2; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .gallery-grid--masonry { columns: 1; }
    .values-grid    { grid-template-columns: 1fr 1fr; }
    .hero-actions   { flex-direction: column; align-items: flex-start; }
    .search-form    { max-width: 100%; }
}
