:root {
    --color-1: #021024;
    --color-2: #052659;
    --color-3: #5483b3;
    --color-4: #7da0ca;
    --color-5: #c1e8ff;
    --color-6: #ffffff;
    --color-7: #cbd5e1;
    --color-black: #020617;
    --color-blue: #0ea5e9;
    --header-height: 86px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--color-1);
    color: var(--color-6);
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

body,
input,
textarea,
button {
    font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
p,
a,
span,
input,
textarea,
button {
    font-family: "Montserrat", sans-serif;
}

body :not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
    font-family: "Montserrat", sans-serif !important;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

section {
    min-height: 100vh;
    scroll-margin-top: var(--header-height);
}

.main-container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(2, 16, 36, 0.96);
    border-radius: 0 0 18px 18px;
    box-shadow:
        0 4px 10px rgba(255, 255, 255, 0.18),
        0 12px 24px rgba(2, 16, 36, 0.72);
    backdrop-filter: blur(12px);
}

.header-container {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 22px;
    padding-block: 10px;
}

.logo {
    width: 118px;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: 62px;
    object-fit: contain;
}

.menu-toggle {
    display: none;
}

.menu-backdrop {
    display: none;
}

.menu-panel {
    display: contents;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.nav-link {
    position: relative;
    color: var(--color-7);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-5);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--color-3);
    transition: width 0.25s ease;
}

.nav-link.active::after {
    width: 100%;
}

.socials {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--color-7);
    border: 1px solid rgba(203, 213, 225, 0.5);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: var(--color-6);
}

.instagram:hover {
    background: #e1306c;
    border-color: #e1306c;
}

.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.Whatsapp:hover {
    background: #2cb742;
    border-color: #2cb742;
}

.email:hover {
    background: #475569;
    border-color: #475569;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 50px;
}

.phone {
    color: var(--color-7);
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.phone:hover {
    color: var(--color-5);
}

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-1);
}

.hero-bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: 52%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.52) contrast(1.08) saturate(0.92);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--color-1) 0%, var(--color-1) 39%, rgba(2, 16, 36, 0.96) 48%, rgba(2, 16, 36, 0.58) 60%, rgba(2, 16, 36, 0.14) 100%),
        linear-gradient(180deg, transparent 0%, transparent 58%, rgba(2, 16, 36, 0.74) 78%, rgba(2, 16, 36, 1) 100%),
        linear-gradient(0deg, rgba(2, 16, 36, 0.24), rgba(2, 16, 36, 0.24));
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-block: 90px 70px;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 24px;
    color: var(--color-5);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
}

.hero-subtitle {
    max-width: 650px;
    margin-bottom: 36px;
    color: #d7e0ea;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.btn-primary,
.btn-secondary,
.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

.btn-primary:hover {
    background: var(--color-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--color-6);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover {
    border-color: var(--color-5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hero-benefits {
    display: grid;
    gap: 10px;
    color: #d7e0ea;
    font-size: 14px;
}

.hero-benefits i {
    margin-right: 8px;
    color: var(--color-5);
}

.about {
    position: relative;
    overflow: hidden;
    background: var(--color-black);
}

.about-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.48) contrast(1.08) saturate(0.9);
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 16, 36, 1) 0%, rgba(2, 16, 36, 0.96) 12%, rgba(2, 16, 36, 0.42) 32%, rgba(2, 16, 36, 0.4) 66%, rgba(2, 16, 36, 0.98) 90%, rgba(2, 16, 36, 1) 100%),
        linear-gradient(0deg, rgba(2, 16, 36, 0.18), rgba(2, 16, 36, 0.18));
}

.about-container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 48px;
    padding-block: 130px 90px;
}

.about-left {
    position: relative;
}

.about-left::before {
    content: "";
    position: absolute;
    inset: -44px;
    z-index: -1;
    border-radius: 18px;
    background: radial-gradient(circle at 25% center, rgba(2, 16, 36, 0.95), rgba(2, 16, 36, 0.64) 65%, transparent);
}

.about-left h2,
.contact-info h2,
.contact-form h2 {
    color: var(--color-5);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
}

.line {
    width: 52px;
    height: 3px;
    margin: 16px 0 22px;
    background: var(--color-blue);
}

.about-left p {
    max-width: 590px;
    margin-bottom: 15px;
    color: #d7e0ea;
    line-height: 1.65;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.about-card,
.service-card,
.contact-form {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.about-card {
    min-height: 224px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(2, 16, 36, 0.88);
    border-radius: 8px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    background: rgba(5, 38, 89, 0.94);
}

.about-card i {
    margin-bottom: 14px;
    color: var(--color-3);
    font-size: 28px;
}

.about-card h3 {
    color: var(--color-5);
    font-size: 18px;
    line-height: 1.25;
}

.about-card .line {
    margin: 12px auto 14px;
}

.about-card p {
    color: var(--color-7);
    font-size: 14px;
    line-height: 1.5;
}

.services {
    min-height: auto;
    padding: 120px 0;
    background: var(--color-1);
}

.services-box {
    padding: 56px;
    color: var(--color-6);
    background: linear-gradient(135deg, #5483b3, #06193d);
    border-radius: 8px;
    box-shadow:
        0 20px 54px rgba(2, 16, 36, 0.42),
        0 0 34px rgba(255, 255, 255, 0.14);
}

.services-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 34px;
    margin-bottom: 46px;
}

.services-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--color-4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.services-top h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
}

.services-line {
    flex: 1;
    max-width: 340px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 42px;
}

.service-card {
    min-height: 210px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.15);
}

.step {
    display: block;
    margin-bottom: 12px;
    opacity: 0.64;
    font-size: 14px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.3;
}

.service-card p {
    color: #d8e2f4;
    font-size: 14px;
    line-height: 1.55;
}

.services-bottom {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.avatars {
    display: flex;
    flex-shrink: 0;
    padding-left: 10px;
}

.avatars img {
    width: 38px;
    height: 38px;
    margin-left: -10px;
    border: 2px solid #0a2b6a;
    border-radius: 50%;
    background: var(--color-6);
}

.services-bottom p {
    flex: 1;
    color: #ecf4ff;
    font-size: 14px;
}

.services-btn {
    min-height: 42px;
    padding: 10px 18px;
    background: #1d4ed8;
    color: var(--color-6);
    font-size: 14px;
}

.services-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.contact {
    min-height: auto;
    padding: 120px 0;
    background: var(--color-1);
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: stretch;
    gap: 64px;
}

.contact-description {
    margin: 20px 0 38px;
    color: var(--color-7);
    line-height: 1.65;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item h4 {
    margin-bottom: 6px;
    color: var(--color-5);
}

.contact-item p,
.contact-item a {
    color: var(--color-7);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--color-5);
}

.contact-form {
    padding: 38px;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 8px;
}

.contact-form h2 {
    margin-bottom: 28px;
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 4px;
    color: var(--color-6);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    outline: none;
}

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

.contact-form textarea {
    min-height: 112px;
    resize: vertical;
}

.contact-form button {
    min-height: 50px;
    margin-top: 8px;
    color: var(--color-5);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-form button:hover {
    background: var(--color-2);
    transform: translateY(-2px);
}

.footer {
    padding: 64px 0 26px;
    background:
        linear-gradient(180deg, rgba(2, 16, 36, 0.94), #020617),
        var(--color-black);
    border-top: 1px solid rgba(193, 232, 255, 0.16);
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(160px, 1fr));
    gap: 36px;
    padding-bottom: 40px;
}

.footer-logo {
    width: 124px;
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo img {
    width: 100%;
    height: 64px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 340px;
    color: var(--color-7);
    font-size: 14px;
    line-height: 1.65;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 6px;
    color: var(--color-5);
    font-size: 16px;
}

.footer-column a,
.footer-column span {
    color: var(--color-7);
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-column a:hover {
    color: var(--color-5);
}

.footer-contact i {
    width: 18px;
    margin-right: 8px;
    color: var(--color-4);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(193, 232, 255, 0.12);
}

.footer-bottom p {
    color: rgba(203, 213, 225, 0.82);
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials .social-btn {
    width: 38px;
    height: 38px;
}

@media (max-width: 1100px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .services-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    :root {
        --header-height: 76px;
    }

    .main-container {
        width: min(100% - 28px, 1200px);
    }

    .header {
        border-radius: 0 0 12px 12px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header-container {
        grid-template-columns: 1fr auto;
        gap: 12px;
        min-height: var(--header-height);
        position: relative;
        z-index: 1003;
    }

    .logo {
        width: 104px;
    }

    .logo img {
        height: 54px;
    }

    .menu-toggle {
        width: 48px;
        height: 48px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: relative;
        z-index: 1002;
        color: var(--color-5);
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(193, 232, 255, 0.28);
        border-radius: 8px;
        cursor: pointer;
    }

    .menu-backdrop {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 900;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.72);
        border: 0;
        cursor: default;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    body.menu-open .menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transform-origin: center;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }

    body.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-panel {
        position: fixed;
        top: calc(var(--header-height) + 14px);
        left: 14px;
        right: 14px;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        padding: 18px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-18px);
        pointer-events: none;
        background: rgba(2, 16, 36, 0.99);
        border: 1px solid rgba(193, 232, 255, 0.18);
        border-radius: 8px;
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52);
        backdrop-filter: blur(16px);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: visible;
    }

    .nav-link {
        width: 100%;
        padding: 14px 4px;
        font-size: 17px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link::after {
        display: none;
    }

    .socials {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 16px 0;
    }

    .social-btn {
        width: 100%;
        height: 46px;
    }

    .header-right {
        align-items: flex-start;
        gap: 10px;
        margin-left: 0;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .phone {
        font-size: 13px;
    }

    body.menu-open .menu-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.42;
        filter: brightness(0.46) contrast(1.08) saturate(0.88);
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(2, 16, 36, 0.98), rgba(2, 16, 36, 0.7) 58%, rgba(2, 16, 36, 0.22)),
            linear-gradient(180deg, transparent 0%, rgba(2, 16, 36, 0.22) 44%, rgba(2, 16, 36, 1) 100%);
    }

    .hero-container {
        padding-block: 72px 58px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .about-container {
        min-height: auto;
        padding-block: 88px 70px;
    }

    .about-left::before {
        inset: -20px;
    }

    .about-cards,
    .services-cards {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 78px 0;
    }

    .services-box {
        padding: 30px 18px;
    }

    .services-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 30px;
    }

    .services-line {
        width: 100%;
        max-width: none;
    }

    .services-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-btn {
        width: 100%;
    }

    .contact {
        padding: 78px 0;
    }

    .contact-container {
        gap: 36px;
    }

    .contact-form {
        padding: 28px 18px;
    }

    .footer {
        padding-top: 48px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px 22px;
        padding-bottom: 32px;
    }
}

@media (max-width: 430px) {
    :root {
        --header-height: 76px;
    }

    .nav {
        gap: 0;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
