/* ==========================================================================
   OUR NATIONAL — Storefront Theme (reboot)
   Palette: #E62733 (primary Red) · #344B9B (secondary Blue) · #222 (ink) · #ffffff (surface)
   Type:    Outfit (UI/headings) · DM Sans (body) · Playfair Display (accent)
   ========================================================================== */

:root {
    --primary: #344B9B;
    --primary-dark: #273977;
    --primary-soft: #ebedf7;
    --secondary: #E62733;
    --secondary-dark: #b81e28;
    --secondary-soft: #fdf2f3;
    --ink: #222222;
    --ink-soft: #4a4a4a;
    --muted: #8a8a8a;
    --line: #ececec;
    --bg: #ffffff;
    --bg-alt: #f7f7f7;
    --bg-dark: #1b1b1b;
    --white: #ffffff;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .05);
    --shadow: 0 14px 40px rgba(0, 0, 0, .08);
    --shadow-primary: 0 12px 30px rgba(52, 75, 155, .28);
    --shadow-secondary: 0 12px 30px rgba(230, 39, 51, .28);

    --ff-ui: 'Outfit', system-ui, sans-serif;
    --ff-body: 'DM Sans', system-ui, sans-serif;
    --ff-accent: 'Playfair Display', Georgia, serif;

    --container: 1240px;
    --header-h: 78px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--ff-ui); color: var(--ink); margin: 0 0 .4em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Accent helpers (class names preserved from markup) */
.text-primary { color: var(--primary) !important; }
.text-teal { color: var(--primary) !important; font-family: var(--ff-accent); font-style: italic; font-weight: 600; }

/* ---------- Layout ---------- */
.section-container,
.header-container,
.footer-container,
.features-container,
.about-hero-container,
.page-hero-container,
.footer-bottom-container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.bg-light { background: var(--bg-alt); }

section { padding: 70px 0; }
.products-section, .featured-categories { padding: 78px 0; }

/* ---------- Buttons ---------- */
.btn-primary,
.btn-outline,
.btn-map-cta,
.btn-editorial-submit,
.category-card-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-ui); font-weight: 600; font-size: .94rem;
    padding: 13px 26px; border-radius: var(--radius-pill);
    transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Section heading ---------- */
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-heading.left-align { text-align: left; margin-left: 0; }
.section-heading h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; }
.section-heading .heading-accent { display: inline-block; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); margin: 6px 0 14px; }
.section-heading.left-align .heading-accent { margin-left: 0; }
.heading-sub { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-container { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.logo-img { height: 40px; width: auto; object-fit: contain; }

.desktop-nav { margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li > a {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--ff-ui); font-weight: 500; font-size: .96rem;
    padding: 10px 14px; border-radius: var(--radius-pill); color: var(--ink-soft);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--primary); background: var(--primary-soft); }
.nav-chevron { transition: transform .25s var(--ease); }
.dropdown-trigger:hover .nav-chevron { transform: rotate(180deg); }

/* Categories dropdown */
.dropdown-trigger { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 12px); left: 0; min-width: 250px;
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .25s var(--ease); z-index: 50;
}
.dropdown-trigger:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px;
    border-radius: var(--radius-sm); font-weight: 500; color: var(--ink-soft);
}
.dropdown-menu li a:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown-icon { width: 18px; color: var(--primary); }

/* Search */
.search-wrapper { margin-left: auto; }
.search-form { display: flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 4px 4px 18px; transition: border-color .2s; }
.search-form:focus-within { border-color: var(--primary); }
.search-input { border: none; background: none; outline: none; font-family: var(--ff-body); font-size: .92rem; width: 200px; color: var(--ink); }
.search-submit { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--white); transition: background .2s; }
.search-submit:hover { background: var(--primary-dark); }

.hamburger { display: none; font-size: 1.4rem; color: var(--ink); width: 44px; height: 44px; border-radius: 12px; }

/* ==========================================================================
   MOBILE DRAWER + SEARCH MODAL
   ========================================================================== */
.mobile-drawer {
    position: fixed; top: 0; left: 0; height: 100dvh; width: 320px; max-width: 86vw;
    background: var(--white); z-index: 400; transform: translateX(-100%);
    transition: transform .35s var(--ease); display: flex; flex-direction: column;
    box-shadow: var(--shadow);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-header .logo-img { height: 34px; }
.drawer-content { padding: 18px 20px; overflow-y: auto; flex: 1; }
.mobile-search .search-form { width: 100%; }
.mobile-search .search-input { width: 100%; }
.drawer-links { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.drawer-links a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: var(--radius-sm); font-family: var(--ff-ui); font-weight: 500; color: var(--ink); }
.drawer-links a:hover { background: var(--primary-soft); color: var(--primary); }
.drawer-icon { width: 20px; color: var(--primary); }
.drawer-submenu { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); padding-left: 16px; }
.drawer-submenu-trigger.open .drawer-submenu { max-height: 600px; }
.sub-chevron { margin-left: auto; transition: transform .25s var(--ease); }
.drawer-submenu-trigger.open .sub-chevron { transform: rotate(180deg); }
.drawer-footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer-footer p { color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.phone-link { font-family: var(--ff-ui); font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 390; opacity: 0; visibility: hidden; transition: opacity .3s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }

.search-modal { position: fixed; inset: 0; z-index: 500; display: none; }
.search-modal.open { display: block; }
.search-modal-overlay { position: absolute; inset: 0; background: rgba(20, 20, 20, .55); backdrop-filter: blur(4px); }
.search-modal-content { position: relative; max-width: 640px; margin: 16vh auto 0; padding: 0 20px; }
.search-modal-close { position: absolute; top: -52px; right: 20px; color: var(--white); font-size: 1.6rem; }
.search-modal-form { display: flex; gap: 10px; background: var(--white); border-radius: var(--radius-pill); padding: 8px 8px 8px 24px; box-shadow: var(--shadow); }
.search-modal-input { flex: 1; border: none; outline: none; font-size: 1.05rem; font-family: var(--ff-body); }
.search-modal-submit { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider { padding: 0; }
.heroSwiper { width: 100%; }
.hero-slider .swiper-slide {
    position: relative; min-height: 560px;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.hero-slider .swiper-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 17, 17, .78) 0%, rgba(17, 17, 17, .25) 60%, transparent 100%); }
.slide-inner { position: relative; z-index: 2; width: min(100% - 40px, var(--container)); margin-inline: auto; }
.slide-text { max-width: 600px; color: var(--white); }
.slide-text h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.03em; }
.slide-text p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; margin-bottom: 28px; }
.slide-badge { display: inline-block; background: var(--primary); color: var(--white); font-family: var(--ff-ui); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 20px; }

/* Static hero fallback */
.static-hero { position: relative; min-height: 560px; background-size: cover; background-position: center; display: flex; align-items: center; }
.static-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.85) 0%, rgba(17,17,17,.45) 55%, rgba(17,17,17,.15) 100%); }
.static-hero .slide-inner { position: relative; z-index: 2; }
.hero-accent { font-family: var(--ff-accent); font-style: italic; font-weight: 600; color: var(--secondary); }
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-ui); font-weight: 600; font-size: .94rem; padding: 13px 26px; border-radius: var(--radius-pill); color: var(--white); border: 1.5px solid rgba(255,255,255,.4); transition: all .2s var(--ease); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.swiper-button-next, .swiper-button-prev { color: var(--white); --swiper-navigation-size: 26px; }
.swiper-pagination-bullet { background: var(--white); opacity: .5; }
.swiper-pagination-bullet-active { background: var(--primary); opacity: 1; width: 24px; border-radius: 4px; }

/* ==========================================================================
   FEATURES STRIP
   ========================================================================== */
.features-banner-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.features-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-icon-wrapper { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.35rem; }
.feature-text h3 { font-size: 1.02rem; margin: 0; }
.feature-text p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   CATEGORY CARDS (home)
   ========================================================================== */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
    position: relative; min-height: 240px; border-radius: var(--radius-lg);
    overflow: hidden; display: flex; align-items: flex-end;
    background-size: cover; background-position: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card-content { position: relative; z-index: 2; padding: 26px; color: var(--white); }
.category-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.category-card-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.category-card-btn { background: var(--white); color: var(--ink); padding: 9px 18px; font-size: .85rem; }
.category-card:hover .category-card-btn { background: var(--primary); color: var(--white); }
.category-card.no-image { color: var(--white); }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.products-grid,
.catalog-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-image { position: relative; aspect-ratio: 1 / 1; background: var(--bg-alt); padding: 18px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-category { font-family: var(--ff-ui); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 6px; }
.product-name { font-size: 1.05rem; font-weight: 600; margin: 0 0 16px; line-height: 1.35; }
.product-name a:hover { color: var(--primary); }
.product-card-buttons { margin-top: auto; display: flex; gap: 8px; }
.btn-card-action { flex: 1; text-align: center; justify-content: center; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-ui); font-weight: 600; font-size: .82rem; padding: 10px; border-radius: var(--radius-pill); transition: all .2s var(--ease); }
.btn-view-product { background: var(--ink); color: var(--white); }
.btn-view-product:hover { background: var(--primary); box-shadow: var(--shadow-primary); }
.btn-whatsapp-inquire { background: var(--secondary-soft); color: var(--secondary); }
.btn-whatsapp-inquire:hover { background: var(--secondary); color: var(--white); box-shadow: var(--shadow-secondary); }

/* Featured slider */
.featured-slider-wrapper { position: relative; }
.featuredSwiper { padding: 8px 4px 16px; }
.slider-nav-btn { position: absolute; top: 42%; z-index: 5; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: all .2s; }
.slider-nav-btn:hover { background: var(--secondary); color: var(--white); box-shadow: var(--shadow-secondary); }
.slider-prev { left: -10px; }
.slider-next { right: -10px; }
.view-all-wrapper { text-align: center; margin-top: 44px; }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb-wrapper { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.breadcrumb-container { width: min(100% - 40px, var(--container)); margin-inline: auto; padding: 16px 0; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .active { color: var(--ink); font-weight: 600; }
.breadcrumb i { font-size: .7rem; }

/* ==========================================================================
   CATALOG (category / search / arrivals)
   ========================================================================== */
.catalog-section { padding: 50px 0 80px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.results-count p { margin: 0; color: var(--muted); }
.count-bold { color: var(--ink); font-weight: 700; }
.category-highlight { color: var(--primary); font-weight: 600; }
.sort-selector-wrapper { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.sort-select { font-family: var(--ff-ui); font-weight: 500; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); color: var(--ink); cursor: pointer; outline: none; }
.sort-select:focus { border-color: var(--primary); }

/* Pagination */
.pagination-wrapper { margin-top: 50px; display: flex; justify-content: center; }
.pagination { display: flex; align-items: center; gap: 8px; }
.page-link { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-family: var(--ff-ui); font-weight: 600; color: var(--ink); transition: all .2s; }
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: var(--white); }
.page-item.disabled .page-link { opacity: .4; pointer-events: none; }

.no-products-wrapper { text-align: center; padding: 80px 20px; }
.no-products-icon { font-size: 3rem; color: var(--primary); margin-bottom: 18px; }
.no-products-wrapper h2 { font-size: 1.6rem; }
.no-products-wrapper p { color: var(--muted); margin-bottom: 24px; }

/* ==========================================================================
   PRODUCT SINGLE
   ========================================================================== */
.product-details-block { padding: 56px 0; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.main-image-container { position: relative; aspect-ratio: 1 / 1; background: var(--bg-alt); border-radius: var(--radius-lg); display: grid; place-items: center; padding: 40px; overflow: hidden; }
.main-product-image { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.badge { position: absolute; top: 20px; left: 20px; z-index: 3; font-family: var(--ff-ui); font-weight: 700; font-size: .72rem; letter-spacing: .06em; padding: 7px 14px; border-radius: var(--radius-pill); color: var(--white); }
.badge-new { background: var(--ink); }
.badge-sale { background: var(--primary); }

.thumbnail-slider-wrapper { position: relative; margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.thumb-nav-btn { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; }
.thumb-nav-btn:hover { border-color: var(--primary); color: var(--primary); }
.thumbSwiper { flex: 1; overflow: hidden; }
.thumb-item { aspect-ratio: 1/1; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 8px; cursor: pointer; border: 2px solid transparent; }
.thumb-item.active { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.info-category-link { font-family: var(--ff-ui); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); }
.details-info-column h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.02em; margin: 8px 0 22px; }
.specs-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs-table tr:nth-child(even) { background: var(--bg-alt); }
.spec-name { font-family: var(--ff-ui); font-weight: 600; color: var(--ink); }
.spec-value { color: var(--ink-soft); }
.info-divider { border: none; border-top: 1px solid var(--line); margin: 26px 0; }
.btn-whatsapp-large { display: inline-flex; align-items: center; gap: 12px; background: var(--secondary); color: var(--white); font-family: var(--ff-ui); font-weight: 600; font-size: 1.02rem; padding: 16px 34px; border-radius: var(--radius-pill); box-shadow: var(--shadow-secondary); transition: all .25s var(--ease); }
.btn-whatsapp-large:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.info-meta-list p { margin: 6px 0; font-size: .92rem; color: var(--muted); }
.meta-label { font-family: var(--ff-ui); font-weight: 600; color: var(--ink); margin-right: 6px; }
.meta-value { color: var(--ink-soft); }

.product-description-section { padding: 30px 0 70px; }
.product-description-section h2 { font-size: 1.6rem; margin-bottom: 18px; }
.description-content-wrapper { color: var(--ink-soft); max-width: 860px; }
.description-content-wrapper ul { list-style: none; display: grid; gap: 8px; margin: 14px 0; }
.description-content-wrapper li { position: relative; padding-left: 26px; }
.description-content-wrapper li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); position: absolute; left: 0; font-size: .8rem; top: 4px; }
.related-products { padding-top: 70px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-hero { padding: 0; background: var(--bg-dark); color: var(--white); }
.about-hero-container { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 460px; align-items: center; gap: 40px; }
.hero-split-left { padding: 70px 0; }
.about-hero .breadcrumb { color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.about-hero .breadcrumb a:hover { color: var(--white); }
.hero-statement { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; color: var(--white); line-height: 1.1; }
.accent-line { width: 80px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%); margin-top: 26px; }
.hero-split-right { position: relative; height: 100%; min-height: 320px; }
.circuit-grid-pattern { position: absolute; inset: 0; overflow: hidden; opacity: .9; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.circuit-line { position: absolute; background: linear-gradient(90deg, transparent, var(--primary), transparent); height: 2px; opacity: .55; }
.line-1 { top: 25%; left: 0; right: 30%; }
.line-2 { top: 50%; left: 20%; right: 0; }
.line-3 { top: 70%; left: 0; right: 50%; }
.line-4 { top: 88%; left: 35%; right: 10%; }
.circuit-node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 18px var(--primary); }
.node-1 { top: calc(25% - 5px); left: 70%; }
.node-2 { top: calc(50% - 5px); left: 20%; }
.node-3 { top: calc(70% - 5px); left: 50%; }
.node-4 { top: calc(88% - 5px); left: 35%; }

.about-narrative-section { padding: 80px 0; }
.narrative-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.narrative-lead { font-size: 1.15rem; color: var(--ink-soft); }
.highlight-text { color: var(--primary); }
.milestone-timeline { margin-top: 36px; display: grid; gap: 26px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; }
.timeline-marker { display: flex; justify-content: flex-end; }
.marker-year { font-family: var(--ff-ui); font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: var(--radius-pill); height: fit-content; font-size: .85rem; }
.timeline-body h4 { font-size: 1.12rem; margin-bottom: 4px; }
.timeline-body p { color: var(--muted); margin: 0; font-size: .95rem; }

.narrative-stats-column { position: sticky; top: 100px; }
.dominant-stat-box { background: var(--bg-dark); color: var(--white); border-radius: var(--radius-lg); padding: 40px; }
.stat-number { font-family: var(--ff-ui); font-weight: 800; font-size: 3.4rem; color: var(--primary); display: block; line-height: 1; }
.stat-label { color: rgba(255, 255, 255, .7); font-size: 1rem; }
.stats-sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.sub-number { font-family: var(--ff-ui); font-weight: 700; font-size: 1.6rem; color: var(--white); display: block; }
.sub-label { color: rgba(255,255,255,.6); font-size: .85rem; }
.sub-stat-footer { font-size: .9rem; color: rgba(255,255,255,.85); }

.about-commitments-section { padding: 80px 0; }
.commitments-tab-container { max-width: 940px; margin: 0 auto; }
.tabs-nav-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-ui); font-weight: 600; font-size: .92rem; padding: 12px 22px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--ink-soft); background: var(--white); transition: all .2s; }
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .4s var(--ease); }
.panel-inner-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 44px; }
.panel-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.panel-info p { color: var(--ink-soft); }
.panel-points { margin-top: 18px; display: grid; gap: 10px; }
.panel-points li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.panel-graphic { display: grid; place-items: center; }
.graphic-fallback { font-size: 6rem; color: var(--primary); opacity: .85; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.page-hero { background: var(--bg-dark); color: var(--white); padding: 64px 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { justify-content: center; color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .active { color: var(--white); }

.contact-section { padding: 70px 0; }
.alert { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 26px; }
.alert-success { background: #e9f9ef; color: #137a3b; }
.alert-danger { background: var(--secondary-soft); color: var(--secondary-dark); }
.alert-icon { font-size: 1.2rem; margin-top: 2px; }

.contact-panel { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-sidebar { background: var(--bg-dark); color: var(--white); padding: 44px; }
.sidebar-info-block { margin-bottom: 28px; }
.info-tag { font-family: var(--ff-ui); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); }
.info-value { color: var(--white); font-size: 1.08rem; font-weight: 500; margin: 6px 0 0; }
.store-hours-widget { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.store-hours-widget h4 { color: var(--white); }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; color: rgba(255,255,255,.75); font-size: .92rem; }
.hours-row .time { color: var(--white); font-weight: 500; }

.contact-form-column { padding: 44px; }
.form-header h2 { font-size: 1.7rem; }
.form-lead { color: var(--muted); }
.contact-form-editorial { margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.floating-group { position: relative; margin-bottom: 22px; }
.form-control-editorial { width: 100%; padding: 16px 16px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--ff-body); font-size: .96rem; background: var(--white); outline: none; transition: border-color .2s; }
.form-control-editorial:focus { border-color: var(--primary); }
.floating-group label { position: absolute; top: 15px; left: 16px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .18s var(--ease); }
.form-control-editorial:focus + label,
.form-control-editorial:not(:placeholder-shown) + label { top: 6px; font-size: .72rem; color: var(--primary); }
textarea.form-control-editorial { min-height: 130px; resize: vertical; }
.required { color: var(--primary); }
.full-width-group { margin-bottom: 22px; }
.btn-editorial-submit { background: var(--primary); color: var(--white); box-shadow: var(--shadow-primary); border: none; }
.btn-editorial-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }

.contact-map-section { padding-bottom: 70px; }
.map-wrapper-container { position: relative; width: min(100% - 40px, var(--container)); margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-wrapper-container iframe { display: block; }
.map-overlay-card { position: absolute; top: 30px; left: 30px; background: var(--white); border-radius: var(--radius); padding: 24px; max-width: 320px; box-shadow: var(--shadow); }
.map-overlay-card h3 { margin-bottom: 8px; }
.map-address { color: var(--muted); font-size: .92rem; }
.btn-map-cta { background: var(--ink); color: var(--white); margin-top: 10px; padding: 10px 20px; font-size: .85rem; }
.btn-map-cta:hover { background: var(--primary); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer { background: var(--bg-dark); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo .logo-img { height: 38px; margin-bottom: 18px; }
.footer-desc { font-size: .92rem; line-height: 1.7; }
.footer-col h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; }
.footer-links a, .footer-info .info-text { color: rgba(255, 255, 255, .72); font-size: .92rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--primary); }
.footer-chevron { font-size: .7rem; color: var(--primary); }
.footer-info li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-icon { color: var(--primary); margin-top: 4px; }
.support-link:hover, .whatsapp-link:hover { color: var(--primary); }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); transition: all .2s; }
.social-icon:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright p { margin: 0; font-size: .88rem; }
.payment-methods { display: flex; gap: 12px; font-size: 1.7rem; color: rgba(255,255,255,.4); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger { display: grid; place-items: center; }
    .search-wrapper { margin-left: auto; }
    .search-input { width: 150px; }
    .products-grid, .catalog-products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .details-grid { grid-template-columns: 1fr; gap: 36px; }
    .narrative-grid, .panel-inner-grid, .about-hero-container { grid-template-columns: 1fr; }
    .narrative-stats-column { position: static; }
    .hero-split-right { display: none; }
    .contact-panel { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
    section { padding: 50px 0; }
    .features-container { grid-template-columns: 1fr 1fr; gap: 20px; }
    .products-grid, .catalog-products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .categories-grid { grid-template-columns: 1fr; }
    .hero-slider .swiper-slide { min-height: 460px; }
    .catalog-toolbar { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-container { flex-direction: column; text-align: center; }
    .slider-prev { left: 2px; } .slider-next { right: 2px; }
    .map-overlay-card { position: static; max-width: none; margin: 16px; box-shadow: none; }
}

@media (max-width: 460px) {
    .products-grid, .catalog-products-grid { grid-template-columns: 1fr; }
    .product-card-buttons { flex-direction: column; }
    .search-input { width: 110px; }
}
