/* =========================
RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

/* =========================
VARIABLES
========================= */

:root {
    --primary: #004aad;
    --secondary: #74cc00;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
}

/* =========================
GLOBAL
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
}

/* =========================
HEADER
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

header .container {
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    max-width: 120px;
    width: 100%;
    height: auto;
}

.logo span {
    color: var(--secondary);
}

.logo p {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.btn-phone {
    background: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    white-space: nowrap;
}

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

/* =========================
HERO
========================= */

.hero {
    background:
        linear-gradient(rgba(0, 74, 173, 0.88),
            rgba(0, 74, 173, 0.88));
    color: white;
    text-align: center;
    padding: 140px 0;
}

.hero h2 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: auto;
    line-height: 1.2;
}

.hero p {
    max-width: 750px;
    margin: 30px auto;
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

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

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

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

/* =========================
SERVICES
========================= */

.services {
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 10px;
}

/* =========================
AVANTAGES
========================= */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantage {
    background: white;
    padding: 25px;
    border-left: 5px solid var(--secondary);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* =========================
CONTACT
========================= */

.contact {
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #003786;
}

/* =========================
FOOTER
========================= */

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

footer h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

footer p {
    margin: 8px 0;
    opacity: 0.9;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {

    header .container {
        gap: 12px;
    }

    .logo img {
        max-width: 100px;
    }

    nav ul {
        gap: 15px;
        font-size: 0.9rem;
    }

    .btn-phone {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

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

}

@media (max-width: 600px) {

    header {
        position: relative;
    }

    header .container {
        min-height: auto;
        padding: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .logo img {
        max-width: 90px;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        gap: 12px;
        font-size: 0.8rem;
        justify-content: center;
    }

    nav a {
        font-size: 0.9rem;
    }

    .btn-phone {
        font-size: 0.8rem;
        padding: 8px 14px;
        min-width: 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        font-size: 0.95rem;
        padding: 14px 20px;
    }

}