/* ============================================
   FINSight Landing - Hero Section Styles
   Design: Creatix-style hero with dark bg
   ============================================ */

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

:root {
    --color-dark: #0a0a0a;
    --color-dark-card: #1a1a1a;
    --color-bg: #f5f5f5;
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-gray: #6b6b6b;
    --color-green: #008080;
    --color-green-dark: #005578;
    --color-green-hover: #006666;
    --color-green-light: #7ed95720;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-xl: 44px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-dark);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    padding: 14px 36px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-white);
    transition: background 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Desktop: los enlaces participan en el flex del container (logo en el centro) */
.nav-menu {
    display: contents;
}

.nav-links--left { order: 1; }
.nav-links--right { order: 3; }

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-logo {
    order: 2;
    display: flex;
    align-items: center;
    padding: 0 24px;
    margin-bottom: -5px;
    justify-content: center;
    filter: brightness(0) invert(1);
}

.nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--color-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px var(--color-green), 0 0 24px rgba(126, 217, 87, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 12px var(--color-green), 0 0 24px rgba(126, 217, 87, 0.3); }
    50% { box-shadow: 0 0 18px var(--color-green), 0 0 36px rgba(126, 217, 87, 0.5); }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-card {
    position: relative;
    width: 100%;

    background: var(--color-white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    min-height: calc(100vh );
    display: flex;
    flex-direction: column;
}

/* --- Decorative Starbursts --- */
.deco-starburst {
    pointer-events: none;
}

.deco-starburst img,
.deco-starburst svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.deco-starburst--large {
    position: absolute;
    top: 90px;
    left: 50px;
    width: 80px;
    height: 80px;
    z-index: 2;
}

.deco-starburst--large-right {
    position: absolute;
    top: 90px;
    right: 50px;
    left: auto;
    width: 80px;
    height: 80px;
    z-index: 2;
}

.deco-starburst--small {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
}

/* --- Hero Heading --- */
.hero-heading {
    text-align: center;
    padding: 100px 60px 40px;
    position: relative;
    z-index: 1;
}

.hero-heading h1 {
    font-size: clamp(3rem, 6.2vw, 2.5rem);
    font-weight: 800;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-dark);
}

.heading-line {
    display: block;
   
}

/* Decorative checks after heading */
.deco-checks {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    vertical-align: middle;
    color: var(--color-green);
}

.deco-checks svg {
    width: 32px;
    height: 32px;
}

.deco-checks svg:last-child {
    margin-left: -10px;
    opacity: 0.6;
}

/* --- Hero Body (3-column layout) --- */
.hero-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: end;
    padding: 0 60px;
    flex: 1;
    position: relative;
    z-index: 2;
}

/* Left Column */
.hero-col--left {
    align-self: center;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-gray);
    max-width: 340px;
    margin-bottom: 20px;
}

/* Curved arrow decoration */
.deco-curved-arrow {
    width: 80px;
    height: 60px;
    margin-bottom: 20px;
}

.deco-curved-arrow svg {
    width: 100%;
    height: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn--outline {
    background: transparent;
    border: 1.5px solid rgba(26, 26, 26, 0.2);
    color: var(--color-dark);
}

.btn--outline:hover {
    border-color: var(--color-dark);
    background: rgba(26, 26, 26, 0.04);
}

.btn--outline .btn-arrow {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.btn--outline:hover .btn-arrow {
    transform: translate(2px, -2px);
}

.btn--primary {
    background: var(--color-green);
    color: var(--color-dark);
    font-weight: 700;
    padding: 16px 32px;
    box-shadow: 0 4px 20px rgba(126, 217, 87, 0.3);
}

.btn--primary:hover {
    background: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(126, 217, 87, 0.4);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 32px;
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Center Column - Image */
.hero-col--center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 5;
}

.hero-image-wrapper {
    position: relative;
    margin-bottom: -80px;
    width: 100%;
    max-width: 520px;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    min-height: 280px;
    object-fit: contain;
    object-position: center bottom;
    position: relative;
    z-index: 2;
    display: block;
}

.bg1{
    position: absolute;
    top: 40%;
    left: 50%;
    width: 120%;
    height: 60vh;
    border-radius: 50%;
    transform: translateX(-50%);
    background:var(--color-green);
    z-index: 1;
}


/* Right Column - Stats */
.hero-col--right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 120px;
    gap: 16px;
}

.hero-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.hero-stars {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--color-green);
    font-size: 1.25rem;
    line-height: 1;
}

.hero-impact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: 300px;
    text-align: right;
}

.hero-impact-heading {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-green);
}

.hero-impact-heading::after {
    content: ':';
}

.hero-impact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-impact-list li {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.35;
}

.hero-impact-stat {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-green-dark);
    margin-right: 2px;
}

.hero-impact-note {
    font-weight: 500;
    color: var(--color-gray);
    font-size: 0.88em;
}

/* --- Hero Bottom Dark Bar --- */
.hero-bottom {
    background: transparent;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 36px 60px;
    position: relative;
    z-index: 6;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 7;
}

/* ========== SECCIÓN NOSOTROS - BENTO (referencia servicios) ========== */

.about-section {
    padding: 64px 24px 80px;
    background: var(--color-bg);
    position: relative;
    z-index: 1;
}

.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header: etiqueta + título + CTA */
.about-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.about-header-left {
    flex: 1;
    min-width: 0;
}

.about-header-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
}

.about-header-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    max-width: 14ch;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-cta:hover {
    background: var(--color-green);
    color: var(--color-white);
    transform: translateX(4px);
}

/* Grid 3 cards bento */
.about-blocks {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 24px;
}

.about-card-item {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid rgba(0, 85, 120, 0.18);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 85, 120, 0.12);
    border-color: rgba(0, 85, 120, 0.35);
}



.about-card-item--featured:hover {
    border-color: var(--color-green-dark);
    box-shadow: 0 16px 40px rgba(0, 85, 120, 0.15);
}

.about-card-item--featured .about-card-body--accent {
    background: var(--color-green);
    color: var(--color-white);
}

.about-card-item--featured .about-card-text {
    color: rgba(255, 255, 255, 0.92);
}

.about-card-item--featured .about-card-title {
    color: var(--color-white);
}

.about-card-item--featured .about-card-text strong {
    color: var(--color-white);
}

.about-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.4);
    transition: transform 0.5s ease, filter 0.35s ease;
}

/* Solo «Para qué lo hacemos»: priorizar la parte superior de la foto al recortar */
.about-card-img-wrap--focus-top img {
    object-position: 20% 20%;
}

.about-card-item:hover .about-card-img-wrap img {
    transform: scale(1.05);
    filter: grayscale(0.2);
}

.about-card-body {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-green-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray);
    flex: 1;
}

.about-card-text strong {
    color: var(--color-dark);
    font-weight: 600;
}

.about-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    transition: gap 0.25s ease, color 0.25s ease;
}

.about-card-link:hover {
    gap: 8px;
    color: var(--color-green-dark);
}

.about-card-link--dark {
    color: var(--color-white);
}

.about-card-link--dark:hover {
    color: rgba(255, 255, 255, 0.9);
}

.about-card-link--btn {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
    align-self: flex-start;
}

/* Modales sección Nosotros */
.about-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.about-modal[hidden] {
    display: none;
}

.about-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 35, 45, 0.55);
    backdrop-filter: blur(4px);
}

.about-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: min(85vh, 640px);
    overflow: auto;
    padding: 28px 24px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 85, 120, 0.15);
    box-shadow: 0 24px 48px rgba(0, 45, 65, 0.2);
}

.about-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 85, 120, 0.08);
    color: var(--color-dark);
    font-size: 1.5rem;
    line-height: 1;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.about-modal__close:hover {
    background: rgba(0, 85, 120, 0.16);
    color: var(--color-green-dark);
}

.about-modal__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-green-dark);
    letter-spacing: -0.02em;
    margin: 0 40px 16px 0;
    line-height: 1.25;
}

.about-modal__body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-gray);
}

.about-modal__body p {
    margin: 0 0 1rem;
}

.about-modal__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-section {
        padding: 48px 20px 64px;
    }

    .about-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-header {
        margin-bottom: 36px;
    }

    .about-header-title {
        max-width: none;
    }

    .about-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 40px 16px 56px;
    }

    .about-header {
        flex-direction: column;
        margin-bottom: 28px;
    }

    .about-card-body {
        padding: 22px 20px;
    }

    .about-card-title {
        font-size: 1.05rem;
    }

    .about-card-text {
        font-size: 0.85rem;
    }
}

/* ========== SECCIÓN CITA (antes dato costo) ========== */

.cost-section {
    padding: 48px 24px 56px;
    background: var(--color-bg);
    position: relative;
    z-index: 1;
}

.cost-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cost-quote {
    margin: 0;
    padding: 0;
    border: none;
}

.cost-quote-text {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    color: var(--color-dark);
    margin: 0 0 16px;
}

.cost-quote-author {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    font-weight: 500;
    font-style: normal;
    color: var(--color-gray);
    margin: 0;
}

.cost-quote-author strong {
    color: var(--color-green-dark);
    font-weight: 800;
}

@media (max-width: 768px) {
    .cost-section {
        padding: 40px 20px 48px;
    }
}

/* ========== SECCIÓN SERVICIOS - Diseño especial ========== */

.services-section {
    position: relative;
    padding: 80px 24px 100px;
    background: var(--color-white);
    overflow: hidden;
    z-index: 1;
}

.services-bg-shape {
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 85, 120, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.services-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.services-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-green-dark);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.services-label-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-green-dark));
}

.services-title {
    font-size: clamp(1.85rem, 3.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    min-height: 380px;
}

.services-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    min-height: 0;
    align-items: stretch;
}

.services-row--inverted {
    grid-template-columns: 1fr 2fr;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid rgba(0, 85, 120, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-row .service-card:last-child::before {
    background: var(--color-green-dark);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 85, 120, 0.1);
    border-color: rgba(0, 85, 120, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

/* Variación sutil de fondo en los bloques grandes (primera posición de cada fila) */
.services-row .service-card:first-child {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.04) 0%, var(--color-bg) 100%);
}

.services-row--inverted .service-card:last-child {
    background: linear-gradient(135deg, rgba(0, 85, 120, 0.05) 0%, var(--color-bg) 100%);
}

.service-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.9;
    color: rgba(0, 85, 120, 0.07);
    letter-spacing: -0.03em;
}

.service-card-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-weight: 800;
    color: var(--color-green-dark);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-gray);
    margin-bottom: 0;
    padding-bottom: 12px;
}

.service-card-inner > .service-link,
.service-card-inner > .service-card-links {
    margin-top: auto;
    padding-top: 4px;
}

.service-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-link:hover {
    gap: 10px;
    color: var(--color-green-dark);
}

.service-link::after {
    content: '→';
}

.service-card-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 992px) {
    .services-section {
        padding: 56px 20px 72px;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        grid-template-rows: none;
        min-height: 0;
        gap: 20px;
    }

    .services-row,
    .services-row--inverted {
        grid-template-columns: 1fr;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 48px 16px 64px;
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 26px 22px;
    }

    .service-title {
        font-size: 1rem;
    }
}

/* ========== SECCIÓN QUIÉNES YA HAN CONFIADO ========== */

.trust-section {
    position: relative;
    padding: 80px 24px 100px;
    background: var(--color-bg);
    overflow: hidden;
    z-index: 1;
}

.trust-bg {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 45%;
    height: 60%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 85, 120, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.trust-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-header {
    text-align: center;
    margin-bottom: 52px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.trust-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-green-dark);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.trust-label-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-green-dark));
}

.trust-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.trust-intro {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--color-gray);
}

/* Marquesina de logos (LATAM / USA intercalados) */
.trust-marquee {
    width: 100%;
    position: relative;
    padding-block: 8px 4px;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.trust-marquee-track {
    display: flex;
    width: max-content;
    animation: trust-marquee-scroll 90s linear infinite;
}

.trust-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
    padding-inline-end: clamp(28px, 4vw, 52px);
}

.trust-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}

.trust-marquee-item img {
    width: 200px;
        object-fit: contain;
    filter: grayscale(0.4);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.trust-marquee-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes trust-marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }

    .trust-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        row-gap: 20px;
    }

    .trust-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 992px) {
    .trust-section {
        padding: 56px 20px 72px;
    }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 48px 16px 64px;
    }

    .trust-header {
        margin-bottom: 36px;
    }

    .trust-marquee-item {
        height: 58px;
    }

    .trust-marquee-item img {
        max-height: 50px;
    }
}

/* ========== SECCIÓN PRODUCTOS NIVEL 1 ========== */

.products-section {
    position: relative;
    padding: 80px 24px 100px;
    background: var(--color-white);
    overflow: hidden;
    z-index: 1;
}

.products-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.products-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-green-dark);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.products-label-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-green-dark));
}

.products-title {
    font-size: clamp(1.85rem, 3.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-dark);
    margin-bottom: 14px;
}

.products-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px 24px;
    border: 1px solid rgba(0, 85, 120, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 85, 120, 0.1);
    border-color: rgba(0, 85, 120, 0.18);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card--workshops { background: linear-gradient(135deg, rgba(0, 128, 128, 0.04) 0%, var(--color-bg) 100%); }
.product-card--gpt { background: linear-gradient(135deg, rgba(0, 85, 120, 0.05) 0%, var(--color-bg) 100%); }
.product-card--guides { background: linear-gradient(135deg, rgba(0, 128, 128, 0.04) 0%, var(--color-bg) 100%); }
.product-card--community { background: linear-gradient(135deg, rgba(0, 85, 120, 0.05) 0%, var(--color-bg) 100%); }

.product-card--gpt::before,
.product-card--community::before {
    background: var(--color-green-dark);
}

.product-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--color-green-dark);
    box-shadow: 0 2px 8px rgba(0, 85, 120, 0.06);
}

.product-card-icon svg {
    width: 32px;
    height: 32px;
}

.product-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card-title {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-weight: 800;
    color: var(--color-green-dark);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.product-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray);
    flex: 1;
}

.product-card-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.product-card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

.product-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-green);
    transition: gap 0.25s ease, color 0.25s ease;
}

.product-card:hover .product-card-cta {
    gap: 10px;
    color: var(--color-green-dark);
}

@media (max-width: 768px) {
    .products-section {
        padding: 48px 16px 64px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .products-header {
        margin-bottom: 40px;
    }

    .product-card {
        padding: 26px 22px 20px;
    }
}

/* ========== PÁGINAS DE PRODUCTO INDIVIDUALES ========== */

.product-page-hero {
    position: relative;
    padding: 140px 24px 80px;
    background: var(--color-white);
    overflow: hidden;
}

.product-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 85, 120, 0.12), transparent);
}

.product-hero-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 128, 128, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-green-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-green);
}

.product-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.product-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-gray);
    max-width: 640px;
    margin-bottom: 0;
}

.product-detail-section {
    padding: 72px 24px;
    background: var(--color-bg);
}

.product-detail-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.product-detail-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-block--audience {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 85, 120, 0.12);
    max-width: 100%;
}

.product-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-green-dark);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.product-detail-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.25;
}

.product-detail-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-gray);
}

.product-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-dark);
}

.product-detail-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--color-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.product-features-section {
    padding: 72px 24px;
    background: var(--color-white);
}

.product-features-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.product-features-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.product-features-buy-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.product-features-buy-wrap .product-feature-buy {
    align-self: center;
}

.product-feature-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.product-feature-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: rgba(0, 85, 120, 0.55);
    background: none;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.product-feature-social-link:hover {
    color: var(--color-green-dark);
}

.product-feature-social-link:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 3px;
}

.product-feature-social-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.product-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 28px 24px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 85, 120, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 85, 120, 0.08);
}

.product-feature-num {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(0, 85, 120, 0.08);
    line-height: 1;
    margin-bottom: 12px;
}

.product-feature-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-green-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-feature-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-gray);
}

.product-feature-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 24px;
    background: var(--color-green-dark);
    color: var(--color-white);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-family);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.product-feature-buy:hover {
    background: var(--color-green);
    color: var(--color-white);
    transform: translateY(-2px);
}

.product-cta-section {
    padding: 72px 24px 80px;
    background: var(--color-green-dark);
    text-align: center;
}

.product-cta-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.product-cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 14px;
    line-height: 1.2;
}

.product-cta-text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.product-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--color-white);
    color: var(--color-green-dark);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.product-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--color-green);
    color: var(--color-white);
}

.product-transform-section {
    padding: 72px 24px;
    background: var(--color-bg);
}

.product-transform-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.product-transform-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 48px;
}

.product-transform-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-transform-card {
    padding: 28px 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 85, 120, 0.08);
}

.product-transform-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 128, 128, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.product-transform-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-green-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-transform-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-gray);
}

/* ========== GALERÍA COMUNIDAD (producto-community) ========== */

.community-gallery-section {
    padding: 72px 24px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.community-gallery-inner {
    position: relative;
    z-index: 1;
}

.community-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 100%);
    height: 200px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 85, 120, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.community-gallery-intro {
    max-width: 560px;
    margin: -12px auto 40px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray);
}

.community-gallery-single {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 85, 120, 0.1);
    box-shadow: 0 12px 40px rgba(0, 85, 120, 0.09);
    background: linear-gradient(165deg, rgba(0, 85, 120, 0.04) 0%, var(--color-bg) 100%);
    aspect-ratio: 4 / 3;
    max-height: min(70vh, 520px);
}

.community-gallery-single .community-gallery-trigger {
    width: 100%;
    height: 100%;
    min-height: 220px;
}

.community-gallery-single .community-gallery-trigger img {
    object-fit: contain;
    object-position: center center;
}

/* Masonry real: columnas flex + reparto en JS (columna más baja). */
.community-gallery-masonry {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 2.2vw, 22px);
}

.community-gallery-masonry-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2.2vw, 22px);
}

.community-gallery-cell {
    min-width: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 24px rgba(0, 85, 120, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.community-gallery-cell:hover {
    box-shadow: 0 14px 40px rgba(0, 85, 120, 0.14);
    transform: translateY(-3px);
}

.community-gallery-cell .community-gallery-trigger {
    cursor: zoom-in;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    line-height: 0;
}

.community-gallery-cell .community-gallery-trigger img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    border-radius: var(--radius-md);
}

.community-gallery-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: clamp(6px, 1.2vw, 12px);
    margin: 0;
    border: none;
    cursor: zoom-in;
    border-radius: inherit;
    overflow: hidden;
    position: relative;
    background: transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.community-gallery-trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 60% at 50% 85%, rgba(0, 85, 120, 0.08) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.community-gallery-trigger:hover::after {
    opacity: 1;
}

.community-gallery-trigger:hover img {
    transform: scale(1.02);
}

.community-gallery-trigger img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-gallery-trigger:focus-visible {
    outline: 3px solid var(--color-green);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .community-gallery-cell,
    .community-gallery-trigger img {
        transition: none;
    }

    .community-gallery-cell:hover {
        transform: none;
    }

    .community-gallery-trigger:hover img {
        transform: none;
    }
}

.community-gallery-empty {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.95rem;
    padding: 24px;
    max-width: 480px;
    margin: 0 auto;
}

.community-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.community-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.community-lightbox-inner {
    position: relative;
    max-width: min(1100px, 100%);
    max-height: 90vh;
}

.community-lightbox-inner img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.community-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--color-white);
    color: var(--color-green-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.community-lightbox-close:hover {
    transform: scale(1.05);
    background: var(--color-green);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .community-gallery-section {
        padding: 48px 16px;
    }

    .community-gallery-intro {
        margin: 0 auto 28px;
        font-size: 0.95rem;
    }

    .community-gallery-masonry {
        gap: 12px;
    }

    .community-gallery-masonry-col {
        gap: 12px;
    }

    .community-gallery-cell:hover {
        transform: none;
    }

    .community-gallery-single {
        max-height: min(62vh, 440px);
    }

    .product-page-hero {
        padding: 110px 16px 56px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-transform-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-detail-section,
    .product-features-section,
    .product-transform-section {
        padding: 48px 16px;
    }

    .product-cta-section {
        padding: 56px 16px 64px;
    }
}

/* ========== NEWSLETTER ========== */

.newsletter-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(0, 85, 120, 0.06) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.newsletter-wrap {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.newsletter-text {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--color-green-dark);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--color-green);
    transform: translateY(-2px);
}

.newsletter-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.newsletter-modal[hidden] {
    display: none;
}

.newsletter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 35, 45, 0.55);
    backdrop-filter: blur(4px);
}

.newsletter-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 580px;
    max-height: min(94vh, 980px);
    overflow: auto;
    padding: 28px 24px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 85, 120, 0.15);
    box-shadow: 0 24px 48px rgba(0, 45, 65, 0.2);
}

.newsletter-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0, 85, 120, 0.08);
    color: var(--color-dark);
    font-size: 1.5rem;
    line-height: 1;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.newsletter-modal__close:hover {
    background: rgba(0, 85, 120, 0.16);
    color: var(--color-green-dark);
}

.newsletter-modal__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-green-dark);
    letter-spacing: -0.02em;
    margin: 0 40px 8px 0;
    line-height: 1.25;
}

.newsletter-modal__intro {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-gray);
}

.newsletter-modal__iframe-wrap {
    width: 100%;
    min-height: 620px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg);
}

.newsletter-modal__iframe {
    display: block;
    width: 100%;
    max-width: 540px;
    height: 620px;
    margin: 0 auto;
    border: 0;
}

@media (max-width: 600px) {
    .newsletter-section {
        padding: 3rem 1rem;
    }

    .newsletter-modal__panel {
        padding: 24px 16px 16px;
    }

    .newsletter-modal__iframe-wrap {
        min-height: 540px;
    }

    .newsletter-modal__iframe {
        height: 540px;
    }
}

/* ========== PREFOOTER ========== */

.prefooter {
    padding: 72px 24px 80px;
    background: var(--color-green-dark);
    position: relative;
    z-index: 1;
}

.prefooter-wrap {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.prefooter-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin-bottom: 14px;
}

.prefooter-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.prefooter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-white);
    color: var(--color-green-dark);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.prefooter-btn:hover {
    transform: translateY(-2px);
    background: var(--color-green);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .prefooter {
        padding: 56px 20px 64px;
    }

    .prefooter-text {
        margin-bottom: 24px;
    }
}

/* ========== FOOTER ========== */

.footer {
    padding: 48px 24px 32px;
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: block;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
}

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.25s ease;
}

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

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

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}

.footer-social-icon {
    width: 20px;
    height: 20px;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 28px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 28px;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .hero-heading {
        padding: 80px 48px 36px;
    }

    .hero-heading h1 {
        font-size: clamp(2.5rem, 5vw, 4.2rem);
    }

    .hero-body {
        padding: 0 40px 24px;
    }

    .hero-image-wrapper {
        max-width: 440px;
    }

    .hero-image {
        max-height: 55vh;
        min-height: 260px;
    }

    .deco-starburst--large {
        left: 30px;
        top: 80px;
        width: 60px;
        height: 60px;
    }

    .deco-starburst--large-right {
        right: 30px;
        top: 80px;
        width: 60px;
        height: 60px;
    }

    .hero-col--left {
        padding-bottom: 100px;
    }

    .hero-col--right {
        padding-bottom: 100px;
    }
}

@media (max-width: 992px) {
    .hero-body {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: center;
    }

    .hero-col--left {
        padding-bottom: 60px;
    }

    .hero-col--center {
        grid-column: 1 / -1;
        order: -1;
        padding-bottom: 0;
    }

    .hero-image-wrapper {
        max-width: 380px;
        margin: 0 auto;
        margin-bottom: 0;
    }

    .hero-image {
        max-height: 42vh;
        min-height: 240px;
    }

    .hero-col--right {
        align-items: flex-start;
        padding-bottom: 60px;
    }

    .hero-impact {
        align-items: flex-start;
        text-align: left;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
        z-index: 1000;
    }

    .nav-container {
        position: relative;
        z-index: 2;
        justify-content: space-between;
        padding: 10px 16px 10px 20px;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }

    .nav-logo {
        order: 1;
        padding: 0;
        margin-bottom: 0;
        position: relative;
        z-index: 3;
    }

    .nav-logo-img {
        height: 28px;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        flex-shrink: 0;
        position: relative;
        z-index: 3;
    }

    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: 80px 24px 40px;
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar.is-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

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

    .nav-menu .nav-links--left,
    .nav-menu .nav-links--right {
        order: unset;
    }

    .nav-menu .nav-link {
        font-size: 1.25rem;
        padding: 14px 24px;
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-menu .nav-link:hover {
        color: var(--color-white);
        background: rgba(255, 255, 255, 0.1);
    }

    .hero {
        padding: 8px;
    }

    .hero-card {
        border-radius: var(--radius-lg);
        min-height: calc(100vh - 16px);
    }

    .hero-heading {
        padding: 80px 20px 24px;
    }

    .hero-heading h1 {
        font-size: clamp(2.2rem, 7.5vw, 3.2rem);
    }

    .hero-body {
        grid-template-columns: 1fr;
        padding: 0 20px 24px;
        gap: 28px;
    }

    .hero-col--center {
        order: 1;
    }

    .hero-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
        margin-bottom: 0;
        padding: 0 8px;
    }

    .bg1 {
        width: 60vh;
    }

    .hero-image {
        max-height: 38vh;
        min-height: 200px;
        width: 100%;
    }

    .hero-col--left,
    .hero-col--right {
        padding-bottom: 0;
    }

    .hero-col--left {
        align-items: flex-start;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-col--right {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hero-impact {
        max-width: 100%;
        width: 100%;
    }

    .hero-bottom {
        padding: 24px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .hero-bottom-inner {
        flex-direction: column;
    }

    .hero-bottom-inner .btn {
        width: 100%;
        justify-content: center;
    }

    .deco-starburst--large {
        top: 70px;
        left: 16px;
        width: 40px;
        height: 40px;
    }

    .deco-starburst--large-right {
        top: 70px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .deco-starburst--small {
        width: 28px;
        height: 28px;
    }

    .deco-curved-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        padding: 72px 16px 20px;
    }

    .hero-heading h1 {
        font-size: 2rem;
    }

    .hero-body {
        padding: 0 16px 20px;
        gap: 24px;
    }

    .hero-image-wrapper {
        padding: 0;
    }

    .hero-image {
        max-height: 34vh;
        min-height: 180px;
    }

    .hero-impact-stat {
        font-size: 1.35rem;
    }

    .hero-impact-list li {
        font-size: 0.88rem;
    }

    .deco-starburst--large,
    .deco-starburst--large-right {
        width: 32px;
        height: 32px;
        top: 60px;
    }

    .deco-starburst--large {
        left: 12px;
    }

    .deco-starburst--large-right {
        right: 12px;
    }

    .deco-checks svg {
        width: 24px;
        height: 24px;
    }
}

/* Contacto landing (#contacto) — mismas variables que el resto del sitio */
.contact-landing-section {
    padding: 4rem 1.5rem;
    background: var(--color-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-landing-wrap {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-landing-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.contact-landing-text {
    color: var(--color-gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Hero Carrusel portada */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    background: #0f1722;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 14, 30, 0.82) 0%, rgba(7, 14, 30, 0.55) 42%, rgba(7, 14, 30, 0.22) 100%);
}

.hero-carousel-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    padding: 180px 24px 88px;
    color: var(--color-white);
}

.hero-carousel-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-carousel-content h1,
.hero-carousel-content h2 {
    font-size: clamp(2rem, 3.8vw, 4rem);
    line-height: 1.08;
    margin-bottom: 18px;
    font-weight: 800;
}

.hero-carousel-content p {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-carousel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    font-size: 0.96rem;
    font-weight: 700;
    transition: var(--transition);
}

.hero-carousel-btn--primary {
    background: #2d64ff;
    color: var(--color-white);
}

.hero-carousel-btn--primary:hover {
    background: #2454db;
    transform: translateY(-2px);
}

.hero-carousel-btn--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

.hero-carousel-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.24);
    color: var(--color-white);
    font-size: 34px;
    line-height: 0.9;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.hero-carousel-control:hover {
    background: rgba(0, 0, 0, 0.44);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-carousel-control--prev {
    left: 18px;
}

.hero-carousel-control--next {
    right: 18px;
}

.hero-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.hero-carousel-dot {
    width: 34px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-carousel-dot.is-active {
    width: 48px;
    background: #2d64ff;
}

@media (max-width: 900px) {
    .hero-carousel-content {
        margin-left: 0;
        padding: 140px 20px 92px;
    }

    .hero-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .hero-carousel {
        min-height: 88vh;
    }

    .hero-carousel-track {
        min-height: 88vh;
    }

    .hero-carousel-content {
        padding: 128px 16px 86px;
    }

    .hero-carousel-content p {
        margin-bottom: 20px;
    }

    .hero-carousel-control {
        top: auto;
        bottom: 70px;
        transform: none;
    }

    .hero-carousel-control--prev {
        left: 12px;
    }

    .hero-carousel-control--next {
        right: 12px;
    }
}
