/* =========================================
   VARIABLES
========================================= */

:root {

    --blue-950: #071a2d;
    --blue-900: #0b2239;
    --blue-800: #103957;
    --blue-700: #14547c;
    --blue-600: #1c6f9f;
    --blue-500: #2b8bc4;
    --blue-100: #e9f5fb;

    --white: #ffffff;
    --off-white: #f6f9fb;

    --text: #17232e;
    --muted: #667582;

    --border: #dce5eb;

    --danger: #e53935;

    --container: 1200px;

    --radius: 12px;

    --shadow:
        0 15px 45px rgba(7, 26, 45, 0.10);

    --transition:
        0.25s ease;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    color: var(--white);
}

.header-inner {
    width: min(100% - 48px, 1250px);
    height: 88px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 16px;
    line-height: 1.1;
    font-weight: 600;
}

.logo strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
}

.logo-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--blue-500);

    font-size: 25px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;

    font-size: 14px;
    font-weight: 600;
}

.nav a {
    transition: var(--transition);
}

.nav > a:not(.nav-button):hover {
    color: #8ed3fa;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 12px 19px;

    border-radius: 8px;

    background: var(--white);
    color: var(--blue-900);

    transition: var(--transition);
}

.nav-button:hover {
    transform: translateY(-2px);
    background: var(--blue-100);
}

.menu-button {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: var(--white);

    transition: var(--transition);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    background-image: url("../images/image9.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 19, 33, 0.93) 0%,
            rgba(4, 19, 33, 0.78) 45%,
            rgba(4, 19, 33, 0.40) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(100% - 48px, var(--container));

    margin-inline: auto;

    padding-top: 75px;
}

.emergency-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.pulse {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #ff514d;

    box-shadow:
        0 0 0 5px rgba(255, 81, 77, 0.15);
}

.hero h1 {
    max-width: 760px;

    font-size: clamp(44px, 6vw, 74px);
    line-height: 1.03;
    letter-spacing: -2.5px;
}

.hero h1 span {
    display: block;
    color: #86d1fa;
}

.hero-content > p {
    max-width: 620px;

    margin-top: 25px;

    color: #d8e5ed;

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 34px;
}

.button {
    min-height: 52px;

    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);
}

.button-primary {
    background: var(--blue-500);
    color: var(--white);
}

.button-primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(255,255,255,0.35);

    background: rgba(255,255,255,0.08);

    color: var(--white);

    backdrop-filter: blur(5px);
}

.button-secondary:hover {
    background: rgba(255,255,255,0.16);
}

.hero-trust {
    display: flex;
    gap: 42px;

    margin-top: 60px;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    font-size: 17px;
}

.hero-trust span {
    color: #b7c9d5;
    font-size: 12px;
}


/* =========================================
   USP
========================================= */

.usp-section {
    position: relative;
    z-index: 5;

    margin-top: -42px;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;
}

.usp {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 23px 28px;

    border-right: 1px solid var(--border);
}

.usp:last-child {
    border-right: 0;
}

.usp-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--blue-100);

    color: var(--blue-600);

    font-size: 18px;
}

.usp strong {
    display: block;

    font-size: 14px;
}

.usp span {
    display: block;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 680px;

    margin-bottom: 50px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--blue-600);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #86d1fa;
}

.section-heading h2,
.about-content h2,
.emergency-inner h2,
.contact-inner h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.4px;
}

.section-heading p {
    margin-top: 17px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================
   SERVICES
========================================= */

.services-section {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);

    border-color: #c8dce8;
}

.service-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 11px;

    background: var(--blue-100);

    font-size: 21px;
}

.service-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}

.service-card p {
    min-height: 105px;

    color: var(--muted);

    font-size: 13px;
}

.service-card a {
    color: var(--blue-600);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================
   EMERGENCY
========================================= */

.emergency-section {
    padding: 75px 0;

    background:
        linear-gradient(
            110deg,
            var(--blue-950),
            var(--blue-800)
        );

    color: var(--white);
}

.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.emergency-inner h2 {
    max-width: 650px;
}

.emergency-inner p {
    max-width: 650px;

    margin-top: 15px;

    color: #c4d5df;
}

.button-white {
    flex-shrink: 0;

    background: var(--white);

    color: var(--blue-900);
}

.button-white:hover {
    transform: translateY(-2px);

    background: var(--blue-100);
}

.button-outline {
    border: 1px solid rgba(255,255,255,0.4);

    color: var(--white);
}

.button-outline:hover {
    background: rgba(255,255,255,0.1);
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 80px;
}

.about-image {
    min-height: 530px;

    position: relative;

    border-radius: 16px;

    overflow: hidden;

    background-image: url("../images/image1.jpg");
    background-size: cover;
    background-position: center;
}

.about-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(5, 25, 40, 0.7)
        );
}

.about-badge {
    position: absolute;
    left: 25px;
    bottom: 25px;

    display: flex;
    flex-direction: column;

    padding: 17px 22px;

    border-radius: 10px;

    background: var(--white);

    box-shadow: var(--shadow);
}

.about-badge strong {
    color: var(--blue-600);

    font-size: 25px;
    line-height: 1;
}

.about-badge span {
    margin-top: 4px;

    color: var(--muted);

    font-size: 12px;
}

.about-content > p {
    max-width: 600px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 15px;
}

.about-points {
    margin-top: 30px;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 13px;
}

.about-points span {
    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--blue-100);

    color: var(--blue-600);

    font-size: 12px;
    font-weight: 800;
}

.about-points p {
    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   REVIEWS
========================================= */

.reviews-section {
    background: var(--off-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.review {
    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);
}

.stars {
    margin-bottom: 20px;

    color: #f2ad24;

    letter-spacing: 3px;
}

.review p {
    min-height: 105px;

    color: var(--muted);

    font-size: 14px;
}

.review strong {
    font-size: 13px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    padding: 100px 0;

    background:
        linear-gradient(
            120deg,
            var(--blue-700),
            var(--blue-500)
        );

    color: var(--white);

    text-align: center;
}

.contact-inner {
    max-width: 760px;
}

.contact-inner h2 {
    margin-top: 5px;
}

.contact-inner > p {
    margin: 18px auto 0;

    max-width: 620px;

    color: #e0f0f8;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--blue-950);

    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 70px;

    padding-top: 65px;
    padding-bottom: 55px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-grid > div:first-child p {
    max-width: 370px;

    color: #94a8b6;

    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links h3 {
    margin-bottom: 7px;

    font-size: 14px;
}

.footer-links a,
.footer-links span {
    color: #94a8b6;

    font-size: 13px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom .container {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #718694;

    font-size: 11px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 45px;
    }

    .about-image {
        min-height: 470px;
    }

}


@media (max-width: 800px) {

    .header-inner {
        height: 75px;
    }

    .nav {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        padding: 20px 24px 25px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 5px;

        background: var(--blue-950);

        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav > a:not(.nav-button) {
        padding: 12px 0;
    }

    .nav-button {
        justify-content: center;

        margin-top: 8px;
    }

    .menu-button {
        display: block;
    }

    .menu-button.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    .hero {
        min-height: 700px;
    }

    .hero-content {
        padding-top: 65px;
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 60px);
    }

    .hero-trust {
        gap: 25px;
    }


    .usp-section {
        margin-top: 0;
    }

    .usp-grid {
        grid-template-columns: 1fr;
    }

    .usp {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .usp:last-child {
        border-bottom: 0;
    }


    .section {
        padding: 80px 0;
    }


    .emergency-inner {
        align-items: flex-start;
        flex-direction: column;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 420px;
    }


    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review p {
        min-height: auto;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

}


@media (max-width: 550px) {

    .container,
    .header-inner,
    .hero-content {
        width: min(100% - 32px, var(--container));
    }

    .logo strong {
        font-size: 16px;
    }

    .logo {
        font-size: 13px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }


    .hero {
        min-height: 680px;

        background-position: 62% center;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-trust {
        margin-top: 45px;

        justify-content: space-between;

        gap: 15px;
    }

    .hero-trust strong {
        font-size: 14px;
    }

    .hero-trust span {
        font-size: 10px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card p {
        min-height: auto;
    }


    .about-image {
        min-height: 360px;
    }


    .contact-buttons {
        flex-direction: column;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom .container {
        min-height: 85px;

        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        gap: 4px;
    }

}