@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    font-weight: 400;
}

.container-ardo {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    /* Global weight for all titles */
}

p {
    font-weight: 400;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background-color: rgba(3, 38, 66, 0.85);
    /* Semi-transparent blue */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    /* Safari support */
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    height: 85px;
    /* Fixed height to avoid padding gaps */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    border-bottom: 1px solid #e5e2e2;
}

header.scrolled .header-container {
    height: 70px;
    /* Reduced height when scrolled */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 40px;
    transition: all 0.4s ease;
}

header.scrolled .logo {
    height: 36px;
    filter: brightness(0) invert(1);
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    height: 100%;
    /* Fill header height */
    gap: 25px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: stretch;
    /* Items fill full header height */
    height: 100%;
}

.nav-menu li {
    position: static;
    /* Allows mega menu to align with the full header width */
}

.nav-menu li a {
    text-decoration: none;
    color: #242627;
    font-weight: 400;
    font-size: 15px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 5px;
}

.nav-menu li a:hover {
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Underline removed as requested */

/* Dropdown Indicators */
.dropdown-arrow {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    transform: none;
    /* Removed transform to avoid offset */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 15px 0 30px 0;
    /* Bridge area included in padding-top */
    z-index: 9999;
    pointer-events: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Page Hero (Internal) */
.hero-internal {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding-top: 80px;
    /* Header space */
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-internal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(3, 38, 66, 0.95) 0%, rgba(3, 38, 66, 0.6) 100%);
    z-index: 1;
}

/* Update case-overlay to be absolute relative to its parent, NOT fixed or global */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 13, 49, 0) 0%, rgba(10, 13, 49, 0.9) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
    border-radius: 20px;
    /* Match card border radius */
}

/* Ensure parent containers have relative position so overlay stays inside */
.case-card,
.case-image-container {
    position: relative;
    overflow: hidden;
}

/* Specific overlay for the detail hero - might need different styling */
.case-detail-hero .case-overlay {
    background: rgba(15, 23, 42, 0.7);
    opacity: 1;
    /* Always visible for hero */
    border-radius: 0;
    padding: 0;
    justify-content: center;
}

.hero-internal-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-internal-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-internal-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.hero-internal-description {
    font-size: 1.4rem;
    line-height: 1.5;
    max-width: 650px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.btn-whatsapp-hero {
    background: #e9efff;
    color: #032642;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-whatsapp-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-hero i {
    font-size: 18px;
}


.mega-menu-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



.mega-menu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    /* Reduced gap */
}

.mega-col {
    flex: 1;
}

.mega-title {
    font-size: 18px;
    /* Slightly smaller */
    font-weight: 800;
    color: #032642;
    margin-bottom: 15px;
    /* Even more compact */
    letter-spacing: -0.01em;
}

/* Mega Lists */
.mega-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mega-list li a {
    color: #555 !important;
    font-size: 14px !important;
    text-decoration: none;
    transition: all 0.3s ease !important;
    display: block;
    font-weight: 400 !important;
}

.mega-list li a:hover {
    color: #00ACEE !important;
    transform: translateX(5px);
}

/* Mega Cards Grid */
.mega-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mega-case-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px 10px;
    /* More compact */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.mega-case-card:hover {
    border-color: #00ACEE;
    box-shadow: 0 15px 35px rgba(0, 172, 238, 0.08);
    transform: translateY(-8px);
}

.case-card-icon {
    width: 54px;
    height: 54px;
    background: #f8f9fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #032642;
    transition: all 0.3s ease;
}

.mega-case-card:hover .case-card-icon {
    background: #00ACEE;
    color: #ffffff;
}

.mega-case-card span {
    font-size: 13px;
    font-weight: 700;
    color: #242627;
    line-height: 1.3;
}

/* Industrias Section (Right side with grey background) */
.mega-industrias-section,
.mega-nosotros-section {
    flex: 1.5;
    display: flex;
    background: #f4f5f7;
    margin: -15px -40px -30px 40px;
    /* Top margin adjusted to -15px to match padding-top */
    padding: 30px 40px;
    gap: 30px;
}

.mega-industrias-content,
.mega-nosotros-content {
    display: flex;
    flex-direction: column;
}

.mega-industrias-content .mega-title {
    font-size: 18px;
    font-weight: 800;
    color: #032642;
    margin-bottom: 15px;
}

.mega-industrias-content .mega-list {
    gap: 8px;
}

.mega-industrias-content .mega-list li a {
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Graphic styles - Triple Circle */
.mega-circle-graphic {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-outer {
    width: 100%;
    height: 100%;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.circle-middle {
    width: 65%;
    height: 65%;
    background: #e9efff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-inner {
    width: 26px;
    height: 26px;
    background: #0011ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 17, 255, 0.4);
    z-index: 2;
    animation: mega-pulse 2.5s infinite;
}

@keyframes mega-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 17, 255, 0.6);
        transform: scale(0.95);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 17, 255, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 17, 255, 0);
        transform: scale(0.95);
    }
}

.circle-inner i {
    font-size: 11px;
}

.mega-footer-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 15px;
    color: #032642;
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(#e9efff, #e9efff);
    background-position: 0 85%;
    background-repeat: no-repeat;
    background-size: 100% 8px;
    transition: all 0.3s ease;
    width: fit-content;
    padding-bottom: 2px;
}

.mega-footer-link:hover {
    background-size: 100% 12px;
    color: #0011ff;
}

header.scrolled .nav-menu li a {
    color: #ffffff;
}

header.scrolled .nav-menu li a::after {
    background: #ffffff;
}

/* Mega Nosotros Specific Styles */
.mega-nosotros-title-col {
    flex: 2 !important;
    padding-right: 40px;
}

.mega-nosotros-title {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    color: #032642;
    letter-spacing: -0.03em;
}

.mega-nosotros-list {
    padding-top: 10px;
    gap: 15px !important;
}

.mega-title-small {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    margin-bottom: 25px;
    text-transform: none;
}

.mega-partners-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px !important;
}

.mega-partners-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.mega-partners-list li i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Brands color accents (Optional) */
.lni-aws {
    color: #FF9900;
}

.lni-google-cloud {
    color: #4285F4;
}

.lni-microsoft {
    color: #00A4EF;
}

.lni-salesforce {
    color: #00A1E0;
}

.phone-number,
.header-action-link,
.header-contact-stack {
    display: flex;
    color: #242627;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-contact-stack {
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    gap: 0;
    margin-left: 30px;
    /* Increased space to the left */
}

.header-contact-stack a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.header-contact-stack .support-link {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
    margin-bottom: -35px;
    /* Pull them closer aggressively */
}

header.scrolled .header-contact-stack .support-link {
    color: rgba(255, 255, 255, 0.7);
}

header.scrolled .phone-number,
header.scrolled .header-action-link,
header.scrolled .header-contact-stack {
    color: #ffffff;
}

/* Client Access Button */
.btn-client-access {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(3, 38, 66, 0.85);
    /* Deep Blue Glass */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(3, 38, 66, 0.3);
}

.pricing-card .btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #032642;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-client-access:hover {
    transform: translateY(-2px);
    background: rgba(3, 38, 66, 0.2);
    box-shadow: 0 6px 20px rgba(3, 38, 66, 0.2);
    color: #242627;
    /* Dark Gray on Hover */
}

.btn-client-access i {
    font-size: 16px;
}

/* Inverted button when scrolled */
header.scrolled .btn-client-access {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header.scrolled .btn-client-access:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

header.scrolled .mobile-menu-toggle span {
    background: #ffffff;
}

.hero {
    padding: 120px 0 0 0;
    /* Space for the fixed header and gap below */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 10;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: 0px;
    background-color: #e5e2e2;
    z-index: 10;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    height: 55vh;
    /* Slightly shorter for a cleaner boxed look */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* Less rounded corners */
    display: flex;
    align-items: center;
    padding: 0 100px;
    /* Align content with the logo/Partners padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Subtler shadow */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Changed from -2 to ensure visibility inside relative container */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    /* Above video */
}

.hero-content {
    max-width: 650px;
    text-align: left;
    position: relative;
    z-index: 2;
    /* Ensure content is above overlay and video */
}

/* Hero Slider Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Ensure content inside slide is positioned correctly */
.hero-slide .hero-content {
    position: relative;
    /* Maintain relative positioning for text */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    /* Above overlay */
    padding-right: 0px;
    padding-left: 120px;
    /* Increased to clear the controls completely */
}

/* Animation initialization */
.hero-slide .hero-content h1,
.hero-slide .hero-content p,
.hero-slide .hero-content .hero-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Staggered entry animations */
.hero-slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-slide.active .hero-content .hero-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Modifying hero-overlay to be per-slide */
.hero-slide .hero-overlay {
    z-index: 1;
    /* Above media, below content */
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 20px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: rgba(3, 38, 66, 0.4);
    /* Updated to new blue with glass effect */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(3, 38, 66, 0.4);
    background: rgba(3, 38, 66, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Trusted Section (5 Columns) */
.trusted-section {
    background: #ffffff;
    padding: 30px 0;
    position: relative;
}

.trusted-container::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #e5e2e2;
}

.trusted-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    /* Added to constrain the pseudo-element */
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    /* Changed to 0 to manage spacing with padding for separators */
    align-items: center;
}

.trusted-container>div {
    padding: 0 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    justify-content: center;
    /* Center vertically */
    text-align: center;
    /* Center text */
    min-height: 100px;
}

/* Vertical Separator with Outer Glow */
.trusted-container>div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    /* Doesn't span full height for a cleaner look */
    width: 1px;
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.trusted-container>div.review-widget {
    padding-left: 0;
    padding-right: 25px;
    /* Keep a small gap before the separator */
}

.review-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Distribute to the edges of the column */
    width: 100%;
}

/* Old review content styles removed */

.review-widget .title {
    display: none;
    /* Removed title to favor horizontal space */
}

/* Old star styles removed */

.clutch-widget {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Manrope', sans-serif;
}

.clutch-left,
.clutch-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.clutch-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.clutch-brand {
    font-size: 32px;
    font-weight: 800;
    color: #032642;
    display: flex;
    align-items: baseline;
    letter-spacing: -1px;
    line-height: 1;
    position: relative;
    top: 2px;
    /* Visual adjustment */
}

.clutch-dot {
    width: 6px;
    height: 6px;
    background-color: #ff3333;
    border-radius: 50%;
    margin-left: 2px;
    display: inline-block;
    position: relative;
    top: -4px;
    /* Align with top part of letters */
}

.clutch-stars {
    display: flex;
    gap: 4px;
}

.clutch-stars i {
    color: #ffcc00;
    font-size: 18px;
}

.clutch-reviews-count {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews-count a {
    font-size: 14px;
    /* Increased text size */
    color: #333;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.reviews-count a:hover {
    color: #00B8FF;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center all stat elements */
    gap: 6px;
}

.stat-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    /* Center the header content */
    gap: 6px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #333;
}

.stat-number {
    color: #032642;
}

.stat-label {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .trusted-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .trusted-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
        width: 100%;
        max-width: 100%;
        gap: 30px;
        padding: 0 20px;
    }

    .trusted-container>div {
        width: 100%;
        max-width: 100%;
        padding: 0;
        min-height: auto;
    }

    .trusted-container>div:not(:last-child)::after {
        display: none;
        /* Hide vertical separators on mobile */
    }

    .review-widget {
        grid-column: span 2;
        align-items: center;
        flex-direction: column;
        /* Stack Clutch logo and stars on mobile */
        gap: 15px;
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .clutch-left,
    .clutch-right {
        align-items: center;
        text-align: center;
    }

    .stat-item {
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }

    .divider {
        margin: 4px auto;
    }
}

/* Partners Section */
.partners-section {
    padding: 20px 0 20px 0;
    /* Reduced bottom padding to bring Benefits closer */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.partners-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    background-color: #1e1e1e;
    padding: 40px 100px;
    /* Small vertical padding to allow text to get close to margins */
    min-height: 380px;
    /* Restored a balanced height */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.partners-content {
    max-width: 800px;
    text-align: left;
    height: 100%;
    min-height: 300px;
    /* Forces separation between top and bottom elements */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.partners-subtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: auto;
    /* Push content down */
    align-self: flex-start;
}

.partners-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    /* Reduced margin */
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.partners-title a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.partners-title a:hover {
    opacity: 0.8;
}

.partners-section .btn-primary {
    padding: 14px 32px;
    font-size: 14px;
    background: #e0e7ff;
    /* Light pastel color from image */
    color: #032642;
    /* Dark text from image */
    border: none;
    border-radius: 4px;
    /* Less rounded as in the image */
    font-weight: 800;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.partners-section .btn-primary:hover {
    background: #ffffff;
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Background Pattern (Diamond dots) - limited to the container */
.partners-pattern {
    position: absolute;
    right: -10%;
    bottom: -30%;
    width: 600px;
    height: 150%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 2px, transparent 2px);
    background-size: 30px 30px;
    transform: rotate(45deg);
    z-index: 1;
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 20px 30px;
    }

    .nav-menu {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: #ffffff;
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.4s ease;
        gap: 20px;
        z-index: 999;
    }

    header.scrolled nav {
        background: #00B8FF;
    }

    nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .phone-number {
        justify-content: center;
    }

    .btn-client-access {
        width: 100%;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 40px 0 0 0;
    /* Adjusted to let container handle bottom spacing */
    background-color: #ffffff;
}

.benefits-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-bottom: 1px solid #e5e2e2;
    /* Centered 1280px line */
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.benefit-icon {
    width: 73px;
    /* Increased another 10% from 66px */
    height: 73px;
    /* Increased another 10% from 66px */
    margin-bottom: 24px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 16px;
    line-height: 1.3;
}

.process-step h4 {
    color: #032642;
    margin-bottom: 10px;
    font-weight: 800;
}

.benefit-item p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

/* About Link Section */
.about-link-section {
    padding: 40px 0 40px 0;
    background-color: #ffffff;
}

.about-link-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: left;
}

.about-link {
    display: inline-block;
    color: #032642;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.about-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #032642;
    opacity: 0.6;
    /* Slight underline as requested */
    transition: all 0.3s ease;
}

.about-link:hover {
    opacity: 0.8;
}

.about-link:hover::after {
    height: 2px;
    opacity: 1;
}

/* Services Section */
.services-section {
    padding: 60px 0 30px 0;
    /* Fixed typo and restored bottom padding */
    /* Reduced bottom padding */
    /* Reduced vertical padding */
    background: linear-gradient(to bottom, #91dcfa 0%, #ffffff 100%);
    position: relative;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.services-header {
    text-align: left;
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.services-pre-title {
    display: inline-block;
    font-size: 11px;
    /* Smaller font as requested */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    /* Black text */
    background: rgba(0, 0, 0, 0.08);
    /* Gray background box */
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    /* Reduced from 25px */
}

.services-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #000000;
    /* Main title in black */
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 25px 30px 15px 30px;
    /* Even more compact height */
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.05);
    /* Changed from blue to subtle neutral */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    /* Further reduced from 20px */
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: rgba(0, 0, 0, 0.1);
    /* Subtle darkening on hover */
}

.service-card-icon i {
    font-size: 28px;
    color: #000000;
    /* Icons in black as requested */
    transition: all 0.3s ease;
    font-family: 'Lineicons' !important;
    font-weight: normal;
}

.service-card:hover .service-card-icon i {
    color: #000000;
}

.service-card h3 {
    font-size: 1.25rem;
    /* Balanced size for higher weight */
    font-weight: 800;
    /* Increased to 800 */
    color: #032642;
    margin-bottom: 12px;
    /* Reduced from 15px */
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9rem;
    /* Slightly smaller for tighter layout */
    line-height: 1.5;
    color: #666;
    font-weight: 400;
    margin-bottom: 12px;
    /* Reduced from 15px */
    padding: 0 30px 15px 30px;
    /* Reduced bottom padding */
    margin-left: -30px;
    margin-right: -30px;
    border-bottom: 1px solid #e5e2e2;
    flex-grow: 1;
    width: calc(100% + 60px);
}

.btn-view-more {
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    text-transform: none;
    /* Removed uppercase to use "Ver más" capitalization */
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-top: 5px;
}

.btn-view-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease;
}

.service-card:hover .btn-view-more::after {
    width: 100%;
}

/* Industries Section */
.industries-section {
    padding: 60px 0 100px 0;
    /* Reduced top padding */
    background-color: #ffffff;
}

.industries-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 20% 60% 20%;
    padding: 0;
}

.industries-center-column {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.industries-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    text-align: left;
}

.industries-pre-title {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.industries-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #032642;
    line-height: 1.1;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    max-width: 900px;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    /* Align chips to the left */
}

.industry-chip {
    display: flex;
    align-items: center;
    background: #f4f6f8;
    border-radius: 100px;
    padding: 6px 24px 6px 6px;
    gap: 15px;
    transition: all 0.3s ease;
}

.industry-chip:hover {
    background: #eef2f6;
    transform: translateY(-2px);
}

.industry-img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-chip span {
    font-size: 15px;
    font-weight: 800;
    color: #032642;
}

.industries-right {
    grid-column: 2;
    /* Central column (60%) */
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.industries-featured-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    display: block;
}

@media (max-width: 1024px) {
    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
}

/* Telco Leaders Section */
.telco-section {
    padding: 60px 0;
    /* Reduced height */
    background-color: #1a1a1a;
    color: #ffffff;
}

.telco-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.telco-header {
    text-align: left;
    /* Aligned to left */
    margin-bottom: 30px;
    /* Reduced margin */
}

.telco-pre-title {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.telco-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.telco-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

.telco-category-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered as per special request */
    gap: 20px;
    margin-bottom: 40px;
}

.category-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
}

.category-label {
    font-size: 1.25rem;
    font-weight: 800;
    /* Increased to 800 */
}

.telco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.telco-card {
    background: #232323;
    padding: 30px;
    /* More compact */
    border-radius: 4px;
    /* Matches services cards */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.telco-card:hover {
    background: #000000;
    transform: translateY(-5px);
}

.telco-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    /* Increased to 800 */
    margin-bottom: 12px;
}

.telco-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-weight: 400;
    /* Set to 400 */
}

.btn-expand {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
    opacity: 0.8;
}

.btn-expand .icon-circle {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.telco-card-expanded {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.all-expanded .telco-card-expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 25px;
    padding-top: 10px;
}

.sub-services-list {
    list-style: none;
    padding: 0;
}

.sub-services-list li {
    font-size: 0.95rem;
    font-weight: 800;
    /* Increased to 800 */
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-services-list li:last-child {
    border-bottom: none;
}

.brand-logo-container {
    margin-top: 25px;
    padding-top: 10px;
}

.brand-logo {
    max-height: 24px;
    /* Increased 20% for legibility */
    width: auto;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    /* Ensure they are white */
}

/* Casos de Estudio Section */
.cases-section {
    padding: 60px 0;
    /* Reduced padding */
    background-color: #ffffff;
    scroll-margin-top: 100px;
    /* Offset for fixed header */
}


.cases-header {
    margin-bottom: 30px;
    /* Reduced margin */
    text-align: left;
    padding-left: 20px;
}

.hero-pre-title {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cases-pre-title {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f7f9;
    color: #666;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cases-main-title {
    font-size: 2.8rem;
    /* Reduced font size from 3.5rem */
    color: #032642;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.cases-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.case-banner {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin: 15px;
    border-radius: 0;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 107, 176, 0.85);
    /* Blue overlay */
}

.case-overlay.dark {
    background: rgba(3, 38, 66, 0.9);
}

.case-logo {
    position: relative;
    z-index: 2;
    max-width: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.case-body {
    padding: 20px 30px 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-category {
    font-size: 0.65rem;
    color: #999;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 15px;
}

/* Case Detail Styles to Match Live Site */
/* Case Detail Page Refactor */

/* Hero Section - 2 Column */
.detail-hero-section {
    padding: 130px 0 80px 0;
    background-color: #fff;
    /* Or specific background logic */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.detail-hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.detail-hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.detail-hero-text {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.detail-hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    /* Optional, adjusting to visual req */
}

/* Specific Typography for Hero */
.detail-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #0a0d31;
    line-height: 1.1;
    margin-bottom: 24px;
}

.detail-hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Layout Consistency */
.detail-section {
    padding: 80px 0;
    background-color: #fff;
}

.detail-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Enforce Text Left, Image Right order visually where applicable, 
   but specific sections might need specific dom order or css order */
.detail-col-text {
    flex: 1;
    min-width: 300px;
}

.detail-col-image {
    flex: 1;
    min-width: 300px;
}

.detail-col-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Headings and Text */
.detail-col-text h2 {
    color: #0a0d31;
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.detail-col-text p {
    color: #212121;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    /* Regular weight for body text usually reads better */
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Results Section - 2 Column List */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    margin-top: 30px;
    position: relative;
}

.results-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #E0E0E0;
    transform: translateX(-50%);
}

.results-grid .result-item:nth-child(odd) {
    padding-right: 50px;
}

.results-grid .result-item:nth-child(even) {
    padding-left: 50px;
}

@media (max-width: 992px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .results-grid::after {
        display: none;
    }

    .results-grid .result-item:nth-child(odd) {
        padding-right: 0;
    }

    .results-grid .result-item:nth-child(even) {
        padding-left: 0;
    }
}



.result-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.result-icon {
    color: #0a0d31;
    font-size: 20px;
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.result-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* Technologies Section */
.technologies-section {
    background-color: #E6E6FA;
    /* Light purple approximation */
    padding: 60px 0;
    text-align: center;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tech-item {
    background: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background-color: #1a1a1a;
    /* Dark background */
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #0a0d31;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 992px) {
    .detail-hero-title {
        font-size: 2.5rem;
    }

    .detail-col-text h2 {
        font-size: 36px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .detail-hero-row,
    .detail-row {
        flex-direction: column;
    }

    .detail-hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    /* Ensure image is below text on mobile for standard flow */
    .detail-col-image {
        order: 2;
    }

    .detail-col-text {
        order: 1;
        margin-bottom: 30px;
    }
}

.detail-section {
    padding: 80px 0;
    background-color: #fff;
}

.detail-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 80px;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-col-text,
.detail-col-image {
    width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.detail-col-text h2 {
    color: #0a0d31;
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left;
}

.detail-col-text p {
    color: #212121;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 12px;
}

.detail-col-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* As seen in the reference */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {

    .detail-row,
    .detail-row.reverse {
        flex-direction: column;
    }

    .detail-col-text,
    .detail-col-image {
        width: 100%;
        margin-bottom: 40px;
    }

    .detail-col-text h2 {
        font-size: 36px;
    }
}

.client-testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: #032642;
    margin-bottom: 20px;
    font-weight: 400;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 15px;
    line-height: 1.3;
}

.case-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 25px;
}

.case-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.case-features li {
    font-size: 0.85rem;
    font-weight: 800;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-features li i {
    color: #555;
    font-size: 0.8rem;
}

.case-link-container {
    margin-top: auto;
}

.case-link {
    font-size: 0.8rem;
    font-weight: 800;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.case-link:hover {
    color: #00ACEE;
}

/* Brand Partners Section */
.brand-partners-section {
    padding: 100px 0 200px 0;
    background-color: #ffffff;
}

.brand-partners-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 60px;
    align-items: center;
}

.brand-partners-info {
    flex: 0 0 40%;
}

.brand-partners-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f7f9;
    color: #666;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.brand-partners-title {
    font-size: 2.8rem;
    color: #1a1a1e;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.brand-partners-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

.brand-partners-logos-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.brand-logos-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.brand-logo-item {
    width: 100%;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.brand-logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.brand-logo-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .brand-partners-container {
        flex-direction: column;
        text-align: center;
    }

    .brand-partners-info {
        flex: 1;
    }

    .brand-partners-logos-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-partners-logos-grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Section Refined - Boxed Version */
.ardo-contact-wrapper {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0;
    border-radius: 0;
    /* overflow: visible needed for overlap */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ardo-contact-top {
    background-color: #1a1a1e;
    padding: 40px 0 0 0;
    /* Removed bottom padding */
    min-height: 380px;
    /* Increased to ensure overlap space */
}

.ardo-contact-bottom {
    background-image: linear-gradient(90deg, #E9E6EF 0%, #AFC6E6 100%);
    padding: 30px 0 30px 0;
}

.ardo-contact-container {
    max-width: 100%;
    padding: 0 60px;
    height: 100%;
}

/* Specific alignment for the top section container only */
.ardo-contact-top .ardo-contact-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Pushes content to the bottom */
}

/* Left Content Styles */
.ardo-contact-tag {
    background-color: #333;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.ardo-contact-main-title {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    margin-top: 140px;
    /* Force push to bottom */
}

.ardo-contact-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.ardo-contact-info {
    flex: 1;
    padding-top: 20px;
}

.ardo-contact-desc {
    font-size: 1.1rem;
    color: #032642;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
    font-weight: 400;
}

.ardo-contact-phone-label {
    font-size: 1.5rem;
    color: #032642;
    font-weight: 800;
    margin-bottom: 50px;
}

/* Benefits List */
.ardo-benefits-section {
    margin-bottom: 60px;
}

.ardo-benefits-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 25px;
    margin-top: 40px;
}

.ardo-benefits-grid {
    display: flex;
    gap: 60px;
}

.ardo-benefits-list {
    list-style: none;
    padding: 0;
}

.ardo-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #032642;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
}

.check-icon {
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    display: block;
    padding: 0;
    flex-shrink: 0;
}

.check-icon i {
    color: #032642;
    font-size: 1.2rem;
    /* Increased size since it's standalone */
    font-weight: bold;
}

/* Procedure Steps */
.ardo-procedure-section {
    margin-top: 20px;
}

.ardo-procedure-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 30px;
}

.ardo-procedure-steps {
    display: flex;
    align-items: flex-start;
}

.ardo-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ardo-step-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #032642;
    line-height: 1;
}

.ardo-step-text {
    font-size: 0.9rem;
    color: #032642;
    line-height: 1.4;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ardo-step-divider {
    color: #032642;
    opacity: 0.3;
    padding: 0 15px;
    padding-top: 10px;
    font-size: 1.2rem;
}


/* Right Side Form Column */
.ardo-contact-form-col {
    width: 500px;
    /* Fixed width for form card */
    min-width: 500px;
    position: relative;
    z-index: 20;
}

.ardo-form-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    margin-top: -380px;
    padding: 35px 40px;
    /* Reduced from 40px */
}

.ardo-form-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #032642;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ardo-form-arrow-icon {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.6;
}

.ardo-form-divider {
    display: none;
    /* Removed based on restart */
}

/* Form Fields */
.ardo-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    /* Reduced from 20px */
}

.ardo-form-group {
    margin-bottom: 12px;
    /* Reduced from 15px */
}

.ardo-form-group.half {
    width: 50%;
    margin-bottom: 0;
}

.ardo-form-group.full {
    width: 100%;
}

.ardo-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 8px;
}

.ardo-form-group input,
.ardo-form-group select,
.ardo-form-group textarea {
    width: 100%;
    border: 1px solid #eeeeee;
    /* Thinner contrast */
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    background-color: #f8f9fa;
    /* Light gray background */
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s ease;
}

.ardo-form-group input:focus,
.ardo-form-group select:focus,
.ardo-form-group textarea:focus {
    outline: none;
    border-color: #032642;
    background-color: #ffffff;
    /* White on focus */
}

.ardo-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.ardo-submit-btn {
    width: 100%;
    background-color: #032642;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.ardo-submit-btn:hover {
    background-color: #00ACEE;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* Responsive */
@media (max-width: 1100px) {
    .ardo-contact-grid {
        flex-direction: column;
        gap: 60px;
    }

    .ardo-contact-info {
        width: 100%;
        padding-right: 0;
    }

    .ardo-contact-form-col {
        width: 100%;
        min-width: 0;
        max-width: 600px;
        margin: 0 auto;
    }

    .ardo-form-card {
        margin-top: 0;
        /* Reset negative margin on mobile/tablet if needed, or keep smaller overlap */
        margin-top: -100px;
    }

    .ardo-contact-main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .ardo-form-card {
        padding: 30px 20px;
        margin-top: 40px;
        /* Stack normally on mobile */
    }

    .ardo-contact-top {
        min-height: auto;
        padding-bottom: 60px;
    }

    .ardo-form-row {
        flex-direction: column;
        gap: 20px;
    }

    .ardo-form-group.half {
        width: 100%;
    }

    .ardo-benefits-grid {
        flex-direction: column;
        gap: 20px;
    }

    .ardo-contact-container {
        padding: 0 30px;
    }

    .ardo-contact-main-title {
        font-size: 2.2rem;
    }
}


/* Main Footer Styles */
.main-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 70px 0 50px 0;
    /* Reduced height */
    font-family: 'Manrope', sans-serif;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-content-left {
    flex: 0 0 50%;
}

.footer-content-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer-nav-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
    /* Reduced spacing */
}

.footer-nav-col {
    flex: 1;
}

.footer-nav-col h3 {
    font-size: 1.3rem;
    /* Slightly smaller */
    font-weight: 800;
    margin-bottom: 15px;
    /* Reduced spacing */
    color: #ffffff;
}

.footer-nav-col h3.empty-h3 {
    opacity: 0;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
}

.footer-nav-col ul li {
    margin-bottom: 6px;
    /* Tighter line height between links */
}

.footer-nav-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #ffffff;
}

/* Newsletter */
.footer-newsletter {
    margin-top: 30px;
    /* Reduced top spacing */
    max-width: 450px;
}

.newsletter-input-group {
    margin-bottom: 20px;
}

.newsletter-input-group input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #333;
    padding: 15px 20px;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: #032642;
}

.newsletter-checkbox {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.newsletter-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.newsletter-checkbox label {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    font-weight: 400;
}

.newsletter-btn {
    background-color: #032642;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #00ACEE;
    transform: translateY(-2px);
}

/* Right Side Pattern & Logo */
.logo-pattern-wrap {
    position: relative;
    width: 550px;
    height: 550px;
    /* Symmetrical for the pattern */
    display: flex;
    justify-content: center;
    align-items: center;
}

.decorative-dots {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-items: center;
    align-items: center;
    pointer-events: none;
}

.dot {
    background-color: #E9E6EF;
    border-radius: 50%;
    opacity: 0.8;
}

.dot.size-1 {
    width: 8px;
    height: 8px;
}

.dot.size-2 {
    width: 14px;
    height: 14px;
}

.dot.size-3 {
    width: 22px;
    height: 22px;
}

.dot.size-4 {
    width: 32px;
    height: 32px;
}

.footer-central-brand {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* Reduced gap */
    background-color: #000000;
    /* Core cutout */
    padding: 20px 40px;
}

.footer-logo {
    max-width: 168px;
    /* Reduced by 30% from 240px */
    height: auto;
    display: block;
}

.whatsapp-btn {
    background-color: #032642;
    /* Reference dark blue */
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-btn:hover {
    background-color: #00ACEE;
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 60px;
    }

    .footer-content-left {
        width: 100%;
        padding-left: 20px;
    }

    .logo-pattern-wrap {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }

    .footer-nav-grid {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-nav-grid {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav-col h3.empty-h3 {
        display: none;
    }

    .main-footer {
        padding: 60px 0;
    }
}

/* Footer Bar - Info & Socials */
.footer-bar {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 25px 0;
}

.footer-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bar-divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
}

/* Clutch Mini */
.clutch-mini {
    display: flex;
    align-items: center;
    gap: 15px;
}

.clutch-mini img {
    height: 30px;
}

.clutch-mini-info {
    display: flex;
    flex-direction: column;
}

.clutch-stars {
    color: #ff4b2b;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.clutch-reviews-text {
    font-size: 0.7rem;
    font-weight: 800;
    color: #666;
    text-transform: uppercase;
}

/* Info Text */
.footer-info-text {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
    font-weight: 400;
}

/* Social Links */
.footer-social-links {
    display: flex;
    gap: 25px;
}

.social-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.social-link-item i {
    font-size: 1.2rem;
    color: #1a1a1e;
}

.social-link-item span {
    font-size: 0.75rem;
    font-weight: 400;
}

.social-link-item:hover {
    color: #00ACEE;
    transform: translateY(-2px);
}

.social-link-item:hover i {
    color: #00ACEE;
}

@media (max-width: 1100px) {
    .footer-bar-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-bar-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-social-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* City Links Section (SEO) */
.city-links-section {
    background-color: #ffffff;
    padding: 40px 0 60px 0;
    border-top: 1px solid #f8f9fa;
}

.city-links-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.city-links-col p {
    margin: 0;
    line-height: normal;
}

.city-links-col a {
    font-size: 0.75rem;
    color: #888;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    transition: color 0.3s ease;
    font-weight: 400;
}

.city-links-col a:hover {
    color: #00ACEE;
}

/* Bottom Legal Footer */
.bottom-legal-footer {
    background-color: #ffffff;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.bottom-legal-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bottom-legal-footer p,
.bottom-legal-footer a {
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    font-weight: 400;
}

.bottom-legal-footer a:hover {
    color: #1a1a1e;
}

@media (max-width: 1024px) {
    .city-links-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .city-links-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bottom-legal-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Info Split Section (Internal Pages) */
.info-split-section {
    padding: 100px 0;
    background: #ffffff;
}

.info-split-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.split-flex {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.split-content {
    flex: 1.2;
}

.split-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.section-title-large {
    font-size: 2.2rem;
    font-weight: 900;
    color: #032642;
    line-height: 1.1;
    margin-bottom: 35px;
    letter-spacing: -0.03em;
}

.split-text p {
    font-size: 1.0rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.features-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-check-item {
    display: flex;
    gap: 15px;
}

.feature-check-item i {
    color: #032642;
    font-size: 24px;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-check-text h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 10px;
}

.feature-check-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

@media (max-width: 991px) {
    .split-flex {
        flex-direction: column;
        gap: 50px;
    }

    .section-title-large {
        font-size: 2.2rem;
    }

    .features-check-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Team Support Section */
.team-support-section {
    padding: 100px 0;
    background: #ffffff;
}

.split-flex.align-center {
    align-items: center;
}

@media (max-width: 991px) {
    .split-flex.reverse-mobile {
        flex-direction: column-reverse;
        /* Image on top on mobile for this layout */
    }
}

/* Knowledge Section */
.knowledge-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.text-center {
    text-align: center;
}

.centered-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.centered-header p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Centering the last items if they are uneven, strictly optional but looks nice. 
   However, user just asked for "services below". Standard grid is fine. 
*/

.knowledge-item {
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    border: none;
}

.knowledge-item:hover {
    transform: none;
    box-shadow: none;
}

.knowledge-icon {
    font-size: 24px;
    color: #032642;
    margin-top: 4px;
    /* Visual alignment with title */
    margin-bottom: 0;
    flex-shrink: 0;
}

.knowledge-item h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #032642;
    margin-bottom: 4px;
}

.knowledge-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

@media (max-width: 991px) {
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
}

/* Tech and CTA Split Section */
.detail-bottom-section {
    width: 100%;
    margin-top: 0;
    padding-bottom: 80px;
    /* Add bottom spacing */
}

.detail-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Add gap between cards */
    width: 100%;
}

.tech-column {
    background-color: #E0E7FF;
    /* Light lavender matches screenshot */
    padding: 80px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 0;
    min-height: 600px;
    /* Card rounded corners */
}

.cta-column {
    background-color: #1a1a1e;
    padding: 80px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 0;
    min-height: 600px;
    /* Card rounded corners */
}

.tech-column h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #0a0d31;
    margin-bottom: 40px;
    line-height: 1.1;
    max-width: 500px;
}

.cta-column h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.1;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-pill {
    background-color: #fff;
    color: #333;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cta-btn-white {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #0a0d31;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.cta-btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.cta-bg-image {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 50%;
    height: 30%;
    object-fit: cover;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}


@media (max-width: 1100px) {
    .detail-bottom-grid {
        grid-template-columns: 1fr;
    }

    .tech-column,
    .cta-column {
        padding: 60px 40px;
        min-height: 400px;
        /* Ensure height on mobile */
    }

    .tech-column h2,
    .cta-column h2 {
        font-size: 32px;
    }

    .tech-column h2,
    .cta-column h2 {
        font-size: 32px;
    }
}

/* Sticky Grid Layout for Detail Page */
/* Sticky Grid Layout for Detail Page */
.sticky-grid-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: visible !important;
    /* Critical for sticky */
    position: relative;
    z-index: 10;
}

.sticky-grid-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 80px;
    overflow: visible !important;
    /* Critical for sticky */
}

.sticky-column-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100vh;
    /* Force scrollable height for testing */
}

/* Typography restoration for sticky text column */
.sticky-column-text h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    /* Assuming original size or large size */
    font-weight: 800;
    color: #0a0d31;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sticky-column-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    /* Standard body color */
    line-height: 1.6;
    margin-bottom: 20px;
}

.sticky-column-image {
    width: 50%;
    position: -webkit-sticky;
    /* Safari support */
    position: sticky;
    top: 120px;
    /* Increased top spacing */
    height: fit-content;
    z-index: 10;
    align-self: flex-start;
    /* Explicit alignment */
}

.sticky-column-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    /* Ensure image fits in viewport so sticky effect works */
    object-fit: cover;
    display: block;
    border-radius: 20px;
    /* Adding back some style */
}

@media (max-width: 900px) {
    .sticky-grid-container {
        flex-direction: column;
        gap: 40px;
    }

    .sticky-column-text,
    .sticky-column-image {
        width: 100%;
    }

    .sticky-column-image {
        position: relative;
        top: 0;
    }
}

@media (max-width: 900px) {
    .sticky-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-column-image {
        position: relative;
        top: 0;
        /* Defaulting to normal flow on mobile */
    }
}

/* About Client Section */
.about-client-section {
    padding-bottom: 0 !important;
    /* Adjust if needed */
}

.about-client-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-client-label {
    display: inline-block;
    background-color: #f3f4f6;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.about-client-text {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
}

.about-client-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin-top: 60px;
    width: 100%;
}

.text-highlight {
    color: #4facfe;
    /* Bright blue gradient start or brand color */
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* =========================================
   MOBILE OPTIMIZATION (Responsive Rules)
   ========================================= */

@media screen and (max-width: 991px) {

    /* --- Header & Navigation --- */
    .mobile-menu-toggle {
        display: flex;
        /* Show hamburger on tablet/mobile */
        z-index: 2001;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1500;
        /* Below toggle but above content */
    }

    #nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        height: auto;
        width: 100%;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .nav-menu li a {
        height: auto;
        padding: 18px 0;
        font-size: 16px;
        color: #032642;
        /* Always dark in mobile menu */
        justify-content: space-between;
    }

    /* Ensure text color stays dark even when header is scrolled */
    header.scrolled .nav-menu li a {
        color: #032642;
    }

    .dropdown-arrow {
        transform: rotate(-90deg);
        /* Point right to indicate tap */
    }

    /* Mega Menu in Mobile - Accordion Style */
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        transform: none;
    }

    /* Show mega menu on hover/focus/active state logic could be complex. 
       For simplicity in CSS-only, we might let it be always open or use a peer checker.
       Ideally JS would toggle a class, but for now let's make it visible if parent is active/hover.
    */
    .mega-menu-trigger:hover .mega-menu,
    .mega-menu-trigger:focus-within .mega-menu {
        max-height: 1000px;
        /* Arbitrary large height */
        padding: 10px 0;
    }

    .mega-menu-container {
        flex-direction: column;
        padding: 0 15px;
        gap: 20px;
    }

    .mega-col {
        padding: 0;
    }

    .mega-industrias-section,
    .mega-nosotros-section {
        margin: 0;
        background: transparent;
        padding: 0;
    }

    /* --- Hero Section --- */
    .hero {
        padding-top: 100px;
        height: auto;
    }

    .hero-container {
        height: auto;
        min-height: 500px;
        padding: 60px 30px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    /* --- Internal Hero --- */
    .hero-internal {
        height: auto;
        min-height: 450px;
        padding: 100px 20px 60px;
        text-align: center;
    }

    .hero-internal-container {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-internal-title {
        font-size: 2.2rem;
    }

    .hero-internal-description {
        font-size: 1.1rem;
    }

    /* --- Split Sections --- */
    .split-flex {
        flex-direction: column;
        gap: 40px;
    }

    .split-flex.reverse-mobile {
        flex-direction: column-reverse;
    }

    .split-content {
        padding-right: 0 !important;
        text-align: left;
        /* Keep left alignment for readability usually, or center if preferred */
    }

    .split-image {
        width: 100%;
        height: 300px;
        /* Fixed height for consistency */
    }

    /* --- Footer --- */
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav-grid,
    .footer-bar-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bar-divider {
        display: none;
    }

    .city-links-container {
        grid-template-columns: 1fr;
        /* Stack city links */
    }

    /* --- Grids --- */
    .features-check-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .mega-cards-grid {
        grid-template-columns: 1fr;
    }

    /* --- Buttons & Inputs --- */
    .btn-client-access {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .container-ardo {
        padding: 0 20px;
    }

    .hero-internal-title {
        font-size: 1.8rem;
        /* Even smaller for phones */
    }

    .section-title-large {
        font-size: 28px;
    }
}

/* Fix hamburger animation active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Ensure dark color for hamburger spans when active (on white menu) */
.mobile-menu-toggle.active span {
    background: #ffffff;
}

/* =========================================
   Homepage Mobile Optimization (Max 768px)
   ========================================= */
@media screen and (max-width: 768px) {

    /* Typography Adjustments */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .introduction h2,
    .services-main-title,
    .industries-main-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }

    /* Benefits Section Grid Fix */
    .benefits-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        margin-top: 30px;
    }

    .benefit-item {
        width: 100%;
        margin-bottom: 1rem;
        align-items: center;
        /* Center items on mobile */
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto 15px auto;
    }

    /* Services Grid Fix */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
    }

    .service-card {
        width: 100%;
        margin-bottom: 10px;
    }

    .service-card p {
        width: 100%;
        /* Reset calc width */
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* Industries Section */
    .industries-container {
        display: flex;
        flex-direction: column;
    }

    .industries-center-column {
        grid-column: 1;
        width: 100%;
    }

    .industries-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .industry-chip {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 15px;
        background: #f0f2f5;
    }

    /* Comparison / Info Split on Home (if any) */
    .split-container,
    .services-split-layout {
        flex-direction: column !important;
    }

    /* Telco Section */
    .telco-container {
        padding: 0 20px;
    }

    .telco-grid {
        grid-template-columns: 1fr !important;
    }

    /* Partners/Clients */
    .clients-logo-track {
        gap: 30px;
    }

    .client-logo {
        height: 60px;
        /* Smaller logos */
    }

    /* Global Padding Fixes */
    .section-padding {
        padding: 40px 0;
    }

    /* =========================================
       Refinements (Hide Sections, Hero, Trusted)
       ========================================= */

    /* Hide Sections */
    .industries-section,
    .telco-section,
    .brand-partners-section {
        display: none !important;
    }

    /* Hero Section Refinements */
    .hero-slide video {
        display: none !important;
    }

    .hero-slide {
        background-image: url('images/globe.jpg');
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        align-items: center !important;
        /* Center content */
        text-align: center !important;
        padding-right: 20px !important;
        /* Force override */
        padding-left: 20px !important;
        /* Force override of desktop 120px */
        width: 100% !important;
    }

    .hero-content h1,
    .hero-title {
        font-size: 2.2rem !important;
        /* User requested 2.2rem */
        text-align: center !important;
        line-height: 1.2 !important;
    }

    /* Remove Rounded Borders on Mobile */
    .hero-container,
    .partners-container {
        border-radius: 0 !important;
    }

    .hero-content p,
    .hero-description {
        text-align: center !important;
        font-size: 1.0rem !important;
        /* User requested 1.0rem */
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-btns {
        justify-content: center !important;
        align-items: center !important;
        /* Add this to center buttons horizontally */
        flex-direction: column;
        /* Stack buttons on mobile */
        gap: 10px;
        width: 100%;
    }

    /* Resize buttons */
    .hero-btns .btn {
        width: 100%;
        /* Full width buttons */
        max-width: 280px;
        /* But not too wide */
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }

    /* Hide Slider Controls on Mobile */
    .slider-prev,
    .slider-next,
    .slider-dots {
        display: none !important;
    }



    /* Stat Typography matching design */
    .stat-number {
        font-size: 1.8rem !important;
        font-weight: 700;
        color: #001A49;
        /* Dark blue from brand */
        line-height: 1;
    }

    .stat-header {
        display: flex;
        align-items: baseline;
        gap: 5px;
        margin-bottom: 5px;
    }

    .stat-header span:not(.stat-number) {
        font-size: 1.1rem !important;
        font-weight: 600;
        color: #001A49;
    }

    .stat-label {
        font-size: 0.9rem !important;
        line-height: 1.3;
        color: #333;
        text-align: left !important;
    }

    .review-widget {
        min-width: 140px;
        flex-shrink: 0;
    }

    .stat-header span {
        font-size: 1rem;
    }
}

/* Force Mobile Border Radius Override */
@media screen and (max-width: 768px) {

    .hero-container,
    .partners-container {
        border-radius: 0 !important;
    }
}

/* Mobile Contact Title Adjustment */
@media screen and (max-width: 768px) {
    .ardo-contact-main-title {
        margin-top: 5px !important;
    }
}

/* Mobile Partners Section Adjustments */
@media screen and (max-width: 768px) {
    .partners-container {
        padding: 40px 20px !important;
    }

    .partners-title {
        font-size: 1.8rem !important;
    }
}

/* Mobile Benefits Section Refinement */
@media screen and (max-width: 768px) {
    .benefit-item {
        text-align: left !important;
        align-items: flex-start !important;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;
        margin-bottom: 20px !important;
    }

    .benefit-item:last-child {
        border-bottom: none;
        margin-bottom: 0 !important;
        padding-bottom: 0;
    }

    .benefit-icon {
        margin: 0 0 15px 0 !important;
    }
}

/* Mobile Services Section Adjustment */
@media screen and (max-width: 768px) {
    .services-container {
        padding: 0 10px !important;
    }
}

/* Hero Padding Adjustment for Tablet/Mobile */
@media screen and (max-width: 991px) {
    .hero {
        padding-top: 80px !important;
    }
}

/* Mobile Menu Customization */
@media screen and (max-width: 991px) {

    /* Hide unwanted items */
    .nav-item-nosotros,
    .nav-item-casos {
        display: none !important;
    }

    /* Ensure requested items are visible and styled */
    .nav-item-services,
    .nav-item-registro,
    .phone-number,
    .header-contact-stack,
    .btn-client-access {
        display: flex !important;
        width: 100%;
    }

    /* Adjust spacing */
    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .btn-client-access {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Mobile Menu Refinements (Step 745) */
@media screen and (max-width: 991px) {

    /* Hide Casos de Negocio column in mobile mega menu */
    .mega-col-casos {
        display: none !important;
    }

    /* Typography & Alignment Updates */
    .nav-menu li a {
        font-size: 1.2rem !important;
        /* Larger text */
        font-weight: 800 !important;
        /* Extra bold */
        text-align: left !important;
        justify-content: flex-start !important;
        /* Align content to left */
        gap: 15px;
        /* Add space between text and potential icons */
    }

    /* Ensure sub-menu items also look good if visible, or target specifically main items if preferred. 
       Assuming 'opciones' refers to the main clickable links. 
    */

    /* Adjust dropdown arrow if needed since we changed justify-content */
    .dropdown-arrow {
        margin-left: auto;
        /* Push arrow to the right even with flex-start */
    }
}

/* Mobile Services Menu Refinements (Step 761) */
@media screen and (max-width: 991px) {

    /* Hide Industrias Section */
    .mega-industrias-section {
        display: none !important;
    }

    /* "Lado a lado" - Ensure Services take full width and flow well */
    /* Removing extra padding/margins to let items stretch edge-to-edge of their container */
    .mega-col-services {
        width: 100% !important;
        padding: 0 !important;
    }

    .mega-col-services .mega-list {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 0;
        /* Remove gap if using borders */
    }

    .mega-col-services .mega-list li {
        width: 100% !important;
        margin: 0 !important;
    }

    .mega-col-services .mega-list li a {
        display: block !important;
        /* Ensure block for full width hit area */
        width: 100% !important;
        padding: 15px 0 !important;
        /* Good click area */
        border-bottom: 1px solid #f0f0f0;
        /* Separators usually help "side to side" look */
    }
}

/* User Requested Adjustment: Move hero bottom line down */
.hero {
    padding-bottom: 50px;
}

/* Mobile Menu Revamp */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 2100;
        /* Ensure above #nav (2050) */
        position: relative;
    }

    #nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: #205c87;
        z-index: 2050;
        /* Cover the main header */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
        /* Remove padding, let internal header handle spacing */
        transform: translateY(-100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0s linear 0.4s;
        box-shadow: none;
        overflow-y: auto;
        will-change: transform;
    }

    #nav.active {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0s linear 0s;
    }

    /* Restore Mobile Header/Logo */
    .mobile-nav-header {
        display: flex;
        padding: 20px 30px;
        /* Adjust padding to match header height perception */
        width: 100%;
        justify-content: flex-start;
        /* Logo left */
        align-items: center;
    }

    .mobile-logo {
        display: block;
        height: 35px;
        width: auto;
        filter: brightness(0) invert(1);
    }

    /* Close Button Styling (Active Toggle - Spans) */
    .mobile-menu-toggle.active .bar {
        background-color: #ffffff !important;
        /* White X bars */
    }

    /* Remove incorrect icon rule if present or just override */
    .mobile-menu-toggle.active i {
        display: none;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* Remove border for specific items if needed, but design shows lines. */

    .nav-menu li a {
        color: #ffffff;
        font-size: 22px;
        font-weight: 700;
        /* Bold titles */
        padding: 18px 30px;
        justify-content: space-between;
        /* For arrow */
        height: auto;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }

    /* Red underline effect from design? "Servicios" has red squiggle in the image?
       Actually, that red squiggle looks like a spell check line in the screenshot... 
       "Servicios", "Nosotros", "Soporte Técnico"...
       Wait, are those spell check lines? 
       USER REQUEST: "El logotipo blanco se encuentra en..." "Tienes que ser fiel al diseño."
       The red squiggles are definitely spell check lines (wave pattern). I should NOT implement them. They are artifacts of the screenshot source (likely editing design in a tool that spell checks).
       I will ignore the red squiggles. */

    /* Arrows */
    .dropdown-arrow {
        font-size: 14px;
        transform: rotate(-90deg);
        /* Point right */
        margin-left: auto;
    }

    .has-dropdown:hover .dropdown-arrow {
        transform: rotate(-90deg);
        /* Keep right */
    }

    /* Specific Items */
    .nav-item-casos {
        display: none;
        /* Not in design */
    }

    /* Phone Section - Hidden on Mobile */
    .phone-number {
        display: none !important;
    }

    /* Removed .phone-number a styling as it is hidden */

    /* Contact Stack (Support + Whatsapp) */
    .header-contact-stack {
        margin: 0;
        padding: 20px 0 20px 30px;
        /* Left padding */
        gap: 10px;
        align-items: flex-start;
        /* Left align stack */
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        transition: none;
    }

    .header-contact-stack a {
        color: #ffffff;
        font-size: 14px;
        /* Smaller */
        font-weight: 700;
        justify-content: flex-start;
        /* Left align */
        width: 100%;
        transition: color 0.3s ease;
    }

    .header-contact-stack .support-link {
        font-size: 14px;
        /* Smaller */
        color: #ffffff;
        text-transform: none;
        letter-spacing: 0;
        margin-bottom: 5px;
        font-weight: 700;
        transition: color 0.3s ease;
    }

    /* Client Access Button */
    .btn-client-access {
        margin: 30px auto;
        background: #ffffff;
        color: #000000;
        /* Black text */
        width: calc(100% - 60px);
        /* 30px padding each side */
        justify-content: center;
        border: none;
        backdrop-filter: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        font-size: 18px;
        font-weight: 800;
        padding: 14px;
        transition: transform 0.3s ease, background 0.3s ease;
        /* Fix: Explicit properties, no 'all' */
    }

    .btn-client-access:hover {
        background: #f0f0f0;
        color: #000000;
        transform: translateY(-2px);
    }

    /* Icons */
    .lni {
        margin-right: 0;
        /* Reset */
    }

    /* Mega menus hidden on mobile by default */
    .mega-menu {
        display: none;
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0 0 0 20px;
        /* Indent */
        border-top: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    /* Show when toggled */
    .mobile-sub-open .mega-menu {
        display: block;
    }

    /* Rotate Arrow */
    .mobile-sub-open>a .dropdown-arrow {
        transform: rotate(0deg);
        /* Point down to indicate open */
    }

    /* Mega Menu Items Styling for Mobile */
    .mega-menu-container {
        flex-direction: column;
        padding: 10px 0;
        gap: 20px;
    }

    .mega-title,
    .mega-nosotros-title,
    .mega-title-small {
        color: #ffffff;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .mega-nosotros-title {
        font-size: 20px;
    }

    .mega-list li a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 14px !important;
        padding: 8px 0 !important;
        font-weight: 400 !important;
        border-bottom: none !important;
    }

    .mega-list li a:hover {
        color: #ffffff !important;
        transform: translateX(5px);
    }

    /* Hide graphic/complex elements on mobile if desired, or verify they look ok stacked. 
       For "Nosotros", there are partners. 
       For "Services", there are cards. */
    .mega-graphic-col,
    .mega-circle-graphic {
        display: none;
    }

    .mega-case-card {
        background: rgba(255, 255, 255, 0.1);
        border: none;
    }

    .mega-case-card span {
        color: #ffffff;
    }

    .case-card-icon {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    .mega-partners-list li {
        color: #ffffff;
    }

    .mega-industrias-section,
    .mega-nosotros-section {
        background: transparent;
        margin: 0;
        padding: 0;
    }
}

/* Adjustments for non-mobile to keeping mobile nav hidden */
@media (min-width: 992px) {
    .mobile-nav-header {
        display: none;
    }
}