/* ============================================
   Total3D - Estilos Personalizados
   ============================================ */

/* ============================================
   1. VARIABLES Y RESET
   ============================================ */
:root {
    --body: #fff;
    --black: #000;
    --white: #fff;
    --theme: #3D4BC9;
    --header: #09052F;
    --text: #767676;
    --text2: #8A8C94;
    --acento: #FF4E8D;
    --border: #EEEFF4;
    --bg: #f3f5ff;
    --gradient-topbar: linear-gradient(90.07deg, #FF4E8D 32.43%, #AE34E8 58.79%, #3E8DFF 105.32%);
    --gradient-brand: linear-gradient(90.07deg, #FF4E8D 32.43%, #AE34E8 58.79%, #7000fe 105.32%);
    --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: normal;
    line-height: 28px;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    outline: none;
    cursor: pointer;
    color: var(--header);
    transition: all 0.4s ease-in-out;
}

a:hover {
    color: var(--theme);
}

button {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0;
    padding: 0;
    color: var(--header);
    transition: all 0.4s ease-in-out;
}

h1 {
    font-size: 70px;
    font-weight: 700;
    line-height: 115%;
}

h2 {
    font-size: 50px;
    line-height: 110%;
    font-weight: 700;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
}

h5 {
    font-size: 18px;
    font-weight: 700;
}

h6 {
    font-size: 16px;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

.section-bg {
    background-color: var(--bg);
}


/* ============================================
   2. Color de textos
   ============================================ */

.text-header {
    color: var(--header);
}

.text-white {
    color: var(--white);
}

.text-theme {
    color: var(--theme);
}

.text-black {
    color: var(--black);
}

.text-acento {
    color: var(--acento);
}

.text-success {
    color: #407a40;
}

/* ============================================
   2. TOPBAR
   ============================================ */
.topbar {
    background: var(--gradient-topbar);
    position: relative;
    z-index: 1000;
}

.topbar-container {
    max-width: 100%;
    padding: 0 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 40px;
}

.topbar-contact li {
    color: var(--white);
    font-weight: 400;
    font-size: 14px;
    padding: 5px 0;
}

.topbar-contact li a {
    color: var(--white);
}

.topbar-contact li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.topbar-contact li i {
    color: var(--white);
    margin-right: 10px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-social a {
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.topbar-social a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}


/* ============================================
   3. NAVBAR
   ============================================ */
.navbar-section {
    position: absolute;
    top: auto;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.5s ease-in-out;
}

.navbar-container {
    max-width: 100%;
    padding: 0 250px;
}

.navbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Logo --- */
.navbar-logo {
    flex-shrink: 0;
}

.navbar-logo a {
    display: inline-block;
}

.navbar-logo .logo-light {
    display: block;
}

.navbar-logo .logo-dark {
    display: none;
}

.navbar-logo img {
    max-height: 80px;
    width: auto;
}

/* --- Menu Links --- */
.navbar-menu ul {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
}

.navbar-menu ul li {
    position: relative;
    display: inline-block;
    margin-inline-end: 50px;
}

.navbar-menu ul li:last-child {
    margin-inline-end: 0;
}

.navbar-menu ul li a {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    padding: 35px 0;
    text-transform: capitalize;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.navbar-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 28px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease-in-out;
}

.navbar-menu ul li a:hover::after {
    width: 100%;
}

.navbar-menu ul li a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Navbar Right CTA --- */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: var(--white);
    text-transform: capitalize;
    box-shadow: 0 4px 15px rgba(112, 0, 254, 0.25);
    transition: all 0.3s ease-in-out;
}

.navbar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 0, 254, 0.4);
    color: var(--white);
}

.navbar-btn::before,
.navbar-btn::after {
    display: none;
}


/* --- Mobile Toggle (oculto en desktop) --- */
.navbar-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}


/* ============================================
   4. NAVBAR STICKY (al hacer scroll)
   ============================================ */
.navbar-section.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    animation: fadeInDown 0.5s ease-in-out;
}

/* Cambiar colores de links a oscuro */
.navbar-section.sticky .navbar-menu ul li a {
    color: var(--header);
}

.navbar-section.sticky .navbar-menu ul li a::after {
    background-color: var(--theme);
}

.navbar-section.sticky .navbar-menu ul li a:hover {
    color: var(--theme);
}

/* Cambiar logo: ocultar blanco, mostrar oscuro */
.navbar-section.sticky .logo-light {
    display: none;
}

.navbar-section.sticky .logo-dark {
    display: block;
}

/* Cambiar color del toggle mobile */
.navbar-section.sticky .navbar-toggle {
    color: var(--header);
}

/* Animación fadeInDown para el sticky */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   5. BOTÓN PRINCIPAL (theme-btn)
   ============================================ */
.theme-btn {
    background-color: var(--theme);
    color: var(--white);
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 54px;
    border-radius: 25px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    line-height: 1;
    border: none;
    cursor: pointer;
}

.theme-btn::before {
    content: "";
    background-color: var(--acento);
    width: 0;
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: -1;
}

.theme-btn::after {
    content: "";
    background-color: var(--acento);
    width: 0;
    height: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: -1;
}

.theme-btn:hover {
    color: var(--white);
}

.theme-btn:hover::before,
.theme-btn:hover::after {
    width: 100%;
}

.theme-btn i {
    margin-left: 10px;
}


/* ============================================
   6. HERO SECTION (Slider)
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
}

/* --- Cada slide --- */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 100px 0 110px;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- Fondo del slide --- */
.hero-slide .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

/* --- Layout de dos columnas --- */
.hero-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* --- Contenido (izquierda) --- */
.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(-150px);
    transition: all 0s ease;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 2.5s ease;
}

.hero-content h6 {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 60px;
    line-height: 115%;
}

.hero-content p {
    color: var(--white);
    font-weight: 500;
    line-height: 1.7;
    max-width: 520px;
}

/* --- Botón del hero --- */
.hero-button {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(150px);
    transition: all 0s ease;
}

.hero-slide.active .hero-button {
    opacity: 1;
    transform: translateY(0);
    transition: all 2.5s ease;
}

.hero-cta {
    background-color: var(--white) !important;
    color: var(--header) !important;
}

.hero-cta:hover {
    color: var(--white) !important;
}

/* --- Imagen (derecha) --- */
.hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    z-index: 3;
    height: 605px;
    opacity: 0;
    transform: translateY(150px);
    transition: all 0s ease;
}

.hero-slide.active .hero-image {
    opacity: 1;
    transform: translateY(0);
    transition: all 2.5s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Dots de navegación --- */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-dot.active {
    background-color: var(--white);
    transform: scale(1.3);
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}


/* ============================================
   7. CATEGORIES SECTION
   ============================================ */
.categories-section {
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.categories-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.category-item {
    flex: 1;
    text-align: center;
}

.category-thumb {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.03);
}

.category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.category-item:hover .category-thumb {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(112, 0, 254, 0.15);
}

.category-item:hover .category-thumb img {
    transform: scale(1.08);
}

.category-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}

.category-content h3 a {
    color: var(--header);
}

.category-content h3 a:hover {
    color: var(--theme);
}

.category-content p {
    font-size: 14px;
    color: var(--text2);
    font-weight: 500;
}


/* ============================================
   8. ABOUT SECTION
   ============================================ */
.section-title {
    margin-bottom: 25px;
}

.section-title .sub-title {
    padding: 8px 30px;
    border-radius: 30px;
    display: inline-block;
    background: linear-gradient(90deg, rgba(112, 0, 254, 0.08) 24%, rgba(174, 52, 232, 0.08) 62%, rgba(255, 78, 141, 0.08) 100%);
    margin-bottom: 20px;
}

.section-title .sub-title span {
    background: var(--gradient-brand);
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    letter-spacing: 1px;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-left-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.about-right-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.about-main-img {
    width: 100%;
}

.about-main-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.06);
}

.about-desc {
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Video & Checklist Row */
.video-items-box {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.video-thumbnail-wrapper {
    position: relative;
    width: 175px;
    height: 115px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
}

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

.video-play-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 54px;
    height: 54px;
    background-color: var(--theme);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 5;
}

.video-play-btn:hover {
    background-color: var(--header);
    color: var(--white);
}

/* Play Button Ripple Animation */
.ripple-effect {
    position: relative;
}

.ripple-effect::before,
.ripple-effect::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(112, 0, 254, 0.4);
    animation: rippleOne 3s infinite;
    pointer-events: none;
}

.ripple-effect::before {
    animation-delay: 0.9s;
}

.ripple-effect::after {
    animation-delay: 0.6s;
}

@keyframes rippleOne {
    70% {
        box-shadow: 0 0 0 20px rgba(112, 0, 254, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(112, 0, 254, 0);
    }
}

/* Checklist */
.about-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--header);
    font-weight: 500;
}

.about-checklist li i {
    color: var(--theme);
    font-size: 19px;
}

/* CTA & Consultant Avatar row */
.about-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-consultant-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.consultant-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.consultant-info span {
    display: block;
    font-size: 13px;
    color: var(--text2);
    font-weight: 500;
}

.consultant-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.consultant-info h4 a {
    color: var(--header);
}

.consultant-info h4 a:hover {
    color: var(--theme);
}


/* ============================================
   9. SECTORES SECTION
   ============================================ */
.sectors-section {
    background-color: var(--white);
}

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

.sectors-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.sector-card {
    flex: 1;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    padding: 50px 40px;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-card-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.sector-image {
    flex: 0 0 100px;
    max-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-image img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease-in-out;
}

.sector-content {
    flex: 1;
}

.sector-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--header);
}

.sector-content p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Link Button with arrow circle */
.link-btn {
    text-transform: capitalize;
    font-size: 16px;
    color: var(--header);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.link-btn span {
    background-image: linear-gradient(var(--theme), var(--theme));
    background-position: 0 95%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    display: inline-block;
    transition: all 0.4s ease-in-out;
}

.link-btn i {
    font-size: 11px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    background-color: var(--theme);
    text-align: center;
    color: var(--white);
    display: inline-block;
    transition: all 0.4s ease-in-out;
}

.link-btn:hover span {
    color: var(--theme);
    background-size: 100% 2px;
}

.link-btn:hover i {
    background-color: var(--header);
    transform: translateX(3px);
}

/* Hover effects for sector-card */
.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 40px rgba(112, 0, 254, 0.1);
}

.sector-card:hover .sector-image img {
    transform: scale(1.08);
}


/* ============================================
   10. CAPACITY SECTION
   ============================================ */
.capacity-section {
    background-color: var(--bg);
}

.capacity-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.capacity-left-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.capacity-right-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.capacity-main-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.06);
}

.capacity-desc {
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.capacity-stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stats-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.stats-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--header);
    font-weight: 500;
}

.stats-checklist li i {
    color: var(--theme);
    font-size: 18px;
}

.capacity-cta-wrapper {
    margin-top: 40px;
}


/* ============================================
   11. CONTACT SECTION
   ============================================ */
.contact-section {
    background-color: #f7f9fc;
}

.contact-card {
    background-color: var(--white);
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.03);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--text2);
    margin-top: 10px;
    font-weight: 500;
}

.contact-form {
    margin-top: 40px;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.form-group {
    flex: 0 0 calc(50% - 13px);
}

.form-group.full-width {
    flex: 0 0 100%;
    margin-top: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid var(--border);
    outline: none;
    background-color: var(--white);
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--header);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--theme);
    box-shadow: 0 0 0 4px rgba(112, 0, 254, 0.08);
}

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

.form-submit {
    margin-top: 40px;
}

.submit-btn {
    width: 100%;
    max-width: 320px;
}


/* ============================================
   12. FOOTER SECTION
   ============================================ */
.footer-section {
    background-color: #f7f9fc;
    padding-top: 100px;
    border-top: 1px solid var(--border);
}

.footer-widgets-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-widget-item {
    flex: 1;
}

.footer-widget-item:first-child {
    flex: 1.2;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
}

.footer-about {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 25px;
    max-width: 320px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--header);
    text-align: center;
    font-size: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.footer-social-links a:hover {
    background-color: var(--theme);
    color: var(--white);
    transform: translateY(-3px);
}

/* Widget links and titles */
.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 25px;
    position: relative;
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-links li a {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.widget-links li a:hover {
    color: var(--theme);
    padding-left: 5px;
}

/* Contact Info in Widget */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-item .icon-box {
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 50%;
    background-color: var(--theme);
    color: var(--white);
    text-align: center;
    font-size: 15px;
    flex-shrink: 0;
}

.contact-info-item .info-text span {
    display: block;
    font-size: 12px;
    color: var(--text2);
    font-weight: 500;
}

.contact-info-item .info-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.contact-info-item .info-text h4 a {
    color: var(--header);
}

.contact-info-item .info-text h4 a:hover {
    color: var(--theme);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    background-color: var(--white);
}

.footer-bottom-bar p {
    font-size: 14px;
    color: var(--text2);
    font-weight: 500;
}


/* ============================================
   13. PORTFOLIO PAGE
   ============================================ */
.inner-banner-section {
    background-image: linear-gradient(rgba(17, 12, 34, 0.75), rgba(17, 12, 34, 0.85)), url('../img/fondo1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 200px 0 120px;
    margin-top: 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inner-banner-section h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-top: 15px;
    margin-bottom: 15px;
}

.inner-banner-desc {
    font-size: 16px;
    color: #e5e8ed;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-page-section {
    padding: 80px 0 100px;
    background-color: var(--white);
}

.portfolio-category-block {
    margin-bottom: 80px;
}

.portfolio-category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.category-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--header);
    margin: 0;
}

.category-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-dropdown select {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background-color: var(--white);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown select:hover,
.filter-dropdown select:focus {
    border-color: var(--theme);
    color: var(--theme);
}

.view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--theme);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--header);
}

/* Slider Layout */
.portfolio-slider-wrapper {
    position: relative;
    padding: 0 40px;
}

.portfolio-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 25px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

/* Product Cards */
.portfolio-card {
    flex: 0 0 280px;
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background-color: #f7f9fc;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content {
    padding: 10px 20px 10px 10px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card technical tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-tags span {
    font-size: 12px;
    font-weight: 400;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text);
    background-color: #f1f3f7;
}

.card-tags span i {
    font-size: 11px;
    color: var(--theme);
}

/* Card Hover states */
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(112, 0, 254, 0.08);
    border-color: rgba(112, 0, 254, 0.15);
}

.portfolio-card:hover .card-image img {
    transform: scale(1.06);
}

/* Slider Navigation Buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--header);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

.slider-arrow.arrow-left {
    left: -15px;
}

.slider-arrow.arrow-right {
    right: -15px;
}

.slider-arrow:hover {
    background-color: var(--theme);
    border-color: var(--theme);
    color: var(--white);
    box-shadow: 0px 6px 16px rgba(112, 0, 254, 0.3);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}


/* ============================================
   7. RESPONSIVE
   ============================================ */

/* Pantallas grandes */
@media (max-width: 1600px) {

    .topbar-container,
    .navbar-container {
        padding: 0 40px;
    }
}

@media (max-width: 1399px) {
    .navbar-menu ul li {
        margin-inline-end: 35px;
    }
}

/* Tablets */
@media (max-width: 1199px) {
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 42px;
    }

    .topbar-container,
    .navbar-container {
        padding: 0 30px;
    }

    .navbar-main {
        padding: 8px 0;
    }

    .hero-content h1 {
        font-size: 50px;
    }

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

    /* Categories responsive */
    .categories-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 20px;
    }

    .category-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 150px;
    }

    .category-thumb {
        width: 160px;
        height: 160px;
    }

    .category-content h3 {
        font-size: 16px;
    }

    /* Sectors responsive */
    .sectors-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .sector-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 300px;
    }
}

/* Mobile / Tablets pequeñas: ocultar topbar, menú hamburguesa */
@media (max-width: 991px) {
    .topbar {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        z-index: 10000;
        transition: right 0.4s ease-in-out;
        padding: 40px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .navbar-menu ul li {
        margin-inline-end: 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .navbar-menu ul li a {
        color: var(--header);
        padding: 15px 0;
        width: 100%;
        display: block;
    }

    .navbar-menu ul li a::after {
        display: none;
    }

    .navbar-menu ul li a:hover {
        color: var(--theme);
    }

    .navbar-section.sticky .navbar-toggle {
        color: var(--header);
    }

    /* Hero responsive */
    .hero-slide {
        padding-top: 150px;
    }

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

    .hero-content,
    .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .hero-image {
        height: 400px;
    }

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

    /* Categories responsive */
    .categories-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 15px;
    }

    .category-item {
        flex: 0 0 calc(33.333% - 15px);
        min-width: 150px;
    }

    /* About responsive */
    .about-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .about-left-col,
    .about-right-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Sectors responsive */
    .sectors-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .sector-card {
        flex: 0 0 100%;
    }

    /* Capacity responsive */
    .capacity-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .capacity-left-col,
    .capacity-right-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Contact responsive */
    .contact-card {
        padding: 40px 30px;
    }

    .form-group {
        flex: 0 0 100%;
    }

    /* Footer responsive */
    .footer-widgets-wrapper {
        flex-wrap: wrap;
        gap: 40px 20px;
    }

    .footer-widget-item {
        flex: 0 0 calc(50% - 10px);
    }

    .footer-widget-item:first-child {
        flex: 0 0 100%;
    }

    /* Portfolio responsive */
    .inner-banner-section h1 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 20px;
    }

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

    .hero-content p {
        margin: 0 auto;
    }

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

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-image {
        height: auto;
    }

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

    /* Categories responsive */
    .category-item {
        flex: 0 0 calc(50% - 15px);
    }

    /* About responsive */
    .video-items-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    /* Sectors responsive */
    .sector-card {
        padding: 35px 25px;
    }

    .sector-card-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Capacity responsive */
    .capacity-stats-row {
        flex-direction: column;
        gap: 15px;
    }

    /* Footer responsive */
    .footer-section {
        padding-top: 60px;
    }

    /* Portfolio responsive */
    .inner-banner-section {
        padding: 150px 0 60px;
        margin-top: 0;
    }

    .portfolio-slider-wrapper {
        padding: 0 10px;
    }

    .slider-arrow {
        display: none !important;
    }

    .portfolio-slider {
        gap: 16px;
        padding-bottom: 30px;
        /* Espacio extra para evitar que el scrollbar o sombra corte la tarjeta */
    }

    .portfolio-card {
        flex: 0 0 240px;
        min-height: 380px;
        /* Evita que el bug de flexbox en móviles corte el final de la tarjeta */
        display: flex;
        flex-direction: column;
    }

    .card-image {
        height: 230px;
        /* Proporción más equilibrada para el ancho de 240px */
    }

    .card-content {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .card-tags {
        gap: 6px;
    }

    .card-tags span {
        font-size: 11px;
        padding: 4px 8px;
    }

    .category-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    .navbar-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .theme-btn {
        padding: 18px 30px;
        font-size: 14px;
    }

    /* Categories responsive */
    .categories-wrapper {
        gap: 20px 10px;
    }

    .category-item {
        flex: 0 0 calc(50% - 10px);
    }

    .category-thumb {
        width: 130px;
        height: 130px;
    }

    .category-content h3 {
        font-size: 14px;
    }

    /* Contact responsive */
    .contact-card {
        padding: 30px 20px;
    }

    .submit-btn {
        max-width: 100%;
    }

    /* Footer responsive */
    .footer-widgets-wrapper {
        flex-direction: column;
        gap: 35px;
    }

    .footer-widget-item {
        flex: 0 0 100%;
    }

    /* Portfolio responsive */
    .inner-banner-section h1 {
        font-size: 30px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .category-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================
   PORTFOLIO MODAL COMPONENT (Premium Style - Rediseñado)
   ========================================== */
.portfolio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 5, 47, 0.7);
    backdrop-filter: blur(8px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.portfolio-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-modal-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 5px;
    width: 90%;
    max-width: 950px;
    height: 520px;
    box-shadow: 0px 20px 50px rgba(9, 5, 47, 0.25);
    border: 1px solid rgba(112, 0, 254, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-modal-overlay.active .portfolio-modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: var(--theme);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-image-section {
    width: 100%;
    height: 75%;
    min-height: 10px;
    background-color: #0b0728;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(112, 0, 254, 0.1);
}

.modal-image-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-content-section {
    height: 30%;
    padding: 12px 24px;
    display: grid;
    grid-template-columns: 1.25fr 1.05fr 1.7fr;
    gap: 20px;
    overflow: hidden;
    align-items: center;
    box-sizing: border-box;
}

.modal-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-category {
    font-size: 10px;
    font-weight: 700;
    padding: 0px 25px;
    color: var(--theme);
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 4px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 1px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.modal-code {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.modal-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
}

.modal-actions {
    margin-top: 4px;
}

.modal-btn-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 4px 8px;
    background: var(--gradient-brand);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0px 6px 15px rgba(112, 0, 254, 0.2);
}

.modal-btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0px 12px 25px rgba(112, 0, 254, 0.3);
}

.modal-tech-left-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-tech-right-col {
    display: flex;
    flex-direction: column;
}

.tech-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.tech-item {
    background: transparent;
    padding: 0 0 4px 0;
    border-radius: 0;
    border-left: none;
    border-bottom: 1px solid rgba(9, 5, 47, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.tech-label {
    font-size: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech-value {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--header);
}

/* Responsive Modal Rediseñado */
@media (max-width: 900px) {
    .modal-content-section {
        grid-template-columns: 1fr;
        overflow-y: auto;
        gap: 20px;
    }

    .portfolio-modal-card {
        height: 95vh;
        max-height: 95vh;
    }

    .modal-image-section {
        height: 35%;
        min-height: 180px;
    }

    .modal-tech-left-col {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .modal-tech-left-col .tech-item {
        flex: 1 1 45%;
        min-height: 60px;
    }
}

@media (max-width: 576px) {
    .modal-tech-left-col .tech-item {
        flex: 1 1 100%;
    }

    .tech-subgrid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .portfolio-modal-card {
        flex-direction: column;
        max-height: 95vh;
        width: 95%;
    }

    .modal-left-col {
        flex: 0 0 200px;
    }

    .modal-left-col img {
        min-height: 200px;
    }

    .modal-right-col {
        padding: 25px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================
   CATEGORY GRID AND PAGINATION
   ========================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.1);
    border: 1px solid #f0f0f5;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--header);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.page-link:hover {
    color: var(--theme);
    background: rgba(112, 0, 254, 0.05);
    border-color: rgba(112, 0, 254, 0.1);
}

.page-link.active {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: 0px 6px 15px rgba(112, 0, 254, 0.25);
}

.page-link.page-prev,
.page-link.page-next {
    font-size: 12px;
}

/* Responsividad para la grilla de categorías */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   WIDGET FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-btn-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 99999;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulseWhatsapp 2s infinite;
    text-decoration: none !important;
}

.whatsapp-btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    background-color: #20ba5a;
}

/* Tooltip lateral */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #ffffff;
    color: #0f172a;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    pointer-events: none;
}

/* Flecha del tooltip */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-right: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

/* Mostrar tooltip al pasar el cursor o después de cargar */
.whatsapp-btn-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    right: 75px;
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste móvil para que no estorbe */
@media (max-width: 768px) {
    .whatsapp-btn-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Se oculta el tooltip en pantallas pequeñas */
    }
}


/* ==========================================================================
   NUEVA SECCIÓN: SOLUCIONES CORPORATIVAS B2B PARA EMPRESAS
   ========================================================================== */
.b2b-solutions-section {
    background-color: #fbfbfe;
    position: relative;
    z-index: 10;
}

.b2b-solutions-section .section-title p {
    max-width: 750px;
    margin: 15px auto 0;
    font-size: 15px;
    color: var(--text2);
    line-height: 1.6;
}

.b2b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.b2b-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(149, 157, 165, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 195px;
    /* Altura fija para alineación perfecta */
}

.b2b-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(112, 0, 254, 0.08), 0 0 0 1px rgba(112, 0, 254, 0.04);
    border-color: rgba(112, 0, 254, 0.15);
}

.b2b-card-content {
    flex: 1;
    padding: 24px 20px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.b2b-card-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--acento);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

.b2b-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--header);
    line-height: 1.3;
    margin-top: 6px;
    margin-bottom: 6px;
}

.b2b-card-desc {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.b2b-card-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.b2b-card:hover .b2b-card-link {
    color: var(--theme);
}

.b2b-card-image {
    width: 38%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.b2b-card:hover .b2b-card-image {
    transform: scale(1.03);
}

/* Responsividad */
@media (max-width: 1200px) {
    .b2b-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .b2b-card {
        height: 170px;
    }
}

@media (max-width: 768px) {
    .b2b-card {
        height: auto;
        min-height: 160px;
    }

    .b2b-card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .b2b-card {
        flex-direction: column-reverse;
        height: auto;
    }

    .b2b-card-image {
        width: 100%;
        height: 150px;
    }
}

/* ==========================================================================
   14. SECCIÓN: NOSOTROS (SOBRE NOSOTROS, MISIÓN, VISIÓN, VALORES, SOSTENIBILIDAD)
   ========================================================================== */
.nosotros-about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.nosotros-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.nosotros-about-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.nosotros-about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nosotros-about-img:hover img {
    transform: scale(1.05);
}

.nosotros-about-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--header);
    position: relative;
}

.nosotros-about-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.nosotros-about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.nosotros-about-content p:last-child {
    margin-bottom: 0;
}

/* Misión & Visión */
.mision-vision-section {
    padding: 100px 0;
    background-color: #fbfbfe;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(149, 157, 165, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(112, 0, 254, 0.06);
    border-color: rgba(112, 0, 254, 0.1);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon img {
    max-width: 100%;
    height: auto;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}

/* Valores */
.valores-section {
    padding: 100px 0;
    background-color: var(--white);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.valores-card {
    background: #fdfdfd;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.valores-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.valores-card:hover::before {
    transform: scaleX(1);
}

.valores-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow);
    background-color: var(--white);
    border-color: transparent;
}

.valores-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    opacity: 0.8;
}

.valores-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 12px;
}

.valores-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

/* Sostenibilidad */
.sostenibilidad-section {
    padding: 100px 0;
    background-color: var(--bg);
}

.sostenibilidad-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 50px;
    align-items: center;
}

.sostenibilidad-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.sostenibilidad-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.sostenibilidad-img:hover img {
    transform: scale(1.03);
}

.sostenibilidad-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sost-item {
    background: var(--white);
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sost-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(112, 0, 254, 0.05);
}

.sost-icon {
    font-size: 20px;
    color: #22c55e;
    /* green Leaf icon */
    background: #f0fdf4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sost-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 5px;
}

.sost-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

/* Responsividad Nosotros */
@media (max-width: 992px) {
    .valores-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nosotros-about-grid,
    .sostenibilidad-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sostenibilidad-img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nosotros-about-section,
    .mision-vision-section,
    .valores-section,
    .sostenibilidad-section {
        padding: 60px 0;
    }
}

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

/* ==========================================================================
   15. LEGAL PAGES (TÉRMINOS Y CONDICIONES, PRIVACIDAD)
   ========================================================================== */
.legal-page-section {
    padding: 80px 0 100px;
    background-color: #fbfbfe;
}

.legal-content-box {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(149, 157, 165, 0.02);
}

.legal-content-box h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--header);
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content-box h2:first-child {
    margin-top: 0;
}

.legal-content-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 18px;
}

.legal-content-box ul,
.legal-content-box ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content-box li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
}

.legal-content-box li::marker {
    color: var(--theme);
}

.footer-bottom-bar p a {
    color: var(--text2);
    margin: 0 10px;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.footer-bottom-bar p a:hover {
    color: var(--theme);
}

}

/* ==========================================================================
   16. PAGINA DE CONTACTO (GRID DE DATOS, MAPA, FAQS INTERACTIVAS)
   ========================================================================== */
.contacto-page-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    margin-bottom: 80px;
}

.contacto-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contacto-detail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(112, 0, 254, 0.15);
    box-shadow: 0 10px 25px rgba(112, 0, 254, 0.04);
}

.contacto-detail-icon {
    font-size: 24px;
    color: var(--theme);
    background: #f3f5ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.contacto-detail-card:hover .contacto-detail-icon {
    background: var(--theme);
    color: var(--white);
}

.contacto-detail-text span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text2);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.contacto-detail-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--header);
    line-height: 1.4;
}

.contacto-detail-text a {
    color: var(--header);
}

.contacto-detail-text a:hover {
    color: var(--theme);
}

.contacto-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border);
}

.contacto-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FAQ Accordion */
.faqs-section {
    padding: 100px 0;
    background-color: #fbfbfe;
}

.faqs-container {
    max-width: 850px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(112, 0, 254, 0.15);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(112, 0, 254, 0.05);
    border-color: rgba(112, 0, 254, 0.2);
}

.faq-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--header);
    margin: 0;
    padding-right: 20px;
}

.faq-icon-toggle {
    font-size: 14px;
    color: var(--text2);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon-toggle {
    transform: rotate(180deg);
    color: var(--theme);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: #fdfdfd;
}

.faq-body-content {
    padding: 0 30px 24px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-body-content {
    border-top-color: #f1f2f6;
}

@media (max-width: 992px) {
    .contacto-page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacto-map-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .faqs-section {
        padding: 60px 0;
    }

    .faq-header {
        padding: 20px;
    }

}

/* ==========================================================================
   17. COOKIE CONSENT BANNER (GLASSMORPHISM & PREMIUM STYLING)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 420px;
    background: rgba(9, 5, 47, 0.95);
    /* matching var(--header) with transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 100000;
    /* must be higher than float whatsapp button */
    display: none;
    /* controlled by JS */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-content h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner-content h4 i {
    color: #eab308;
    /* yellow cookie icon */
}

.cookie-banner-content p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-banner-content p a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-banner-content p a:hover {
    color: var(--acento);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cookie-btn-accept {
    background: var(--gradient-brand);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-grow: 1;
    text-align: center;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(112, 0, 254, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-reject:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 576px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: calc(100% - 30px);
        padding: 20px;
    }
}