:root {
    --color-primary: #009ace;
    --color-primary-dark: #007ba5;
    --color-dark: #3b3d40;
    --color-gray: #919396;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --font-main: 'Montserrat', Arial, sans-serif;
    --container-width: 1100px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

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

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

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

/* ---------- Sections ---------- */

.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2.5rem;
}

section {
    padding: 4.5rem 1.5rem;
}

/* ---------- Hero ---------- */

.hero {
    background:
        linear-gradient(rgba(24, 26, 27, 0.65), rgba(24, 26, 27, 0.65)),
        url('../img/hero-banner.webp') center / cover no-repeat;
    color: var(--color-white);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
}

.hero__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
}

.hero__nav img {
    width: 216px;
}

.hero__phone {
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
}

.hero__phone:hover {
    color: var(--color-primary);
}

.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hero__content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.hero__accent {
    color: var(--color-primary);
}

.hero__content p {
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 2rem;
}

/* ---------- Stats ---------- */

.stats {
    background: var(--color-light);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 1rem;
}

.stat__number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.stat__source {
    margin-top: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray);
}

/* ---------- Services ---------- */

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.service {
    text-align: center;
    padding: 1.5rem 1rem;
}

.service__icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.25rem;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service__icon img {
    width: 55px;
    height: auto;
}

.service h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.service p {
    font-size: 0.95rem;
}

/* ---------- CTA band ---------- */

.cta-band {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
}

.cta-band h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-band p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ---------- Testimonials ---------- */

.testimonials {
    background: var(--color-light);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.testimonial {
    background: var(--color-white);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonial__quote-icon {
    width: 40px;
    margin-bottom: 1.25rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.testimonial footer span {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* ---------- Contact ---------- */

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    align-items: center;
}

.contact .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact address {
    font-style: normal;
    margin-bottom: 1rem;
}

.contact a:not(.btn) {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact a:not(.btn):hover {
    text-decoration: underline;
}

.contact__note {
    margin-top: 1rem;
    color: var(--color-gray);
}

.contact__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact__photo img {
    border-radius: 6px;
    display: block;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 3rem 1.5rem;
    font-size: 0.85rem;
}

.footer img {
    width: 180px;
    margin-bottom: 1.25rem;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    .hero {
        background:
            linear-gradient(rgba(24, 26, 27, 0.65), rgba(24, 26, 27, 0.65)),
            url('../img/hero-banner-mobile.webp') center / cover no-repeat;
    }

    .hero__nav img {
        width: 160px;
    }

    .contact__actions .btn {
        width: 100%;
        text-align: center;
    }
}
