/* =====================================================
   RISHITA MOTORS - PRODUCTION CSS
   Clean | Optimized | Stable
===================================================== */

:root {
    --primary: #0F172A;
    --accent: #F97316;
    --highlight: #22C55E;
    --text-main: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* ================= LAYOUT ================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.bg-light {
    background: var(--bg-light);
}

.soft-text {
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
    color: var(--text-light);
}

/* ================= BUTTONS ================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary.black {
    background-color: var(--highlight);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline.black {
    border: 2px solid var(--primary);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* ================= HEADER ================= */

header {
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background: var(--accent);
    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= HERO ================= */

.hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 5rem 0 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-section h3 {
    margin-top: 1.5rem;
    color: var(--primary);
}

.faq-section p {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.cta-emergency {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

/* ================= GRID ================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    counter-reset: process-step;
}

.process-grid > div {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--accent);
}

.process-grid > div:hover {
    transform: translateY(-5px);
}

.process-grid > div::before {
    counter-increment: process-step;
    content: counter(process-step);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-grid h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-grid p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ================= CARDS ================= */

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* ================= TRUST STRIP ================= */

.trust-strip {
    background: var(--accent);
    color: white;
    padding: 1rem 0;
    font-weight: 600;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: center;
}

/* ================= CTA ================= */

.cta {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta p {
    margin: 1rem 0 2rem;
    color: #cbd5e1;
}

.cta-emergency {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

/* ================= FORMS ================= */

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-success {
    margin-top: 1rem;
    padding: 10px;
    background: #dcfce7;
    color: #166534;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* ================= FOOTER ================= */

footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--white);
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    font-size: 22px;
    padding: 14px 16px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 999;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }
}