@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
    font-family: "Lato", serif;
    background-color: #F0F0F0;
    width: 100% !important;
    overflow-x: hidden;
}

body {
    font-family: "Lato", serif;
    width: 100% !important;
    overflow-x: hidden;
    background-color: #F0F0F0;
}

/* Navbar Custom Styles */
.navbar-custom {
    background-color: #0B1520EB;
    /* Dark background matching the theme */
    font-family: "Lato", sans-serif;
}

.navbar-custom .nav-item .nav-link {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    position: relative;
    padding-left: 5px !important;
    padding-right: 5px !important;
    transition: color 0.3s ease;
}

.navbar-custom .nav-item .nav-link:hover {
    color: #00e0bf !important;
}

.navbar-custom .nav-item .nav-link.active {
    color: #00e0bf !important;
}

.navbar-custom .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00e0bf;
}

.navbar-custom .nav-item .nav-link.btn-contact {
    background-color: #00e0bf;
    color: #000000 !important;
    border-radius: 25px;
    padding: 10px 25px !important;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar-custom .nav-item .nav-link.btn-contact:hover {
    background-color: #00c7a5;
    color: #000000 !important;
    transform: translateY(-2px);
}

.navbar-custom .nav-item .nav-link.btn-contact::after {
    display: none;
    /* Hide active underline on the contact button */
}

/* =========================================
   Section: Principal (Hero)
   ========================================= */

#principal {
    background-color: #0d1b2a;
    /* Fallback Color */
}

.overlay-principal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient matching the dark teal/blue fade */
    background: linear-gradient(135deg, rgba(8, 17, 26, 0.95) 0%, rgba(8, 17, 26, 0.3) 100%);
    z-index: 1;
}

.bg-huge-logo {
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    height: 65%;
    /* A bit larger to match the massive look */
    object-fit: cover;
    opacity: 1;
    /* Lightened up so it doesn't overpower the text, without using blend-mode that breaks on dark bg */
    z-index: 1;
    pointer-events: none;
}

/* Background Large Teal Oval Behind Text */
.hero-circle-bg {
    position: absolute;
    top: 45%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background-color: #00c9b191;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* Bottom Convex Curve Lines */
.hero-bottom-curves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Dramatically reduced to make the curve extremely flat and subtle */
    z-index: 10;
    pointer-events: none;
}

.hero-bottom-curves svg {
    width: 100%;
    height: 100%;
}

.badge-location {
    display: inline-flex;
    align-items: center;
    background-color: #00C9B117;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px 18px;
    font-family: "Lato", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #00e0bf;
    /* Teal color matching the branding */
    letter-spacing: 1.5px;
}

.badge-location i {
    margin-right: 8px;
}

.main-title {
    font-family: "Impact", "Arial Black", sans-serif;
    /* Impact font requested by user */
    font-size: clamp(3rem, 7vw, 6rem);
    /* Responsive huge text */
    font-weight: normal;
    /* Impact is naturally bold, override 900 to ensure standard rendering */
    line-height: 0.9 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    /* Reduced negative letter spacing since Impact is already very compressed */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.text-teal {
    color: #00e0bf !important;
}

.text-underline-curve {
    position: relative;
    display: inline-block;
}

.text-underline-curve::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 0.15em;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,5 Q50,20 100,5" stroke="%2300C9B1" stroke-width="4" fill="none" stroke-linecap="round"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 500px;
    color: #c0c0c0 !important;
}

/* Base custom buttons for hero */
.btn-teal {
    background-color: #00e0bf;
    color: #000000 !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-teal:hover {
    background-color: #00b89d;
    transform: translateY(-2px);
}

.btn-transparent {
    background-color: transparent;
    color: #a0a0a0;
    border: 1px solid #5a5a5a;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* Bottom Stats Row */
.stats-row {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.5rem;
    position: relative;
}

.stat-col {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    /* Impact is naturally bold */
    letter-spacing: 0px;
    /* Reduced to avoid compression overlapping */
    line-height: 1;
}

.stat-label {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* Dots Navigation Pagination Override (Right side) */
.carousel-indicators.vertical-dots {
    position: absolute;
    right: 40px;
    bottom: auto;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.carousel-indicators.vertical-dots button {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    opacity: 0.4;
    margin: 0 !important;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators.vertical-dots button.active {
    opacity: 1;
    background-color: #00e0bf;
    transform: scale(1.6);
}

/* Beautiful Animated Slide Content Transitions */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item .animate-slide-content>* {
    opacity: 0;
    /* Hidden initially */
}

.carousel-item.active .animate-slide-content .badge-location {
    animation: slideUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.6s;
}

.carousel-item.active .animate-slide-content .main-title {
    animation: slideUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.0s;
}

.carousel-item.active .animate-slide-content .subtitle {
    animation: slideUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.4s;
}

.carousel-item.active .animate-slide-content .buttons-principal {
    animation: slideUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.8s;
}

.carousel-item.active .animate-slide-content .stats-row {
    animation: slideUpFade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 2.2s;
}

/* Animated Text Wave/Shine Effects (Servac Style) */
@keyframes servacShimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 250% center;
    }
}

.wave-text-white {
    background: linear-gradient(100deg,
            #ffffff 40%,
            #e0fffa 50%,
            #ffffff 60%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: servacShimmer 8s linear infinite;
    display: inline-block;
}

.wave-text-teal {
    background: linear-gradient(100deg,
            #00e0bf 40%,
            #ffffff 50%,
            #00e0bf 60%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: servacShimmer 8s linear infinite;
    display: inline-block;
}

.main-title .wave-text-white,
.main-title .wave-text-teal {
    animation-duration: 9s;
}

.main-title span:nth-child(3) {
    animation-delay: 0.3s;
}

.main-title span:nth-child(5) {
    animation-delay: 0.6s;
}

.main-title span:nth-child(7) {
    animation-delay: 0.9s;
}

/* Custom Fade Transition for Carousel */
.carousel-fade .carousel-item {
    transition-duration: 1.2s !important;
}

/* 2. PULSE animation on location badge dot */
.badge-location .fa-circle {
    animation: pulse-location-dot 5s ease-in-out infinite;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 201, 177, 0.7);
}

@keyframes pulse-location-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 201, 177, 0.8);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 201, 177, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 201, 177, 0);
    }
}

/* 3. SHINE SWEEP on primary buttons */
.btn-primary.btn-custom {
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-custom::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: skewX(-20deg);
    animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
    0% {
        left: -80%;
    }

    45%,
    100% {
        left: 130%;
    }
}

/* 4. HOVER GLOW on Stats */
.stat-number {
    transition: text-shadow 0.3s ease;
}

.stat-col {
    transition: transform 0.3s ease;
}

.stat-col:hover {
    transform: translateY(-4px);
}

.stat-col:hover .stat-number {
    text-shadow: 0 0 20px rgba(0, 201, 177, 0.5);
}

@media (max-width: 1199px) {}

/* MD */
@media (max-width: 991px) {
    .hero-circle-bg {
        width: 600px;
        height: 600px;
        left: 30%;
    }
}

/* SM */
@media (max-width: 767px) {
    .hero-circle-bg {
        width: 400px;
        height: 400px;
        left: 50%;
    }

    .carousel-indicators.vertical-dots {
        right: 15px;
    }

    .showPhone {
        display: block !important;
    }

    .hiddenPhone {
        display: none !important;
    }

    .centerP {
        text-align: center !important;
        align-items: center !important;
        align-content: center !important;
        display: block !important;
    }
}

/* XS */
@media (max-width: 575px) {}

/* XS */
@media (max-width: 330px) {}

/* =========================================
   Section: Cuatro Razones
   ========================================= */

#cuatro-razones {
    background-color: #0F1E2E;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.reasons-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    /* Stretched even more */
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 201, 177, 0.12) 0%, rgba(13, 27, 42, 0) 75%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.reason-item {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-icon {
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon svg,
.reason-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.reason-icon svg {
    fill: none;
    stroke: #00e0bf;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reason-title {
    font-family: "Impact", sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffffff;
}

.reason-dot {
    width: 6px;
    height: 6px;
    background-color: #00e0bf;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.reason-desc {
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    max-width: 220px;
    margin: 0 auto;
}

/* Vertical Dividers */
.reason-divider {
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}


/* =========================================
   Section: Nuestros Servicios
   ========================================= */

#service {
    background-color: #0B1520;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.service-circle-bg {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 201, 177, 0.08) 0%, rgba(13, 27, 42, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.service-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.service-header-label {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #00e0bf;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.service-main-title {
    font-family: "Impact", sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.service-main-title .text-white {
    color: #ffffff;
}

.service-main-title .text-teal {
    color: #00e0bf;
    display: block;
}

.service-title-underline {
    width: 350px;
    height: 15px;
    margin-top: -5px;
}

.service-card-custom {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* Para asegurar que el borde no se escape si tiene bordes redondeados */
}

.service-card-custom::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    /* Altura al 80% como solicitada */
    background-color: #00e0bf;
    border-radius: 0 4px 4px 0;
}

.service-card-custom:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(0, 224, 191, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-card-number {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #00e0bf;
    margin-bottom: 15px;
    display: block;
}

.service-card-title {
    font-family: "Impact", sans-serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-card-desc {
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 0;
}


/* =========================================
   Section: About (Quienes Somos)
   ========================================= */

#about {
    background-color: #0F1E2E;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-image-container {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.about-img {
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-content-card {
    background-color: #0B152040;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 35px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.about-badge {
    position: absolute;
    bottom: 0;
    left: 40px;
    background-color: #00e0bf;
    color: #000000;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 14px;
    z-index: 3;
}

.about-header {
    padding-left: 20px;
}

.about-label {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #00e0bf;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.about-title {
    font-family: "Impact", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.about-title .text-white {
    color: #ffffff;
}

.about-title .text-teal {
    color: #00e0bf;
}

.about-desc {
    font-family: "Lato", sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 35px;
}

.value-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.value-tag {
    border: 1px solid rgba(0, 224, 191, 0.3);
    color: #00e0bf;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 224, 191, 0.05);
    transition: all 0.3s ease;
}

.value-tag:hover {
    background: rgba(0, 224, 191, 0.15);
    border-color: #00e0bf;
    transform: scale(1.05);
}

.btn-about {
    background-color: #00e0bf;
    color: #000000;
    border-radius: 40px;
    padding: 15px 45px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-about:hover {
    background-color: #00c7a5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .about-image-container {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .about-title {
        font-size: 3.5rem;
    }
}

/* =========================================
   Section: Portafolio (Proyectos)
   ========================================= */

#Proyectos {
    background-color: #0d1b2a;
    padding: 100px 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.portfolio-label {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #00e0bf;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.portfolio-title {
    font-family: "Impact", sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: white;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.btn-view-all {
    color: #00e0bf;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Custom Grid using CSS Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0B1520BF;
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Mosaic spans based on the image layout */
.item-1 {
    grid-column: span 5;
    grid-row: span 2;
}

/* Left Big */
.item-2 {
    grid-column: span 4;
}

/* Top mid */
.item-3 {
    grid-column: span 3;
}

/* Top right */
.item-4 {
    grid-column: span 2;
}

/* Mid right 1 */
.item-5 {
    grid-column: span 5;
}

/* Mid right 2 */
.item-6 {
    grid-column: span 4;
}

/* Bottom Left (Logo) */
.item-7 {
    grid-column: span 4;
}

/* Bottom Mid */
.item-8 {
    grid-column: span 4;
}

/* Bottom Right */

/* Labels on images */
.portfolio-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0B1520BF;
    backdrop-filter: blur(4px);
    padding: 18px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.portfolio-item-label i {
    font-size: 8px;
    color: #00e0bf;
}

/* Brand Logo Area inside grid */
.portfolio-logo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.portfolio-logo-box .footer-logo-main {
    width: 60%;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }

    .portfolio-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .portfolio-logo-box {
        grid-column: span 2 !important;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-logo-box,
    .portfolio-item {
        grid-column: span 1 !important;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .portfolio-title {
        font-size: 3.5rem;
    }
}

/* =========================================
   Section: Empieza Hoy (CTA)
   ========================================= */

#empieza {
    position: relative;
    padding: 100px 0;
    background-color: #0d1b2a;
    overflow: hidden;
}

#empieza::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/empiza_background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.67;
    z-index: 0;
}

#empieza .container {
    position: relative;
    z-index: 2;
}


.cta-box {
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('../img/portada_bg.png');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 201, 177, 0.7);
    /* Teal overlay as seen in reference */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    text-align: center;
}

.cta-title {
    font-family: "Impact", sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-cta {
    background-color: #00c9b1;
    color: #000000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 15px 45px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.cta-footer-info {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 60px 40px;
}

.cta-info-item {
    text-align: center;
}

.cta-info-label {
    font-family: "Lato", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.cta-info-value {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: #ffffff;
    font-weight: 5s00;
}

@media (max-width: 991px) {
    .cta-footer-info {
        padding: 20px 20px 40px;
    }
}


/* =========================================
   Section: Footer (#footN)
   ========================================= */

#footN {
    background-color: #050a0f;
    padding: 80px 0 0;
    color: #ffffff;
}

.footer-top {
    padding-bottom: 60px;
}

.footer-info-col p {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #00e0bf;
    color: #0d1b2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    color: #0d1b2a;
}

.footer-col-title {
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00e0bf;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00e0bf;
}

.footer-contact-item {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.footer-logo-main {
    width: 100%;
    max-width: 180px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-copy {
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-dev-note {
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    color: #00e0bf;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 991px) {
    .footer-top .row>div {
        margin-bottom: 40px;
    }

    .footer-logo-main {
        max-width: 140px;
    }
}

@media (max-width: 767px) {
    #footN {
        padding: 60px 0 0;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-dev-note {
        display: block;
        margin-top: 10px;
    }
}

/* =========================================
   Section: Home About (Mockup Redesign)
   ========================================= */

#home-about {
    background: linear-gradient(rgba(11, 21, 32, 0.85), rgba(11, 21, 32, 0.85)), url('../img/acercade.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.bg-huge-logo-about {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(10deg);
    height: 70%;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}


.badge-quienes-somos {

    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 224, 191, 0.1);
    border: 1px solid rgba(0, 224, 191, 0.3);
    border-radius: 30px;
    padding: 8px 25px;
    font-size: 13px;
    font-weight: 700;
    color: #00e0bf;
    letter-spacing: 2px;
}

.dot-pulse {
    font-size: 8px;
    margin-right: 12px;
    animation: dot-pulse-anim 2s infinite;
}

@keyframes dot-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.about-hero-title {
    font-family: "Impact", sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.text-underline-curve-about {
    position: relative;
    display: inline-block;
}

.text-underline-curve-about::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 20" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,5 Q50,20 100,5" stroke="%2300C9B1" stroke-width="4" fill="none" stroke-linecap="round"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}


@media (max-width: 991px) {
    .bg-huge-logo-about {
        right: -30%;
        height: 80%;
    }

    .about-hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    #home-about {
        text-align: center;
    }

    .badge-quienes-somos {
        justify-content: center;
    }

    .about-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .about-pills {
        justify-content: center;
    }
}

.glass-pill {
    background: #00C9B114;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 10px 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.glass-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(0, 224, 191, 0.4);
}

/* =========================================
   Section: Nuestra Empresa A (Mockup)
   ========================================= */

#nuestra-empresaA {
    background-color: #0B1520;
    color: #ffffff;
}

.overlap-img-container {
    padding: 50px 0;
    max-width: 550px;
    margin: 0 auto;
}

.rounded-hero-custom {
    border-radius: 60px;
    object-fit: cover;
}

.img-top-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
}

.img-bottom-wrapper {
    position: absolute;
    bottom: -60%;
    /* Lowered further */
    right: 15%;
    /* Adjusted a bit more to the left too */
    width: 65%;
    z-index: 3;
    border-radius: 60px;
}


.badge-tequila {
    position: absolute;
    left: -10%;
    bottom: 0%;
    background-color: #00e0bf;
    color: #000000;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    z-index: 4;
}

.about-circle-glow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-60%, -50%);
    /* Pulls more to the left of the container */
    width: 800px;
    height: 800px;
    background-color: #08121d;
    /* Slightly different dark shade for subtle contrast */
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}








.info-card-glass {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.info-card-glass:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 224, 191, 0.3);
    transform: translateY(-5px);
}

.info-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.impact-font {
    font-family: "Impact", sans-serif;
}

@media (max-width: 991px) {
    .overlap-img-container {
        margin-bottom: 80px;
    }

    .img-bottom-wrapper {
        bottom: -5%;
        right: 0;
    }
}

@media (max-width: 575px) {
    .badge-tequila {
        left: 0;
        bottom: 10%;
        padding: 8px 20px;
        font-size: 12px;
    }
}



.about-circle-glow {
    position: absolute;
    top: 80%;
    left: 32%;
    transform: translate(-55%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 224, 191, 0.06);
    /* Clearly visible teal tint */
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(0, 224, 191, 0.1);
    /* Subtle edge to define the "perfect circle" */
}


/* =========================================
   Section: Misión & Visión (#mivi)
   ========================================= */

#mivi {
    background-color: #0F1E2E;
    position: relative;
}

.mivi-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 224, 191, 0.08) 0%, rgba(15, 30, 46, 0) 75%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}


.mivi-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mivi-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 224, 191, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mivi-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.mivi-card-title {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.mivi-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.mivi-img-fit {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* This fills the area without stretching the image */
    border-radius: 0 35px 35px 0;
    /* Match card radius on the right side */
}





.mivi-card:hover .mivi-img-overlap {
    transform: scale(1.05) rotate(2deg);
}

.vision-card .mivi-img-overlap {
    right: -45%;
    /* Different offset for the group image */
    width: 160%;
}

@media (max-width: 1199px) {
    .mivi-card-title {
        font-size: 2rem;
    }

    .mivi-img-overlap {
        width: 120%;
        right: -20%;
    }
}

@media (max-width: 991px) {
    .mivi-card {
        padding: 40px !important;
    }

    .mivi-img-overlap {
        display: none;
        /* Hide or adjust on smaller screens if too crowded */
    }
}

@media (max-width: 767px) {
    .mivi-card-title {
        font-size: 1.8rem;
    }
}

/* =========================================
   Section: Valores (#valores)
   ========================================= */

#valores {
    background-color: #0B1520;
    /* Match the user's updated mivi background */
    position: relative;
    padding-bottom: 80px;
}

.values-bg-ellipse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 224, 191, 0.12) 0%, rgba(15, 30, 46, 0) 80%);

    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 6px solid #00C9B1;
    /* Thicker teal accent line */

    border-radius: 20px;
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.value-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 224, 191, 0.3);
    border-top-color: #00ffdf;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.value-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 201, 177, 0.1);
    border: 1px solid rgba(0, 201, 177, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00C9B1;
}

.value-number {
    font-family: 'Impact', sans-serif;
    color: #00C9B1;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.value-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.value-divider {
    width: 100%;
    height: 2px;
    background-color: #00c9b161;
}

.value-desc {
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 1199px) {
    .value-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    #valores {
        padding-bottom: 40px;
    }
}

/* =========================================
   Section: Capacidad (#capacidad)
   ========================================= */

#capacidad {
    background-color: #0F1E2E;
    position: relative;
    padding: 100px 0;
}

.capacity-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 201, 177, 0.28) 0%, rgba(11, 21, 32, 0) 70%);

    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.capacity-composition {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-stack {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}


.equipment-main {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}


.equipment-secondary {
    max-height: 80%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.equipment-stack:hover .equipment-main {
    transform: scale(1.05) translateY(-10px);
}

.equipment-stack:hover .equipment-secondary {
    transform: scale(1.08) translateY(-15px);
}

/* Button Custom for Capacity */
.btn-hero-custom {
    background: #00C9B1;
    color: #0B1520;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 201, 177, 0.2);
}

.btn-hero-custom:hover {
    background: #00ffdf;
    color: #0B1520;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 201, 177, 0.4);
}

@media (max-width: 991px) {
    .capacity-composition {
        height: 400px;
        margin-top: 50px;
    }

    .capacity-bg-circle {
        width: 600px;
        height: 600px;
        right: -10%;
    }
}

/* =========================================
   Section: Home Services Hero (#home-services)
   ========================================= */

#home-services {
    height: 100vh;
    min-height: 800px;
    background-image: url('../img/home_services.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    background-attachment: fixed;
}

#home-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0F1E2E 0%, rgba(15, 30, 46, 0.7) 40%, rgba(15, 30, 46, 0.2) 100%);
    z-index: 1;
}

.services-hero-title {
    font-size: 5.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.services-pills .glass-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
    min-width: 160px;
}

.services-pills .stat-number {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 5px;
}

/* Reusing shared classes from about section: 
   .hero-circle-bg, .watermark-container, .badge-quienes-somos, etc. 
*/

@media (max-width: 991px) {
    .services-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 575px) {
    .services-hero-title {
        font-size: 2.2rem;
    }
}



/* =========================================
   Section: Catálogo de Servicios (#catalogos)
   ========================================= */

#catalogos {
    background-color: #0B1520;
    z-index: 1;
}

.catalog-watermark {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg);
}

.catalog-watermark img {
    width: 100%;
}

.header-divider-teal {
    width: 60px;
    height: 3px;
    background-color: #00C9B1;
    margin-top: 10px;
}

.catalog-card {
    background: #0B1520;
    /* Darker solid background */
    border: 1px solid rgba(0, 201, 177, 0.2);
    border-top: 5px solid #00C9B1;
    border-radius: 35px;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 480px;
    /* Fixed height to ensure images are visible */
}


.catalog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 201, 177, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.catalog-card-id {
    font-size: 0.9rem;
    color: #00C9B1;
    opacity: 0.8;
}

.catalog-card-title {
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
}


.header-divider-teal-solid {
    width: 100px;
    height: 3px;
    background-color: #00C9B1;
    margin-bottom: 30px;
}

.catalog-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.catalog-bullets li {
    font-size: 1rem;
    color: #00C9B1 !important;
    /* Teal text in bullets */
    margin-bottom: 12px;
}

.btn-solicitar {
    background-color: #00C9B11A;
    color: #00C9B1;
    font-size: 0.75rem;
    /* Reduced font size */
    padding: 10px 30px;
    /* Slightly adjusted padding for the smaller font */
    transition: all 0.3s ease;
}


.btn-solicitar:hover {
    background-color: rgba(0, 201, 177, 0.1);
    color: #00ffdf;
    border-color: #00ffdf;
    transform: translateY(-2px);
}

.catalog-img-wrapper {
    padding: 10px;
    /* Reduced padding to make image wider */
    height: 100%;
    display: flex;
    /* Ensure it behaves well as a container */
}

.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    /* Slightly less radius for tighter padding */
}


#catalogos {
    background-color: #0B1520;
    z-index: 1;
    padding-left: 5%;
    padding-right: 5%;
}

@media (max-width: 1400px) {
    .catalog-card-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1199px) {
    .catalog-card-title {
        font-size: 1.5rem;
    }

    .catalog-card {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .catalog-card {
        min-height: auto;
    }

    .catalog-card .row {
        height: auto !important;
        /* Break the h-100 on mobile */
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .catalog-card div[class*="col-"] {
        width: 100% !important;
        height: auto !important;
    }

    .catalog-img-wrapper {
        padding: 15px;
        min-height: 280px !important;
        height: 280px !important;
        display: block !important;
        /* Simpler display for mobile */
    }

    .catalog-img {
        height: 100% !important;
        min-height: 250px !important;
    }

    .catalog-card-title {
        font-size: 1.6rem;
    }

    .catalog-card .col-md-6 {
        padding: 25px !important;
    }
}

/* =========================================
   Section: ¿Tienes un Proyecto? (#tienes)
   ========================================= */

#tienes {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

.tienes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.tienes-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 21, 32, 0.8), rgba(11, 21, 32, 0.5));
    z-index: 2;
}

.tienes-glass-box {
    background: #00C9B139;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    position: relative;
    z-index: 3;
    padding: 80px 40px;
}

.tienes-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 2px;
}

.tienes-subtitle {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1;
    letter-spacing: 1px;
}

.tienes-divider {
    max-width: 400px;
    height: 20px;
}

.tienes-desc {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-tienes {
    background-color: #00C9B1;
    color: #000 !important;
    padding: 15px 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-tienes:hover {
    background-color: #00ffdf;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 201, 177, 0.3);
}

@media (max-width: 767px) {
    #tienes {
        padding: 60px 0;
        min-height: auto;
    }

    .tienes-glass-box {
        padding: 40px 20px !important;
        border-radius: 25px;
    }

    .tienes-desc {
        font-size: 0.95rem;
    }

    .btn-tienes {
        padding: 12px 35px;
        font-size: 0.9rem;
    }
}