/* =========================================
   SIGECA - LANDING PAGE
========================================= */

:root {
    --sigeca-dark: #12345A;
    --sigeca-blue: #1674C5;
    --sigeca-green: #16A085;
    --sigeca-light: #F4F7FB;
    --sigeca-white: #FFFFFF;
    --sigeca-text: #26384D;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--sigeca-text);
    background: var(--sigeca-white);
}

a {
    text-decoration: none;
}

/* =========================================
   NAVBAR
========================================= */

.navbar-sigeca {
    background: rgba(18, 52, 90, 0.97);
    padding: 15px 0;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12px);
    transition: all .3s ease;
}

.navbar-logo {
    width: 250px;
    height: 70px;
    object-fit: contain;
}

.navbar-sigeca .nav-link {
    color: rgba(255,255,255,.88);
    font-size: 14px;
    font-weight: 500;
    transition: color .3s ease;
}

.navbar-sigeca .nav-link:hover {
    color: #27D5A5;
}

.navbar-sigeca .navbar-toggler {
    border-color: rgba(255,255,255,.5);
}

.navbar-sigeca .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* =========================================
   BOTONES
========================================= */

.btn-sigeca-primary {
    background: var(--sigeca-green);
    color: white;
    border: 1px solid var(--sigeca-green);
    border-radius: 9px;
    font-weight: 600;
    padding: 12px 22px;
    transition: all .3s ease;
}

.btn-sigeca-primary:hover {
    background: #11856F;
    border-color: #11856F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22,160,133,.25);
}

.btn-sigeca-outline {
    border: 1px solid rgba(255,255,255,.8);
    color: white;
    border-radius: 9px;
    padding: 12px 22px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-sigeca-outline:hover {
    background: white;
    color: var(--sigeca-dark);
}

/* =========================================
   HERO
========================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(10, 39, 73, .97) 0%,
            rgba(15, 61, 104, .90) 48%,
            rgba(15, 61, 104, .65) 100%
        ),
        url('../images/landing/municipal.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(22, 116, 197, .20),
            transparent 40%
        );
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    background: rgba(255,255,255,.10);
    color: #A8F0D8;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.8px;
    color: white;
}

.hero-title span {
    display: block;
    color: #45D4AB;
}

.hero-description {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,.82);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hero-features div {
    font-size: 14px;
    color: rgba(255,255,255,.92);
}

.hero-features i {
    color: #28D5A2;
    margin-right: 9px;
}

.hero-trust {
    font-size: 12px;
    color: rgba(255,255,255,.70);
}

/* =========================================
   HERO IMAGE
========================================= */

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-image-glow {
    position: absolute;
    width: 75%;
    height: 75%;
    top: 12%;
    left: 12%;
    background: var(--sigeca-blue);
    filter: blur(90px);
    opacity: .35;
    z-index: -1;
}

.hero-dashboard-img {
    position: relative;
    width: 100%;
    border-radius: 16px;
    border: 5px solid rgba(255,255,255,.25);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    transform: perspective(1200px) rotateY(-5deg);
    transition: transform .4s ease;
}

.hero-dashboard-img:hover {
    transform: perspective(1200px) rotateY(0deg) translateY(-5px);
}

.hero-floating-card {
    position: absolute;
    bottom: -5px;
    left: -5px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    color: var(--sigeca-dark);
    box-shadow: 0 15px 40px rgba(0,0,0,.20);
}

.floating-icon {
    width: 45px;
    height: 45px;
    background: rgba(22,160,133,.12);
    color: var(--sigeca-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
}

.hero-floating-card strong {
    display: block;
    font-size: 13px;
}

.hero-floating-card small {
    display: block;
    color: #718096;
    font-size: 11px;
}

.hero-bottom-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 18px;
    background: white;
    clip-path: polygon(0 100%, 0 0, 50% 100%, 100% 0, 100% 100%);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .navbar-sigeca .navbar-collapse {
        background: var(--sigeca-dark);
        padding: 20px;
        margin-top: 15px;
        border-radius: 12px;
    }

    .navbar-sigeca .nav-item {
        margin-bottom: 8px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 90px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-image-wrapper {
        padding: 10px;
    }

    .hero-dashboard-img {
        transform: none;
    }

    .hero-floating-card {
        left: 5px;
        bottom: -15px;
    }
}

@media (max-width: 576px) {

    .navbar-logo {
        width: 140px;
    }

    .hero-title {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-features div {
        font-size: 13px;
    }

    .hero-section .btn {
        width: 100%;
        font-size: 14px;
    }

    .hero-floating-card {
        padding: 10px;
    }

}


/* =========================================
   PROBLEM STRIP - SIGECA
========================================= */

.problem-strip {
    position: relative;
    padding: 35px 0;
    background: linear-gradient(
        100deg,
        #F0F6FC 0%,
        #EAF3FB 100%
    );

    border-bottom: 1px solid #DFEAF4;
}

/* Elementos principales */

.problem-strip-item {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 100%;
}

/* Iconos */

.problem-strip-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1685D0;
    font-size: 38px;
}

.problem-strip-icon.solution-icon {
    color: #16A085;
    font-size: 43px;
}

/* Textos */

.problem-strip-content h4 {
    color: #12345A;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 5px;
}

.problem-strip-content p {
    color: #26384D;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 400px;
}

/* Flecha central */

.problem-strip-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #145B91;
    font-size: 27px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .problem-strip {
        padding: 30px 0;
    }

    .problem-strip-arrow {
        padding: 15px 0;
        transform: rotate(90deg);
    }

    .problem-strip-item {
        justify-content: flex-start;
    }

}

@media (max-width: 576px) {

    .problem-strip {
        padding: 25px 15px;
    }

    .problem-strip-item {
        gap: 15px;
    }

    .problem-strip-icon {
        flex-basis: 40px;
        width: 40px;
        font-size: 32px;
    }

    .problem-strip-icon.solution-icon {
        font-size: 36px;
    }

    .problem-strip-content h4 {
        font-size: 15px;
    }

    .problem-strip-content p {
        font-size: 12px;
    }

}



/* =========================================
   MODULES SECTION - SIGECA
========================================= */

.modules-section {
    padding: 35px 0 45px;
    background: linear-gradient(
        180deg,
        #FFFFFF 0%,
        #F4F7FB 100%
    );
}

/* Encabezado */

.modules-heading {
    margin-bottom: 10px;
}

.modules-title {
    color: var(--sigeca-dark);
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 7px;
    letter-spacing: -.5px;
}

.modules-title-line {
    width: 38px;
    height: 3px;
    background: var(--sigeca-green);
    border-radius: 5px;
}

/* Tarjetas */

.module-card {
    height: 100%;
    min-height: 135px;
    padding: 15px 10px 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;

    background: #FFFFFF;
    border: 1px solid #E2EAF3;
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(18, 52, 90, .04);

    transition: all .3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22, 160, 133, .35);
    box-shadow: 0 10px 25px rgba(18, 52, 90, .10);
}

/* Iconos */

.module-icon {
    height: 35px;
    margin-bottom: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
}

.module-blue-green {
    color: #078F83;
}

.module-blue {
    color: #17649E;
}

.module-orange {
    color: #FF9500;
}

.module-red {
    color: #E53935;
}

.module-green {
    color: #168B3D;
}

.module-purple {
    color: #3158D5;
}

/* Textos */

.module-card h5 {
    color: #142D4E;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 5px;
}

.module-card p {
    color: #26384D;
    font-size: 10.5px;
    line-height: 1.35;
    margin-bottom: 0;
    max-width: 125px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .modules-section {
        padding: 35px 0;
    }

    .module-card {
        min-height: 145px;
    }

}

@media (max-width: 576px) {

    .modules-title {
        font-size: 20px;
    }

    .module-card {
        min-height: 140px;
        padding: 15px 8px;
    }

    .module-icon {
        font-size: 27px;
    }

    .module-card h5 {
        font-size: 11px;
    }

    .module-card p {
        font-size: 10px;
    }

}



/* =========================================
   BENEFITS SECTION - SIGECA
========================================= */

.benefits-section {
    padding: 35px 0;
    background: linear-gradient(
        100deg,
        #F4F7FB 0%,
        #EDF4FA 100%
    );
}

/* Encabezado */

.benefits-heading {
    margin-bottom: 14px;
}

.benefits-heading h2 {
    color: var(--sigeca-dark);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 7px;
    letter-spacing: -.4px;
}

.benefits-title-line {
    width: 38px;
    height: 3px;
    background: var(--sigeca-green);
    border-radius: 5px;
}

/* Contenido */

.benefits-list-wrapper {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Icono decorativo */

.benefits-decoration {
    flex: 0 0 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-decoration i {
    font-size: 85px;
    color: #C6D9E9;
    line-height: 1;
}

/* Lista */

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #26384D;
    font-size: 12px;
    line-height: 1.4;
}

.benefit-item i {
    flex: 0 0 16px;
    color: var(--sigeca-green);
    font-size: 17px;
    font-weight: bold;
}

/* =========================================
   MAPA CATASTRAL
========================================= */

.benefits-map-card {
    position: relative;
    width: 100%;
    height: 145px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #DCE8F3;
    border-radius: 14px;
    padding: 6px;

    box-shadow: 0 4px 12px rgba(18, 52, 90, .08);
}

.benefits-map-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 9px;
}

/* Información del predio */

.benefits-property-info {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);

    padding: 10px 12px;

    background: rgba(255,255,255,.96);
    border: 1px solid #DCE5EF;
    border-radius: 9px;

    box-shadow: 0 4px 15px rgba(18,52,90,.12);

    color: #26384D;
    font-size: 9px;
    line-height: 1.7;
}

.benefits-property-info strong {
    color: var(--sigeca-dark);
    font-weight: 800;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .benefits-section {
        padding: 40px 0;
    }

    .benefits-map-card {
        height: 200px;
    }

}

@media (max-width: 576px) {

    .benefits-heading h2 {
        font-size: 19px;
    }

    .benefits-list-wrapper {
        gap: 12px;
    }

    .benefits-decoration {
        flex-basis: 55px;
    }

    .benefits-decoration i {
        font-size: 55px;
    }

    .benefit-item {
        font-size: 11px;
        gap: 7px;
    }

    .benefits-map-card {
        height: 175px;
    }

    .benefits-property-info {
        right: 10px;
        padding: 7px 9px;
        font-size: 8px;
    }

}


/* =========================================
   SIGECA FOOTER
========================================= */

.sigeca-footer {
    width: 100%;
    padding: 9px 0;

    background: linear-gradient(
        100deg,
        #F1F6FC 0%,
        #E5EFF9 100%
    );

    border-top: 1px solid #D5E4F2;
    border-bottom: 1px solid #D5E4F2;
}

/* Logo SIGECA */

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-sigeca-logo {
    width: 220px;
    height: 52px;
    object-fit: contain;
    object-position: left center;
}

/* Logo desarrollador */

.footer-developer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.footer-developer span {
    color: #172B45;
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 1px;
}

.footer-developer-logo {
    width: 215px;
    height: 38px;
    object-fit: contain;
}

/* Contacto */

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    padding-left: 15px;
}

.footer-contact div {
    display: flex;
    align-items: center;
    gap: 9px;
    line-height: 1.4;
}

.footer-contact i {
    width: 13px;
    color: #155B91;
    font-size: 12px;
}

.footer-contact a {
    color: #243B57;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #16A085;
}

/* Responsive */

@media (max-width: 767px) {

    .sigeca-footer {
        padding: 20px 0;
    }

    .footer-brand,
    .footer-developer {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-sigeca-logo {
        width: 210px;
        object-position: center;
    }

    .footer-contact {
        align-items: center;
        padding-left: 0;
    }

}
