﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;600;700&display=swap');

:root {

    --primary-olive: #556B2F;

    --primary-dark: #435525;

    --text-main: #1A1A1A;

    --text-muted: #4b5563;

    --bg-page: #FDFDFD;

    --bg-surface: #ffffff;

    --bg-subtle: #F7F8F3;

    --border-color: #D3D3D3;



    --font-serif: 'Playfair Display', serif;

    --font-sans: 'Inter', sans-serif;



    --text-hero: 5.5rem;
    --text-subtitle: 2.5rem;

    --text-h3: 2.5rem;

    --text-body-large: 1.25rem;
    --text-nav: 1.1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: var(--text-body-large);

    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

}


@view-transition {
    navigation: auto;
}


::view-transition-old(root) {
    animation:
        0.5s ease-in-out both fade-out,
        0.5s ease-in-out both scale-down;
}


::view-transition-new(root) {
    animation:
        0.5s ease-in-out both fade-in,
        0.5s ease-in-out both scale-up;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
}

@keyframes fade-out {
    to {
        opacity: 0;
    }
}

@keyframes scale-down {
    to {
        transform: scale(0.95);
        filter: blur(5px);
    }
}

@keyframes scale-up {
    from {
        transform: scale(0.95);
        filter: blur(5px);
    }
}



@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 95%;

    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-olive {
    color: var(--primary-olive);
}

.text-muted {
    color: var(--text-muted);
}

.text-sm {
    font-size: var(--text-body-large);

}

.font-serif {
    font-family: var(--font-serif);
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}


header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid #f3f4f6;
    padding: 0.5rem 0;

    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-olive);
}

.nav-links a.active {
    color: var(--primary-olive);
    font-weight: 700;
}


.nav-links li a.nav-link-philosophy {
    color: #ff4d00 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}


.header-dark {
    background-color: #333333;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-dark .logo {
    color: white !important;
}

.header-dark .logo span {
    color: white !important;
}

.header-dark .nav-links a {
    color: #d4d4d8;

}

.header-dark .nav-links a:hover {
    color: var(--primary-olive);

}

.header-dark .nav-links a.active {
    color: white;
    border-bottom-color: var(--primary-olive);
}

.header-dark .logo svg {
    color: var(--primary-olive);

}

.header-dark .mobile-menu-btn {
    color: white;
}

.header-dark .mobile-menu-btn span {
    background-color: white !important;
}


@media (max-width: 768px) {
    .header-dark .nav-links {
        background-color: #333333 !important;

    }

    .header-dark .nav-links a {
        color: white !important;
    }
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1000;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
    }


    .nav-links {
        position: fixed;
        top: 0;
        left: 0;

        height: 100vh;
        width: 100%;
        background-color: var(--bg-surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(-100%);

        transition: transform 0.3s ease-in-out;
        z-index: 900;
        padding-top: 60px;
    }

    .nav-links.active {
        transform: translateX(0);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);

    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-main);
    }


    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


    body.menu-open {
        overflow: hidden;
    }


    .hero-3col-grid {
        display: flex !important;
        flex-direction: column;
        padding-top: 1rem;
        gap: 1.5rem;
    }




    .hero-3col-grid>div:nth-child(1) {
        order: 1;
        text-align: center !important;
    }


    .hero-3col-grid>div:nth-child(4) {
        order: 2;
    }


    .hero-3col-grid>div:nth-child(2) {
        order: 3;
    }


    .hero-3col-grid>div:nth-child(5) {
        order: 4;
    }


    .hero-3col-grid>div:nth-child(3) {
        order: 5;
        text-align: center !important;
    }

    .hero-column-image {
        max-height: 35vh !important;
        width: auto !important;
        max-width: 85%;
        margin: 0 auto;
    }


    h1,
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
        text-align: center !important;
    }

    .hero-desc {
        font-size: 1.1rem !important;
        padding: 0 1rem;
        text-align: center !important;
    }

    .section-title {
        font-size: 2rem !important;
        text-align: center !important;
    }


    .pitch-section {
        padding-top: 1rem !important;
        margin-top: -1.5rem !important;

    }

    .pitch-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
        padding: 0 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
        align-self: flex-start !important;
    }

    .pitch-body {
        font-size: 1.1rem !important;
        padding: 0 1rem !important;
        text-align: justify !important;
        max-width: 100% !important;
    }

    /* Force mobile full width column layout for pitch section right column */
    .pitch-section>div {
        flex-direction: column !important;
    }

    .pitch-section>div>div:nth-child(2) {
        width: 100% !important;
        padding: 2rem 1.5rem !important;
        align-items: flex-start !important;
    }


    .hero-col-side,
    .hero-col-side>div {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }


    .chaos-indicator,
    .order-indicator {
        justify-content: center !important;
    }


    .hablemos-claro {
        padding: 3rem 1.5rem !important;
        text-align: center;
    }

    .hablemos-claro h2 {
        font-size: 2.5rem !important;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hablemos-claro p {
        font-size: 1.1rem !important;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }

    .sparkle-button {
        width: 100% !important;
        max-width: 320px !important;

        padding: 1rem !important;
        white-space: normal !important;

        height: auto !important;

        line-height: 1.3 !important;
        font-size: 1.1rem !important;
    }
}


.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-olive);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-olive);
    color: var(--primary-olive);
}


.hero-3col-grid {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;

    grid-template-rows: auto auto;

    gap: 0.5rem 1rem;

    align-items: center;
    position: relative;
    padding: 0 0 2rem 0;

    min-height: auto;
}



.hero-col-side:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin-bottom: 1rem;

}


.hero-col-center {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}


.hero-col-side:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    margin-bottom: 1rem;

}


.hero-col-side:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 1rem;

}


.hero-col-side:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    margin-top: 1rem;

}

.hero-col-side {
    z-index: 2;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: var(--text-hero);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-desc {
    font-size: var(--text-body-large);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.text-chaos {
    color: #b91c1c;

}

.chaos-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #b91c1c;

    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #b91c1c;
    box-shadow: 0 4px 6px rgba(185, 28, 28, 0.2);
}

.order-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-olive);

    color: white;

    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--primary-olive);
    box-shadow: 0 4px 6px rgba(85, 107, 47, 0.2);
}


.scene-3d.extended {
    width: 300px;
    height: 100%;
    min-height: 500px;

    margin: 0 auto;
    perspective: 1500px;
    position: relative;
    display: block;
}


.hero-column-image {
    transition: transform 0.3s ease;
}

.hero-column-image:hover {
    transform: scale(1.02);
}



@media (max-width: 768px) {
    .hero-3col-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .text-right,
    .text-left {
        text-align: center;
    }

    .scene-3d {
        margin: 2rem auto;
        height: 300px;
    }

    .stoa-column,
    .column-face {
        height: 300px;
    }
}


section {
    padding: 15px 10px;

}

.section-services,
.section-aprendizaje,
.section-novedades {
    background-color: var(--bg-surface);
}

.section-nosotros,
.section-calendario,
.cinismo-section {
    background-color: #FAFAFA;
}




.badge {
    background-color: #f0fdf4;

    color: var(--primary-olive);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 1rem;

    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--text-hero);

    font-weight: 700;
    margin: 0.5rem 0 1rem 0;
}

.section-nosotros .section-title,
.section-services .section-title {
    font-size: var(--text-hero);
    line-height: 1.1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: start;

}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-olive);
    box-shadow: 0 10px 20px rgba(85, 107, 47, 0.1);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--bg-subtle);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-olive);
    font-size: 1.5rem;
}

.service-card h3,
.team-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}



.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;

    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.team-initials {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-olive);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}


.calendar-preview {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.calendar-event {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;

    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.calendar-event:hover {
    transform: translateY(-5px);
    border-color: var(--primary-olive);
}

.calendar-event .date {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-olive);
    line-height: 1;
}

.calendar-event.warning .date {
    color: #f59e0b;
}


.cinismo-section {
    padding: 15px 10px;
    background-color: #fafafa;
}

.quote-card {
    background: #1a1a1a;
    color: white;
    padding: 1.5rem;

    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.quote-card.olive {
    background: var(--primary-olive);
}


.cinismo-hero {
    background-color: #333333;
    color: white;
    padding: 10px 10px 0 10px;

    text-align: center;
    position: relative;
    overflow: hidden;
}

.sticky-section {
    padding: 0 10px 15px 10px;

    background-color: #333333;

    color: white;
    position: relative;
    overflow: hidden;
}

.sticky-notes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;

}

.post-it {
    width: 220px;
    min-height: 180px;
    padding: 0.5rem;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
}


.post-it:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-it.yellow {
    background-color: #fef08a;
    color: #854d0e;
}

.post-it.pink {
    background-color: #fbcfe8;
    color: #9d174d;
    transform: rotate(2deg);
}

.post-it.blue {
    background-color: #bae6fd;
    color: #0c4a6e;
    transform: rotate(-2deg);
}

.post-it.green {
    background-color: #bbf7d0;
    color: #14532d;
    transform: rotate(1deg);
}

.post-it.orange {
    background-color: #fed7aa;
    color: #7c2d12;
    transform: rotate(-1deg);
}


.villain-form-wrapper {
    margin-top: 4rem;
    background: #3f3f46;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;

    text-align: center;
}

.villain-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;

    margin-top: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--primary-olive);

    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.villain-form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem;

    border-radius: 0.5rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
    resize: none;

}

.villain-form-input:focus {
    outline: none;
    border-color: var(--primary-olive);
}

.submit-btn-row {
    margin-top: 2rem;
    text-align: center;
}







.lamento-container {
    max-width: 600px;
    margin: 2rem auto 0 auto;

    border: 2px dashed #e5e7eb;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.lamento-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-family: var(--font-sans);
}


.villains-section {
    background-color: #333333;

    color: white;
    padding: 15px 10px;
    text-align: center;
}

.villain-card {
    background: #404040;

    border-radius: 1rem;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);

}

.villain-card:hover {
    transform: translateY(-5px);
}

.villain-icon {
    height: 180px;
    background: linear-gradient(to bottom, #3f3f46, #27272a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #a1a1aa;
}

.villain-content {
    padding: 2rem;
}

.antidote-box {
    background: rgba(85, 107, 47, 0.2);

    border: 1px solid rgba(85, 107, 47, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.antidote-label {
    color: #a3e635;

    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}


.cta-green {
    background-color: var(--primary-olive);
    padding: 3rem 0;

    text-align: center;
    color: white;
}

.cta-green h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}


@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }


    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;

    }

}


.pitch-section {
    background-color: var(--bg-page);
    padding: 0;

    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pitch-container {
    background: transparent;

    color: var(--text-main);
    padding: 1rem 0;

    width: 100%;
    max-width: 1200px;

    text-align: center;
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: none;
}


.pitch-title {
    font-family: var(--font-serif);
    font-size: var(--text-hero);

    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pitch-body {
    font-family: var(--font-sans);
    font-size: var(--text-body-large);

    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;

    margin-left: auto;
    margin-right: auto;
}


.hablemos-claro {
    background-color: transparent;
    padding: 0;

    border-radius: 0;

    text-align: center;
    margin-top: 3rem;

    position: relative;
    border: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hablemos-claro h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;

    margin-bottom: 1rem;
    color: var(--primary-olive);
    text-align: center;
}


.hablemos-claro p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.35rem;
    text-align: center;
    line-height: 1.6;
}





.story-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.story-highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
}


.founders-row {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.founder-card-expanded {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .founder-card-expanded {
        flex-direction: row;
        text-align: left;
    }

    .founder-card-expanded.reverse {
        flex-direction: row-reverse;
    }
}

.founder-photo-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.1), rgba(85, 107, 47, 0.05));
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.name-meaning-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.name-meaning-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}


.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0 auto;
}

@media (min-width: 768px) {
    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.principle-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.impact-counter {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(85, 107, 47, 0.1);
    text-align: center;
    margin: 3rem auto;
    max-width: 600px;
}

.circular-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(to right, rgba(85, 107, 47, 0.05), rgba(85, 107, 47, 0.1), rgba(85, 107, 47, 0.05));
    padding: 3rem;
    border-radius: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .circular-flow-diagram {
        flex-direction: row;
        gap: 2rem;
    }
}

.flow-step {
    padding: 1rem 2rem;
    background: white;
    border-radius: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}



.morph-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 400px;

}

.morph-card:hover,
.morph-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image-container {
    width: 100%;
    height: 55%;

    background: linear-gradient(135deg, var(--primary-olive), #3a4a1d);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.4s ease-in-out;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.morph-card:hover .card-image-container,
.morph-card:focus-within .card-image-container {
    height: 35%;

}

.card-icon-large {
    font-size: 5rem;
    transition: transform 0.4s ease-in-out, font-size 0.4s ease-in-out;
}

.morph-card:hover .card-icon-large,
.morph-card:focus-within .card-icon-large {
    transform: scale(0.6);
}

.card-content {
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    background: white;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.card-content h3 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-serif);
    font-size: var(--text-h3);
    color: var(--text-main);
}

.card-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
}

.morph-card:hover .card-details,
.morph-card:focus-within .card-details {
    opacity: 1;
    max-height: 200px;
}




.morph-card-short:hover .card-icon-large svg,
.morph-card-short:focus-within .card-icon-large svg {
    transform: scale(0.7);
}






.sticky-shield {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 107, 47, 0.2);
    border-radius: 99px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideUp 0.5s ease-out forwards;
}

.shield-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-size: 1.2rem;
    justify-content: center;
    text-align: center;
}

.shield-icon {
    color: var(--primary-olive);
    flex-shrink: 0;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}


.evolution-container {
    margin-top: 4rem;
    position: relative;
}

.evolution-title {
    font-family: var(--font-serif);
    font-size: var(--text-hero);

    margin-bottom: 2rem;
    color: var(--text-main);
    text-align: left;
    border-left: 4px solid var(--primary-olive);
    padding-left: 1rem;
}

@media (max-width: 768px) {
    .evolution-title {
        font-size: 2.5rem !important;

        word-wrap: break-word;

        line-height: 1.1;
    }
}

.evolution-scroll {
    display: grid;
    grid-template-columns: 1fr;

    gap: 2rem;
    padding: 2rem 1rem;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .evolution-scroll {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (min-width: 1200px) {
    .evolution-scroll {
        grid-template-columns: repeat(4, 1fr);

    }
}



.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;

    margin-top: 2rem;
    justify-content: center;

}

.evolution-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);

    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .evolution-scroll {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .evolution-card {
        padding: 1.25rem !important;
        border-radius: 1rem !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon title"
            "icon concept"
            "button button";
        gap: 0 1rem;
        align-items: center;
    }

    .evolution-card h3 {
        grid-area: title;
        font-size: clamp(1rem, 4vw, 1.2rem) !important;
        margin-bottom: 0.15rem;
        word-wrap: break-word;
        hyphens: auto;
        text-align: left;
    }

    .evo-icon {
        grid-area: icon;
        margin-bottom: 0 !important;
    }

    .evo-icon svg {
        width: 36px;
        height: 36px;
    }

    .evo-concept {
        grid-area: concept;
        font-size: clamp(0.85rem, 3.5vw, 0.95rem) !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        text-align: left;
    }

    .evo-details {
        display: none !important;
    }

    .btn-evo {
        grid-area: button;
        font-size: clamp(0.75rem, 3.5vw, 0.95rem) !important;
        padding: 0.6rem 0.5rem !important;
        margin-top: 1rem !important;
        word-wrap: break-word;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
}

.evolution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(85, 107, 47, 0.15);
    z-index: 10;
    background: white;
}

.evo-icon {
    color: var(--primary-olive);
    margin-bottom: 1.5rem;
}

.evo-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.evolution-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-h3);
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.evo-concept {
    font-style: italic;
    color: var(--text-muted);
    font-size: var(--text-body-large);
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1rem;
}

.evo-details {
    font-size: var(--text-body-large);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.evo-details strong {
    color: var(--primary-olive);
}

.btn-evo,
.btn-mirror {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--primary-olive);
    background: transparent;
    color: var(--primary-olive);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;

    transition: all 0.3s;
    cursor: pointer;
}

.btn-evo:hover,
.btn-mirror:hover {
    background: var(--primary-olive);
    color: white;
}


.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;

    margin-top: 2rem;
    justify-content: center;

}

.mirror-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #FAFAFA;
    min-height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: default;
}

.mirror-content {
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: filter 0.5s ease;
}

.mirror-content.blur-effect {
    filter: none !important;

}

.mirror-card:hover .mirror-content.blur-effect {
    filter: none !important;
}

.mirror-overlay {
    display: none !important;

}

.mirror-card:hover .mirror-overlay {
    display: none !important;
}

.mirror-icon {
    color: var(--primary-olive);
    margin-bottom: 1rem;
}

.mirror-icon svg {
    width: 64px;
    height: 64px;
    stroke-width: 1;
}

.mirror-tagline {
    font-family: var(--font-serif);
    font-size: var(--text-subtitle);

    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}


.mirror-content p:not(.mirror-tagline) {
    font-size: var(--text-body-large);
}


@media (max-width: 768px) {
    .evolution-scroll {}

    .evolution-card {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .sticky-shield {
        width: 95%;
        padding: 0.75rem 1rem;
        bottom: 10px;
    }

    .shield-content {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .section-title {
        font-size: 2.5rem;

    }
}




.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-olive);
}

.modal-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
}

.modal-body h4 {
    color: var(--primary-olive);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-family: var(--font-sans);
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-align: justify;
    text-justify: inter-word;
}

.learning-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.learning-card p {
    flex-grow: 1;

}

.learning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-olive);
}


#learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.btn-evo {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: var(--primary-olive);
    border: 1px solid var(--primary-olive);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-evo:hover {
    background-color: var(--primary-olive);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.2);
}

@media (min-width: 1200px) {
    #learning-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.search-container {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-left: 3rem;

    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 1.2rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 4px rgba(85, 107, 47, 0.1);
}

.filter-select {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    background-color: white;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-olive);
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }

    .search-input,
    .filter-select {
        width: 100%;
    }
}



.news-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;

    margin: 0 auto;
}

.news-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card:hover {
    border-color: var(--primary-olive);
    box-shadow: 0 10px 20px rgba(85, 107, 47, 0.1);
    transform: translateX(5px);
}


.sparkle-button {
    position: relative;
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-olive), var(--primary-dark));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    font-family: var(--font-sans);
    box-shadow: 0 10px 25px rgba(85, 107, 47, 0.3);
}

.sparkle-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(85, 107, 47, 0.5);
}

.sparkle-text {
    position: relative;
    z-index: 2;
}

.sparkles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.news-card-content {
    flex: 1;
}

.news-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: 700;
    color: var(--text-main);
}

.news-card-action {
    flex-shrink: 0;
}

.read-more {
    color: var(--primary-olive);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.badge-tributaria {
    background-color: #e0f2fe;

    color: #0369a1;
}

.badge-laboral {
    background-color: #fef3c7;

    color: #b45309;
}

.badge-legal {
    background-color: #f3e8ff;

    color: #7e22ce;
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .news-card-action {
        width: 100%;
        text-align: right;
    }
}






.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;

    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 2rem 1rem;

}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}


.diagnosis-modal-content {
    max-width: 800px;
    padding: 2.5rem;
    padding-bottom: 6rem;

    border-radius: 0.75rem;
    background: white;
}


.wizard-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.indicator {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-olive);
    color: white;
}

.indicator.completed {
    background: #809060;

    color: white;
    cursor: pointer;
}

.indicator-line {
    flex-grow: 1;
    height: 2px;
    background: #e2e8f0;
    max-width: 3rem;
}


.wizard-step {
    display: none;

    animation: fadeIn 0.4s ease;
}

.wizard-step.active {
    display: block;

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary-olive);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}


.wizard-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.wizard-footer.right {
    justify-content: flex-end;
}

.btn-next,
.btn-submit {
    background-color: var(--primary-olive);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-next:hover,
.btn-submit:hover {
    background-color: #606d44;

    transform: translateY(-1px);
}

.btn-prev {
    background-color: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.btn-prev:hover {
    background-color: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}


.btn-main-cta {
    background-color: var(--primary-olive);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-main-cta:hover {
    background-color: #606d44;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}



.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;

    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;

    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    width: 100%;

    box-sizing: border-box;

}


.form-group textarea {
    resize: none;

    height: 150px;

    overflow-y: auto;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: white;
    border-color: var(--primary-olive);
    box-shadow: 0 0 0 3px rgba(88, 102, 60, 0.1);

    outline: none;
}


@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}



#diagnostico {
    scroll-margin-top: 100px;

    background-color: #ffffff !important;

}

.diagnosis-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 !important;

}

.diagnosis-section .section-header {
    text-align: center;
    margin-bottom: 4rem !important;
}

.diagnosis-section .section-header h2 {
    font-size: 3rem !important;

    color: var(--primary-olive);
}

.diagnosis-section .section-header p {
    font-size: 1.25rem !important;

}


#wizard-container {
    transition: all 0.3s ease;
    max-width: 1000px !important;

    margin: 0 auto;
    padding: 3rem !important;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;

}

.diagnosis-form {
    width: 100%;
}


.wizard-step {
    padding-bottom: 0;
    animation: fadeIn 0.5s ease;
}


.form-group label {
    font-size: 1.1rem !important;

    margin-bottom: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-size: 1.1rem !important;

    padding: 1rem 1.25rem !important;

}

@media (max-width: 768px) {
    #wizard-wrapper {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    #wizard-container {
        padding: 1rem 0.75rem !important;
        border-radius: 12px !important;
    }

    .form-group {
        margin-bottom: 0.75rem !important;
    }

    .form-grid {
        gap: 0.5rem !important;
    }

    .form-group label {
        font-size: 0.95rem !important;
        margin-bottom: 0.25rem !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    .wizard-footer {
        margin-top: 1.5rem !important;
        padding-top: 1rem !important;
        gap: 0.75rem !important;
    }

    .wizard-step h3 {
        margin-bottom: 1rem !important;
        font-size: 1.25rem !important;
    }
}


.wizard-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.sticky-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    background-color: #333333;

}

.sticky-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;

    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 768px) {
    .sticky-notes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .post-it {
        width: 100% !important;
        padding: 1.5rem;
        min-height: 120px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(0.5deg) !important;
    }
}

.post-it {
    background-color: #fef9c3;

    padding: 1.5rem;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Kalam', cursive, sans-serif;

    font-size: 1.1rem;
    color: #4b5563;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.post-it:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
    box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.15);
}

.post-it.yellow {
    background-color: #fef9c3;
    transform: rotate(1deg);
}

.post-it.pink {
    background-color: #fce7f3;
    transform: rotate(-2deg);
}

.post-it.blue {
    background-color: #dbeafe;
    transform: rotate(2deg);
}

.post-it.green {
    background-color: #dcfce7;
    transform: rotate(-1.5deg);
}

.post-it.orange {
    background-color: #ffedd5;
    transform: rotate(1.5deg);
}


.lamento-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.lamento-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    resize: none;

    margin-bottom: 1rem;
    font-family: inherit;
    height: 150px;

}


.nav-button-client {
    position: relative;
    padding: 0.5rem 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    color: white !important;
    background: linear-gradient(135deg, var(--primary-olive), var(--primary-dark));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-sans);
    box-shadow: 0 4px 10px rgba(85, 107, 47, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    margin-left: 0.5rem;
}

.nav-button-client:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(85, 107, 47, 0.5);
    color: white !important;
}

@media (max-width: 768px) {
    .nav-button-client {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        margin-left: 0;
        margin-top: 1rem;
        padding: 0.75rem 1.5rem !important;
        font-size: 1.25rem !important;
    }
}





.fade-overlay-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: -6rem;

    padding-top: 8rem;
    padding-bottom: 2rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-surface) 60%);
    z-index: 10;
    grid-column: 1 / -1;
    pointer-events: none;
}

.fade-overlay-container button {
    pointer-events: auto;
}

.show-less-container {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    grid-column: 1 / -1;
    padding-bottom: 2rem;
}

.btn-expand {
    background: transparent;
    border: 2px solid var(--primary-olive);
    color: var(--primary-olive);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-expand:hover {
    background: var(--primary-olive);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.2);
}

.btn-expand span {
    transition: transform 0.3s ease;
}

.btn-expand.expanded span {
    transform: rotate(180deg);
}


@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-enter {
    animation: slideUpFade 0.5s ease forwards;
}



.nav-links a.active {
    color: var(--primary-olive) !important;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-olive);
    border-radius: 2px;
}

/* =========================================================================
   MOBILE RESPONSIVENESS FOR CUSTOM SECTIONS (Hero, Claridad, Hablemos)
   ========================================================================= */
@media (max-width: 991px) {

    /* HERO SECTION STACK */
    .hero>div {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    .hero>div>div {
        width: 100% !important;
        padding: 2rem 1.5rem !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hero>div>div:first-child h2 {
        font-size: 2.125rem !important;
        /* ~34px iOS Title */
        text-align: left !important;
        margin-top: 0 !important;
    }

    .hero>div>div:first-child p {
        text-align: justify !important;
        font-size: 1rem !important;
        /* 16px body text */
    }

    .hero>div>div:first-child>div {
        /* The flex row for list and buttons */
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
        margin-top: 1.5rem !important;
    }

    .hero>div>div:first-child>div>ul {
        align-items: flex-start !important;
        font-size: 1rem !important;
        /* 16px text */
    }

    .hero>div>div:first-child>div>div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero>div>div:nth-child(2) {
        height: 300px !important;
    }

    /* CLARIDAD EN MOVIMIENTO SECTION STACK */
    .pitch-section>div {
        flex-direction: column-reverse !important;
        /* Text above image */
        height: auto !important;
        min-height: auto !important;
    }

    .pitch-section>div>div {
        width: 100% !important;
        padding: 2rem 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .pitch-section>div>div:nth-child(1) {
        /* Image container */
        height: 300px !important;
    }

    .pitch-title {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .pitch-body {
        text-align: center !important;
    }

    /* DEGRADADOS (Hide horizontal gradients since they cover 100% width now) */
    .hero>div>div:nth-child(2)>div,
    .pitch-section>div>div:nth-child(1)>div {
        display: none !important;
    }

    /* HABLEMOS CLARO SECTION */
    .hablemos-claro-section {
        padding: 3rem 1.5rem !important;
    }

    .hablemos-claro-section>div:nth-child(2) {
        /* Glassmorphism container */
        padding: 2.5rem 1.5rem !important;
        width: 100% !important;
        border-radius: 1.5rem !important;
    }

    .hablemos-claro-section h2 {
        font-size: 2.25rem !important;
    }

    .hablemos-claro-section p {
        font-size: 1.1rem !important;
    }

    .hablemos-claro-section a.btn {
        width: 100% !important;
        padding: 1.2rem 1rem !important;
        font-size: 1rem !important;
        box-sizing: border-box;
    }
}

/* =========================================================================
   GLOBAL MOBILE BLUEPRINT OVERRIDES
   ========================================================================= */

/* Images flexible */
img {
    max-width: 100%;
    height: auto;
}

/* Generic Form Inputs & Finger-Friendly (48px min-height, 16px font-size for iOS) */
input,
select,
textarea {
    font-size: 16px !important;
    /* Prevents iOS auto-zoom */
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Form groups: Stack labels on top of inputs on mobile */
@media (max-width: 768px) {

    .form-group,
    .input-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .form-group label,
    .input-group label {
        margin-bottom: 0.5rem;
    }

    /* Full width buttons */
    .btn {
        width: 100% !important;
        min-height: 48px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box;
        margin-bottom: 10px;
        /* Space between buttons */
    }

    /* Typography scaling */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    /* Body text lateral padding protection */
    p {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Grids to single column */
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    /* Nosotros mobile alignment */
    .section-nosotros div[style*="text-align: center"] {
        text-align: left !important;
    }

    .section-nosotros .section-title {
        text-align: left !important;
    }

    .section-nosotros .story-highlight {
        text-align: justify !important;
    }

    /* Propósitos de a 2 en celular */
    .section-nosotros .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .section-nosotros .morph-card {
        height: 300px !important;
    }

    .section-nosotros .card-content {
        padding: 0.75rem !important;
    }

    .section-nosotros .card-content h3 {
        font-size: 1.1rem !important;
    }

    .section-nosotros .card-icon-large svg {
        width: 32px;
        height: 32px;
    }

    .section-nosotros .text-sm {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
}

/* Phones specific */
@media (max-width: 480px) {

    h1,
    .hero>div>div:first-child h2 {
        font-size: 2.125rem !important;
        /* 34px (iOS Title 1) */
    }

    h2 {
        font-size: 1.75rem !important;
        /* 28px */
    }

    h3 {
        font-size: 1.25rem !important;
        /* 20px (Web minimal title) */
    }
}