:root {
    --bg: #08090a;
    --bg-2: #111214;
    --surface: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --gold: #c9a84c;
    --gold-light: #e8c76a;
    --text: #f0f0f0;
    --muted: #6b7280;
    --radius: 12px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Outfit', sans-serif; font-weight: 700; }

a { text-decoration: none; }

img { display: block; width: 100%; object-fit: cover; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── BUTTONS ──────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: all .25s var(--ease);
}
.btn-gold {
    background: var(--gold);
    color: #08090a;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ─── NAV ──────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 900;
    padding: 1.2rem 0;
    transition: background .3s, padding .3s;
}
.navbar.scrolled {
    background: rgba(8,9,10,0.95);
    backdrop-filter: blur(12px);
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}
.nav-logo span { color: var(--gold); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}
.nav-links a {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
    padding: 6px;
    background: none;
    border: none;
    outline: none;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s var(--ease);
    display: block;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 75px; 
    right: 20px;
    width: 250px; 
    height: auto;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    z-index: 950;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}
.mobile-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--muted);
    padding: 12px 16px;
    border-radius: 8px;
    transition: background .2s, color .2s;
    display: block;
    text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
}

/* ─── HERO ──────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8,9,10,.7) 0%, rgba(8,9,10,.9) 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.hero-tag {
    display: inline-block;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── SECTIONS ──────────────────── */
section { padding: 100px 0; }

.label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
    display: block;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}
.section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; }
.section-head { margin-bottom: 4rem; }

/* ─── PRODUCT GRID ──────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s, transform .25s;
}
.product-card:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-4px);
}
.product-card-img {
    height: 240px;
    overflow: hidden;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-body { padding: 1.25rem; }
.product-card-tag {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .4rem;
    display: block;
}
.product-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    gap: .5rem;
}
.product-share {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 6px;
    transition: color .2s, background .2s;
    flex-shrink: 0;
}
.product-share:hover { color: var(--gold); background: rgba(201,168,76,0.1); }
.product-price { font-weight: 700; font-size: 1.1rem; color: var(--gold); }
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(37,211,102,.12);
    border: 1px solid rgba(37,211,102,.25);
    color: #25d366;
    padding: .45rem 1rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    transition: background .2s;
}
.btn-wa:hover { background: rgba(37,211,102,.22); }

/* ─── WHY SECTION ──────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.why-img {
    border-radius: var(--radius);
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--border);
}
.why-img img { height: 100%; object-fit: cover; }
.why-body { max-width: 480px; }
.why-body h2 { margin-bottom: 1rem; }
.why-body p { color: var(--muted); margin-bottom: 2rem; }
.why-list { list-style: none; margin-bottom: 2.5rem; }
.why-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: .95rem;
}
.why-list li:last-child { border-bottom: none; }
.why-icon {
    width: 36px;
    height: 36px;
    background: rgba(201,168,76,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

/* ─── CONTACT ──────────────────── */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .9rem;
}
.contact-detail i { color: var(--gold); }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}
.field { margin-bottom: 1.25rem; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: .9rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--gold);
}
.field textarea { resize: vertical; }

/* ─── FOOTER ──────────────────── */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand p { color: var(--muted); margin: 1rem 0; font-size: .9rem; }
.footer-col h4 {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .75rem; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-contact p { color: var(--muted); font-size: .88rem; margin-bottom: .6rem; display: flex; gap: .5rem; align-items: center; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
}

/* ─── WHATSAPP FLOAT ──────────────────── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 800;
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ─── REVEAL ──────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── PAGE HEADER ──────────────────── */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(201,168,76,0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin: 0 auto; }

/* ─── SERVICE CARDS (Services Page) ──────────────────── */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all .3s var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.service-card:hover {
    border-color: rgba(201,168,76,0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    background: var(--surface);
}
.service-card:hover::before {
    opacity: 1;
}
.service-card-icon {
    width: 56px; height: 56px;
    background: rgba(201,168,76,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: transform .3s var(--ease);
}
.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(201,168,76,0.15);
}
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: var(--text); }
.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin: 0; }

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card {
        padding: 1.75rem 1.5rem;
    }
    .service-card-icon {
        width: 48px; height: 48px;
        margin-bottom: 1rem;
    }
}

/* ─── FILTER BAR (Products Page) ──────────────────── */
.filter-bar {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.filter-btn {
    padding: .5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.08);
}

/* ─── CTA STRIP ──────────────────── */
.cta-strip {
    background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 100%);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius);
    padding: 4rem;
    text-align: center;
    margin-top: 5rem;
}
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.cta-strip p { color: var(--muted); margin-bottom: 2rem; }

/* ─── SEARCH BAR ──────────────────── */
.search-wrap {
    margin-bottom: 2rem;
}
.search-box {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: .75rem 1.25rem;
    max-width: 520px;
    transition: border-color .2s;
}
.search-box:focus-within {
    border-color: var(--gold);
}
.search-box i { color: var(--muted); flex-shrink: 0; }
.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
}
.search-box input::placeholder { color: var(--muted); }
.search-clear {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    display: flex;
    align-items: center;
    transition: color .2s;
}
.search-clear:hover { color: var(--text); }
.search-count {
    margin-top: .75rem;
    font-size: .82rem;
    color: var(--muted);
    padding-left: 1rem;
    min-height: 1.2em;
}

/* ─── BREADCRUMB ──────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1.5rem 0;
    font-size: .85rem;
    color: var(--muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span:last-child { color: var(--text); }

/* ─── PRODUCT DETAIL ──────────────────── */
.pd-wrap { padding: 80px 0 100px; }

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

/* Gallery */
.pd-main-img {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 480px;
}
.pd-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s;
}
.pd-thumbs {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color .2s;
    flex-shrink: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold); }

/* Info */
.pd-info h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: .5rem 0 1.25rem;
    letter-spacing: -.02em;
}
.pd-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.pd-desc {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: .95rem;
}
.pd-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.pd-meta {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.pd-meta-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .88rem;
    color: var(--muted);
}
.pd-meta-item i { color: var(--gold); }

/* Related */
.pd-related h2 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    letter-spacing: -.01em;
}
/* Make product cards work as links */
a.product-card { color: inherit; }
a.product-card:hover { text-decoration: none; }

/* ─── RESPONSIVE ──────────────────── */
@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-img { height: 320px; }
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-strip { padding: 2.5rem 1.5rem; }
    .pd-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .pd-main-img { height: 340px; }
}
@media (max-width: 640px) {
    section { padding: 70px 0; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
    .pd-actions { flex-direction: column; }
    .pd-actions .btn { justify-content: center; }
    .search-box { max-width: 100%; }
    /* 2-column product grid on mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-card-img { height: 160px; }
    .product-card-body { padding: 1rem; }
    .product-card h3 { font-size: .9rem; }
    .product-price { font-size: .95rem; }
    .btn-wa { font-size: .75rem; padding: .35rem .7rem; }
    
    .product-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }
    .product-card-footer > div {
        width: 100%;
        justify-content: space-between;
    }
}
