/* =========================
   SAN VARIASI COMPANY PROFILE
   ========================= */

:root {
    --red: #e32632;
    --red-dark: #c91622;
    --yellow: #ffd43b;
    --black: #161616;
    --dark: #202020;
    --text: #252525;
    --muted: #6f6f6f;
    --light: #f5f5f5;
    --white: #ffffff;
    --border: #e7e7e7;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand img {
    width: 100px;
    height: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a {
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--red);
}

.main-nav .nav-cta {
    background: var(--red);
    color: var(--white);
    padding: 11px 17px;
    border-radius: 7px;
}

.main-nav .nav-cta:hover {
    background: var(--red-dark);
    color: var(--white);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 5px auto;
}

/* HERO */
.hero {
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.82) 42%, rgba(8,8,8,.28) 100%),
        url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=2200&q=85") center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 60%, rgba(227,38,50,.28), transparent 34%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 650px;
    color: var(--white);
    padding: 70px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 15px;
}

.eyebrow.red {
    color: var(--red);
}

.eyebrow.yellow {
    color: var(--yellow);
}

.hero h1 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 720px;
}

.hero h1 span {
    color: var(--red);
}

.hero p {
    max-width: 570px;
    margin: 25px 0 32px;
    font-size: 17px;
    color: rgba(255,255,255,.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: transform .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--red-dark);
}

.btn-light-outline {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.45);
}

.btn-light-outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn.full {
    width: 100%;
}

/* QUICK INFO */
.quick-info {
    background: var(--light);
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.quick-card {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(227,38,50,.35);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.quick-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(227,38,50,.09);
    color: var(--red);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.quick-label {
    display: block;
    color: var(--red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.quick-grid strong,
.quick-grid small {
    display: block;
}

.quick-grid strong {
    font-size: 15px;
}

.quick-grid small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

/* GENERAL SECTIONS */
.section {
    padding: 105px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: end;
    margin-bottom: 48px;
}

.section-heading h2,
.center-heading h2,
.about-copy h2,
.shopping-intro h2,
.contact-inner h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.section-heading > p,
.center-heading > p,
.shopping-intro > p {
    color: var(--muted);
}

/* PRODUCTS */
.products-section {
    background: var(--light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.09);
}

.product-image {
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.25));
}

.image-film {
    background-image: url("https://images.unsplash.com/photo-1690022676526-2762ac826843?auto=format&fit=crop&w=900&q=80");
}
.image-audio {
    background-image: url("https://images.unsplash.com/photo-1470948062737-aeb014e274c2?auto=format&fit=crop&w=900&q=80");
}
.image-light {
    background-image: url("https://images.unsplash.com/photo-1542282088-fe8426682b8f?auto=format&fit=crop&w=900&q=80");
}
.image-damping {
    background-image: url("https://plus.unsplash.com/premium_photo-1661494244080-00d15ad150ca?auto=format&fit=crop&w=900&q=80");
}
.image-dashcam {
    background-image: url("https://images.unsplash.com/photo-1643686978109-499f1e9d4bd1?auto=format&fit=crop&w=900&q=80");
}
.image-bumper {
    background-image: url("https://plus.unsplash.com/premium_photo-1694206014500-f0b44630d92e?auto=format&fit=crop&w=900&q=80");
}
.image-wiper {
    background-image: url("https://plus.unsplash.com/premium_photo-1694142038520-088c685c32e3?auto=format&fit=crop&w=900&q=80");
}
.image-accessories {
    background-image: url("https://images.unsplash.com/photo-1766051183544-b810e2aca46d?auto=format&fit=crop&w=900&q=80");
}

.product-body {
    padding: 21px 20px 24px;
}

.product-body > span {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
}

.product-body h3 {
    margin-top: 5px;
    font-size: 18px;
    line-height: 1.2;
}

.product-body p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

/* ABOUT */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
}

.about-image {
    position: relative;
    min-height: 560px;
}

.about-image-inner {
    position: absolute;
    inset: 0 45px 0 0;
    background:
        linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.2)),
        url("https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=1200&q=85") center/cover;
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 42px;
    background: var(--red);
    color: var(--white);
    width: 190px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
}

.about-badge span {
    font-size: 11px;
    line-height: 1.45;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .04em;
}

.about-copy p {
    color: var(--muted);
    margin-top: 22px;
    max-width: 570px;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 28px;
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

/* LOCATION */
.location-section {
    background: var(--light);
}

.center-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.center-heading h2 {
    margin-bottom: 12px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
}

.location-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.branch-label,
.shop-card-head span,
.social-title span {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.location-top h3 {
    margin-top: 4px;
    font-size: 24px;
}

.branch-number {
    font-size: 38px;
    font-weight: 800;
    color: #ececec;
    line-height: 1;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 24px 0;
}

.location-details p {
    font-size: 13px;
    color: var(--muted);
}

.location-details strong {
    color: var(--text);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.location-details a {
    color: var(--red);
    font-weight: 700;
}

.map-embed {
    height: 240px;
    overflow: hidden;
    background: #e9e7e1;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* SHOPPING */
.shopping-section {
    background: var(--black);
    color: var(--white);
}

.shopping-intro {
    max-width: 700px;
    margin-bottom: 45px;
}

.shopping-intro h2 {
    margin-bottom: 15px;
}

.shopping-intro > p {
    color: rgba(255,255,255,.62);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.shop-card {
    border: 1px solid rgba(255,255,255,.14);
    padding: 30px;
    background: rgba(255,255,255,.035);
}

.shop-card-head h3 {
    margin-top: 5px;
    font-size: 25px;
}

.shop-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.shop-buttons a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.2);
    padding: 14px 16px;
    font-weight: 700;
    font-size: 13px;
    transition: background .2s ease, border-color .2s ease;
}

.shop-buttons a:hover {
    background: var(--red);
    border-color: var(--red);
}

/* SOCIAL */
.social-section {
    background: var(--white);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.social-card {
    border: 1px solid var(--border);
    padding: 30px;
}

.social-title h3 {
    margin-top: 4px;
    font-size: 24px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s ease;
}

.social-links a img {
    width: 16px;
    height: 16px;
    display: block;
    padding: 2px;
    border-radius: 3px;
    background: var(--black);
}

.social-links a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.social-links a:hover img {
    background: transparent;
}

/* CONTACT */
/* CONTACT */
.contact-section {
    background: #f5f5f5;
    color: var(--black);
    padding: 75px 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
}

.contact-inner h2 {
    margin-bottom: 13px;
}

.contact-inner p {
    color: #555;
    max-width: 560px;
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.whatsapp-button {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 15px;
    background: var(--white);
    color: var(--black);
    padding: 17px 18px;
    transition: transform .2s ease;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
}

.whatsapp-button small {
    color: var(--red);
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.whatsapp-button strong {
    font-size: 15px;
}

.whatsapp-button span {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
    font-size: 20px;
    font-weight: 800;
}

/* FOOTER */
.site-footer {
    background: #111;
    color: var(--white);
    padding: 65px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-brand img {
    width: 165px;
    background: var(--white);
    padding: 7px;
}

.footer-brand p {
    color: rgba(255,255,255,.48);
    max-width: 300px;
    font-size: 13px;
    margin-top: 15px;
}

.footer-grid h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 15px;
}

.footer-grid > div:not(.footer-brand) a {
    display: block;
    color: rgba(255,255,255,.52);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-grid > div:not(.footer-brand) a:hover {
    color: var(--red);
}

.footer-bottom {
    min-height: 65px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,.38);
    font-size: 11px;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Social media brand icons */
.social-links a {
    background: #fff;
}

.social-links a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    background: transparent !important;
    border: none;
    box-shadow: none;
    padding: 0;
    filter: none;
}
.marketplace-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .main-nav {
        gap: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 800px) {
    .nav-wrap {
        min-height: 72px;
    }

    .brand img {
        width: 125px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 72px;
        background: var(--white);
        border: 1px solid var(--border);
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        box-shadow: 0 15px 35px rgba(0,0,0,.1);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .main-nav .nav-cta {
        text-align: center;
    }

    .hero {
        min-height: 620px;
    }

    .quick-grid,
    .about-grid,
    .location-grid,
    .shop-grid,
    .social-grid,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 430px;
    }

    .contact-buttons {
        max-width: 550px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .section {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions,
    .contact-buttons,
    .shop-buttons {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        padding: 20px;
    }

    .location-details {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 350px;
    }

    .about-image-inner {
        inset: 0 20px 0 0;
    }

    .about-badge {
        right: 0;
        bottom: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        text-align: center;
    }
}
