* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: #ffffff;
}

.topbar {
    background: #f1f1f1;
    padding: 3px 70px;
    text-align: right;
    font-size: 12px;
    line-height: 1.2;
}

.topbar a {
    color: #111827;
    text-decoration: none;
}

.header {
    height: 70px;
    padding: 0 70px;
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo-box {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    height: 52px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.menu a {
    text-decoration: none;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
}

.menu a:hover {
    color: #0f2f6f;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    z-index: 2000;
}

.dropdown-menu a {
    padding: 12px 20px;
    color: #111827;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #0f2f6f;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-header,
.btn-main {
    display: inline-block;
    background: #0f2f6f;
    color: #ffffff;
    text-decoration: none;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-header {
    padding: 10px 22px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-clientes {
    background: #111827;
}

.btn-header:hover,
.btn-main:hover {
    background: #123f91;
}

.btn-clientes:hover {
    background: #0f2f6f;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 80px 30px;
}

.hero-internal {
    min-height: 500px;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

.hero h1 {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
}

.section-title {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-title span,
.equipment-text span,
.rooftop-text span,
.service-detail-content span,
.applications-text span,
.final-service-box span {
    display: inline-block;
    color: #0f2f6f;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title h2,
.equipment-text h2,
.rooftop-text h2,
.service-detail-content h2,
.applications-text h2,
.final-service-box h2 {
    color: #0f2f6f;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-title p,
.equipment-text p,
.rooftop-text p,
.service-detail-content p,
.applications-text p,
.final-service-box p {
    color: #374151;
    font-size: 18px;
    line-height: 1.7;
}

.trust-section {
    background: #ffffff;
    padding: 85px 70px;
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 32px 24px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 47, 111, 0.08);
    text-align: center;
}

.trust-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #0f2f6f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.trust-card h3 {
    color: #0f2f6f;
    font-size: 20px;
    margin-bottom: 14px;
}

.trust-card p {
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
}

.services {
    background: #eef2f7;
    padding: 80px 70px;
    text-align: center;
}

.services h2 {
    font-size: 44px;
    color: #0f2f6f;
    margin-bottom: 50px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
    display: block;
}

.service-item h3 {
    color: #0f2f6f;
    font-size: 22px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.service-item p {
    font-size: 17px;
    line-height: 1.6;
    color: #374151;
}

.service-link:hover {
    transform: translateY(-4px);
    transition: 0.2s ease;
}

.vrv-box {
    margin: 50px auto 0;
    max-width: 700px;
    background: #0f2f6f;
    color: #ffffff;
    padding: 22px 30px;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 800;
}

.equipment-section {
    background: #ffffff;
    padding: 90px 70px;
}

.equipment-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.equipment-text p {
    margin-bottom: 18px;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.equipment-list p {
    background: #eef2f7;
    color: #0f2f6f;
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 700;
    margin: 0;
    font-size: 15px;
}

.brands-box {
    background: #eef2f7;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 47, 111, 0.08);
}

.brands-box h3 {
    color: #0f2f6f;
    font-size: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.brand-item {
    background: #ffffff;
    color: #0f2f6f;
    padding: 18px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.rooftop-section {
    background: #0f2f6f;
    padding: 90px 70px;
}

.rooftop-box {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 45px;
    align-items: center;
}

.rooftop-text span,
.rooftop-text h2,
.rooftop-text p {
    color: #ffffff;
}

.rooftop-text p {
    opacity: 0.94;
    margin-bottom: 18px;
}

.rooftop-points {
    display: grid;
    gap: 18px;
}

.rooftop-points div {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.rooftop-points strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.rooftop-points p {
    font-size: 16px;
    line-height: 1.6;
}

.sectors-section {
    background: #eef2f7;
    padding: 85px 70px;
}

.sectors-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.sectors-grid div {
    background: #ffffff;
    color: #0f2f6f;
    padding: 22px 18px;
    border-radius: 14px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(15, 47, 111, 0.08);
}

.service-detail-section {
    background: #ffffff;
    padding: 85px 70px;
}

.service-detail-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.service-detail-content p {
    margin-bottom: 20px;
}

.advantages-section {
    background: #eef2f7;
    padding: 85px 70px;
}

.advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 47, 111, 0.08);
}

.advantage-card h3 {
    color: #0f2f6f;
    font-size: 20px;
    margin-bottom: 14px;
}

.advantage-card p {
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
}

.applications-section {
    background: #ffffff;
    padding: 85px 70px;
}

.applications-content {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 45px;
    align-items: center;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.applications-grid div {
    background: #eef2f7;
    color: #0f2f6f;
    padding: 20px 18px;
    border-radius: 14px;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(15, 47, 111, 0.08);
}

.final-service-section {
    background: #0f2f6f;
    padding: 85px 70px;
}

.final-service-box {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 22px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: center;
}

.final-service-box span,
.final-service-box h2,
.final-service-box p {
    color: #ffffff;
}

.final-service-box p {
    opacity: 0.94;
    margin-bottom: 16px;
}

.cta-section {
    background: #ffffff;
    padding: 80px 30px;
    text-align: center;
}

.cta-section h2 {
    color: #0f2f6f;
    font-size: 38px;
    margin-bottom: 16px;
}

.cta-section p {
    color: #374151;
    font-size: 19px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-call {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-call:hover {
    background: #0f2f6f;
}

.contact {
    padding: 80px 30px;
    text-align: center;
    background: #ffffff;
}

.contact h2 {
    font-size: 42px;
    color: #0f2f6f;
    margin-bottom: 20px;
}

.contact p {
    font-size: 19px;
    margin-bottom: 12px;
    color: #374151;
}

.contact a {
    color: #0f2f6f;
    text-decoration: none;
}

.footer {
    background: #0f2f6f;
    color: #ffffff;
    text-align: center;
    padding: 25px;
    font-size: 15px;
}

.form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.form-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 400px;
    position: relative;
}

.form-box h2 {
    color: #0f2f6f;
    margin-bottom: 20px;
}

.form-box input,
.form-box textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 22px;
}

@media (max-width: 1100px) {
    .trust-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-content,
    .rooftop-box,
    .applications-content {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-service-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .topbar {
        padding: 4px 20px;
        text-align: center;
        font-size: 12px;
    }

    .header {
        height: auto;
        padding: 14px 20px;
        grid-template-columns: 1fr;
        gap: 14px;
        justify-items: center;
    }

    .logo-box {
        height: auto;
    }

    .logo {
        height: 46px;
    }

    .menu {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        font-size: 15px;
    }

    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-header {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero {
        min-height: 520px;
        padding: 70px 25px;
    }

    .hero-internal {
        min-height: 470px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .trust-section,
    .services,
    .equipment-section,
    .rooftop-section,
    .sectors-section,
    .service-detail-section,
    .advantages-section,
    .applications-section,
    .final-service-section {
        padding: 60px 25px;
    }

    .section-title h2,
    .equipment-text h2,
    .rooftop-text h2,
    .service-detail-content h2,
    .applications-text h2,
    .final-service-box h2,
    .cta-section h2 {
        font-size: 30px;
    }

    .services h2 {
        font-size: 34px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .equipment-list,
    .brands-grid,
    .sectors-grid,
    .trust-grid,
    .advantages-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }

    .final-service-box {
        padding: 30px 22px;
    }

    .form-box {
        width: 90%;
    }
}