﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background: #f8fafc;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

.text-danger {
    color: #dc2626;
    font-size: .9rem;
    margin-top: 6px;
    display: block;
}

.validation-summary {
    margin-bottom: 16px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f4c81;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

    .nav-links a {
        font-weight: 500;
        color: #334155;
        transition: color .2s ease;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: #0f4c81;
        }

.menu-btn {
    display: none;
    width: 30px;
    height: 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

    .menu-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: #0f4c81;
        border-radius: 4px;
        transition: .3s ease;
    }

        .menu-btn span:nth-child(1) {
            top: 0;
        }

        .menu-btn span:nth-child(2) {
            top: 10px;
        }

        .menu-btn span:nth-child(3) {
            top: 20px;
        }

    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }

    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }

/* Hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.slider-container {
    position: relative;
    min-height: 82vh;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

.slide-media-wrap {
    position: absolute;
    inset: 0;
}

.slide-bg,
.slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-media {
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, .78) 0%, rgba(2, 6, 23, .45) 50%, rgba(2, 6, 23, .22) 100%);
}

.slide .container {
    position: relative;
    z-index: 2;
    min-height: 82vh;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 650px;
    color: #fff;
}

.badge,
.subtitle {
    display: inline-block;
    color: #0f4c81;
    background: #dbeafe;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.slide-content h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.slide-content p {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 26px;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

    .btn.primary {
        background: #0f4c81;
        color: #fff;
    }

        .btn.primary:hover {
            background: #0b3a61;
        }

    .btn.outline {
        border: 1px solid rgba(255,255,255,.45);
        color: #fff;
        background: transparent;
    }

        .btn.outline:hover {
            background: rgba(255,255,255,.1);
        }

.slider-nav {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: min(1140px, 92%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(6px);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.4);
    cursor: pointer;
}

    .dot.active {
        background: #fff;
    }

.hero-empty {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

/* Sections */
.services-section,
.contact-section {
    padding: 72px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

    .section-header h2 {
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        margin-bottom: 12px;
        color: #0f172a;
    }

    .section-header p {
        color: #64748b;
    }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #0f4c81;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

.service-card p {
    color: #64748b;
    margin-bottom: 16px;
}

.service-link {
    color: #0f4c81;
    font-weight: 600;
}

/* Contact */
.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

    .info-card i {
        color: #0f4c81;
        font-size: 1.2rem;
        margin-top: 4px;
    }

    .info-card h4 {
        margin-bottom: 6px;
        color: #0f172a;
    }

    .info-card p,
    .info-card a {
        color: #64748b;
    }

.contact-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-control {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: .98rem;
    background: #fff;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: #0f4c81;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, .12);
}

.submit-btn {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    background: #0f4c81;
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}

    .submit-btn:hover {
        background: #0b3a61;
    }

.honeypot {
    display: none !important;
}

.map-section {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.map-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

    .map-card h3 {
        margin-bottom: 14px;
        color: #0f172a;
    }

/* Footer */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr .8fr;
    gap: 28px;
    padding: 54px 0 28px;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 14px;
    color: #fff;
}

.footer-links,
.footer-contact {
    list-style: none;
}

    .footer-links li,
    .footer-contact li {
        margin-bottom: 10px;
        color: #cbd5e1;
    }

    .footer-contact i {
        margin-right: 8px;
    }

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: #fff;
    transition: .2s ease;
}

    .social-icons a:hover {
        background: #0f4c81;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
    text-align: center;
    color: #94a3b8;
}

/* Floating buttons */
.scroll-top,
.whatsapp-button {
    position: fixed;
    right: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    z-index: 999;
}

.scroll-top {
    bottom: 88px;
    background: #0f4c81;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}

    .scroll-top.show {
        opacity: 1;
        visibility: visible;
    }

.whatsapp-button {
    bottom: 22px;
    background: #25d366;
    color: #fff;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid,
    .contact-wrapper,
    .map-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 78px;
        right: -100%;
        width: min(82vw, 340px);
        height: calc(100vh - 78px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: -10px 0 30px rgba(0,0,0,.08);
        transition: .35s ease;
    }

        .nav-links.active {
            right: 0;
        }

    .form-row {
        grid-template-columns: 1fr;
    }

    .scroll-top,
    .whatsapp-button {
        right: 16px;
    }
}
