* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080b14;
    color: #f8fafc;
    font-family: Arial, sans-serif;
}

button, input, textarea {
    font: inherit;
}

/* HEADER */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 8%;
    border-bottom: 1px solid #20283a;
}

.logo {
    color: white;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span,
.section-heading h2 span {
    color: #38bdf8;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color .3s;
}

nav a:hover {
    color: #38bdf8;
}

.menu-button {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 570px;
    padding: 110px 20px;
    text-align: center;
    background:
        radial-gradient(ellipse at top, #172b48 0%, #080b14 65%);
}

.eyebrow {
    color: #38bdf8;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(45px, 8vw, 85px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero-description {
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.7;
}

.button {
    display: inline-block;
    background: #38bdf8;
    color: #07111e;
    padding: 15px 25px;
    border: none;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.button:hover {
    background: white;
    transform: translateY(-3px);
}

.hero-note {
    color: #64748b;
    font-size: 10px;
    letter-spacing: 3px;
    margin-top: 70px;
}

/* SECTIONS */

.section {
    padding: 100px 8%;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2,
.about h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
}

.section-heading > p:last-child,
.about > p:last-child {
    color: #94a3b8;
    line-height: 1.7;
}

/* SERVICE CARDS */

.service-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 1000px;
    margin: auto;
}

.service-card {
    background: #111827;
    border: 1px solid #263449;
    border-radius: 12px;
    padding: 35px;
    text-align: left;
    color: white;
    cursor: pointer;
    transition: .3s;
}

.service-card:hover {
    border-color: #38bdf8;
    transform: translateY(-6px);
    background: #172338;
}

.service-icon {
    color: #38bdf8;
    font-size: 13px;
}

.service-card h3 {
    font-size: 27px;
    margin: 25px 0 12px;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.6;
}

.card-link {
    display: block;
    color: #38bdf8;
    margin-top: 30px;
    font-size: 14px;
}

/* ABOUT */

.about {
    background: #111827;
    text-align: center;
}

.about > p:last-child {
    max-width: 550px;
    margin: 20px auto 0;
}

/* CONTACT */

.contact form {
    display: flex;
    flex-direction: column;
    gap: 13px;
    max-width: 550px;
    margin: auto;
}

.contact label {
    color: #cbd5e1;
    font-size: 14px;
}

.contact input,
.contact textarea {
    background: #111827;
    color: white;
    border: 1px solid #334155;
    border-radius: 7px;
    padding: 15px;
    outline: none;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #38bdf8;
}

.contact textarea {
    min-height: 140px;
    resize: vertical;
}

.feedback {
    color: #38bdf8;
    line-height: 1.6;
}

/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 650px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.modal-content > p:not(.eyebrow) {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 25px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.price-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.price-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 9px;
    border: 1px solid #334155;
}

.price-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.price-card strong {
    display: block;
    color: #38bdf8;
    font-size: 22px;
    margin-bottom: 10px;
}

.price-card p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.price-note {
    color: #94a3b8;
    font-size: 12px;
    margin: 0 0 20px;
}

/* FOOTER */

footer {
    border-top: 1px solid #263449;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

footer p {
    color: #64748b;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 650px) {

    .header {
        padding: 20px;
    }

    .menu-button {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #111827;
        padding: 25px;
        flex-direction: column;
        z-index: 10;
    }

    nav.active {
        display: flex;
    }

    .hero {
        padding: 90px 20px;
    }

    .section {
        padding: 75px 20px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .price-container {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}