body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: clip;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1.25rem);
    margin-bottom: 0.75rem;
    color: #5a6b7c;
    font-size: clamp(0.75rem, 0.9vw, 1.125rem);
    font-weight: 500;
    letter-spacing: clamp(0.08rem, 0.12vw, 0.15rem);
    line-height: 1.5;
    text-transform: uppercase;
}

.section-eyebrow img {
    display: block;
    flex: 0 0 clamp(2rem, 3vw, 3rem);
    width: clamp(2rem, 3vw, 3rem);
    height: clamp(2rem, 3vw, 3rem);
    object-fit: contain;
}

.section-eyebrow > span {
    min-width: 0;
}

.section-eyebrow--dark {
    color: #38bdf8;
}

.section-eyebrow--center {
    justify-content: center;
    text-align: left;
}

@media (max-width: 480px) {
    .section-eyebrow {
        align-items: center;
    }

    .section-eyebrow img {
        flex-basis: 2rem;
        width: 2rem;
        height: 2rem;
    }

}

/* Image grayscale and high-contrast filter to replicate black-and-white print look */
.img-bw {
    filter: grayscale(100%) contrast(110%) brightness(95%);
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.5s ease;
}

.img-container:hover .img-bw {
    filter: grayscale(80%) contrast(115%) brightness(100%);
    transform: scale(1.02);
}

.img-color {
    object-fit: cover;
    filter: brightness(1.04) contrast(1.04) saturate(1.02);
    transition: transform 0.5s ease;
}

.img-container:hover .img-color {
    transform: scale(1.02);
}

.construction-cover {
    position: relative;
    height: clamp(16rem, 38vw, 42rem);
    isolation: isolate;
}

.construction-fiber-divider {
    width: 100%;
    padding: 1.25rem 0;
    line-height: 0;
}

.construction-fiber-divider svg {
    display: block;
    width: 100%;
    height: 1.25rem;
    overflow: visible;
}

.construction-fiber-divider-base,
.construction-fiber-divider-pulse {
    fill: none;
    stroke-linecap: round;
}

.construction-fiber-divider-base {
    stroke: #1a2b4c;
    stroke-width: 1;
}

.construction-fiber-divider-pulse {
    stroke: #dceaee;
    stroke-width: 3;
    stroke-dasharray: 80 400;
    animation: construction-fiber-light-pulse 3.5s linear infinite;
    filter: drop-shadow(0 0 8px #dceaee);
}

@keyframes construction-fiber-light-pulse {
    from { stroke-dashoffset: 480; }
    to { stroke-dashoffset: -480; }
}

.construction-iso-badge {
    position: absolute;
    top: 0;
    right: clamp(1.5rem, 5vw, 4rem);
    z-index: 5;
    width: clamp(7rem, 14vw, 12rem);
    height: auto;
    transform: translateY(-50%);
}

.construction-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}

.construction-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.construction-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.construction-fiber-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.construction-fiber-path {
    fill: none;
    stroke: #5a6b7c;
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
    opacity: 0.35;
}

.construction-fiber-path-accent {
    fill: none;
    stroke: #318bb1;
    stroke-width: 2;
    opacity: 0.5;
}

.construction-fiber-pulse {
    fill: #318bb1;
    filter: drop-shadow(0 0 6px #318bb1);
}

.construction-fiber-node {
    fill: #003e58;
    stroke: #318bb1;
    stroke-width: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .construction-carousel-slide {
        transition: none;
    }

    .construction-fiber-pulse {
        display: none;
    }

    .construction-fiber-divider-pulse {
        animation: none;
        stroke-dasharray: none;
        stroke-dashoffset: 0;
    }
}

.construction-hero-title,
.construction-heading {
    margin: 0 0 clamp(1.25rem, 2vw, 2rem);
    font-size: clamp(1.875rem, 3.5vw, 6rem);
    font-weight: 700;
    line-height: 1.2;
}

.construction-hero-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 7rem);
}

.construction-capacity {
    position: absolute;
    top: 3.75rem;
    right: clamp(1.5rem, 3.5vw, 3rem);
    z-index: 1;
    min-width: 15rem;
    padding: 1rem 1.25rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(2, 18, 29, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    text-align: right;
}

.construction-capacity-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.55rem, 0.8vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.construction-capacity-number {
    display: block;
    color: #ffffff;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
}

.construction-capacity-unit {
    display: block;
    margin-top: 0.25rem;
    color: #38bdf8;
    font-size: clamp(0.55rem, 0.85vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    /* En móvil la insignia deja de flotar para no tapar el texto del hero */
    .construction-capacity {
        position: static;
        display: inline-block;
        min-width: 0;
        margin-bottom: 1.25rem;
        padding: 0.65rem 0.85rem 0.75rem;
        border-radius: 0.8rem;
        text-align: left;
    }

    .construction-hero-content {
        padding-top: 0;
    }
}

.construction-heading {
    color: #123e59;
}

#sobre-servicio {
    padding-inline: clamp(2rem, 7vw, 6.5rem);
}

#alcance {
    display: grid;
    grid-template-columns: minmax(18rem, 0.35fr) minmax(0, 0.65fr);
    border: 0;
    background: #f2f5f7;
}

#alcance > div:first-child {
    grid-column: 1;
    justify-content: flex-start;
    padding: clamp(2rem, 7vw, 6.5rem);
    background: #2d4658;
}

#alcance .construction-heading {
    color: #ffffff;
}

#alcance > div:first-child > .absolute {
    display: none;
}

#alcance > div:last-child {
    grid-column: 2;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    background: #f2f5f7;
}

#alcance ul {
    display: grid;
    gap: 0.9rem;
}

#alcance ul > li {
    display: flex;
    min-height: 4.1rem;
    align-items: center;
    padding: 0.95rem 1.25rem;
    border: 1px solid #d9e2e8;
    border-left: 3px solid #38bdf8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(27, 51, 65, 0.07);
    color: #193b4e;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    font-weight: 500;
    line-height: 1.4;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#alcance ul > li:hover {
    border-color: #a9c7d4;
    box-shadow: 0 10px 24px rgba(27, 51, 65, 0.11);
    transform: translateX(3px);
}

@media (max-width: 767px) {
    #sobre-servicio {
        padding-inline: 1.5rem;
    }

    #alcance {
        grid-template-columns: minmax(0, 1fr);
    }

    #alcance > div:first-child,
    #alcance > div:last-child {
        grid-column: 1;
    }

    #alcance > div:first-child {
        padding: 2rem 1.5rem;
    }

    #alcance > div:last-child {
        padding: 1.5rem;
    }
}

.construction-proof-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(0.65rem, 1vw, 1rem);
    padding: clamp(0.75rem, 1.5vw, 1.25rem) !important;
    border: 1px solid #d6e0e5 !important;
    border-radius: 8px !important;
    background: linear-gradient(145deg, #edf2f4, #e4ebee) !important;
    box-shadow: 0 10px 24px rgba(0, 62, 88, 0.08) !important;
}

.construction-proof-list > .flex {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.85rem;
    margin: 0 !important;
    padding: 1rem;
    border: 1px solid #dbe4e8;
    border-left: 3px solid #318bb1;
    border-radius: 6px;
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.construction-proof-list > .flex:hover {
    border-color: #afc5cf;
    box-shadow: 0 5px 14px rgba(0, 62, 88, 0.08);
    transform: translateY(-2px);
}

.construction-proof-list > .flex > span:first-child {
    position: relative;
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 2.2rem;
    place-items: center;
    margin: 0;
    border: 1px solid #c5d5dc;
    border-radius: 4px;
    background: #eaf1f4;
    color: transparent;
    font-size: 0;
}

.construction-proof-list > .flex > span:first-child::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.65rem;
    height: 0.35rem;
    border-bottom: 2px solid #17465b;
    border-left: 2px solid #17465b;
    content: "";
    transform: translate(-50%, -65%) rotate(-45deg);
}

.construction-proof-list > .flex > div {
    min-width: 0;
    margin-left: 0 !important;
}

.construction-proof-list h3 {
    color: #173d50 !important;
    font-size: clamp(0.9rem, 1vw, 1rem) !important;
    line-height: 1.35;
}

.construction-proof-list p {
    margin-top: 0.35rem !important;
    color: #5c6870 !important;
    font-size: 0.8125rem !important;
    line-height: 1.5;
}

.deployment-grid {
    align-items: stretch;
}

.deployment-image-column {
    min-width: 0;
    align-self: stretch;
}

.deployment-image-frame {
    width: 100%;
    height: auto;
    max-height: 52.5rem;
    aspect-ratio: auto;
    min-height: 0;
}

.deployment-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

@media (max-width: 767px) {
    .deployment-image-frame {
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    .construction-proof-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .construction-proof-list > .flex:nth-child(5) {
        grid-column: auto;
    }
}

.coverage-grid {
    align-items: stretch;
}

.coverage-image-column {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.coverage-image-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.coverage-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .deployment-image-frame {
        aspect-ratio: 4 / 3;
    }

    .coverage-image-column {
        display: block;
        aspect-ratio: 4 / 3;
    }

    .coverage-image-frame {
        height: 100%;
    }
}

/* Subtle animated underline for interactive links */
.hover-underline {
    position: relative;
}
.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #38bdf8;
    transition: width 0.3s ease-in-out;
}
.hover-underline:hover::after {
    width: 100%;
}

/* Custom scrollbar for optimal presentation */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #122b3d;
}
::-webkit-scrollbar-thumb {
    background: #2b4b66;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}
