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

:root {
    --primary: #0f1b2a;
    /* Deep Navy */
    --primary-light: #1a2c41;
    --accent: #e8a026;
    /* Brand Gold/Orange */
    --accent-dark: #d48f1f;
    --accent-soft: #fdf5e6;
    --text-dark: #0f1b2a;
    --text-gray: #64748b;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-soft: #f8faff;
    --bg-navy: #0f1b2a;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(45, 38, 101, 0.05);
    --shadow-premium: 0 20px 50px rgba(45, 38, 101, 0.1);
    --radius-lg: 8px;
    --radius-md: 8px;
    --radius-pill: 8px;
    --font-main: 'Outfit', sans-serif;
    --angle: 10deg;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.15rem;
    color: var(--text-gray);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-orange {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(232, 160, 38, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 160, 38, 0.4);
    filter: brightness(1.1);
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-text i {
    font-size: 1.5rem;
    color: var(--accent);
}

.btn-pill {
    border-radius: 8px;
}

.btn-white-outline:hover {
    background: white !important;
    color: var(--primary) !important;
    border-color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Header - Actium Style (Floating Rounded) */
.floating-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(15, 27, 42, 0.12);
}

.floating-header.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem !important;
    height: 85px;
}

.logo img {
    height: 35px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 35px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links li a i {
    font-size: 0.8rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.nav-links li:hover>a i {
    transform: translateY(2px);
    color: var(--primary);
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Submenu Impacto con Inclinación */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 320px;
    list-style: none;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 8px;
    border: 1px solid rgba(15, 27, 42, 0.05);
    border-top: none;
    box-shadow: 0 20px 60px rgba(15, 27, 42, 0.15);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    position: relative;
    overflow: hidden;
}

.submenu li a {
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
    background: transparent;
}

.submenu li a:hover {
    background: rgba(15, 27, 42, 0.03);
    color: var(--primary);
    padding-left: 35px;
    box-shadow: none;
    transform: none;
}

.submenu li a i {
    display: none;
}

.nav-links li a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--primary);
    border: 1px solid rgba(15, 27, 42, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.header-socials a:hover {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(15, 27, 42, 0.15);
}

/* Hero Section */
.hero-actium {
    height: 100vh;
    min-height: 850px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 27, 42, 0.98) 0%, rgba(15, 27, 42, 0.85) 45%, rgba(15, 27, 42, 0.4) 100%),
        linear-gradient(to top, #0f1b2a 0%, #0f1b2a 20%, rgba(15, 27, 42, 0.8) 50%, transparent 100%);
    z-index: 0;
}

.hero-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-chat-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-left: 4rem;
}

.chat-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-bubble {
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 95%;
    opacity: 0;
    transform: translateX(40px) scale(0.9);
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.user-bubble {
    align-self: flex-start;
    background: rgba(15, 27, 42, 0.85);
    color: white;
    animation: chatImpact 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.5s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent);
}

.user-bubble i {
    color: var(--accent);
    margin-right: 10px;
}

.micsac-bubble {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.98);
    color: var(--primary);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-right: 5px solid var(--accent);
    box-shadow: 0 30px 70px rgba(232, 160, 38, 0.3);
}

.micsac-bubble i {
    margin-right: 10px;
}

.micsac-bubble.animate-1 {
    animation: chatImpact 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.8s;
}

.micsac-bubble.animate-2 {
    animation: chatImpact 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 3.2s;
}

/* Corporativo Chat Bubbles */
.corporativo-bubble {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-size: 1.1rem !important;
    padding: 1.2rem 2rem !important;
    border-radius: 8px !important;
    border-bottom-left-radius: 2px !important;
}

.corporativo-micsac {
    background: rgba(255, 255, 255, 0.02) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    padding: 1.2rem 2.5rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s ease !important;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.corporativo-micsac:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transform: translateX(-10px) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2) !important;
    border-color: #ffffff !important;
}

/* Hero Badge Minimalist */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-badge::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent);
    display: block;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes chatImpact {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.icon-box-navy {
    background: var(--bg-navy);
    color: var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Hero Decorative Elements */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 8px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* Logo Moving Carousel */
.logos-moving-section {
    padding: 80px 0;
    background: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.logos-slider::before,
.logos-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: 100px;
    align-items: center;
}

.logos-track img {
    height: 45px;
    width: auto;
    filter: grayscale(1) brightness(10) opacity(0.7);
    transition: var(--transition);
}

.logos-track img:hover {
    filter: grayscale(0) brightness(1) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.4;
    white-space: nowrap;
    transition: var(--transition);
    letter-spacing: 2px;
}

.brand-item:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.1);
}

/* Testimonials / Sliders */
.testimonial-swiper {
    padding: 40px 0 100px;
    overflow: visible !important;
}

.testimonial-swiper .swiper-slide {
    opacity: 0.5;
    transition: all 0.5s ease;
    transform: scale(0.95);
    filter: blur(2px);
}

.testimonial-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.testimonial-swiper .swiper-pagination {
    bottom: 0 !important;
}

.testimonial-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 500px;
}

.testimonial-image-col {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.testimonial-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.testimonial-card:hover .testimonial-image-col img {
    transform: scale(1.05);
}

.testimonial-info {
    flex: 1.2;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* New Testimonial Structure Styles */
.testi-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.testi-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    display: block;
}

.testi-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 0;
}

.testi-quote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--primary);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 2rem;
}

.testi-author h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.testi-author p {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin: 0;
}

.testimonial-quote-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 3rem;
    left: 3rem;
}

.stat-big {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 60px !important;
    height: 60px !important;
    background: white !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    transition: var(--transition) !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.1);
}

/* Divisions Section */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.division-card {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--accent);
    border: 2px solid var(--accent);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.division-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: #000;
    box-shadow: 0 20px 50px rgba(232, 160, 38, 0.3);
}

.div-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(100%) sepia(100%);
    mix-blend-mode: multiply;
}

.division-card:hover .div-img {
    opacity: 1;
    transform: scale(1.1);
    filter: none;
    mix-blend-mode: normal;
}

.div-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(232, 160, 38, 0.9), transparent);
    transition: background 0.3s ease;
}

.division-card:hover .div-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.div-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -60px;
    right: 20px;
    transition: all 0.4s ease;
}

.division-card:hover .div-number {
    color: var(--accent);
    opacity: 0.2;
    transform: translateY(-10px);
}

.div-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.division-card:hover .div-content h3 {
    color: white;
}

.div-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 0;
    overflow: hidden;
}

.division-card:hover .div-content p {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 0.5rem;
}

.div-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: color 0.3s ease;
}

.division-card:hover .div-link {
    color: var(--accent);
}

/* Careers Section */
.careers-impact-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.careers-text-content {
    flex: 1;
}

.careers-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.cv-img-main {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.cv-card-float {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.05);
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cv-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.careers-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.c-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.c-feature i {
    color: var(--accent);
}

@media (max-width: 900px) {
    .careers-impact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .careers-visual {
        height: 300px;
        width: 100%;
    }

    .cv-card-float {
        left: 20px;
        bottom: -20px;
    }
    
    .careers-features {
        flex-direction: column;
        gap: 1rem;
    }
}

.structure-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tech-feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ecosystem-swiper-container {
    position: relative;
    width: 100%;
    /* Gradient mask with enough vertical room */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    padding: 60px 0;
    /* More vertical padding */
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

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

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

/* Ecosystem Swiper Styles */
.ecosystem-swiper {
    padding: 60px 0 80px !important;
    overflow: visible !important;
    /* Essential to show borders/shadows outside card area */
}

/* Symmetry for bento content in ecosystem */
.ecosystem-swiper .bento-content,
.ecosystem-grid .bento-content {
    transform: none !important;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text */
    padding: 3.5rem !important;
}

.ecosystem-swiper .bento-content h3,
.ecosystem-grid .bento-content h3 {
    margin-bottom: 1rem !important;
    line-height: 1.1;
    white-space: nowrap;
    font-size: 1.8rem !important; /* Reduced size for better fit */
    font-weight: 800;
    color: #ffffff !important;
}

.ecosystem-swiper .bento-content p,
.ecosystem-grid .bento-content p {
    margin: 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.ecosystem-swiper .bento-card,
.ecosystem-grid .bento-card {
    height: 540px !important;
    border-radius: 8px !important;
    border: 2px solid var(--accent) !important;
    /* Always visible border */
    background: #0a111a !important;
    transition: all 0.6s ease;
}

/* Active card highlight with white border */
.ecosystem-swiper .bento-card:hover,
.ecosystem-grid .bento-card:hover {
    background: var(--accent) !important;
    box-shadow: 0 20px 50px rgba(232, 160, 38, 0.4) !important;
    transform: translateY(-5px);
}

.ecosystem-swiper .bento-card:hover .bento-bg-img,
.ecosystem-swiper .bento-card:hover .bento-overlay,
.ecosystem-grid .bento-card:hover .bento-bg-img {
    opacity: 0;
    visibility: hidden;
}

.ecosystem-pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0 60px;
    position: relative;
    z-index: 10;
}

.ecosystem-pagination {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ecosystem-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 !important;
}

.ecosystem-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 40px;
    border-radius: 8px;
}

/* Ecosystem Content Hover Effects */
.ecosystem-swiper .bento-content,
.ecosystem-grid .bento-content {
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.ecosystem-swiper .bento-card:hover .bento-content,
.ecosystem-grid .bento-card:hover .bento-content {
    justify-content: flex-end;
    padding-bottom: 2.5rem !important; /* Adjusted padding for more space */
}

.ecosystem-swiper .bento-card:hover .bento-content h3,
.ecosystem-grid .bento-card:hover .bento-content h3 {
    color: var(--primary) !important;
    margin-bottom: 1.5rem !important;
}

.ecosystem-grid .bento-content .short-desc {
    opacity: 1;
    transform: translateY(0);
    min-height: 3.5rem; /* Maintain symmetry */
    max-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ecosystem-grid .bento-content .long-desc {
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ecosystem-grid .bento-card:hover .bento-content .short-desc {
    opacity: 0;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
}

.ecosystem-grid .bento-card:hover .bento-content .long-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px; /* Increased to ensure full text readability */
    color: var(--primary) !important;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: #05090e;
    color: #94a3b8;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 20px var(--accent);
    opacity: 0.8;
    z-index: 2;
}

/* Ambient Glow for Footer */
.main-footer::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(232, 160, 38, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-cta, .footer-links {
    display: none !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

/* Left Column: Branding & Description */
.footer-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: none;
    padding: 0;
}

.footer-logo {
    height: 45px;
    margin-bottom: 2rem;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

/* Description Text */
.footer-grid > div:first-child p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 480px;
}

/* Right Column: Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-item p {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 400;
    order: 1;
}

.contact-item:hover p, 
.contact-item:hover i {
    color: var(--accent);
}

.contact-item i {
    color: var(--accent);
    font-size: 1.2rem;
    order: 2; /* Icon on the right */
    width: 24px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(232, 160, 38, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-policies {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-policies a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-policies a:hover {
    color: var(--accent);
}

/* Media Queries */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-contact {
        align-items: flex-start;
        text-align: left;
    }
    .contact-item {
        justify-content: flex-start;
    }
    .contact-item i {
        order: -1; /* Icon on left for mobile */
    }
    .contact-item p {
        order: 1;
    }
}

@media (max-width: 768px) {
    .social-links {
        justify-content: flex-start;
    }
}

/* Technical Elements & Bento Grid */
.badge-tech {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(232, 160, 38, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(232, 160, 38, 0.1), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(15, 27, 42, 0.8), transparent 50%);
    pointer-events: none;
}

.division-bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #0f1b2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7);
    border-color: #ffffff;
    z-index: 10;
}

.card-large {
    grid-column: span 4;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 2;
    grid-row: span 2;
}

.card-small-wide {
    grid-column: span 3;
    grid-row: span 1;
}

.card-square {
    grid-column: span 1.5;
    grid-row: span 1;
}

/* Fallback for 6 col */

/* Responsive Bento */
@media (max-width: 1100px) {
    .division-bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .card-large {
        grid-column: span 4;
    }

    .card-medium {
        grid-column: span 2;
    }

    .card-small-wide {
        grid-column: span 4;
    }

    .card-square {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .division-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .card-large,
    .card-medium,
    .card-small-wide,
    .card-square {
        grid-column: span 1;
        height: 400px;
    }
}

/* Adjust card-square for 6 col if needed */
.card-square {
    grid-column: span 3 / span 2;
}

/* Default to span 3 to fill 6 col row with two squares */
.card-square:nth-child(4) {
    grid-column: span 2;
}

.card-square:nth-child(5) {
    grid-column: span 1;
}

/* This manual span is tricky */
/* Simpler row 2: 3+2+1 or 2+2+2 */
.card-small-wide {
    grid-column: span 2;
}

.card-square {
    grid-column: span 2;
}

.bento-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.6) grayscale(0.2);
}

.bento-card:hover .bento-bg-img {
    transform: scale(1.1);
    filter: brightness(0.8) grayscale(0);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 27, 42, 0.95) 0%, rgba(15, 27, 42, 0.5) 50%, transparent 100%);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.bento-card:hover .bento-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(15, 27, 42, 1) 0%, rgba(15, 27, 42, 0.7) 60%, rgba(15, 27, 42, 0.2) 100%);
}

.bento-overlay-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(190, 40, 40, 0.9) 10%, rgba(15, 27, 42, 0.4) 100%);
    opacity: 0.8;
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bento-card:hover .bento-content {
    transform: translateY(0);
}

.bento-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -60px;
    right: 20px;
    pointer-events: none;
}

.bento-number-alert {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -40px;
    right: 20px;
}

.bento-icon {
    display: none;
}

.bento-btn {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 5px;
}

.bento-btn-white {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.bento-card:hover .bento-btn,
.bento-card:hover .bento-btn-white {
    opacity: 1;
    transform: translateX(0);
}

/* Technical Pattern Background */
.tech-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Infinite Tech Cards Style */
.tech-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 3rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
    overflow: hidden;
}

/* Dynamic Light Sweep Effect */
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.tech-card:hover::before {
    left: 150%;
    transition: left 1s ease;
}

.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 15px #fff;
    transition: width 0.4s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-20px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
}

.tech-card:hover::after {
    width: 120px;
}

.tech-card h3 {
    font-size: 4rem;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -3px;
    line-height: 0.9;
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease;
}

.tech-card:hover h3 {
    transform: translateX(20px);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.tech-card p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
    max-width: 90%;
}

.tech-card:hover p {
    color: #ffffff;
    transform: translateX(20px);
}

/* Impact Stats Section */
.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 5rem;
    position: relative;
}

/* Glow Background for Stats */
.impact-stats-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: -1;
}

.impact-stat-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.impact-stat-item:hover {
    transform: translateY(-15px) scale(1.05);
}

.impact-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent);
    opacity: 0.6;
}

.impact-stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.4s ease;
}

.impact-stat-item:hover .impact-stat-number {
    filter: none;
    transform: scale(1.1);
}

.impact-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 300;
    text-shadow: none;
}

@media (max-width: 900px) {
    .testimonial-card {
        flex-direction: column;
        height: auto;
    }

    .testimonial-image-col {
        height: 300px;
        flex: none;
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 1rem;
    }

    .impact-stat-item:nth-child(2)::after {
        display: none;
    }
}

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

    .impact-stat-item::after {
        display: none;
    }

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

@media (max-width: 1200px) {
    .divisions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

/* Proyectos Llave en Mano (Turnkey Projects) - Modern Style */
.turnkey-section {
    padding: 100px 0;
    background: var(--bg-soft);
    text-align: center;
}

.turnkey-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 60px 0 100px;
    flex-wrap: wrap;
}

.turnkey-item {
    width: 220px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    transition: transform 0.4s ease;
}

.turnkey-icon {
    width: 100px;
    height: 100px;
    border-radius: 8px; /* Standardized 8px */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.turnkey-item:hover .turnkey-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border-color: transparent;
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(232, 160, 38, 0.5);
}

.turnkey-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.turnkey-item:hover h3 {
    color: var(--accent);
}

.turnkey-desc {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background: rgba(15, 27, 42, 0.95); /* Dark theme tooltip */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
    text-align: center;
    line-height: 1.5;
}

.turnkey-desc::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: rgba(15, 27, 42, 0.95);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.turnkey-item:hover .turnkey-desc {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(30px);
}

.turnkey-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: var(--text-gray);
}

/* Buttons specific to this section: 8px radius + Yellow Border */
.turnkey-section .btn,
.btn-turnkey {
    border-radius: 8px !important;
    border: 2px solid var(--accent) !important;
    background: transparent;
    color: white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.turnkey-section .btn:hover,
.btn-turnkey:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 25px rgba(232, 160, 38, 0.3);
    transform: translateY(-3px);
}

/* Newsletter Section - Knowledge Hub Redesign */
.newsletter-section {
    background: var(--primary);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Background Grid Pattern */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: panGrid 60s linear infinite;
    z-index: 0;
}

@keyframes panGrid {
    0% { background-position: 0 0; }
    100% { background-position: 400px 400px; }
}

/* Center Glow */
.newsletter-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(232, 160, 38, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.newsletter-content-wrapper {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 160, 38, 0.1);
    color: var(--accent);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(232, 160, 38, 0.2);
    box-shadow: 0 0 25px rgba(232, 160, 38, 0.1);
}

.newsletter-content-wrapper h2 {
    font-size: 4.2rem;
    margin: 0 0 1.5rem;
    color: white;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.newsletter-content-wrapper .text-gradient-gold {
    background: linear-gradient(135deg, var(--accent) 0%, #ffc978 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-content-wrapper p {
    color: #b0c4de; /* Lighter than before for better contrast on dark bg */
    font-size: 1.25rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
    max-width: 700px;
    font-weight: 400;
}

.newsletter-check-list {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.check-item i {
    color: var(--primary);
    background: var(--accent);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    box-shadow: 0 0 15px rgba(232, 160, 38, 0.4);
}

/* Modern Input Group */
.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    position: relative;
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.newsletter-form:focus-within {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(232, 160, 38, 0.15);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 1.1rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
    border-radius: 8px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    border: none;
    padding: 0 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 160, 38, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .newsletter-content-wrapper h2 {
        font-size: 2.8rem;
    }
    .newsletter-content-wrapper p {
        font-size: 1.1rem;
    }
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }
    .newsletter-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
        width: 100%;
        padding: 1.2rem;
        text-align: center;
    }
    .newsletter-btn {
        width: 100%;
        padding: 1.2rem;
    }
    .newsletter-check-list {
        gap: 1.5rem;
        justify-content: center;
    }
}

/* Testimonial Card Adjustments for Square Image */
.testimonial-card {
    height: 450px; /* Fixed height for desktop */
}

.testimonial-image-col {
    flex: 0 0 450px; /* Fixed width to match height = Square */
    max-width: 450px;
}

/* Testimonial Pagination (Dots & Dashes) */
.testimonial-pagination {
    position: relative !important;
    margin-top: 4rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 5px;
    background: var(--accent);
    opacity: 1;
}

/* New Styles for Impact Updates */
.hero-title {
    color: white;
    font-size: 2.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.turnkey-label {
    color: white;
    font-size: 0.7rem;
    font-weight: 00;
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.turnkey-item:hover .turnkey-label {
    color: var(--accent);
    font-weight: 600;
}

.complaints-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.complaints-book-btn:hover {
    background: white;
    color: black;
    border-color: white;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}