/* 
   Monex Rich Article Style Sheet
   Designed for Expansión (2026)
*/

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

:root {
    --color-primary: #001865;
    /* Monex Deep Navy */
    --color-primary-light: #002e9d;
    /* Monex Medium Navy */
    --color-secondary: #0098dd;
    /* Monex Highlight Blue */
    --color-accent: #C5A059;
    /* Monex Accent Gold */
    --color-dark: #2d3748;
    /* Dark Gray Text */
    --color-light: #F4F6F9;
    /* Light Gray Background */
    --color-white: #ffffff;
    --font-headers: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    color: var(--color-primary);
}

/* Expansion Header Integration */
.head_exp {
    top: 0;
    background-color: #ed1c24;
    border-bottom: 2px solid #000000;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.head_exp img {
    max-width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Ensure Expansion logo is white against red background */
}

.head_exp:hover {
    background-color: #000000;
}

/* Main Wrapper */
#wrapper {
    position: relative;
}

/* Parallax Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 50px; /* offset for fixed header */
}




.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 24, 101, 0.9) 0%, rgba(0, 152, 221, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

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

    .hero-banner {
        height: auto;
        padding: 100px 0;
    }
}

.hero-logo-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    width: 200px;
}

.hero-logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-logo-container img {
    height: 50px;
    width: auto;
}

/* Sections General */
section {
    overflow: hidden;
}

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

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

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.4rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title.left-aligned::after {
    left: 0;
    transform: none;
}

/* Content blocks styling */
.lead-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.8;
}

/* Metrics and Cards */
.metric-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--color-primary);
    transition: var(--transition-smooth);
    height: 100%;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 24, 101, 0.15);
}

.metric-number {
    font-family: var(--font-headers);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.metric-number.accent {
    color: var(--color-secondary);
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Interactive Card Layouts */
.premium-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 45, 98, 0.05);
    height: 100%;
}

.premium-card:hover {
    box-shadow: 0 20px 40px rgba(0, 45, 98, 0.12);
}

.card-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.premium-card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-body-content {
    padding: 30px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

/* Split Image and Text Sections */
.split-img-section {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Quote Layout */
.quote-container {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 60px 50px;
    border-radius: 16px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 45, 98, 0.2);
}

.quote-container::before {
    content: '“';
    position: absolute;
    top: -40px;
    left: 20px;
    font-size: 15rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    text-align: center;
    font-weight: 300;
}

.quote-author {
    font-family: var(--font-headers);
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 5px;
}

.quote-author-title {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-weight: 500;
}

/* Recuadro Destacado Sectores */
.sectors-card {
    background-color: var(--color-light);
    border-radius: 12px;
    padding: 35px;
    border-left: 6px solid var(--color-accent);
}

.sectors-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.sectors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sectors-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sectors-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sectors-pct {
    font-family: var(--font-headers);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
    min-width: 110px;
    display: inline-block;
}

.sectors-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* Call to Action Footer Section */
.cta-section {
    background-color: var(--color-primary);
    /* Dark navy background */
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.cta-button {
    background-color: var(--color-secondary);
    /* Clear highlight blue button */
    color: var(--color-white);
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 45px;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(0, 152, 221, 0.35);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 152, 221, 0.5);
}

.cta-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    max-width: 800px;
    margin: 30px auto 0 auto;
    line-height: 1.6;
}

.cta-disclaimer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.cta-disclaimer a:hover {
    color: var(--color-secondary);
}

/* Photo Credits */
.photo-credits {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    margin-top: 25px;
}

/* Animation Utilities */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Circular Image Component Base */
.circle-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 30px auto;
    aspect-ratio: 1 / 1;
}

.circle-image-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid rgba(0, 152, 221, 0.12); /* light blue outer ring */
    box-shadow: 0 15px 35px rgba(0, 24, 101, 0.18);
    position: relative;
    background-color: var(--color-white);
    z-index: 2; /* display image above background circles */
    transition: var(--transition-smooth);
}

.circle-image-container::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 2px solid rgba(0, 152, 221, 0.3); /* inner ring */
    pointer-events: none;
}

.circle-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.circle-image-wrapper:hover .circle-image-container {
    transform: scale(1.03);
    border-color: rgba(0, 152, 221, 0.25);
}

/* Background decorative circles and dots using absolute elements */
.circle-image-wrapper .bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1; /* behind the main image container */
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.circle-image-wrapper .offset-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 3; /* above the image container */
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

/* STYLE 1: Top-Left Large Dark Navy circle, Bottom-Right Dark Navy dot */
.circle-style-1 .bg-circle {
    top: -8%;
    left: -10%;
    width: 45%;
    height: 45%;
    background-color: #001865;
}

.circle-style-1 .offset-dot {
    bottom: 4%;
    right: 4%;
    width: 10%;
    height: 10%;
    background-color: #001865;
}

/* STYLE 2: Top-Left Large Light Blue circle, Bottom-Left Dark Navy dot */
.circle-style-2 .bg-circle {
    top: -5%;
    left: -12%;
    width: 42%;
    height: 42%;
    background-color: #0098dd;
}

.circle-style-2 .offset-dot {
    bottom: 10%;
    left: -8%;
    width: 11%;
    height: 11%;
    background-color: #001865;
}

/* STYLE 3: Top-Left Medium Dark Navy circle, Top-Right Light Blue dot */
.circle-style-3 .bg-circle {
    top: -10%;
    left: 5%;
    width: 28%;
    height: 28%;
    background-color: #001865;
}

.circle-style-3 .offset-dot {
    top: 5%;
    right: -8%;
    width: 9%;
    height: 9%;
    background-color: #0098dd;
}

/* STYLE 4: Bottom-Right Large Light Blue circle, Top-Left Dark Navy dot */
.circle-style-4 .bg-circle {
    bottom: -8%;
    right: -8%;
    width: 38%;
    height: 38%;
    background-color: #0098dd;
}

.circle-style-4 .offset-dot {
    top: -2%;
    left: 4%;
    width: 10%;
    height: 10%;
    background-color: #001865;
}