/* ================================================
   ROWE OIL AZERBAIJAN — MAIN STYLESHEET
   ================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- CSS VARIABLES --- */
:root {
    --red: #e4170f;
    --red-hover: #c41008;
    --dark: #3F4E54;
    --dark-2: #2a3438;
    --grey: #6b7280;
    --light-grey: #f4f5f7;
    --border: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 16px rgba(0,0,0,.1);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: .25s ease;
    --container: 1280px;
}

/* --- CONTAINER --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { color: #4b5563; }

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-title { color: #111; margin-bottom: 16px; }
.section-subtitle { color: var(--grey); font-size: 1.0625rem; max-width: 640px; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9375rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(228,23,15,.3); }
.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.btn-dark {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-lg { padding: 16px 40px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }

/* --- TOPBAR --- */
.topbar {
    background: var(--dark);
    color: #fff;
    font-size: .8125rem;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-left { color: rgba(255,255,255,.75); }
.topbar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}
.topbar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.85);
    transition: color var(--transition);
}
.topbar-right a:hover { color: #fff; }

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--red);
}
.logo-svg { width: 100px; height: auto; }
.logo-sub {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dark);
    border-left: 2px solid var(--border);
    padding-left: 10px;
    line-height: 1;
}

/* Nav */
.nav { flex: 1; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .9375rem;
    color: #374151;
    transition: all var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--red);
    background: rgba(228,23,15,.06);
}
.chevron { transition: transform var(--transition); }
.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 200;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: .9rem;
    color: #374151;
    transition: all var(--transition);
}
.dropdown li a:hover { background: var(--light-grey); color: var(--red); padding-left: 22px; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-cta { padding: 10px 22px; font-size: .9rem; }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px;
}
.burger span {
    display: block;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 95;
    opacity: 0;
    transition: opacity var(--transition);
}
.mobile-overlay.active { opacity: 1; }

/* ================================================
   HERO SLIDER
   ================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--dark-2);
    height: 600px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,28,32,.85) 0%, rgba(20,28,32,.4) 60%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    color: #fff;
    padding: 0 24px;
    margin-left: calc((100vw - var(--container)) / 2);
    margin-left: max(24px, calc((100vw - var(--container)) / 2));
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(228,23,15,.15);
    border: 1px solid rgba(228,23,15,.4);
    color: #ff6b6b;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}
.hero-title span { color: var(--red); }
.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    padding: 0;
}
.hero-dot.active { background: var(--red); width: 28px; border-radius: 4px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
    background: var(--dark);
    padding: 28px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.1);
}
.stat-item {
    background: var(--dark);
    padding: 24px 32px;
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: .8125rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ================================================
   SECTIONS GENERAL
   ================================================ */
section { padding: 80px 0; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ================================================
   CATEGORIES GRID
   ================================================ */
.categories-section { background: var(--light-grey); }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.category-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.category-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(228,23,15,.1), rgba(228,23,15,.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--red);
    font-size: 1.75rem;
    transition: all var(--transition);
}
.category-card:hover .category-icon { background: var(--red); color: #fff; }
.category-name {
    font-weight: 700;
    font-size: .9375rem;
    color: #111;
    margin-bottom: 6px;
}
.category-count { font-size: .8125rem; color: var(--grey); }

/* ================================================
   PRODUCTS GRID
   ================================================ */
.products-section { background: #fff; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(228,23,15,.2);
}
.product-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--light-grey);
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-category {
    font-size: .75rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}
.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-viscosity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-grey);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    width: fit-content;
}
.product-desc {
    font-size: .875rem;
    color: var(--grey);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.product-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111;
}
.product-price span { font-size: .8rem; font-weight: 500; color: var(--grey); }

/* ================================================
   WHY US SECTION
   ================================================ */
.why-section { background: var(--light-grey); }
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.why-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.why-badge-float {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}
.why-badge-icon {
    width: 44px; height: 44px;
    background: rgba(228,23,15,.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.why-badge-text strong { display: block; font-size: .9375rem; color: #111; }
.why-badge-text span { font-size: .8rem; color: var(--grey); }
.why-features { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.why-feature-icon {
    width: 48px; height: 48px;
    background: rgba(228,23,15,.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
    font-size: 1.25rem;
}
.why-feature-text strong { display: block; font-weight: 700; color: #111; margin-bottom: 4px; }
.why-feature-text p { font-size: .875rem; color: var(--grey); margin: 0; }

/* ================================================
   BRANDS / CERTIFICATIONS
   ================================================ */
.brands-section { background: #fff; padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 32px; }
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
}
.brand-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-grey);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    color: var(--dark);
    transition: all var(--transition);
}
.brand-item:hover { background: var(--dark); color: #fff; }

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(228,23,15,.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.cta-text p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: 1.0625rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================================================
   PAGE HERO (Inner pages)
   ================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 50%; height: 100%;
    background: url('https://assets.rowegmbh.de/var/tmp/thumbnails/1673104/image-thumb__1673104__og_image/og-fallback-image.5391b14d.jpg') center/cover;
    opacity: .08;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 12px; font-size: 1.125rem; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: .875rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ================================================
   PRODUCTS PAGE
   ================================================ */
.products-page { background: var(--light-grey); min-height: 60vh; }
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 48px 0;
}
/* Sidebar */
.sidebar {
    flex-shrink: 0;
}
.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.sidebar-title {
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--grey);
    margin-bottom: 16px;
}
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--transition);
    color: #374151;
}
.filter-item:hover, .filter-item.active { background: rgba(228,23,15,.08); color: var(--red); font-weight: 600; }
.filter-count {
    background: var(--light-grey);
    color: var(--grey);
    font-size: .75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
}
.filter-item.active .filter-count { background: var(--red); color: #fff; }

/* Search Bar */
.search-bar {
    position: relative;
    margin-bottom: 24px;
}
.search-bar input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    font-size: .9375rem;
    outline: none;
    transition: border-color var(--transition);
    background: #fff;
}
.search-bar input:focus { border-color: var(--red); }
.search-bar button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey);
    display: flex;
}
.search-bar button:hover { color: var(--red); }

/* Products top bar */
.products-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.products-count { font-size: .9rem; color: var(--grey); }
.products-count strong { color: #111; }
.sort-select {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .875rem;
    outline: none;
    background: #fff;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.page-btn {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: #fff;
    color: #374151;
    transition: all var(--transition);
    text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ================================================
   PRODUCT DETAIL PAGE
   ================================================ */
.product-detail { padding: 64px 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.product-gallery {
    position: sticky;
    top: 100px;
}
.product-main-img {
    background: var(--light-grey);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border: 1px solid var(--border);
}
.product-main-img img {
    max-height: 380px;
    object-fit: contain;
    width: 100%;
}
.product-info { }
.product-detail-category {
    font-size: .8rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.product-detail-name {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.2;
}
.product-detail-viscosity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.product-detail-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 8px;
}
.product-detail-price-note { font-size: .8rem; color: var(--grey); margin-bottom: 24px; }
.product-detail-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

/* ─── Volume / Price Table ─── */
.vp-section { margin-bottom: 28px; }
.vp-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--grey);
    margin-bottom: 10px;
}
.vp-table {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.vp-head {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    background: #f8fafc;
    padding: 10px 16px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #64748b;
    border-bottom: 1px solid var(--border);
}
.vp-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.vp-row:last-child { border-bottom: none; }
.vp-row:hover { background: #fafafa; }
.vp-row-first { background: #fff8f8; }
.vp-vol span {
    display: inline-block;
    background: #f1f5f9;
    color: var(--dark);
    font-weight: 700;
    font-size: .875rem;
    padding: 4px 12px;
    border-radius: 6px;
}
.vp-row-first .vp-vol span {
    background: rgba(228,23,15,.08);
    color: var(--red);
}
.vp-price strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
}


.volumes-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.volume-chip {
    padding: 8px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.volume-chip.active, .volume-chip:hover { border-color: var(--red); color: var(--red); background: rgba(228,23,15,.06); }
.product-actions { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 160px; justify-content: center; }

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
    padding: 12px 0;
    font-size: .9rem;
}
.specs-table td:first-child { color: var(--grey); width: 45%; }
.specs-table td:last-child { font-weight: 600; color: #111; }

/* Tabs */
.tabs { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; }
.tab-buttons { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab-btn {
    padding: 12px 24px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--grey);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--red); border-bottom-color: var(--red); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; font-size: 1rem; }
.milestones { margin-top: 48px; }
.milestone-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.milestone-year {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    min-width: 80px;
    flex-shrink: 0;
}
.milestone-text strong { display: block; font-weight: 700; color: #111; margin-bottom: 4px; }
.milestone-text p { font-size: .875rem; color: var(--grey); margin: 0; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}
.contact-info-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
}
.contact-info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 44px; height: 44px;
    background: rgba(228,23,15,.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    flex-shrink: 0;
}
.contact-info-item strong { display: block; color: rgba(255,255,255,.5); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; font-weight: 600; }
.contact-info-item span, .contact-info-item a { color: #fff; font-size: .9375rem; }
.contact-info-item a:hover { color: #ff6b6b; }

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}
.contact-form-wrap h3 { color: #111; font-size: 1.5rem; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--grey); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: .9375rem;
    outline: none;
    transition: border-color var(--transition);
    background: #fff;
    color: #111;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}
.form-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}

/* Map */
.map-section { padding: 0; }
.map-wrap {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}
iframe.map-wrap { border: none; }

/* ================================================
   ALERT / FLASH MESSAGES
   ================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: .9rem;
}
.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp .6s ease forwards; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    transition: all var(--transition);
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,.5); }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.whatsapp-float:hover { animation: none; transform: scale(1.1); }

/* ================================================
   EMPTY STATE
   ================================================ */
.empty-state {
    text-align: center;
    padding: 80px 24px;
}
.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: .4;
}
.empty-state h3 { color: #111; margin-bottom: 8px; }
.empty-state p { color: var(--grey); }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--dark-2); }

.footer-top { padding: 64px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 48px;
}

.footer-col { }

/* Brand column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-logo span {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    border-left: 1px solid rgba(255,255,255,.15);
    padding-left: 10px;
}
.footer-desc {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Social buttons */
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .2s;
}
.social-btn.whatsapp  { background: rgba(37,211,102,.2); }
.social-btn.instagram { background: rgba(225,48,108,.2); }
.social-btn.facebook  { background: rgba(24,119,242,.2); }
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.3); }

/* Footer headings & links */
.footer-heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 18px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    transition: color .2s;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

/* Contact list */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: rgba(255,255,255,.6);
}
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.footer-contact a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-contact a:hover { color: #fff; }

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    margin: 0;
}
.footer-powered a {
    color: rgba(255,255,255,.4);
    transition: color .2s;
}
.footer-powered a:hover { color: #fff; }



/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-visual { max-width: 500px; }
    .products-layout { grid-template-columns: 1fr; }
    .sidebar { display: flex; gap: 16px; flex-wrap: wrap; }
    .sidebar-card { flex: 1; min-width: 200px; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .about-intro { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 56px 0; }
    .topbar-left { display: none; }
    .nav { 
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 99;
        padding: 80px 24px 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        overflow-y: auto;
    }
    .nav.open { right: 0; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-link { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--border); }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        background: var(--light-grey);
    }
    .burger { display: flex; }
    .header-cta { display: none; }
    .mobile-overlay { display: block; }
    .hero { height: 520px; }
    .hero-arrow { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    /* Footer responsive */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
