/* 
   MOPI - High End Design System 
   Concept: Minimalist, Boutique, Breathable, Nature-inspired.
*/

:root {
    /* --- PALETTE: Nature & Serenity --- */
    --bg-body: #FDFDFB;
    /* Warm White */
    --bg-section: #F4F4F0;
    /* Stone/Beige Light */
    --text-main: #2A2A2A;
    /* Soft Black (not pure black) */
    --text-muted: #666666;
    /* Editorial Grey */
    --accent: #8E8B82;
    /* Taupe/Earth */
    --border: #E5E5E0;

    /* --- TYPOGRAPHY --- */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* --- SPACING --- */
    --container-width: 1200px;
    --section-padding: 120px 0;
    /* Breathable spacing */
    --card-padding: 40px;
}

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    /* High readability */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
    /* Force no scroll */
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Elegant thin weights */
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

ul {
    list-style: none;
}

/* --- COMPONENTS --- */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons: Minimal & Sophisticated */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--text-main);
    color: #fff;
    padding-left: 50px;
    /* Micro-interaction */
}

/* --- FONTS --- */
/*
@font-face {
    font-family: 'Typogama-Ahsing';
    src: url('../fonts/Ahsing-Regular.otf') format('opentype'),
        url('../fonts/Ahsing-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*/

/* Header */
header {
    height: 96px;
    padding: 0 120px 0 64px;
    position: fixed;
    top: 0;
    width: 100%;
    background: #F5F5F3;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

header .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

header.scrolled,
header.header-solid {
    background: #F5F5F3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Removed overrides for header-solid to maintain consistency */

/* Scroll Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--text-main);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#scrollTopBtn:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO CUSTOM */
.logo {
    display: block;
    line-height: 0;
    padding-bottom: 0;
}

.logo img {
    height: 55px;
    /* Larger initial size */
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
    /* Smooth resizing */
}

header.scrolled .logo img {
    height: 40px;
    /* Shrinks on scroll */
}

/* Footer Logo Specifics */
footer .logo {
    margin-bottom: 15px;
    /* Space for tagline below */
    display: inline-block;
}

/* Removed scrolled logo override */

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1F1F1F;
    font-weight: 500;
    /* Medium */
    position: relative;
    padding-bottom: 0px;
    text-transform: none;
    /* User didn't specify uppercase */
    letter-spacing: normal;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: currentColor;
    /* Adapts to white or dark automatically */
    transition: width 0.3s ease;
}

/* Removed scrolled nav links override */

.nav-links a:hover,
.nav-links a.active {
    color: #9A8F7A;
    font-weight: 500;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    /* Expand underline */
}

/* Removed scrolled nav hover override */

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
}

.hero-sub {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

/* --- IMAGERY & TEXTURES --- */
.bg-texture {
    background-color: #f7f7f5;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e0e0dc' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-break {
    height: 1px;
    width: 100px;
    background: var(--accent);
    margin: 40px auto;
}

/* --- HERO ENHANCED --- */
/* --- HERO ENHANCED --- */
.hero {
    position: relative;
    min-height: 100vh;
    /* Allow content to dictate height + padding */
    display: block;
    /* Flow layout for spacing */
    padding-top: 300px;
    /* Increased top margin roughly to center/push down */
    padding-bottom: 40px;
    /* Reduced bottom padding so it ends closer to the screen bottom if needed, or keeping it standard. User said "solo esta sección hero". 100vh + large padding ensures it fills screen. */
    background-color: #F5F5F3;
    overflow: hidden;
}

.hero .container {
    max-width: 100%;
    padding: 0 64px;
    margin: 0;
}

.hero-content {
    width: 100%;
    /* 100% */
    max-width: unset;
    /* Override 800px limit */
    padding: 0;
    margin-left: 36px;
    /* Offset to align with 'O' in Mopi logo */
    text-align: left;
}

.hero h1 {
    font-family: 'Canela', 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 58px);
    /* Reduced significantly to ensure single line fit */
    line-height: 1.2;
    color: #1F1F1F;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.8vw, 24px);
    /* Tighter scaling */
    line-height: 1.4;
    color: #4A4A4A;
    margin-bottom: 24px;
    width: 100%;
    font-weight: 400;
    /* Regular per context, user said Inter */
}

.hero .microcopy {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 16px;
    line-height: 150%;
    color: #8A8A8A;
    width: 100%;
    /* 100% */
    margin: 0;
}

/* Remove old hero box styles */
.hero-bg-img {
    display: none;
}



@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        /* Reduced from 300px */
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero .container {
        padding: 0 24px;
    }

    .hero-content {
        margin-left: 0;
        width: 100%;
        padding: 0;
    }

    .hero h1 {
        font-family: 'Canela', 'Playfair Display', serif;
        font-size: clamp(24px, 7vw, 36px);
        /* Fluid scaling */
        line-height: 1.25;
        margin-bottom: 24px;
        text-wrap: balance;
        /* Optional: improves shape */
    }

    .hero h2 {
        font-family: 'Inter', sans-serif;
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.4;
        margin-bottom: 24px;
        width: 100%;
    }

    .hero .microcopy {
        font-size: 15px;
    }
}

/* --- INTERNAL HEROES --- */
.hero-internal {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a !important;
    /* Dark fallback */
    color: #fff !important;
    /* Force white text */
}

/* Background Image */
.hero-internal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mopi_img4.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    z-index: 0;
    opacity: 1;
    /* Full opacity as requested */
}

/* Dark Overlay for Text Readability */
.hero-internal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Ensure content sits above */
.hero-internal .container {
    position: relative;
    z-index: 2;
}

.hero-internal h1,
.hero-internal h2,
.hero-internal p,
.hero-internal span {
    color: #fff !important;
}

/* --- CARDS & BLOCKS --- */
.feature-block {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.text-overlap-card {
    background: #fff;
    padding: 40px;
    margin-top: -60px;
    margin-left: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 90%;
}

/* --- FOOTER MODERN --- */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 100px 0 40px;
    text-align: left;
}

footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

footer p {
    color: #888;
    font-size: 0.9rem;
}

footer a {
    color: #aaa;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

/* --- RESPONSIVE DESIGN --- */

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* Shadow for visibility on light BG */
}

header.scrolled .menu-toggle .bar,
header.header-solid .menu-toggle .bar {
    background-color: var(--text-main);
}

/* Tablet & Mobile Breakpoint (Increased to 992px for better coverage) */
@media (max-width: 992px) {

    /* 1. Header & Nav */
    .menu-toggle {
        display: flex !important;
        position: fixed;
        /* Anchor to VIEWPORT, not container */
        right: 20px;
        top: 20px;
        /* No transform needed for fixed top-right */
        z-index: 9999;
        /* Max z-index */
        background: rgba(255, 255, 255, 0.9);
        padding: 10px;
        border-radius: 8px;
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        /* Subtle shadow for depth */
    }

    .nav-wrapper {
        position: static;
        /* Remove relative positioning context from wrapper if needed, or keep it. Sticky header needs it? */
        /* Actually, header is fixed. Nav-wrapper is just a container. */
        justify-content: center;
        /* Center logo */
    }

    /* Force Dark Bars Always on Mobile for contrast against the little white box */
    .menu-toggle .bar {
        background-color: var(--text-main) !important;
        box-shadow: none;
        /* No shadow needed with box */
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--text-main);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--text-main);
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #FDFDFB;
        /* Warm White */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
    }

    .nav-links a {
        color: var(--text-main) !important;
        /* Always dark in mobile menu */
        font-size: 1.2rem;
    }

    /* 2. Layout & Stacking */
    .row {
        flex-direction: column;
    }

    .container {
        padding: 0 20px !important;
    }

    /* 3. Typography */
    .logo {
        font-size: 2.5rem;
        /* Reduced from 3.5rem to fit better */
    }

    header.header-solid .logo {
        font-size: 2.2rem;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .hero-box {
        padding: 20px;
    }

    /* 4. Fix Internal Page Spacing */
    .section-std[style*="margin-top: 160px"] {
        margin-top: 120px !important;
    }

    /* 5. Footer */
    footer .row {
        text-align: center;
        gap: 40px;
    }

    footer .col {
        min-width: 100%;
    }
}

/* --- SECTION QUESTIONS --- */
.section-questions {
    background-color: #E6E2D8;
    padding: 160px 0;
    text-align: center;
}

.section-questions .container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.questions-wrapper {
    width: 100%;
    /* Increased from 60% to 100% to allow text to extend */
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    /* Removed large side padding */
    display: flex;
    flex-direction: column;
    gap: 96px;
    /* Space between questions */
}

.question-text {
    font-family: 'Canela', 'Playfair Display', serif;
    font-size: clamp(24px, 2.5vw, 34px);
    /* Fluid typography */
    line-height: 135%;
    color: #1F1F1F;
    font-weight: 400;
    /* Regular */
    margin: 0;
}

/* --- SECTION DREAM (SUEÑA · DISEÑA · DESPLIEGA) --- */
.section-dream {
    background-color: #EDE9DC;
    /* Updated as requested */
    padding-top: 160px;
    padding-bottom: 160px;
    /* "Diagrama -> fin bloque: 160 px" */
    text-align: center;
}

.section-dream .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dream-main {
    font-family: 'Canela', 'Playfair Display', serif;
    font-size: 32px;
    /* 30-32 px */
    line-height: 130%;
    color: #1F1F1F;
    width: 60%;
    margin: 0 auto 24px auto;
    /* "Frase principal → texto secundario: 24 px" */
    font-weight: 400;
}

.dream-secondary {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 155%;
    color: #4A4A4A;
    width: 50%;
    /* 45-50% */
    margin: 0 auto 96px auto;
    /* "Texto → Diagrama: 96 px" */
}

.diagram-container {
    padding: 0;
    max-width: 550px;
    /* Reduced further from 700px */
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Contains the zoomed image */
    border-radius: 4px;
    background-color: #fff;
    /* White background for lightening effect */
}

.diagram-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.1);
    /* "Un poco de zoom" effect */
    transition: transform 0.5s ease;
    opacity: 0.75;
    /* Lightened image */
}

/* Circles Overlay */
.circles-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.circle-item {
    width: 200px;
    /* Increased from 160px */
    height: 200px;
    border-radius: 50%;
    border: 1px solid #333;
    /* Dark border for visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Canela', 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1F1F1F;
    margin: 0 -20px;
    /* Negative margin creates "interlaced" look */
    z-index: 2;
    /* Optional: Slight backdrop to ensure legibility over image */
    /* background: rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .circle-item {
        width: 100px;
        height: 100px;
        margin: 0 -10px;
        /* Reduced overlap for smaller size */
        font-size: 10px;
        letter-spacing: 0.05em;
    }
}

/* --- SECTION APPROACH (MI ENFOQUE) --- */
.section-approach {
    background-color: #F5F5F3;
    /* Light stone/grey */
    padding-top: 160px;
    padding-bottom: 160px;
    text-align: left;
}

.section-approach .container {
    max-width: 1400px;
    /* Constrain width to avoid extreme separation */
    margin: 0 auto;
    padding: 0 120px;
    /* Match header margin */
    display: flex;
    justify-content: center;
    width: 100%;
}

.approach-content {
    width: 100%;
    /* Full width to allow grid to sit nicely in container */
    max-width: 100%;
}

.approach-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    /* 4% */
    color: #7A7A7A;
    margin-bottom: 48px;
    text-transform: none;
}

.approach-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.approach-col {
    flex: 1;
    padding: 0 40px;
    /* Internal breathing room */
}

/* Center Column with Borders */
.approach-col-center {
    border-left: 1px solid #D1D1D1;
    /* Separator bar */
    border-right: 1px solid #D1D1D1;
}

/* First col padding adjustment */
.approach-grid .approach-col:first-child {
    padding-left: 0;
    padding-right: 40px;
}

/* Last col padding adjustment */
.approach-grid .approach-col:last-child {
    padding-left: 40px;
    padding-right: 0;
}

.approach-col-title {
    font-family: 'Canela', 'Playfair Display', serif;
    font-size: 24px;
    color: #1F1F1F;
    margin-bottom: 16px;
    font-weight: 400;
}

.approach-col p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    /* Reduced from 18px */
    line-height: 160%;
    color: #4A4A4A;
    margin-bottom: 24px;
    text-align: justify;
    /* Justified as requested */
}

.approach-col p:last-child {
    margin-bottom: 0;
}

/* RESPONSIVE: Stack on smaller screens */
@media (max-width: 992px) {
    .section-approach .container {
        padding: 0 20px;
        /* Reset padding for mobile/tablet */
    }

    .approach-grid {
        flex-direction: column;
        gap: 0;
        /* Let padding handle spacing */
    }

    .approach-col {
        padding: 0 !important;
        /* Reset horizontal padding */
        width: 100%;
    }

    .approach-col-center {
        border-left: none;
        border-right: none;
        border-top: 1px solid #D1D1D1;
        border-bottom: 1px solid #D1D1D1;
        padding-top: 48px !important;
        padding-bottom: 48px !important;
        margin-top: 48px;
        margin-bottom: 48px;
    }
}

/* Removed SECTION WORK AREAS (ÁREAS DE TRABAJO) */

/* --- FOOTER SITE --- */
.site-footer {
    background-color: #F5F5F3;
    padding-top: 96px;
    padding-bottom: 96px;
    color: #4A4A4A;
    text-align: left;
}

.site-footer .container {
    max-width: 1400px;
    /* Matched to CTA */
    margin: 0 auto;
    padding: 0 80px;
    /* Matched to CTA padding */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left aligned */
}

.footer-logo {
    display: block;
    line-height: 0;
    margin-bottom: 32px;
}

.footer-logo img {
    height: 70px;
    /* slightly larger for footer if needed */
    width: auto;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    /* Horizontal on desktop */
    gap: 32px;
    flex-wrap: wrap;
    /* Safe wrapping */
    justify-content: flex-start;
    /* Left aligned */
}

.footer-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    /* Regular */
    color: #4A4A4A;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #9A8F7A;
    /* MOSS */
}

.footer-legal {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #8A8A8A;
    margin-top: 48px;
    /* Increased spacing */
    text-align: left;
    /* Left aligned */
}

.credits-link {
    color: #8A8A8A;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    /* Spacing after "reservados." */
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.credits-link:hover {
    color: #9A8F7A;
    border-bottom-color: #9A8F7A;
}

@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        /* Vertical on mobile */
        gap: 16px;
        align-items: center;
    }
}

/* --- SECTION CTA FINAL --- */
.section-cta {
    background-color: #EDE9DC;
    /* Matching the beige tone from previous section if desired, or keep light grey #F5F5F3? User didn't specify bg color change, but usually consistent with flow. Let's keep it #EDE9DC as it follows Outcomes (which is F5F5F3). Let's stick to user previous request for "color de fondo de toda esta sección debe ir este #EDE9DC" referring to diagram? No, that was diagram section. Let's keep #EDE9DC for flow or go back to #F5F5F3. User said "con una imagen". I'll use #EDE9DC to make it look like a cohesive footer block or similar. Actually let's keep #EDE9DC to match the diagram section tone possibly? No, let's stick to the previous #F5F5F3 unless asked. Wait, diagram section is #EDE9DC. Approach is #F5F5F3. Work areas removed. Outcomes #F5F5F3. So CTA might look good with #EDE9DC for contrast. I'll use #EDE9DC. */
    background-color: #EDE9DC;
    padding-top: 200px;
    padding-bottom: 200px;
}

.section-cta .container {
    max-width: 1400px;
    /* Increased to allow text to fit */
    margin: 0 auto;
    padding: 0 80px;
    /* Wider padding but less than 120px to save space */
}

.cta-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    /* Reduced space to give more room to text */
    width: 100%;
}

.cta-image-col {
    flex: 1;
    max-width: 450px;
    /* Slightly reduced image slot */
}

.cta-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* aspect-ratio: 4/3; Optional */
}

.cta-text-col {
    flex: 1;
    text-align: center;
    /* Center text lines */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center button */
}

.cta-question {
    font-family: 'Canela', 'Playfair Display', serif;
    font-size: 33px;
    line-height: 125%;
    color: #1F1F1F;
    width: 100%;
    margin: 0 0 48px 0;
    font-weight: 400;
}

.btn-cta {
    display: inline-block;
    background-color: #9A8F7A;
    /* MOSS */
    color: #F5F5F3;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 15px;
    letter-spacing: 0.02em;
    /* +2% */
    text-transform: none;
    /* Spec doesn't say uppercase, typical Inter button might be normal case or specified. Assuming normal based on "Trabajemos juntos" text. */
    text-decoration: none;
    padding: 15px 30px;
    /* vertical: 14–16 px, horizontal: 28–32 px */
    border-radius: 999px;
    /* Pill */
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #1F1F1F;
    color: #F5F5F3;
}

/* --- SECTION OUTCOMES (LO QUE OBTIENES) --- */
.section-outcomes {
    background-color: #F5F5F3;
    padding-top: 0;
    /* Continuous flow from previous block */
    padding-bottom: 160px;
}

.section-outcomes .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.outcomes-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #7A7A7A;
    margin-bottom: 48px;
    text-transform: none;
    text-align: center;
    /* Centralized title */
    width: 100%;
}

.outcomes-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    /* Space between items */
    width: 100%;
}

.outcome-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 150%;
    color: #4A4A4A;
    text-align: center;
    /* Center text */
    margin: 0;
    padding: 0;
}

@media (max-width: 992px) {
    .cta-grid {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .cta-text-col {
        align-items: center;
        text-align: center;
    }

    .cta-image-col {
        max-width: 100%;
        width: 100%;
    }
}

/* --- MOPI PRO DESIGN UPDATES --- */
.section-beige {
    background-color: #F3F0E9;
    padding: 100px 0;

}

.pilares-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.pillar-item {
    padding: 0 40px;
    border-right: 1px solid #ddd;
    position: relative;
    text-align: center;
}

.pillar-item p {
    text-align: justify;
}

.pillar-item:last-child {
    border-right: none;
}

.pillar-icon {
    font-size: 40px;
    color: var(--text-main);
    margin-bottom: 20px;
    display: block;
}

.impact-box ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.impact-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.impact-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-main);
}

.impact-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}


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

    .pillar-item {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 40px 20px;
    }

    .pillar-item:last-child {
        border-bottom: none;
    }

    .impact-quote {
        font-size: 1.5rem;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .outcomes-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .outcomes-title {
        width: 100%;
    }
}