/* ========================================
   AUTO PARTES LA PIEZA — Design System
   Versión Premium 2.0
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@600;700;800&display=swap');

/* ---- Variables ---- */
:root {
    --primary:       #e63946;
    --primary-hover: #ff4d5a;
    --primary-light: rgba(230, 57, 70, 0.15);
    --primary-glow:  rgba(230, 57, 70, 0.4);

    --dark:          #0a0a0f;
    --dark-2:        #12121a;
    --text-main:     #f8f9fa;
    --text-sub:      #adb5bd;
    --text-muted:    #6c757d;

    --bg-body:       #050508;
    --bg-white:      #12121a;
    --bg-section:    #0a0a0f;

    --border:        #2b2b36;
    --border-strong: #3f3f4e;

    --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:   0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg:   0 20px 50px rgba(0,0,0,0.5);
    --shadow-red:  0 8px 30px rgba(230,57,70,0.35);

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main:  'Inter', sans-serif;
    --font-brand: 'Orbitron', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-brand);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* ================================
   ANNOUNCEMENT BAR
   ================================ */
.announcement-bar {
    background: var(--dark);
    color: #fff;
    text-align: center;
    font-size: 0.82rem;
    padding: 8px 20px;
    letter-spacing: 0.3px;
}
.announcement-bar a {
    color: #ffcc00;
    font-weight: 600;
    margin-left: 5px;
}

/* ================================
   NAVBAR
   ================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(18,18,26,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

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

.nav-brand {
    font-family: var(--font-brand);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}
.nav-brand span { color: var(--text-main); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-sub);
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    font-size: 0.85rem !important;
}
.nav-cta:hover {
    background: var(--primary-hover) !important;
    box-shadow: var(--shadow-red) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(160deg, #050508 0%, #12121a 40%, #1a0a0a 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204,0,0,0.07) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26,26,46,0.05) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: heroEnter 1s ease forwards;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(204,0,0,0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.2rem;
    color: var(--text-main);
    text-transform: uppercase;
}
.hero-content h1 span { color: var(--primary); }

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-sub);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats strip inside hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-brand);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

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

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-brand);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}
.btn-dark:hover {
    background: var(--dark-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn-wa {
    background: #25D366;
    color: #fff;
}
.btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.35);
    color: #fff;
}

.btn-full { width: 100%; justify-content: center; }

/* ================================
   LAYOUT UTILITIES
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 20px;
}
.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 20px;
}

.section-alt { background: var(--bg-section); }
.section-dark { background: var(--dark); color: #fff; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text-main);
    margin-bottom: 0.8rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-sub);
    max-width: 560px;
    margin: 0 auto;
}
.section-title-white { color: #fff; }
.section-subtitle-white { color: rgba(255,255,255,0.7); }

.section-divider {
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
    margin: 12px auto 0;
}

/* Page Hero (interior pages) */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff;
    padding: 8rem 5% 4rem;
    text-align: center;
    margin-top: 60px; /* account for announcement bar + navbar */
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 0.8rem;
}
.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 1rem;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: var(--primary); }

/* ================================
   FEATURE CARDS (¿Por qué elegirnos?)
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: var(--text-main);
}
.feature-card p {
    font-size: 0.93rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* ================================
   PRODUCT CARDS
   ================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.8rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-img-wrap {
    position: relative;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
}
.product-img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    padding: 16px;
    transition: var(--transition);
}
.product-card:hover .product-img { transform: scale(1.04); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-title {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.4;
    flex: 1;
}
.product-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.product-price {
    font-family: var(--font-brand);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

/* ================================
   CATALOG FILTERS & SEARCH
   ================================ */
.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}
.search-bar input {
    width: 100%;
    padding: 14px 50px 14px 18px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.search-bar .search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-btn {
    background: var(--bg-white);
    color: var(--text-sub);
    border: 1.5px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 500;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* ================================
   MARCAS GRID
   ================================ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.2rem;
}
.brand-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}
.brand-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.brand-card i {
    font-size: 1.8rem;
    color: var(--text-sub);
    margin-bottom: 0.6rem;
    display: block;
    transition: var(--transition);
}
.brand-card:hover i { color: var(--primary); }
.brand-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================
   SERVICES
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}
.service-card p {
    font-size: 0.93rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(16.5% + 1rem);
    right: calc(16.5% + 1rem);
    height: 2px;
    background: linear-gradient(to right, var(--primary) 0%, var(--border) 100%);
}
.step-item { text-align: center; }
.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-brand);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-red);
}
.step-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-item p { font-size: 0.9rem; color: var(--text-sub); }

/* ================================
   NOSOTROS
   ================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.value-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.8rem; display: block; }
.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--text-sub); }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.two-col-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.two-col-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Stats bar */
.stats-bar {
    background: var(--dark);
    color: #fff;
    padding: 2.5rem 5%;
}
.stats-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stats-row .stat-number { color: #fff; font-size: 2.2rem; }
.stats-row .stat-label { color: rgba(255,255,255,0.55); }

/* ================================
   FAQ (Accordion)
   ================================ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1.8rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    gap: 1rem;
    user-select: none;
}
.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.faq-item.open .faq-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 1.8rem;
    font-size: 0.93rem;
    color: var(--text-sub);
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.8rem 1.4rem;
}

/* ================================
   CONTACT
   ================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.info-item h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.info-item p { font-size: 0.95rem; color: var(--text-main); font-weight: 500; }

.form-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.3rem; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.3rem; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sub);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--dark);
    box-shadow: 0 0 0 3px var(--primary-light);
}
textarea.form-control { height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Alert messages */
.alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.alert-success { background: rgba(26, 127, 75, 0.15); color: #2ecc71; border: 1px solid #1a7f4b; }
.alert-error   { background: rgba(192, 57, 43, 0.15); color: #ff6b6b; border: 1px solid #c0392b; }

/* ================================
   CTA BANNER
   ================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #990000 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 5%;
}
.cta-banner h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
}
.cta-banner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin: 0 auto 2rem;
}
.cta-banner .btn-outline {
    border-color: #fff;
    color: #fff;
}
.cta-banner .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* ================================
   FOOTER
   ================================ */
footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 5% 0;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-brand { color: var(--primary); font-size: 1.3rem; }
.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-top: 1rem;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}
.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.8rem;
}
.footer-contact-item i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #fff; }

/* ================================
   WHATSAPP FLOAT
   ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 100;
    transition: var(--transition);
    animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    background: #128C7E;
    color: white;
}
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-text {
    font-size: 0.93rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}
.author-name { font-weight: 600; font-size: 0.92rem; }
.author-loc { font-size: 0.8rem; color: var(--text-muted); }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18,18,26,0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 9998;
        backdrop-filter: blur(20px);
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.1rem; padding: 12px 30px; }

    .hero-stats { gap: 1.5rem; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-btns { flex-direction: column; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

@media (max-width: 480px) {
    .container { padding: 3.5rem 16px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.7rem; }
    .page-hero h1 { font-size: 2rem; }
}
