/* ==========================================================================
   Agencia Digital SEC - Estilos Principales (HTML, CSS, JS)
   Colores y Tipografía fieles a https://www.agenciadigital-sec.com/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=K2D:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Oxygen:wght@400;700&family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --global_main_color: #3d1a5f;
    --global_main_color_light: #5a288c;
    --global_main_color_glow: rgba(61, 26, 95, 0.65);
    --global_main_color_btn_text_color: #ffffff;
    --home_text_color: #ffffff;
    --home_third_background_color: #0087e1;
    --menu_color: #000000;
    --menu_text_color: #ffffff;
    --menu_text_hover_color: #0087e1;
    --modules_color_text: #000000;
    --modules_color_text_second: #0087e1;
    --inside_modules_color_text: #0087e1;
    --sectionsPadding: 80px;
    --modules_color_second: #000000;
    --modules_color: #f9f9f9;
    --footer_back: #000000;
    --footer_text: #ffffff;
    --home_background_color: #000000;
    --modules_color_box: #000000;
    --modules_color_text_box: #ffffff;
    --modules_color_section_main: #3d1a5f;
    --modules_color_section_btn_text: #ffffff;
    --font_logo: 'Oxygen', sans-serif;
    --font_menu: 'K2D', sans-serif;
    --global_font: 'K2D', sans-serif;
    --font_modules_header: 'K2D', sans-serif;
    --whatsapp_green: #25D366;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--global_font);
    background-color: var(--home_background_color);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.container-fluid {
    width: 100%;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   HEADER & NAVIGATION (#mainNav)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--menu_color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.96);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font_logo);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--menu_text_color);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.navbar-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    font-family: var(--font_menu);
    font-size: 15px;
    font-weight: 400;
    color: var(--menu_text_color);
    letter-spacing: 0.05em;
    border-radius: 6px;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--global_main_color_light);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-item.active > .nav-link {
    color: #ffffff;
    background-color: rgba(61, 26, 95, 0.35);
}

.nav-link:hover::after,
.nav-item.active > .nav-link::after {
    transform: scaleX(1);
}

/* Dropdown for extra pages ("Más") */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 280px;
    background-color: #0b0b0b;
    border: 1px solid rgba(61, 26, 95, 0.6);
    border-top: 3px solid var(--global_main_color);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    max-height: 75vh;
    overflow-y: auto;
    z-index: 1010;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #e5e5e5;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background-color: rgba(61, 26, 95, 0.4);
    color: #ffffff;
    border-left-color: var(--home_third_background_color);
}

/* Header Action Icons (Currency, Language, Client Zone, Cart) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font_menu);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.action-btn-icon:hover {
    background-color: var(--global_main_color);
    border-color: var(--global_main_color_light);
}

.flag-co {
    width: 18px;
    height: 13px;
    display: inline-block;
    background: linear-gradient(to bottom, #FCD116 0%, #FCD116 50%, #003893 50%, #003893 75%, #CE1126 75%, #CE1126 100%);
    border-radius: 2px;
}

/* Mobile Menu Button */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-toggle svg {
    width: 26px;
    height: 26px;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.mobile-nav-list a {
    display: block;
    padding: 12px 16px;
    font-size: 18px;
    color: #ffffff;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-list a:hover {
    background-color: var(--global_main_color);
}

/* ==========================================================================
   COMMON SECTION STYLES & TITLES
   ========================================================================== */
.s123-section {
    position: relative;
    padding: var(--sectionsPadding) 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.section-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, var(--overlay-opacity, 0.55));
    z-index: 1;
    pointer-events: none;
}

.section-bg-blur {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.video-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

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

/* Module Title Header */
.module-title-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.s123-page-header {
    display: inline-block;
    font-family: var(--font_modules_header);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0 20px 14px;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: 0.02em;
}

.s123-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--global_main_color);
    box-shadow: 0 0 12px var(--global_main_color_light);
}

.s123-page-slogan {
    font-family: var(--global_font);
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Primary Buttons */
.btn-primary-sec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--global_main_color);
    color: var(--global_main_color_btn_text_color);
    font-family: var(--global_font);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 6px;
    border: 2px solid var(--global_main_color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(61, 26, 95, 0.45);
    text-align: center;
}

.btn-primary-sec:hover {
    background-color: #4f227a;
    border-color: #6b30a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 26, 95, 0.75);
    color: #ffffff;
}

.btn-secondary-sec {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-secondary-sec:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

/* Separator Line in Headers */
.headers-text-separator {
    width: 75px;
    height: 4px;
    background-color: var(--global_main_color);
    margin: 18px 0;
    border-radius: 2px;
}

/* ==========================================================================
   SECTION 1 & 8: LAYOUT-26 HERO & FULL-HEIGHT BANNERS (#section-169, #section-67c9c9800cc5d)
   ========================================================================== */
.hero-layout-26 {
    min-height: 95vh;
    padding-top: 70px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-layout-26.hpm-100vh {
    min-height: 100vh;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-layout-26::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-box-card {
    background-color: rgba(0, 0, 0, 0.86);
    border-left: 5px solid var(--global_main_color);
    padding: 48px 44px;
    max-width: 680px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.hero-box-card h1,
.hero-box-card .header1 {
    font-family: var(--font_modules_header);
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-box-card .header1.italic {
    font-style: italic;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.hero-box-card h2,
.hero-box-card .header2 {
    font-family: var(--global_font);
    font-size: clamp(1.15rem, 1.8vw, 1.65rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    margin-bottom: 28px;
}

/* Carousel Controls / Dots */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

.hero-dot.active {
    background-color: var(--global_main_color_light);
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--global_main_color_light);
}

/* ==========================================================================
   SECTION 2 & 4: CLOUDWORDS MARQUEE & STATIC TAGS (#section-68fc4491ae2b6, #section-6a8cab4977352)
   ========================================================================== */
.cloudwords-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 10px 0;
}

.cloudwords-carousel-row {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.cloudwords-carousel-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.cloudwords-carousel-row.scroll-left .cloudwords-carousel-track {
    animation: cloudwords-scroll-left 28s linear infinite;
}

.cloudwords-carousel-row.scroll-left:hover .cloudwords-carousel-track {
    animation-play-state: paused;
}

@keyframes cloudwords-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cloudwords-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cloudword-item {
    display: inline-block;
    margin: 0 8px;
}

.cloudword-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(61, 26, 95, 0.5);
    transition: all 0.3s ease;
}

.cloudword-box:hover {
    border-color: var(--home_third_background_color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 135, 225, 0.25);
}

/* ==========================================================================
   SECTION 3: NUESTROS SERVICIOS - LAYOUT 11 (#section-688261f74ef32)
   ========================================================================== */
.services-grid-layout-11 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-11 {
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 4px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card-11:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--global_main_color_light);
    box-shadow: 0 16px 40px rgba(61, 26, 95, 0.5);
}

.service-card-11-img {
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card-11-body {
    padding: 26px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-11-body h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.service-card-11-body p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

/* ==========================================================================
   SECTION 5: PRODUCTOS - LAYOUT 4 (#section-68ffdca8ad1f5)
   ========================================================================== */
.products-grid-layout-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card-4 {
    background-color: #000000;
    border-radius: 8px;
    padding: 48px 24px 42px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border-bottom: 5px solid var(--global_main_color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card-4:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--home_third_background_color);
    box-shadow: 0 18px 42px rgba(61, 26, 95, 0.65);
}

.product-circle-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 28px;
    border: 3px solid rgba(61, 26, 95, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.product-card-4:hover .product-circle-img {
    transform: scale(1.05);
    border-color: var(--home_third_background_color);
}

.product-card-4 h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.product-card-4 p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    white-space: pre-line;
}

/* ==========================================================================
   SECTION 6, 10, 13, 14: SPLIT & PROMO HEADERS (LAYOUT 9, 27, 18)
   ========================================================================== */
.split-header-section {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.split-header-section.hpm-85vh {
    min-height: 85vh;
}

.split-header-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.split-text-box {
    padding: 20px 0;
}

.split-text-box .header1 {
    font-family: var(--font_modules_header);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.split-text-box .header2 {
    font-size: clamp(1.08rem, 1.5vw, 1.38rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin-bottom: 28px;
}

.split-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.split-image-box {
    width: 100%;
    height: 440px;
    border-radius: 12px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   SECTION 7: SEC ACADEMY - ONLINE COURSES LAYOUT 1 (#section-69af63cb8f170)
   ========================================================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(61, 26, 95, 0.6);
    border-color: var(--global_main_color_light);
}

.course-card-img {
    width: 100%;
    height: 175px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.course-card-details {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.course-section-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.course-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}

.course-card:hover .course-card-title {
    color: var(--home_third_background_color);
}

/* ==========================================================================
   SECTION 9: BLOG - LAYOUT 10 (#section-67b602795d0db)
   ========================================================================== */
.blog-post-first {
    display: flex;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.blog-first-img-link {
    width: 50%;
    min-height: 320px;
    flex-shrink: 0;
    display: block;
}

.blog-first-bg {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center center;
    transition: transform 0.5s ease;
}

.blog-post-first:hover .blog-first-bg {
    transform: scale(1.03);
}

.blog-first-details {
    width: 50%;
    padding: 36px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: left;
}

.blog-first-details h4 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.blog-first-details p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

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

.blog-card-10 {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card-10:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    border-color: var(--global_main_color_light);
}

.blog-card-10-bg {
    width: 100%;
    height: 230px;
    background-size: cover;
    background-position: center center;
}

.blog-card-10-details {
    padding: 20px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.blog-card-10-details h4 {
    font-size: 1.08rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.38;
}

.blog-card-10:hover .blog-card-10-details h4 {
    color: var(--home_third_background_color);
}

.blog-more-wrap {
    text-align: center;
    margin-top: 38px;
}

.blog-more-link {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
}

.blog-more-link:hover {
    background-color: var(--global_main_color);
    border-color: var(--global_main_color_light);
}

/* ==========================================================================
   SECTION 11: AGENCIA SEC - SERVICES LAYOUT 9 (#section-69f2599165858)
   ========================================================================== */
.agencia-sec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.agencia-sec-item {
    text-align: left;
    transition: transform 0.3s ease;
}

.agencia-sec-item:hover {
    transform: translateY(-5px);
}

.agencia-sec-img {
    width: 100%;
    height: 210px;
    border-radius: 8px;
    background-size: cover;
    background-position: center center;
    margin-bottom: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.agencia-sec-item h4 {
    font-size: 1.28rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.agencia-sec-item p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   SECTION 12: PREGUNTAS FRECUENTES - FAQ LAYOUT 2 (#section-6a0b61c6f72a6)
   ========================================================================== */
.faq-accordion {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-panel {
    background-color: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--global_main_color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-panel.active {
    border-left-color: var(--home_third_background_color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.faq-heading {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--global_font);
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.faq-heading:hover {
    background-color: rgba(61, 26, 95, 0.25);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--global_main_color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-panel.active .faq-icon {
    transform: rotate(180deg);
    background-color: var(--home_third_background_color);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-body-inner {
    padding: 0 26px 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.faq-body-inner ul,
.faq-body-inner ol {
    margin: 10px 0 14px 24px;
}

.faq-body-inner ul {
    list-style: disc;
}

.faq-body-inner ol {
    list-style: decimal;
}

.faq-body-inner li {
    margin-bottom: 6px;
}

/* ==========================================================================
   SECTION 15: CONTÁCTANOS - LAYOUT 4 (#section-5f58d9170c99a)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
}

.contact-details-box {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.65);
    padding: 36px 28px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 1.1rem;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
}

.contact-details-list a:hover {
    color: var(--home_third_background_color);
}

.contact-form-box {
    background-color: rgba(0, 0, 0, 0.72);
    padding: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label span {
    color: #ff4d4f;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-family: var(--global_font);
    font-size: 1rem;
    color: #111111;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--global_main_color);
    box-shadow: 0 0 0 3px rgba(61, 26, 95, 0.25);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   FOOTER (footer.global_footer)
   ========================================================================== */
.global-footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 44px 0;
    color: #ffffff;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-side1 .footer-name {
    font-family: var(--font_logo);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.footer-side1 .footer-copy {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: flex-end;
    max-width: 720px;
}

.footer-nav a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
    color: var(--home_third_background_color);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & GREETER WIDGET (+57 3216406838)
   ========================================================================== */
.whatsapp-float-container {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.whatsapp-popup {
    width: 320px;
    background-color: #111111;
    border: 1px solid rgba(61, 26, 95, 0.8);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-popup-header {
    background: linear-gradient(135deg, var(--global_main_color) 0%, #25D366 160%);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.whatsapp-popup-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-popup-brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.whatsapp-popup-brand h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.whatsapp-popup-brand span {
    font-size: 0.78rem;
    opacity: 0.9;
}

.whatsapp-popup-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
}

.whatsapp-popup-body {
    padding: 18px;
    background-color: #161616;
}

.whatsapp-greeter-msg {
    background-color: #222222;
    border-left: 3px solid var(--whatsapp_green);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    color: #f0f0f0;
    margin-bottom: 14px;
    line-height: 1.45;
}

.whatsapp-input-wrap {
    display: flex;
    gap: 8px;
}

.whatsapp-input-wrap input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 20px;
    border: 1px solid #333333;
    background-color: #0b0b0b;
    color: #ffffff;
    font-family: var(--global_font);
    font-size: 0.9rem;
}

.whatsapp-send-btn {
    background-color: var(--whatsapp_green);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.whatsapp-send-btn:hover {
    background-color: #1ebe57;
}

.whatsapp-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--global_main_color);
    color: #ffffff;
    height: 58px;
    padding: 0 20px 0 16px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-float-btn:hover {
    background-color: var(--whatsapp_green);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    background-color: var(--whatsapp_green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-float-btn:hover .whatsapp-float-icon {
    background-color: #ffffff;
    color: var(--whatsapp_green);
}

.whatsapp-float-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.whatsapp-float-text {
    font-family: var(--global_font);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   MODAL ("Solicita Información" & Multi-Currency / Course Info)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(5px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #111111;
    border: 1px solid rgba(61, 26, 95, 0.8);
    border-top: 5px solid var(--global_main_color);
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0.7;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 22px;
}

/* ==========================================================================
   COOKIE BANNER (from footerCustomTextJson)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background-color: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(61, 26, 95, 0.8);
    border-radius: 10px;
    padding: 16px 20px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.cookie-banner p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.cookie-btn {
    background-color: var(--global_main_color);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--global_font);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: var(--global_main_color_light);
}

/* ==========================================================================
   SCROLL ANIMATIONS (AOS-like fade-up)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1180px) {
    .nav-list .hide-md {
        display: none;
    }
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-list,
    .header-actions {
        display: none;
    }
    .mobile-toggle {
        display: inline-flex;
    }
    .services-grid-layout-11,
    .products-grid-layout-4,
    .blog-grid-layout-10,
    .agencia-sec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-header-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .blog-post-first {
        flex-direction: column;
    }
    .blog-first-img-link,
    .blog-first-details {
        width: 100%;
    }
    .blog-first-details {
        padding: 28px;
    }
}

@media (max-width: 640px) {
    :root {
        --sectionsPadding: 56px;
    }
    .hero-box-card {
        padding: 32px 24px;
    }
    .services-grid-layout-11,
    .products-grid-layout-4,
    .courses-grid,
    .blog-grid-layout-10,
    .agencia-sec-grid,
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .s123-page-header {
        font-size: 1.95rem;
    }
    .split-image-box {
        height: 280px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav {
        justify-content: center;
    }
    .whatsapp-float-container {
        left: 16px;
        bottom: 16px;
    }
    .whatsapp-popup {
        width: calc(100vw - 32px);
    }
}
