/* ======================================
   STAR REFRIGERATION — CLEAN STYLESHEET
   Debugged, Aligned, Mobile-First
   ====================================== */

:root {
    --primary:      #2563eb;
    --primary-dark: #1d4ed8;
    --whatsapp:     #22c55e;
    --dark:         #0f172a;
    --text:         #334155;
    --text-light:   #64748b;
    --white:        #ffffff;
    --bg-light:     #f8fafc;
    --border:       #e2e8f0;

    --section-gap:  56px;
    --card-pad:     24px;
    --radius:       10px;
    --ease:         all 0.25s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: var(--white); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Outfit', sans-serif; color: var(--dark); line-height: 1.2; }
p { color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ease); }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.py-section { padding: var(--section-gap) 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--dark); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* Two-column responsive row */
.section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Three-column grid for cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* ─── NAV ─── */
header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.nav-flex { height: 64px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo h2 { font-size: 1.2rem; font-weight: 800; color: var(--dark); white-space: nowrap; }
.logo img { border-radius: 0; max-width: none; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }
.mobile-nav-header { display: none; }

/* Nav Overlay */
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; pointer-events: none; transition: var(--ease); }
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ─── HERO ─── */
.hero { 
    padding: 100px 0; 
    position: relative;
    background-size: cover;
    background-position: center;
}
.hero-dark {
    background-image: url('assets/hero.png');
    color: var(--white);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
    z-index: 1;
}
.hero-z { position: relative; z-index: 2; }
.hero-content { max-width: 780px; margin: 0 auto; }
.subtitle { display: block; color: var(--primary); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.subtitle-light { display: block; color: var(--white); opacity: 0.9; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.text-white { color: var(--white) !important; }
.text-white-70 { color: rgba(255,255,255,0.7) !important; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 16px; }
.primary-text { color: var(--primary); }
.hero-description { font-size: 1.25rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* ─── SECTION TITLE ─── */
.section-title { margin-bottom: 8px; }
.section-title h2 { font-size: 2rem; }
.section-title p { color: var(--text-light); margin-top: 8px; }

/* ─── ABOUT ─── */
.text-block { display: flex; flex-direction: column; gap: 16px; }
.text-block h2 { font-size: 2rem; }
.img-block img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

/* ─── SERVICE CARDS ─── */
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--ease); }
.service-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 24px rgba(37,99,235,0.1); }
.service-img-wrap { width: 100%; height: 200px; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.service-body { padding: var(--card-pad); }
.service-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-body p { font-size: 0.9rem; color: var(--text-light); }

/* ─── WHY US ─── */
.icon-text-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.icon-text-row i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.icon-text-row p { font-size: 0.95rem; }

/* ─── FORM ─── */
.form-center { display: flex; justify-content: center; }
.form-card { width: 100%; max-width: 520px; background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.form-sub { color: var(--text-light); font-size: 0.95rem; margin-top: 6px; margin-bottom: 4px; }
.modern-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.trust-note { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--ease);
    text-decoration: none;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #16a34a; }
.btn-full { width: 100%; height: 48px; }

/* ─── FOOTER ─── */
.footer { padding: 48px 0 24px; }
.footer p, .footer a { color: #94a3b8; font-size: 0.9rem; line-height: 1.8; }
.footer a:hover { color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 20px; text-align: center; }
.footer-bottom p { color: #475569; font-size: 0.8rem; }

/* Shop status in footer */
.subtle-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: #94a3b8; padding: 4px 0; margin-bottom: 32px; }
.pulse-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* ─── FAB CALL BUTTON ─── */
.fab-wrapper { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.fab-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; justify-content: center; align-items: center; font-size: 1.4rem; box-shadow: 0 6px 20px rgba(37,99,235,0.35); transition: var(--ease); }
.fab-btn:hover { background: var(--primary-dark); transform: scale(1.05); }

/* ─── NAV SCROLL EFFECT ─── */
header { transition: box-shadow 0.3s ease; }
header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

/* ─── CONTACT + MAP SECTION ─── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 32px;
}
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.brand-badge { margin-bottom: 8px; }
.brand-badge h3 { font-size: 1.4rem; margin-bottom: 4px; }
.rating-badge { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #f59e0b; font-weight: 600; margin-bottom: 4px; }
.rating-badge span:last-child { color: var(--text-light); font-weight: 400; }
.store-type { font-size: 0.85rem; color: var(--text-light); }

.cinfo-row { display: flex; align-items: flex-start; gap: 14px; }
.cinfo-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(37,99,235,0.06); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.cinfo-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; font-weight: 600; }
.cinfo-val { font-size: 0.95rem; font-weight: 600; color: var(--dark); line-height: 1.4; }
.cinfo-val[href] { color: var(--primary); transition: var(--ease); }
.cinfo-val[href]:hover { color: var(--primary-dark); }
.contact-cta { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 350px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--primary); padding: 20px 0; }
.trust-strip-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 32px; }
.trust-num { font-family: 'Outfit', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--white); line-height: 1; }
.trust-label { font-size: 0.8rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.5px; }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* ─── HOW IT WORKS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step-card h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }
.step-num { width: 40px; height: 40px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; }

/* ─── FOOTER UPGRADE ─── */
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 0.9rem; color: #94a3b8; line-height: 1.7; margin-bottom: 20px; }
.footer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-heading { color: var(--white); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; }
.footer-col a:hover { color: var(--white); }
.footer-col i { color: #64748b; width: 16px; }

/* Small button variant */
.btn-sm { height: 38px; padding: 0 18px; font-size: 0.85rem; }

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 991px) {
    /* Mobile Nav Drawer */
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--white); flex-direction: column;
        padding: 0; gap: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1001; transition: right 0.3s ease;
    }
    .nav-links.active { right: 0; }
    .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 1rem; }
    .mobile-nav-header {
        display: flex; justify-content: space-between; align-items: center;
        padding: 20px 24px; border-bottom: 2px solid var(--border);
        font-weight: 700; font-size: 0.9rem; letter-spacing: 1px;
    }
    #closeNav { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }
    .mobile-menu-btn { display: block; }

    /* Hero */
    .hero { padding: 60px 0; }
    .hero-content h1 { font-size: 2.25rem; }
    .hero-description { font-size: 1rem; }

    /* Grids → single column */
    .section-row { grid-template-columns: 1fr; gap: 32px; }
    .contact-layout { grid-template-columns: 1fr; }
    .map-wrap { height: 260px; }
    /* Image goes first on mobile for Why Us */
    #why-us .section-row .img-block { order: -1; }
    /* About image goes below text on mobile */
    #about .section-row .img-block { order: 1; }

    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px 16px; }
}

@media (max-width: 576px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 360px; }
    .grid-3 { grid-template-columns: 1fr; }
    
    /* Trust strip stacks on small screens */
    .trust-divider { display: none; }
    .trust-strip-grid { gap: 8px; }
    .trust-item { padding: 10px 20px; }
    
    /* Footer collapses */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-actions { justify-content: flex-start; }
}
