/* ==========================================================================
   MUNDO-POWER PREMIUM DESIGN SYSTEM & LANDING PAGE STYLES
   ========================================================================== */

:root {
    --navy-deep: #071E3D;
    --navy-darkest: #05152B;
    --navy-light: #0B2B54;
    --blue-brand: #0954A5;
    --blue-hover: #074382;
    --blue-light: #EBF3FC;
    --green-accent: #65C946;
    --green-dark: #4EA833;
    --green-light: #F0FDF4;
    --text-primary: #071E3D;
    --text-body: #334155;
    --text-muted: #5B6B80;
    --border-subtle: #E2E8F0;
    --border-card: #E4EAF0;
    --bg-page: #FFFFFF;
    --bg-soft: #F6F8FA;
    --bg-card: #FFFFFF;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-script: 'Caveat', cursive, sans-serif;
    --shadow-sm: 0 2px 8px rgba(7, 30, 61, 0.04);
    --shadow-md: 0 6px 20px rgba(7, 30, 61, 0.06);
    --shadow-lg: 0 16px 36px rgba(7, 30, 61, 0.08);
}

/* Shared keyboard, motion and media safeguards; preserve approved layouts. */
:focus-visible { outline: 3px solid var(--blue-brand); outline-offset: 4px; }
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
img { max-width: 100%; }
.messageBox { overflow-wrap: anywhere; }
.sidebar-product-badge { color: #287B18 !important; }
#applications .prod-section-title > span[style*="green-accent"] { color: #287B18 !important; }
.prod-stat-card:not(.featured) .prod-stat-label { color: var(--text-muted) !important; }
.article-pdf-card div[style*="background: #0284c7"] { background: var(--blue-brand) !important; }
.about-copy .green { color: #287B18 !important; }
.blog-article-page .blog-card-link { color: var(--blue-brand) !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Base Body Styles */
body.mundo-homepage {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-page);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.mundo-homepage * {
    box-sizing: border-box;
}

/* Containers */
.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Common Eyebrow */
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.eyebrow-badge.justify-center {
    justify-content: center;
}

.eyebrow-text {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.eyebrow-accent-bar {
    display: inline-block;
    width: 32px;
    height: 3px;
    background: var(--green-accent);
    border-radius: 2px;
}

/* Buttons & Links */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--blue-brand);
    color: #FFFFFF !important;
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(9, 84, 165, 0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(9, 84, 165, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #FFFFFF;
    color: var(--blue-brand);
    border: 1.5px solid var(--blue-brand);
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 700;
    padding: 11.5px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: #F0F7FF;
    border-color: var(--blue-hover);
    color: var(--blue-hover);
    transform: translateY(-2px);
}

.btn-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--blue-brand);
    color: #FFFFFF;
    transition: transform 0.2s ease;
}

.btn-secondary:hover .btn-play-icon {
    transform: scale(1.1);
}

.inline-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--blue-brand);
    text-decoration: none;
    transition: all 0.2s ease;
}

.inline-arrow-link:hover {
    color: var(--blue-hover);
    gap: 12px;
}

/* ==========================================================================
   SECTION 01 — HEADER & NAVIGATION (Overriding legacy base.css)
   ========================================================================== */

/* Universal Header Styles across all pages */
header.mundo-header,
.mundo-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    box-shadow: 0 1px 4px rgba(7, 30, 61, 0.04) !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-sans);
}

.mundo-header nav,
.mundo-header .header-nav {
    background: transparent !important;
    text-transform: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    width: 100%;
}

.mundo-header nav #wind-turbine,
.mundo-header .header-logo {
    margin: 0 !important;
    padding: 0 !important;
}

.mundo-header .brand-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

.mundo-header .brand-globe {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.mundo-header .brand-wordmark {
    font-family: var(--font-sans) !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.mundo-header .brand-mundo {
    color: var(--navy-deep) !important;
}

.mundo-header .brand-power {
    color: var(--green-accent) !important;
}

.mundo-header .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 36px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mundo-header .nav-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.mundo-header .nav-item::after {
    display: none !important;
}

.mundo-header .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--font-sans) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-body) !important;
    text-decoration: none !important;
    text-transform: none !important;
    padding: 28px 0 !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.mundo-header .nav-link:hover {
    color: var(--blue-brand) !important;
}

.dropdown-chevron {
    transition: transform 0.25s ease;
    stroke: var(--text-muted);
}

.has-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
    stroke: var(--blue-brand);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1010;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-soft);
}

.dropdown-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 3px;
}

.dropdown-item-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.35;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-talk-sales {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--blue-brand);
    color: #FFFFFF !important;
    padding: 10.5px 22px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(9, 84, 165, 0.2);
}

.btn-talk-sales:hover {
    background-color: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(9, 84, 165, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--navy-deep);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar-2 {
    opacity: 0;
}

.mobile-toggle.active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 30, 61, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-content {
    background-color: #FFFFFF;
    width: 100%;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 24px 32px 36px;
    box-shadow: var(--shadow-lg);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-deep);
    text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-footer {
    margin-top: 24px;
}

.mobile-btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   SECTION 02 — HERO SECTION
   ========================================================================== */

/* ==========================================================================
   SECTION 02 — HERO CAROUSEL SECTION (RESTORED MULTI-SLIDE)
   ========================================================================== */

.section-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 740px;
    background-color: #FFFFFF;
    padding: 0;
}

.hero-carousel-section {
    position: relative;
    width: 100%;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 740px;
    padding: 70px 0 110px;
    box-sizing: border-box;
    background-color: #FFFFFF;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    background-color: #F8FAFC;
}

.hero-img-bg,
.hero-video-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Gradient Overlay Ensuring Superior Text Contrast */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 42%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0.35) 68%, rgba(255, 255, 255, 0.05) 85%);
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.hero-content {
    max-width: 610px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(9, 84, 165, 0.08);
    border: 1px solid rgba(9, 84, 165, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-brand);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--green-brand);
    display: inline-block;
}

.hero-heading {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--navy-deep);
    letter-spacing: -0.025em;
    margin: 0 0 20px 0;
}

.hero-blue-text {
    color: var(--blue-brand);
}

.hero-description {
    font-size: 17.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 34px 0;
    max-width: 530px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 42px;
    flex-wrap: wrap;
}

.hero-value-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.value-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.value-icon.green-icon {
    background-color: var(--green-light);
    color: var(--green-dark);
}

.value-icon.blue-icon {
    background-color: var(--blue-light);
    color: var(--blue-brand);
}

.value-text {
    display: flex;
    flex-direction: column;
}

.value-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 2px;
    line-height: 1.25;
}

.value-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
}

/* Controls Bar at bottom of Hero */
.hero-controls-bar {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.hero-controls-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    pointer-events: auto;
}

.hero-play-pause-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-deep);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(7, 30, 61, 0.08);
    flex-shrink: 0;
}

.hero-play-pause-btn:hover,
.hero-play-pause-btn:focus-visible {
    border-color: var(--blue-brand);
    color: var(--blue-brand);
    transform: scale(1.05);
    outline: none;
}

.hero-swiper-pagination {
    display: inline-flex;
    align-items: center;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(7, 30, 61, 0.22);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 5px !important;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    padding: 0;
}

.hero-swiper-pagination .swiper-pagination-bullet:hover {
    background: rgba(9, 84, 165, 0.6);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background: var(--blue-brand) !important;
}

.hero-slide-counter {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    user-select: none;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.hero-slide-counter .current-slide {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-deep);
}

.hero-slide-counter .sep {
    opacity: 0.5;
}

.hero-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.hero-nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-deep);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(7, 30, 61, 0.08);
}

.hero-nav-arrow:hover,
.hero-nav-arrow:focus-visible {
    border-color: var(--blue-brand);
    color: var(--blue-brand);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(9, 84, 165, 0.16);
    outline: none;
}

.hero-nav-arrow:active {
    transform: translateY(0);
}

/* ==========================================================================
   SECTION 03 — THREE CORE ADVANTAGES
   ========================================================================== */

.section-advantages {
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 56px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.advantage-col {
    padding: 0 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border-subtle);
}

.advantage-col:last-child {
    border-right: none;
}

.advantage-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--green-light);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.advantage-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-deep);
    margin: 0 0 10px 0;
}

.advantage-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    max-width: 320px;
}

/* ==========================================================================
   SECTION 04 — OUR SOLUTIONS
   ========================================================================== */

.section-solutions {
    background-color: #FFFFFF;
    padding: 96px 0 104px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    gap: 32px;
}

.section-title-wrap {
    flex: 1;
}

.section-heading {
    font-size: 42px;
    font-weight: 800;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.section-subtitle-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 440px;
    line-height: 1.5;
    margin: 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.solution-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1;
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #F1F5F9;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.solution-card:hover .card-image-box img {
    transform: scale(1.03);
}

.card-content {
    padding: 32px 34px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-deep);
    margin: 0 0 6px 0;
}

.card-tagline {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue-brand);
    text-transform: uppercase;
    margin: 0 0 14px 0;
}

.card-description {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0 0 24px 0;
}

.card-specs-list {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-specs-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
    font-weight: 500;
}

.spec-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--green-light);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-action {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

.circle-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--blue-brand);
    background-color: #FFFFFF;
    color: var(--blue-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.circle-action-btn:hover {
    background-color: var(--blue-brand);
    color: #FFFFFF;
    transform: scale(1.08);
}

/* ==========================================================================
   SECTION 05 — REAL-WORLD APPLICATIONS (REAL IMPACT)
   ========================================================================== */

.section-applications {
    background-color: var(--bg-soft);
    padding: 96px 0 104px;
    border-top: 1px solid var(--border-subtle);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.app-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.app-card-media {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background-color: #E2E8F0;
}

.app-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.app-card:hover .app-card-media img {
    transform: scale(1.04);
}

.app-card-body {
    padding: 26px 22px 22px;
    position: relative;
}

.app-icon-badge {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    color: var(--blue-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(7, 30, 61, 0.08);
    transition: all 0.25s ease;
}

.app-card:hover .app-icon-badge {
    background-color: var(--blue-brand);
    color: #FFFFFF;
    border-color: var(--blue-brand);
}

.app-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-deep);
    margin: 6px 0 6px 0;
}

.app-card-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   SECTION 06 — PERFORMANCE METRICS (BY THE NUMBERS)
   ========================================================================== */

.section-metrics {
    position: relative;
    background: linear-gradient(180deg, rgba(7, 30, 61, 0.86) 0%, rgba(5, 21, 43, 0.94) 100%), url('../images/metrics_cinematic_bg.webp') center / cover no-repeat;
    padding: 100px 0 110px;
    color: #FFFFFF;
}

.metrics-header-center {
    text-align: center;
    margin-bottom: 56px;
}

.metrics-heading {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin: 8px 0 0 0;
}

.section-metrics .eyebrow-text {
    color: #94A3B8;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 38px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.26);
}

.metric-icon {
    color: var(--green-accent);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    font-size: 46px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 12px;
}

.metric-unit {
    font-size: 20px;
    font-weight: 700;
    color: #E2E8F0;
}

.metric-prefix {
    font-size: 16px;
    font-weight: 500;
    color: #CBD5E1;
    margin-right: 4px;
}

.metric-desc {
    font-size: 13.5px;
    line-height: 1.45;
    color: #CBD5E1;
    margin: 0;
    max-width: 210px;
}

/* ==========================================================================
   SECTION 07 — ABOUT MUNDO-POWER
   ========================================================================== */

.section-about {
    background-color: #FFFFFF;
    padding: 104px 0 112px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.about-heading {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
}

.highlight-blue {
    color: var(--blue-brand);
}

.about-copy p {
    font-size: 16.5px;
    line-height: 1.68;
    color: var(--text-body);
    margin: 0 0 34px 0;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(7, 30, 61, 0.1);
    width: 100%;
    max-height: 440px;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   SECTION 08 — PREMIUM FOOTER (Overriding legacy base.css)
   ========================================================================== */

/* Universal Footer Styles across all pages */
footer.mundo-footer,
.mundo-footer {
    background: linear-gradient(180deg, #071E3D 0%, #05152B 100%) !important;
    color: #FFFFFF !important;
    padding: 80px 0 0 0 !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-family: var(--font-sans);
}

.mundo-footer::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 480px;
    height: 320px;
    background: radial-gradient(ellipse at bottom right, rgba(9, 84, 165, 0.12), transparent 70%);
    pointer-events: none;
}

.mundo-footer footer.container,
.mundo-footer .footer-container {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.3fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-brand-globe {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-brand-wordmark {
    font-family: var(--font-sans);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand-mundo-white {
    color: #FFFFFF;
}

.brand-power-green {
    color: var(--green-accent);
}

.footer-tagline {
    font-size: 13px;
    font-weight: 800;
    color: var(--green-accent);
    letter-spacing: 0.06em;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #94A3B8;
    margin: 0 0 24px 0;
    max-width: 290px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background-color: var(--blue-brand);
    border-color: var(--blue-brand);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 22px 0;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links li {
    list-style: none !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-links a {
    color: #CBD5E1 !important;
    text-decoration: none;
    font-size: 14.5px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--green-accent) !important;
    transform: translateX(3px);
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 14px;
    color: #CBD5E1;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.45;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.footer-contact-list a {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #FFFFFF !important;
}

.contact-icon {
    color: var(--green-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-col-art {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-art-wrapper {
    position: relative;
    padding-right: 20px;
}

.footer-script-text {
    font-family: var(--font-script);
    font-size: 46px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.88);
    text-align: right;
    margin: 0;
    transform: rotate(-3deg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #94A3B8;
}

.footer-bottom .copyright {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #FFFFFF;
}

.footer-legal-links .divider {
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   VIDEO MODAL DIALOG
   ========================================================================== */

.video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 30, 61, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    animation: fadeIn 0.25s ease;
}

.video-modal-backdrop[hidden] {
    display: none !important;
}

.video-modal-dialog {
    background-color: #071E3D;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-title {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.video-modal-close {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
    color: #FFFFFF;
    transform: scale(1.1);
}

.video-modal-body {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background-color: #000;
}

.video-modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (1280px, 1024px, 768px, 480px, 360px)
   ========================================================================== */

/* Laptop (1280px and below) */
@media (max-width: 1280px) {
    .hero-heading {
        font-size: 56px;
    }

    .section-heading,
    .metrics-heading,
    .about-heading {
        font-size: 38px;
    }

    .card-content {
        padding: 26px 24px;
    }
}

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .mundo-header nav,
    .mundo-header .header-nav {
        display: none !important;
    }

    .mundo-header .mobile-toggle {
        display: flex !important;
    }

    .hero-slide {
        min-height: 640px;
        padding: 50px 0 90px;
    }

    .hero-img-bg,
    .hero-video-bg {
        width: 50%;
    }

    .hero-heading {
        font-size: 46px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }

    .card-image-box {
        height: 320px;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-col-art {
        justify-content: flex-start;
    }

    .footer-script-text {
        text-align: left;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .header-container {
        height: 72px;
        padding: 0 20px;
    }

    .mobile-drawer {
        top: 72px;
    }

    .mobile-drawer-content {
        max-height: calc(100vh - 72px);
    }

    .section-container,
    .hero-container,
    .footer-container {
        padding: 0 20px;
    }

    .section-hero {
        min-height: auto;
    }

    .hero-slide {
        min-height: auto;
        padding: 40px 0 80px;
    }

    .hero-img-bg,
    .hero-video-bg {
        width: 100%;
        height: 100%;
        object-position: center bottom;
        opacity: 0.35;
    }

    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.7) 100%);
    }

    .hero-heading br {
        display: none;
    }

    .hero-heading {
        font-size: clamp(26px, 5.2vw, 36px);
        line-height: 1.2;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .hero-value-indicators {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-controls-bar {
        bottom: 16px;
    }

    .hero-controls-container {
        padding: 0 20px;
        gap: 12px;
    }

    .hero-nav-arrow {
        width: 38px;
        height: 38px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .advantage-col {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 0 0 32px 0;
    }

    .advantage-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .section-subtitle-wrap {
        align-items: flex-start;
        text-align: left;
    }

    .section-heading,
    .metrics-heading,
    .about-heading {
        font-size: 32px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .header-logo .brand-logo {
        height: 34px !important;
    }

    .header-actions .btn-talk-sales {
        display: none !important;
    }

    .hero-slide {
        padding: 30px 0 76px;
    }

    .hero-heading {
        font-size: clamp(22px, 6.4vw, 28px);
        line-height: 1.22;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .hero-eyebrow {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 14px;
    }

    .hero-slide-counter {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 22px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }

    .hero-value-indicators {
        gap: 10px;
        padding-top: 14px;
    }

    .value-item {
        gap: 10px;
    }

    .value-icon {
        width: 32px;
        height: 32px;
    }

    .value-title {
        font-size: 13.5px;
    }

    .value-subtitle {
        font-size: 11.5px;
    }

    .hero-controls-bar {
        bottom: 12px;
    }

    .hero-controls-container {
        padding: 0 16px;
        gap: 10px;
        justify-content: space-between;
    }

    .hero-nav-arrow {
        width: 34px;
        height: 34px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
