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;
    }

    .design-proof-card {
        padding: .9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .design-proof-card,
    .design-proof-card::before,
    .design-proof-icon {
        transition: none;
    }
}

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

.service-intro-heading {
    font-size: clamp(1.75rem, 2.7vw, 3.25rem);
    line-height: 1.15;
}

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

.design-proof-list {
    display: grid;
    gap: 0.75rem;
}

.design-proof-card {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem 1.1rem;
    border: 1px solid #e0e9ed;
    border-radius: 0.85rem;
    background: linear-gradient(115deg, #fff 0%, #f7fafb 70%, #eef5f7 100%);
    box-shadow: 0 5px 14px rgba(17, 54, 73, .045);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.design-proof-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #318bb1, #91cfe1);
    content: "";
    transform: scaleY(.35);
    transform-origin: center;
    transition: transform 220ms ease;
}

.design-proof-card:hover {
    transform: translateX(4px);
    border-color: #b9d9e4;
    box-shadow: 0 10px 22px rgba(17, 54, 73, .1);
}

.design-proof-card:hover::before {
    transform: scaleY(1);
}

.design-proof-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    place-items: center;
    border: 1px solid #d4e7ee;
    border-radius: .75rem;
    background: linear-gradient(145deg, #f1f9fc, #e0f0f5);
    color: #0d5675;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.design-proof-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.design-proof-card:hover .design-proof-icon {
    transform: translateY(-2px);
    background: #dff3f9;
    color: #0874a0;
}

.design-proof-copy {
    min-width: 0;
}

.design-proof-copy h3 {
    margin: 0;
    color: #123e59;
    font-size: clamp(.85rem, 1.1vw, 1rem);
    font-weight: 700;
    line-height: 1.4;
}

.design-proof-copy p {
    margin: .3rem 0 0;
    color: #647782;
    font-size: clamp(.75rem, .95vw, .85rem);
    line-height: 1.6;
}

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

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

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

.construction-fiber-cta {
    width: 100%;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 5vw, 6rem);
    background: #e8eef2;
    color: #253746;
}

.construction-fiber-cta-card {
    position: relative;
    width: min(100%, 1400px);
    margin: 0 auto;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #dbe5eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(0, 45, 67, 0.08);
    text-align: center;
}

.construction-fiber-cta-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #003e58, #318bb1);
    content: "";
}

.construction-fiber-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.75rem;
    color: #5a6b7c;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 500;
    text-align: left;
}

.construction-fiber-cta-logo {
    display: block;
    width: clamp(2rem, 3vw, 3rem);
    height: clamp(2rem, 3vw, 3rem);
    flex: 0 0 auto;
    object-fit: contain;
}

.construction-fiber-cta-title {
    max-width: 980px;
    margin: 0 auto;
    color: #253746;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.construction-fiber-cta-connection {
    display: flex;
    width: min(100%, 980px);
    height: 1.25rem;
    align-items: center;
    margin: 1rem auto 0;
}

.construction-fiber-cta-connector {
    position: relative;
    width: 1rem;
    height: 0.75rem;
    flex: 0 0 auto;
    border: 1px solid #5a6b7c;
    border-radius: 3px;
    background: #fff;
}

.construction-fiber-cta-connector::after {
    position: absolute;
    top: 50%;
    width: 0.25rem;
    height: 0.25rem;
    border: 1px solid #318bb1;
    border-radius: 50%;
    background: #eef5f8;
    content: "";
    transform: translateY(-50%);
}

.construction-fiber-cta-connector:first-child::after {
    right: 1px;
}

.construction-fiber-cta-connector:last-child::after {
    left: 1px;
}

.construction-fiber-cta-cable {
    position: relative;
    height: 2px;
    flex: 1;
    overflow: hidden;
    background: #cbdde6;
}

.construction-fiber-cta-cable::after {
    position: absolute;
    top: 0;
    left: -1.5rem;
    width: 1.5rem;
    height: 2px;
    background: #318bb1;
    content: "";
    opacity: 0.85;
    animation: construction-fiber-cta-signal 3.2s ease-in-out infinite;
}

@keyframes construction-fiber-cta-signal {
    0% { opacity: 0; }
    15%, 75% { opacity: 0.85; }
    100% {
        left: calc(100% - 1.5rem);
        opacity: 0;
    }
}

.construction-fiber-cta-description {
    max-width: 720px;
    margin: 0.65rem auto 1rem;
    color: #5a6b7c;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    line-height: 1.7;
}

.construction-fiber-cta-contact {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid #003e58;
    border-radius: 8px;
    background: #003e58;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.construction-fiber-cta-contact:hover {
    border-color: #26799c;
    background: #26799c;
}

.construction-fiber-cta-contact:focus-visible {
    outline: 3px solid #8cc6dc;
    outline-offset: 3px;
}

.construction-fiber-cta-contact svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 480px) {
    .construction-fiber-cta-card {
        border-radius: 14px;
        padding: 1.5rem 1rem;
    }

    .construction-fiber-cta-eyebrow {
        justify-content: center;
    }

    .construction-fiber-cta-contact {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .construction-fiber-cta-cable::after {
        left: calc(50% - 0.75rem);
        animation: none;
        opacity: 0.85;
    }

    .construction-fiber-cta-contact,
    .contact-cta-evaluation {
        transition: none;
    }
}

.contact-cta {
    width: 100%;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: #273847;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-cta,
.contact-cta * {
    box-sizing: border-box;
}

.contact-cta a {
    color: inherit;
    text-decoration: none;
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 1.2fr;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    width: min(100%, 1400px);
    margin: 0 auto;
}

.contact-cta-brand-icon {
    display: block;
    width: clamp(2rem, 3vw, 3rem);
    height: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.75rem;
    object-fit: contain;
}

.contact-cta-title {
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.2;
}

.contact-cta-tagline {
    margin-top: 0.5rem;
    color: #b8b8b8;
    font-size: 0.75rem;
    line-height: 1.5;
}

.contact-cta-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.8125rem;
}

.contact-cta-links a,
.contact-cta-corporate a {
    transition: color 0.2s ease;
}

.contact-cta-links a:hover,
.contact-cta-corporate a:hover {
    color: #c2d5e2;
}

.contact-cta-corporate {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #c2cbd2;
    font-size: 0.75rem;
    line-height: 1.5;
}

.contact-cta-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    width: min(100%, 1400px);
    margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.contact-cta-evaluation {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    justify-self: end;
    padding: 0.75rem 1.25rem;
    border: 1px solid #38bdf8;
    border-radius: 999px;
    background: #003e58;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.contact-cta-evaluation:hover {
    border-color: #26799c;
    background: #26799c;
}

.contact-cta-evaluation:focus-visible {
    outline: 3px solid #8cc6dc;
    outline-offset: 3px;
}

.contact-cta-copyright-strip {
    padding: 0.9rem 1.25rem;
    background: #ffffff;
    color: #52616d;
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
}

.contact-cta-back-top {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    width: fit-content;
    padding: 0.35rem 0.4rem 0.35rem 1rem;
    border: 0;
    border-radius: 2rem;
    background: #324454;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.75rem;
}

.contact-cta-back-top span:last-child {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: #1c2d3b;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .contact-cta-grid,
    .contact-cta-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-cta-evaluation {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        padding: 1.75rem 1.25rem;
    }

    .deployment-image-frame {
        aspect-ratio: 4 / 3;
    }

    .contact-cta-grid,
    .contact-cta-bottom {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .contact-cta-evaluation {
        grid-column: auto;
        justify-self: stretch;
    }
}

@media (max-width: 480px) {
    .contact-cta-grid,
    .contact-cta-bottom {
        gap: 1.5rem;
    }
}

/* 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;
}
