/* ===== VARIABLES - SHIRANIT BRAND COLORS ===== */
:root {
    /* Colores principales */
    --azul-claro: #E1EDFC;
    --azul-grisaceo: #6784A2;
    --azul-oscuro: #282E44;
    --beige-crema: #E6E3D9;
    --rosa-mauve: #E0B9BC;
    --vino-burgundy: #8D4960;
    
    /* NUEVOS: Variaciones para más riqueza visual */
    --vino-burgundy-light: #A35B75;
    --vino-burgundy-dark: #6B3548;
    --rosa-mauve-light: #EDD0D3;
    --azul-claro-hover: #D0E2FA;
    --azul-grisaceo-light: #8FA4BD;
    --beige-crema-light: #F0EDE3;
    
    /* Gradientes estratégicos - Azul principal con toques morados elegantes */
    --gradient-primary: linear-gradient(135deg, var(--azul-oscuro), var(--azul-grisaceo));
    --gradient-accent: linear-gradient(135deg, var(--vino-burgundy), var(--rosa-mauve));
    --gradient-mixed: linear-gradient(135deg, var(--azul-grisaceo), var(--vino-burgundy));
    --gradient-soft: linear-gradient(135deg, var(--azul-claro), rgba(225, 237, 252, 0.3));
    
    /* Tipografías */
    --font-primary: 'Josefin Sans', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
    
    /* Sistema de Espaciado Consistente */
    --section-padding-small: 4rem 0;
    --section-padding-medium: 6rem 0;
    --section-padding-large: 8rem 0;
    
    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --desktop-small: 1024px;
    --desktop: 1200px;
}

/* ===== CUSTOM SCROLLBAR ===== */
/* Para navegadores basados en Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--azul-claro);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--azul-grisaceo) 0%, var(--azul-oscuro) 100%);
    border-radius: 10px;
    border: 2px solid var(--azul-claro);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--azul-oscuro) 0%, var(--azul-grisaceo) 100%);
}

::-webkit-scrollbar-thumb:active {
    background: var(--azul-oscuro);
}

/* Ocultar flechas de scroll en Webkit - todas las variantes */
::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--azul-grisaceo) var(--azul-claro);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--azul-oscuro);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C5D9F2 0%, #E8F0FA 50%, var(--beige-crema) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    animation: logoFloat 2s ease-in-out infinite;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(40, 46, 68, 0.15));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.preloader-shapes {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.preloader-shape {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('public/patrones/figuras.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.preloader-shape.shape-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: shapeRotate1 2s ease-in-out infinite;
}

.preloader-shape.shape-2 {
    bottom: 0;
    left: 0;
    animation: shapeRotate2 2s ease-in-out infinite 0.3s;
}

.preloader-shape.shape-3 {
    bottom: 0;
    right: 0;
    animation: shapeRotate3 2s ease-in-out infinite 0.6s;
}

@keyframes shapeRotate1 {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes shapeRotate2 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(-180deg) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes shapeRotate3 {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

.preloader-text {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--azul-oscuro);
    letter-spacing: 2px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .preloader-logo img {
        width: 220px;
    }
    
    .preloader-shapes {
        width: 80px;
        height: 80px;
    }
    
    .preloader-shape {
        width: 25px;
        height: 25px;
    }
    
    .preloader-text {
        font-size: 1rem;
    }
}

/* ===== ADVANCED ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-wrap: balance;
}

.section-intro {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--azul-grisaceo);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    text-wrap: pretty;
}

.subsection-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 2rem;
    text-wrap: balance;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .subsection-title {
        font-size: 1.6rem;
    }
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--azul-grisaceo);
    cursor: pointer;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.lang-btn.active {
    color: var(--azul-oscuro);
}

.lang-btn:hover {
    color: var(--azul-oscuro);
}

.lang-separator {
    color: var(--azul-grisaceo);
    font-size: 14px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    background: rgba(214, 232, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(103, 132, 162, 0.1);
    z-index: 1001;
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    top: 10px;
    padding: 0.5rem 0;
    background: rgba(214, 232, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(103, 132, 162, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo img {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
    display: block;
}

.navbar.scrolled .logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
    flex-wrap: nowrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--azul-oscuro);
    font-weight: 500;
    font-size: 20px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azul-grisaceo);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

/* Active navigation state */
.nav-menu > li > a.active {
    color: var(--azul-grisaceo);
    font-weight: 600;
}

.nav-menu > li > a.active::after {
    width: 100%;
    background: var(--azul-grisaceo);
}

/* Active state for dropdown parent */
.nav-link-dropdown.active {
    color: var(--azul-grisaceo);
    font-weight: 600;
}

/* Active state for dropdown items */
.dropdown-menu a.active {
    background: var(--azul-claro);
    border-left-color: var(--azul-grisaceo);
    padding-left: 1.8rem;
    font-weight: 600;
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-arrow {
    width: 12px;
    height: 8px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    margin-left: 6px;
    position: relative;
    top: -1px;
}

.dropdown-arrow path {
    stroke: var(--azul-grisaceo);
    transition: stroke 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-item-dropdown:hover .dropdown-arrow path {
    stroke: var(--azul-oscuro);
}

.nav-link-dropdown::after {
    display: none !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    list-style: none;
    padding: 0.8rem 0;
    margin-top: 0.5rem;
    border: 1px solid rgba(103, 132, 162, 0.1);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--azul-oscuro);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--azul-claro);
    border-left-color: var(--azul-grisaceo);
    padding-left: 1.8rem;
}

.dropdown-menu a::after {
    display: none;
}

/* CTA Button Group */
.nav-cta-group {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.nav-cta-wrapper {
    display: contents;
}

/* CTA Button */
.nav-cta {
    background: var(--azul-oscuro);
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 46, 68, 0.2);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--azul-grisaceo);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 46, 68, 0.3);
}

/* Secondary CTA Button */
.nav-cta-secondary {
    background: transparent;
    color: var(--azul-oscuro);
    border: 2px solid var(--azul-oscuro);
    box-shadow: none;
    white-space: nowrap;
    padding: 0.85rem 1.6rem;
    font-size: 15.5px;
}

.nav-cta-secondary:hover {
    background: var(--azul-oscuro);
    color: #ffffff;
    border-color: var(--azul-oscuro);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--azul-oscuro);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 4rem 20rem;
    max-width: 60%;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 600;
    color: var(--azul-oscuro);
    line-height: 1.15;
    margin-bottom: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: #555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--azul-oscuro);
    padding-left: 1rem;
    text-align: justify;
    max-width: 420px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero-filled {
    background-color: #e8c4c8;
    color: #7a3a4a;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    box-shadow: none;
}

.btn-hero-filled:hover {
    opacity: 0.85;
}

.btn-hero-outline {
    background-color: transparent;
    color: #7a3a4a;
    border: 2px solid #7a3a4a;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
}

.btn-hero-outline:hover {
    background-color: #7a3a4a;
    color: #fff;
}

.hero-image {
    width: 22%;
    min-width: 180px;
    display: flex;
    align-items: stretch;
    margin-left: auto;
    animation: slideInRight 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        padding: 6rem 1.5rem 2rem;
    }

    .hero-image {
        width: 100%;
        height: 220px;
    }
}
.decorative-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.pattern-shape {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%);
}

/* Colores dinámicos según la sección */

.contact-section .pattern-shape {
    filter: brightness(0) saturate(100%) invert(35%) sepia(25%) saturate(1500%) hue-rotate(295deg) brightness(90%) contrast(85%);
    /* Morado para contact */
}

.donation-section .pattern-shape {
    filter: brightness(0) saturate(100%) invert(35%) sepia(25%) saturate(1500%) hue-rotate(295deg) brightness(90%) contrast(85%);
    /* Morado para donation */
}

/* Diferentes tamaños y posiciones para las formas del patrón */
.pattern-shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation: floatPattern1 20s ease-in-out infinite;
}

.pattern-shape-2 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 8%;
    animation: floatPattern2 25s ease-in-out infinite;
}

.pattern-shape-3 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    left: 10%;
    animation: floatPattern3 22s ease-in-out infinite;
}

.pattern-shape-4 {
    width: 140px;
    height: 140px;
    bottom: 20%;
    right: 12%;
    animation: floatPattern4 28s ease-in-out infinite;
}

.pattern-shape-5 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 15%;
    animation: floatPattern5 18s ease-in-out infinite;
}

.pattern-shape-6 {
    width: 130px;
    height: 130px;
    top: 60%;
    right: 5%;
    animation: floatPattern6 24s ease-in-out infinite;
}

/* Animaciones sutiles para los patrones - solo en desktop */
@media (min-width: 769px) {
    @keyframes floatPattern1 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(-8px, -8px) rotate(-3deg); }
    }

    @keyframes floatPattern2 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(10px, -10px) rotate(-4deg); }
    }

    @keyframes floatPattern3 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(12px, -8px) rotate(6deg); }
    }

    @keyframes floatPattern4 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(-10px, 12px) rotate(-3deg); }
    }

    @keyframes floatPattern5 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(-8px, -12px) rotate(5deg); }
    }

    @keyframes floatPattern6 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(12px, 8px) rotate(-4deg); }
    }
}

/* ===== FEATURED VIDEO SECTION ===== */
.featured-video-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #D6E8F5 0%, #D6E8F5 20%, #ffffff 60%, #ffffff 100%);
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.video-flower {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    height: auto;
    object-fit: contain;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.video-flower-left {
    left: -200px;
    bottom: 0;
    width: 800px;
    transform: rotate(-50deg) translateX(-120px);
}

.video-flower-right {
    right: -250px;
    top: 200px;
    width: 800px;
    transform: rotate(-140deg) translateX(-120px);
}

@media (max-width: 768px) {
    .video-flower-left {
        width: 280px;
        left: -80px;
        bottom: 0;
        transform: rotate(-50deg) translateX(-60px);
    }

    .video-flower-right {
        width: 280px;
        right: -80px;
        top: 80px;
        transform: rotate(-140deg) translateX(-60px);
    }

    .video-flower.flower-visible.video-flower-left {
        opacity: 0.1;
        transform: rotate(-50deg) translateX(0);
        animation: none;
    }

    .video-flower.flower-visible.video-flower-right {
        opacity: 0.1;
        transform: rotate(-140deg) translateX(0);
        animation: none;
    }
}

/* Estado visible al entrar en viewport */
.video-flower.flower-visible.video-flower-left {
    opacity: 0.30;
    transform: rotate(-50deg) translateX(0);
    animation: flowerWindLeft 6s ease-in-out infinite 1.2s;
}

.video-flower.flower-visible.video-flower-right {
    opacity: 0.30;
    transform: rotate(-140deg) translateX(0);
    animation: flowerWindRight 7s ease-in-out infinite 1.2s;
}

@keyframes flowerWindLeft {
    0%   { transform: rotate(-50deg) translateX(0) translateY(0); }
    25%  { transform: rotate(-52deg) translateX(6px) translateY(-8px); }
    50%  { transform: rotate(-49deg) translateX(10px) translateY(-4px); }
    75%  { transform: rotate(-51deg) translateX(4px) translateY(-10px); }
    100% { transform: rotate(-50deg) translateX(0) translateY(0); }
}

@keyframes flowerWindRight {
    0%   { transform: rotate(-140deg) translateX(0) translateY(0); }
    25%  { transform: rotate(-138deg) translateX(-6px) translateY(8px); }
    50%  { transform: rotate(-141deg) translateX(-10px) translateY(4px); }
    75%  { transform: rotate(-139deg) translateX(-4px) translateY(10px); }
    100% { transform: rotate(-140deg) translateX(0) translateY(0); }
}

/* ===== SERVICE AREA FLORES (mira.png) ===== */
.service-flower {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    height: auto;
    object-fit: contain;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.service-flower-left {
    left: -200px;
    bottom: 0;
    width: 800px;
    transform: rotate(-50deg) translateX(-120px);
}

.service-flower-right {
    right: -250px;
    top: 200px;
    width: 800px;
    transform: rotate(-140deg) translateX(-120px);
}

@media (max-width: 768px) {
    .service-flower-left {
        width: 280px;
        left: -80px;
        bottom: 0;
        transform: rotate(-50deg) translateX(-60px);
    }

    .service-flower-right {
        width: 280px;
        right: -80px;
        top: 80px;
        transform: rotate(-140deg) translateX(-60px);
    }

    .service-flower.flower-visible.service-flower-left {
        opacity: 0.25;
        transform: rotate(-50deg) translateX(0);
        animation: none;
    }

    .service-flower.flower-visible.service-flower-right {
        opacity: 0.25;
        transform: rotate(-140deg) translateX(0);
        animation: none;
    }
}

/* Estado visible al entrar en viewport */
.service-flower.flower-visible.service-flower-left {
    opacity: 0.50;
    transform: rotate(-50deg) translateX(0);
    animation: flowerWindLeft 6s ease-in-out infinite 1.2s;
}

.service-flower.flower-visible.service-flower-right {
    opacity: 0.50;
    transform: rotate(-140deg) translateX(0);
    animation: flowerWindRight 7s ease-in-out infinite 1.2s;
}

.featured-video-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #D6E8F5);
    z-index: 0;
    pointer-events: none;
}

.video-section-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.video-header {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-header .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.video-header .section-intro {
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #555;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.video-container-wrapper {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.video-container-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e0b4bc;
    box-shadow: 0 8px 30px rgba(176, 112, 128, 0.2);
}

.local-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-controls-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls-overlay {
    opacity: 1;
}

.video-sound-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(40, 46, 68, 0.8);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-sound-toggle:hover {
    background: rgba(40, 46, 68, 1);
}

.video-sound-toggle svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: videoSpinner 1s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.video-container.loaded::before {
    display: none;
}

@keyframes videoSpinner {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-cta {
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s, transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.video-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn-video-cta {
    display: inline-block;
    background-color: #e0b4bc;
    color: #7a3a4a;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.9rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    box-shadow: 3px 5px 0px rgba(176, 112, 128, 0.35);
    transition: opacity 0.2s;
}

.btn-video-cta:hover {
    opacity: 0.40;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 46, 68, 0.2);
}

.btn-primary {
    background: var(--azul-oscuro);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--azul-grisaceo);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 46, 68, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--azul-oscuro);
    border: 2px solid var(--azul-oscuro);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--azul-oscuro);
    color: #ffffff;
    border-color: var(--azul-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 46, 68, 0.3);
}

/* CTA Volunteer Button (usado en team.html) */
.cta-volunteer-btn {
    display: inline-block;
    padding: 1.3rem 3rem;
    background: #ffffff;
    color: var(--azul-oscuro);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cta-volunteer-btn:hover {
    background: var(--rosa-claro);
    color: var(--azul-oscuro);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .navbar {
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: left;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        padding: 0;
        margin: 0;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid rgba(103, 132, 162, 0.1);
        justify-content: flex-start;
        flex: none;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(103, 132, 162, 0.08);
    }

    .nav-menu > li > a {
        padding: 1.2rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1rem;
        font-weight: 500;
        color: var(--azul-oscuro);
        transition: all 0.2s ease;
        position: relative;
    }

    .nav-menu > li > a:hover {
        background: rgba(225, 237, 252, 0.3);
        color: var(--azul-grisaceo);
    }
    
    /* Active navigation state on mobile - CLEAN DESIGN */
    .nav-menu > li > a.active {
        color: var(--azul-grisaceo);
        font-weight: 600;
        background: transparent;
    }
    
    .nav-menu > li > a.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        background: var(--azul-grisaceo);
        border-radius: 0 4px 4px 0;
    }

    /* Dropdown styles */
    .nav-link-dropdown {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0.75rem;
        padding: 1.2rem 1.5rem !important;
    }
    
    /* Active state for dropdown parent on mobile - CLEAN DESIGN */
    .nav-link-dropdown.active {
        color: var(--azul-grisaceo);
        font-weight: 600;
        background: rgba(225, 237, 252, 0.15);
    }
    
    .nav-link-dropdown.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        background: var(--azul-grisaceo);
        border-radius: 0 4px 4px 0;
    }

    .dropdown-arrow {
        width: 14px;
        height: 9px;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .dropdown-arrow path {
        stroke: var(--azul-grisaceo);
        transition: stroke 0.3s ease;
    }

    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-item-dropdown.active .dropdown-arrow path {
        stroke: var(--azul-grisaceo);
    }

    .nav-link-dropdown::after {
        display: none !important;
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(225, 237, 252, 0.08);
        margin: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
    }

    .nav-item-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 0.9rem 1.5rem 0.9rem 2.5rem;
        font-size: 0.95rem;
        color: var(--azul-grisaceo);
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        position: relative;
    }

    .dropdown-menu a:hover {
        background: rgba(225, 237, 252, 0.4);
        color: var(--azul-oscuro);
    }
    
    /* Active state for dropdown items on mobile - CLEAN DESIGN */
    .dropdown-menu a.active {
        background: rgba(225, 237, 252, 0.25);
        color: var(--azul-oscuro);
        font-weight: 600;
    }

    .nav-cta-wrapper {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .nav-cta-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 1.5rem 1.5rem 1rem;
    }

    .nav-cta {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-cta-secondary {
        order: 2;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    /* Mobile menu overlay/backdrop */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(40, 46, 68, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Prevenir scroll cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }

    /* Ocultar formas geométricas en mobile */
    .geometric-shape {
        display: none;
    }

    /* Reducir tamaño de pattern shapes en mobile */
    .pattern-shape {
        width: 80px !important;
        height: 80px !important;
        opacity: 0.08;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    will-change: transform, opacity;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate-in {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* ===== WHO WE ARE SECTION ===== */
.who-we-are-section {
    padding: 7rem 0;
    background-color: #D6E8F5;
    position: relative;
    text-align: center;
    overflow: hidden;
    margin-top: -2px;
    box-shadow: inset 0 -80px 60px -40px #D6E8F5;
}

.who-we-are-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('public/patrones/patron-somos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    animation: patternFloat 12s ease-in-out infinite;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(8px, -8px); }
    50% { transform: translate(0, -12px); }
    75% { transform: translate(-8px, -6px); }
}

.who-we-are-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #D6E8F5, transparent);
    z-index: 2;
    pointer-events: none;
}

.who-we-are-section .container {
    position: relative;
    z-index: 4;
}

.who-we-are-section .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--azul-oscuro);
    margin-bottom: 3rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.who-we-are-section .section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-photos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.team-photos.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    background: #f0d5d8 !important;
    border-radius: 20px;
    padding: 1rem 1rem 1.2rem;
    box-shadow: 0 4px 15px rgba(176, 112, 128, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    gap: 0.8rem;
    height: 320px;
}

.team-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(176, 112, 128, 0.25);
}

.team-photo > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 12px;
}

.team-photo-name {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--azul-oscuro);
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
    padding: 0;
    width: 100%;
    background: transparent;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-we-are-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
}

.who-we-are-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.who-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--azul-oscuro);
    margin-bottom: 1.2rem;
    font-weight: 400;
    font-style: italic;
}

.who-description {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
    border-top: 1px solid rgba(103, 132, 162, 0.25);
    padding-top: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .team-photos {
        gap: 1rem;
    }
    .team-photo {
        width: 130px;
        height: 230px;
    }
    .team-photo > img {
        height: 140px;
    }
}

/* ===== HOME IMPACT SECTION ===== */
.home-impact-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #D6E8F5 15%, #D6E8F5 50%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: visible;
}

.home-impact-section .container {
    position: relative;
    z-index: 2;
}

/* ===== IMPACT SECTION FLORES (azul.png) ===== */
.impact-flower {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    height: auto;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.impact-flower-left {
    left: -150px;
    top: 200px;
    width: 600px;
    transform: rotate(280deg) translateX(-80px);
}

.impact-flower-right {
    right: -170px;
    top: 0;
    width: 750px;
    transform: scaleX(-1) rotate(-5deg) translateX(-120px);
}

/* Estado visible al entrar en viewport */
.impact-flower.flower-visible.impact-flower-left {
    opacity: 0.3;
    transform: rotate(280deg) translateX(0);
    animation: impactWindLeft 6s ease-in-out infinite 1.2s;
}

.impact-flower.flower-visible.impact-flower-right {
    opacity: 0.3;
    transform: scaleX(-1) rotate(-5deg) translateX(0);
    animation: impactWindRight 7s ease-in-out infinite 1.2s;
}

@keyframes impactWindLeft {
    0%   { transform: rotate(280deg) translateX(0) translateY(0); }
    25%  { transform: rotate(282deg) translateX(6px) translateY(-8px); }
    50%  { transform: rotate(279deg) translateX(10px) translateY(-4px); }
    75%  { transform: rotate(281deg) translateX(4px) translateY(-10px); }
    100% { transform: rotate(280deg) translateX(0) translateY(0); }
}

@keyframes impactWindRight {
    0%   { transform: scaleX(-1) rotate(-5deg) translateX(0) translateY(0); }
    25%  { transform: scaleX(-1) rotate(-7deg) translateX(-6px) translateY(8px); }
    50%  { transform: scaleX(-1) rotate(-4deg) translateX(-10px) translateY(4px); }
    75%  { transform: scaleX(-1) rotate(-6deg) translateX(-4px) translateY(10px); }
    100% { transform: scaleX(-1) rotate(-5deg) translateX(0) translateY(0); }
}

@media (max-width: 768px) {
    .impact-flower-left {
        width: 280px;
        left: -60px;
        top: 100px;
        transform: rotate(280deg) translateX(-40px);
    }

    .impact-flower-right {
        width: 300px;
        right: -60px;
        top: 0;
        transform: scaleX(-1) rotate(-5deg) translateX(-50px);
    }

    .impact-flower.flower-visible.impact-flower-left {
        opacity: 0.2;
        transform: rotate(280deg) translateX(0);
        animation: none;
    }

    .impact-flower.flower-visible.impact-flower-right {
        opacity: 0.2;
        transform: scaleX(-1) rotate(-5deg) translateX(0);
        animation: none;
    }
}

.home-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 2.5rem auto;
}

.home-impact-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #ffffff;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(40, 46, 68, 0.1);
}

.home-impact-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7a3a4a;
    border-radius: 50%;
    overflow: hidden;
}

.home-impact-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.home-impact-number {
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.home-impact-number::after {
    content: '+';
    font-size: 3rem;
    color: var(--azul-oscuro);
}

.home-impact-label {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: #555;
    line-height: 1.4;
}

.home-impact-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.home-get-involved {
    text-align: center;
    margin-top: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-get-involved .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.home-get-involved .section-intro {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.get-involved-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .home-impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== IMPACT STATS SECTION (PAGE) ===== */
.impact-stats-section {
    padding: 3rem 0 var(--section-padding-medium);
    position: relative;
    overflow: hidden;
}

.impact-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(248, 251, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.impact-stats-section .container {
    position: relative;
    z-index: 2;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.impact-stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.impact-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(103, 132, 162, 0.2);
}

.impact-stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(103, 132, 162, 0.3);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.impact-stat-icon svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.impact-stat-card:hover .impact-stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(103, 132, 162, 0.4);
}

.impact-stat-number {
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    line-height: 1;
    margin-bottom: 1rem;
}

.impact-stat-number::after {
    content: '+';
    font-size: 3rem;
    color: var(--azul-grisaceo);
    margin-left: 0.25rem;
}

.impact-stat-label {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
}

.impact-cta {
    text-align: center;
    margin-top: 4rem;
}

.impact-cta .btn {
    padding: 1.1rem 3rem;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .impact-stats-section {
        padding: 4rem 0;
    }
    .impact-stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .impact-stat-card {
        padding: 2.5rem 2rem;
    }
    .impact-stat-number {
        font-size: 3rem;
    }
    .impact-stat-label {
        font-size: 1.1rem;
    }
}

/* ===== OUR STORY SECTION ===== */
/* ===== STORY SECTION ===== */
.story-section {
    padding: 7rem 0;
    background: linear-gradient(to bottom, #D6E8F5 0%, #D6E8F5 30%, #ffffff 100%);
    position: relative;
    overflow: visible;
    margin-top: -2px;
}

.story-section::before {
    content: none;
}

#about.story-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, #D6E8F5, #D6E8F5 40%, transparent);
    z-index: 3;
    pointer-events: none;
}

/* Flores esquina inferior izquierda */
#about.story-section::after {
    content: none;
}

.story-section-flores-left {
    position: absolute;
    bottom: -20px;
    left: -130px;
    width: 500px;
    height: 400px;
    background-image: url('public/flores/nuestra.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: scaleX(1) rotate(-50deg) translateX(-60px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.story-section-flores-left.flores-visible {
    opacity: 0.2;
    transform: scaleX(1) rotate(-50deg) translateX(0);
    animation: floresWindLeft 7s ease-in-out infinite 1.2s;
}

/* Flores esquina inferior derecha */
.story-section-flores-right {
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 1000px;
    height: 700px;
    background-image: url('public/flores/nuestra.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: scaleX(-1) rotate(-20deg) translateX(60px);
    transition: opacity 1.2s ease 0.2s, transform 1.2s ease 0.2s;
}

.story-section-flores-right.flores-visible {
    opacity: 0.2;
    transform: scaleX(-1) rotate(-20deg) translateX(0);
    animation: floresWindRight 8s ease-in-out infinite 1.4s;
}

/* Flores esquina superior derecha */
.story-section-flores-top-right {
    position: absolute;
    top: -20px;
    right: -120px;
    width: 900px;
    height: 800px;
    background-image: url('public/flores/nuestra.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: scaleX(-1) rotate(-50deg) translateY(-40px);
    transition: opacity 1.2s ease 0.4s, transform 1.2s ease 0.4s;
}

.story-section-flores-top-right.flores-visible {
    opacity: 0.2;
    transform: scaleX(-1) rotate(-50deg) translateY(0);
    animation: floresWindTop 6s ease-in-out infinite 1.6s;
}

@media (max-width: 768px) {
    .story-section-flores-left {
        width: 220px;
        height: 180px;
        left: -60px;
        bottom: 0;
        transform: scaleX(1) rotate(-50deg) translateX(-30px);
    }

    .story-section-flores-left.flores-visible {
        opacity: 0.15;
        transform: scaleX(1) rotate(-50deg) translateX(0);
        animation: none;
    }

    .story-section-flores-right {
        width: 300px;
        height: 220px;
        bottom: -60px;
        right: -80px;
        transform: scaleX(-1) rotate(-20deg) translateX(30px);
    }

    .story-section-flores-right.flores-visible {
        opacity: 0.15;
        transform: scaleX(-1) rotate(-20deg) translateX(0);
        animation: none;
    }

    .story-section-flores-top-right {
        width: 260px;
        height: 220px;
        top: -10px;
        right: -60px;
        transform: scaleX(-1) rotate(-50deg) translateY(-20px);
    }

    .story-section-flores-top-right.flores-visible {
        opacity: 0.15;
        transform: scaleX(-1) rotate(-50deg) translateY(0);
        animation: none;
    }
}

@keyframes floresWindLeft {
    0%   { transform: scaleX(1) rotate(-50deg) translateX(0) translateY(0); }
    25%  { transform: scaleX(1) rotate(-52deg) translateX(5px) translateY(-6px); }
    50%  { transform: scaleX(1) rotate(-49deg) translateX(8px) translateY(-3px); }
    75%  { transform: scaleX(1) rotate(-51deg) translateX(3px) translateY(-8px); }
    100% { transform: scaleX(1) rotate(-50deg) translateX(0) translateY(0); }
}

@keyframes floresWindRight {
    0%   { transform: scaleX(-1) rotate(-20deg) translateX(0) translateY(0); }
    25%  { transform: scaleX(-1) rotate(-18deg) translateX(-5px) translateY(6px); }
    50%  { transform: scaleX(-1) rotate(-21deg) translateX(-8px) translateY(3px); }
    75%  { transform: scaleX(-1) rotate(-19deg) translateX(-3px) translateY(8px); }
    100% { transform: scaleX(-1) rotate(-20deg) translateX(0) translateY(0); }
}

@keyframes floresWindTop {
    0%   { transform: scaleX(-1) rotate(-50deg) translateX(0) translateY(0); }
    25%  { transform: scaleX(-1) rotate(-48deg) translateX(-4px) translateY(5px); }
    50%  { transform: scaleX(-1) rotate(-51deg) translateX(-7px) translateY(2px); }
    75%  { transform: scaleX(-1) rotate(-49deg) translateX(-2px) translateY(7px); }
    100% { transform: scaleX(-1) rotate(-50deg) translateX(0) translateY(0); }
}

.story-section .container {
    position: relative;
    z-index: 2;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.story-text {
    padding-right: 1rem;
}

.story-text .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--azul-oscuro);
    margin-bottom: 2rem;
    font-weight: 600;
}

.story-description {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.5rem;
    background: rgba(214, 232, 245, 0.4);
    padding: 1.8rem;
    border-radius: 12px;
}

.story-images {
    display: grid;
    grid-template-rows: auto auto;
    gap: 1.2rem;
}

.story-image-main {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #c4868f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-image-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(176, 112, 128, 0.25);
}

.story-image-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.story-image-main:hover img {
    transform: scale(1.05);
}

.story-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.story-image-grid > div {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #c4868f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-image-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(176, 112, 128, 0.25);
}

.story-image-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.story-image-grid > div:hover img {
    transform: scale(1.05);
}

/* Scroll Line - Story Section (left to right) */
.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.line-path {
    stroke: var(--azul-grisaceo);
    stroke-linecap: round;
    opacity: 0.3;
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
}

/* Scroll Line - Shiva Section (right to left) */
.scroll-line-shiva {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.line-path-shiva {
    stroke: var(--azul-grisaceo);
    stroke-linecap: round;
    opacity: 0.3;
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
}

/* Responsive Story Section */
@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .story-section {
        padding: 3rem 0;
    }

    .story-image-main img {
        height: 220px;
    }

    .story-image-grid {
        grid-template-columns: 1fr;
    }

    .story-image-grid img {
        height: 200px;
    }
}

/* ===== SHIVA PAGE SPECIFIC STYLES ===== */
.story-text-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-text-content p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--azul-grisaceo);
    margin-bottom: 1.5rem;
    text-wrap: pretty;
}

.shiva-item-title {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--azul-oscuro);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.shiva-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: linear-gradient(to right, var(--rosa-mauve-light), #ffffff);
    border-left: 4px solid var(--azul-grisaceo);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--azul-oscuro);
}

.shiva-note em {
    font-style: italic;
}

@media (max-width: 768px) {
    .story-text-content p {
        font-size: 1rem;
    }
    
    .shiva-item-title {
        font-size: 1.2rem;
        margin-top: 2rem;
    }
    
    .shiva-note {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* ===== INFINITY DIVIDER ===== */
.infinity-divider {
    width: 100%;
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--beige-crema) 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infinity-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.infinity-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(40, 46, 68, 0.2));
}

.infinity-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawInfinity 2s ease-out forwards;
}

@keyframes drawInfinity {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive Infinity Divider */
@media (max-width: 768px) {
    .infinity-divider {
        padding: 3rem 0;
    }
    
    .infinity-svg {
        max-width: 90%;
    }
}

/* ===== SHIVA INFORMATION SECTION ===== */
.shiva-info-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 70%, #f9eeef 100%);
    text-align: center;
    position: relative;
}

.shiva-info-section .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.shiva-info-section .section-intro {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.shiva-info-section .section-intro::after {
    display: none;
}

.shiva-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.shiva-card {
    background: linear-gradient(180deg, #EAF2FB 0%, #ffffff 100%);
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
    border: 2px solid rgba(224, 185, 188, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
}

.shiva-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(224, 185, 188, 0.35);
    border-color: rgba(224, 185, 188, 0.7);
}

.shiva-card:last-child {
    grid-column: 1 / -1;
    max-width: none;
    margin: 0;
    width: 100%;
}

.shiva-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(40, 46, 68, 0.08);
    padding: 14px;
}

.shiva-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.shiva-icon svg {
    width: 36px;
    height: 36px;
    color: #b07080;
}

.shiva-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.shiva-card p {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--azul-grisaceo);
}

/* Shiva Provides Section */
.shiva-provides-section {
    background: transparent;
    padding: 4rem 0;
    border-radius: 24px;
    margin: 2rem 0;
}

.shiva-provides-intro {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: var(--azul-grisaceo);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-style: italic;
}

.shiva-items-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

@media (max-width: 1200px) {
    .shiva-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shiva-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shiva-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .shiva-items-grid {
        grid-template-columns: 1fr;
    }
}

/* Shiva Closing Section */
.shiva-closing-section {
    padding: 2rem 0 4rem;
}

.shiva-gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.shiva-gallery-item {
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid var(--vino-burgundy);
    box-shadow: 0 4px 16px rgba(40, 46, 68, 0.08);
}

.shiva-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.shiva-note {
    background: linear-gradient(to right, var(--rosa-mauve-light), #ffffff);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid var(--rosa-mauve);
    margin: 0 auto;
    max-width: 800px;
}

.shiva-note p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .shiva-gallery-row {
        grid-template-columns: 1fr;
    }
    
    .shiva-gallery-item img {
        height: 200px;
    }
}

.shiva-support-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.shiva-support-cta .btn-primary {
    background-color: #e0b4bc;
    color: #7a3a4a;
    padding: 0.8rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 3px 4px 0px rgba(176, 112, 128, 0.35);
    border: none;
}

.shiva-support-cta .btn-primary:hover {
    opacity: 0.85;
}

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

    .shiva-card:last-child {
        grid-column: auto;
    }
}

/* ===== PARTNERSHIPS SECTION ===== */
.partnership-cta-btn:hover {
    background: var(--rosa-mauve) !important;
    color: #ffffff !important;
}

.partnerships-section {
    padding: 4rem 0;
    background: #ffffff;
    text-align: center;
}

.partnerships-section .section-title {
    font-style: italic;
    margin-bottom: 2.5rem;
}

.partnerships-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.partnerships-nav {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
}

.partnerships-nav svg {
    width: 54px;
    height: 54px;
    color: var(--vino-burgundy, #6B2D3E);
    transition: transform 0.3s ease;
}

.partnerships-nav:hover svg {
    transform: scale(1.15);
}

.partnerships-carousel {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.partnerships-carousel::-webkit-scrollbar {
    display: none;
}

.partnerships-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
}

.partnership-logo {
    flex-shrink: 0;
    width: 380px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #ffffff, #f4f6fa);
    border-radius: 14px;
    border: 1px solid rgba(200, 210, 225, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    transition: all 0.3s ease;
}

.partnership-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partnership-logo img {
    max-width: 100%;
    max-height: 100%;
    width: 320px;
    height: auto;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.7);
    transition: all 0.4s ease;
}

.partnership-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.partnership-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-216px * 2));
    }
}

.partnerships-carousel:hover .partnerships-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partnerships-section {
        padding: 3rem 0;
    }

    .partnerships-carousel-wrapper {
        gap: 0.75rem;
    }

    .partnerships-nav svg {
        width: 24px;
        height: 24px;
    }

    .partnership-logo {
        width: 150px;
        height: 80px;
    }

    .partnership-logo img {
        width: 120px;
    }

    @keyframes scrollLogos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-166px * 2));
        }
    }
}

/* ===== CLASE UNIFICADA PARA SECCIONES FINALES ===== */
.final-sections-bg {
    background: linear-gradient(135deg, #F0F7FF 0%, #F8F5FA 50%, #F0F7FF 100%);
    position: relative;
    overflow: hidden;
}

/* ===== CLASE PARA FONDO AZUL CLARO ===== */
.blue-bg {
    background: linear-gradient(135deg, #F8FBFF 0%, #F5F3F8 50%, #F8FBFF 100%);
    position: relative;
    overflow: hidden;
}

/* ===== WAYS TO GET INVOLVED SECTION ===== */
.ways-to-get-involved-section {
    padding: var(--section-padding-medium);
}

/* Transición suave desde sección anterior */
.ways-to-get-involved-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        rgba(248, 251, 255, 0.8) 0%,
        rgba(240, 247, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.ways-to-get-involved-section .container {
    position: relative;
    z-index: 2;
}

.get-involved-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
}

/* Volunteer Opportunities Grid */
.volunteer-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.opportunity-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(103, 132, 162, 0.1);
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(40, 46, 68, 0.15);
    border-color: var(--azul-grisaceo);
}

.opportunity-card:hover::before {
    transform: scaleX(1);
}

.opportunity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul-claro), rgba(225, 237, 252, 0.5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.opportunity-icon svg {
    width: 35px;
    height: 35px;
    color: var(--azul-grisaceo);
    transition: all 0.4s ease;
}

.opportunity-card:hover .opportunity-icon {
    background: linear-gradient(135deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scale(1.1) rotate(5deg);
}

.opportunity-card:hover .opportunity-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.opportunity-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.opportunity-card p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--azul-grisaceo);
}

/* Smooth scroll behavior for Learn More button */
html {
    scroll-behavior: smooth;
}

/* Responsive Ways to Get Involved */
@media (max-width: 768px) {
    .ways-to-get-involved-section {
        padding: 4rem 0;
    }

    .get-involved-buttons {
        flex-direction: column;
        margin: 2rem 0 3rem;
    }

    .get-involved-buttons .btn {
        width: 100%;
    }

    .volunteer-opportunities {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .opportunity-card {
        padding: 2rem 1.5rem;
    }

    .opportunity-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }

    .opportunity-icon svg {
        width: 30px;
        height: 30px;
    }

    .opportunity-card h3 {
        font-size: 1.3rem;
    }

    .opportunity-card p {
        font-size: 0.95rem;
    }
}

/* ===== CONTACT US SECTION ===== */
.contact-section {
    padding: var(--section-padding-medium);
}

/* Transición suave desde sección anterior */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* Transición suave hacia siguiente sección */
.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Information */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(103, 132, 162, 0.1);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(40, 46, 68, 0.12);
    border-color: var(--azul-grisaceo);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--azul-claro), rgba(225, 237, 252, 0.5));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-info-icon svg {
    width: 28px;
    height: 28px;
    color: var(--azul-grisaceo);
    transition: all 0.4s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: linear-gradient(135deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scale(1.1);
}

.contact-info-item:hover .contact-info-icon svg {
    color: #ffffff;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
}

.contact-info-content a {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--azul-grisaceo);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info-content a:hover {
    color: var(--azul-oscuro);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--azul-grisaceo);
    font-style: italic;
    margin-top: 0.25rem;
    opacity: 0.7;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Update Note (for development - can be removed in production) */
.contact-update-note {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 1.5rem;
    background: #FFF9E6;
    border: 2px dashed #F0C419;
    border-radius: 12px;
}

.contact-update-note p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #856404;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-update-note ul {
    list-style: none;
    padding-left: 0;
}

.contact-update-note ul li {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #856404;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.contact-update-note ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #F0C419;
    font-weight: bold;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .contact-info-item {
        padding: 1.5rem;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
    }

    .contact-info-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-info-content h3 {
        font-size: 1.2rem;
    }

    .contact-info-content a {
        font-size: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-buttons .btn {
        width: 100%;
    }

    .contact-update-note {
        margin-top: 3rem;
        padding: 1.25rem;
    }

    .contact-update-note p {
        font-size: 0.9rem;
    }

    .contact-update-note ul li {
        font-size: 0.85rem;
    }
}

/* ===== SECTION SEPARATOR ===== */
.section-separator {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 1s ease, transform 1s ease;
}

.section-separator.animate-in {
    opacity: 1;
    transform: scaleX(1);
}

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

/* ===== START A CHAPTER SECTION ===== */
.start-chapter-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* ===== CHAPTER SECTION FLORES (mira.png) ===== */
.chapter-flower {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    height: auto;
    object-fit: contain;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.chapter-flower-left {
    left: -200px;
    bottom: 0;
    width: 800px;
    transform: rotate(-50deg) translateX(-120px);
}

.chapter-flower-right {
    right: -250px;
    top: 200px;
    width: 800px;
    transform: rotate(-140deg) translateX(-120px);
}

.chapter-flower.flower-visible.chapter-flower-left {
    opacity: 0.30;
    transform: rotate(-50deg) translateX(0);
    animation: flowerWindLeft 6s ease-in-out infinite 1.2s;
}

.chapter-flower.flower-visible.chapter-flower-right {
    opacity: 0.30;
    transform: rotate(-140deg) translateX(0);
    animation: flowerWindRight 7s ease-in-out infinite 1.2s;
}

@media (max-width: 768px) {
    .chapter-flower-left {
        width: 280px;
        left: -80px;
        bottom: 0;
        transform: rotate(-50deg) translateX(-60px);
    }

    .chapter-flower-right {
        width: 280px;
        right: -80px;
        top: 80px;
        transform: rotate(-140deg) translateX(-60px);
    }

    .chapter-flower.flower-visible.chapter-flower-left {
        opacity: 0.20;
        transform: rotate(-50deg) translateX(0);
        animation: none;
    }

    .chapter-flower.flower-visible.chapter-flower-right {
        opacity: 0.20;
        transform: rotate(-140deg) translateX(0);
        animation: none;
    }
}

/* Decorative floral pattern on the right */
.chapter-floral-bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: url('public/patrones/editable de elementos abstracto SirAnit-02.png') no-repeat center right;
    background-size: contain;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.start-chapter-section .container {
    position: relative;
    z-index: 2;
    max-width: 950px;
}

.start-chapter-section .chapter-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 600;
    font-style: italic;
    color: var(--azul-oscuro);
    line-height: 1.3;
    margin-bottom: 2.5rem;
}

.start-chapter-section .chapter-description {
    margin-bottom: 3rem;
}

.start-chapter-section .chapter-description p {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--azul-grisaceo);
    margin-bottom: 1.25rem;
}

.start-chapter-section .chapter-description p:last-child {
    margin-bottom: 0;
}

.start-chapter-section .chapter-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(to right, rgba(224, 185, 188, 0.2), rgba(255, 255, 255, 0.9));
    border-radius: 16px;
    padding: 2.25rem 3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.start-chapter-section .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.start-chapter-section .benefit-item svg {
    width: 30px;
    height: 30px;
    color: #7BA5A5;
    flex-shrink: 0;
}

.start-chapter-section .benefit-item span {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--azul-oscuro);
}

.start-chapter-section .chapter-cta-wrapper {
    margin-top: 1rem;
}

/* Scroll animations */
.start-chapter-section .chapter-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.start-chapter-section .chapter-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.start-chapter-section .chapter-description {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.start-chapter-section .chapter-description.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.start-chapter-section .chapter-benefits {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.start-chapter-section .chapter-benefits.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.start-chapter-section .chapter-cta-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.start-chapter-section .chapter-cta-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn-chapter {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    background: #D4A5A5;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #D4A5A5;
    transition: all 0.3s ease;
}

.btn-chapter:hover {
    background: transparent;
    color: #D4A5A5;
}

/* Responsive */
@media (max-width: 768px) {
    .chapter-checkmark {
        width: 60px;
        height: 60px;
        left: 2%;
        top: 8%;
        transform: none;
    }

    .chapter-floral-bg {
        width: 150px;
        opacity: 0.1;
    }

    .start-chapter-section .chapter-benefits {
        padding: 1.25rem 1.5rem;
    }
}

/* ===== DONATION SECTION ===== */
.donation-section {
    padding: var(--section-padding-medium);
    background: linear-gradient(135deg, #F8FBFF 0%, #F5F3F8 50%, #F8FBFF 100%);
    position: relative;
    overflow: hidden;
}

/* Transición suave desde sección anterior */
.donation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 251, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Transición suave hacia siguiente sección */
.donation-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 251, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.donation-text {
    padding-right: 2rem;
}

.donation-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.donation-description {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--azul-grisaceo);
    margin-bottom: 2.5rem;
}

.donation-impact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.impact-icon-small {
    width: 50px;
    height: 50px;
    background: var(--azul-oscuro);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.impact-item:hover .impact-icon-small {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 46, 68, 0.2);
}

.impact-icon-small svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff !important;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #ffffff;
}

.impact-item p {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--azul-oscuro);
    font-weight: 500;
    margin: 0;
}

.donation-cta-box {
    background: var(--azul-oscuro);
    padding: 3.5rem 3rem;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(40, 46, 68, 0.25);
}

.donation-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.donation-cta-icon {
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.donation-cta-icon svg {
    width: 45px;
    height: 45px;
    stroke: var(--azul-oscuro) !important;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--azul-oscuro);
}

.donation-cta-box h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.donation-cta-box p {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.btn-donate {
    width: 100%;
    padding: 1.3rem 2rem;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    color: var(--azul-oscuro);
    border: 2px solid #ffffff;
    position: relative;
    z-index: 1;
}

.btn-donate:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.02);
}

.donation-note {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Donation Section */
@media (max-width: 968px) {
    .donation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .donation-text {
        padding-right: 0;
    }
    
    .donation-text .section-title {
        text-align: center;
    }
    
    .donation-impact {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .donation-section {
        padding: 4rem 0;
    }
    
    .donation-cta-box {
        padding: 3rem 2rem;
    }
    
    .donation-cta-box h3 {
        font-size: 1.8rem;
    }
    
    .donation-cta-icon {
        width: 75px;
        height: 75px;
    }
    
    .donation-cta-icon svg {
        width: 38px;
        height: 38px;
    }
}

/* ===== GET INVOLVED SECTION ===== */
.get-involved-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.get-involved-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.get-involved-section .section-title {
    grid-column: 1 / -1;
}

/* Layout de dos columnas para Ways + Form */
.get-involved-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.subsection-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
}

/* Ways to Get Involved */
.ways-to-help {
    margin-bottom: 0;
}

.ways-to-help .subsection-title {
    margin-top: 0;
}

/* Volunteer Form Section */
.volunteer-form-section {
    background: #ffffff;
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 0;
    border: 2px solid rgba(103, 132, 162, 0.15);
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.volunteer-form-section .subsection-title {
    margin-top: 0;
    text-align: center;
}

.ways-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.way-item {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(103, 132, 162, 0.15);
    box-shadow: 0 5px 20px rgba(40, 46, 68, 0.08);
    position: relative;
    overflow: hidden;
}

.way-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.way-item:hover::before {
    transform: scaleX(1);
}

.way-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--azul-grisaceo);
    box-shadow: 0 20px 50px rgba(103, 132, 162, 0.25);
}

.way-item span {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    line-height: 1.6;
    display: block;
}

.volunteer-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(225, 237, 252, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.volunteer-form {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.6rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(103, 132, 162, 0.15);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: var(--azul-oscuro);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-grisaceo);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(103, 132, 162, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.volunteer-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--azul-oscuro);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.25);
}

.volunteer-form button[type="submit"]:hover {
    background: var(--azul-grisaceo);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(40, 46, 68, 0.35);
}

.form-description {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: var(--azul-grisaceo);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: var(--azul-oscuro);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.25);
}

.cta-button:hover {
    background: var(--azul-grisaceo);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(40, 46, 68, 0.35);
}

/* Testimonials Section */
.testimonies-section {
    background: linear-gradient(135deg, #E8F4FD 0%, #E1EDFC 50%, #E8F4FD 100%);
    padding: 4rem 0;
    position: relative;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(to bottom, #D6E8F5 0%, #D6E8F5 40%, #ffffff 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -2px;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('public/patrones/patron-somos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 70%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 70%);
    animation: patternFloatTestimonials 14s ease-in-out infinite;
}

@keyframes patternFloatTestimonials {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-6px, 6px); }
    50% { transform: translate(6px, -8px); }
    75% { transform: translate(-4px, -5px); }
}

.testimonials-section > .container > .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.testimonials-section > .container > .section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-section > .container > .section-intro {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.testimonials-section > .container > .section-intro.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}

.testimonials-inner.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    overflow: visible;
}

.testimonials-carousel {
    flex: 1;
    min-width: 0;
    overflow: visible;
    position: relative;
    min-height: 350px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-card {
    min-width: 33.333%;
    box-sizing: border-box;
    padding: 3rem 1.5rem 2.5rem;
    margin: 2rem 0.5rem;
    background: #d0e2f2;
    border-radius: 0 60px 0 0;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -2rem;
    left: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 5rem;
    color: var(--azul-oscuro);
    line-height: 1;
    z-index: 1;
}

.testimonial-card::after {
    content: '\201D';
    position: absolute;
    bottom: -2rem;
    right: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 5rem;
    color: var(--azul-oscuro);
    line-height: 1;
    z-index: 1;
}

.testimonial-card:nth-child(odd)::before,
.testimonial-card:nth-child(odd)::after {
    color: #d4a0a8;
}

.testimonial-quote {
    display: none;
}

.testimonial-text {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--azul-oscuro);
    margin: 0 0 1.5rem;
    text-align: justify;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-text::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-author strong {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--azul-oscuro);
}

.testimonial-author span {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--azul-grisaceo);
}

.carousel-btn {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--azul-oscuro);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 46, 68, 0.25);
}

.carousel-btn:hover {
    background: var(--azul-grisaceo);
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--azul-grisaceo);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
    background: var(--azul-oscuro);
    transform: scale(1.3);
}

.testimonials-note {
    display: none;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
        min-height: auto;
    }

    .carousel-btn {
        display: none;
    }

    .testimonials-carousel-wrapper {
        padding: 0;
        gap: 0;
    }
}

/* Social Service Program */
.social-service-program {
    background: linear-gradient(135deg, #ffffff 0%, var(--azul-claro) 100%);
    padding: 4rem 3rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid var(--azul-grisaceo);
}

.program-description {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.program-cta {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
}

.program-cta span:first-child {
    font-weight: 600;
    color: var(--azul-oscuro);
}

/* Responsive Get Involved Section */
@media (max-width: 768px) {
    .get-involved-section {
        padding: 3rem 0;
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-form-section,
    .testimonials-section,
    .social-service-program {
        padding: 3rem 2rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: -50px;
    }
    
    .next-btn {
        right: -50px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== SERVICE AREA SECTION ===== */
.service-area-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f9eeef 0%, #ffffff 30%, #ffffff 70%, #D6E8F5 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-area-section .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.service-area-section .section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-area-section .section-intro {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}

.service-area-section .section-intro.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.map-section {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}

.map-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.15);
    border: 2px solid rgba(103, 132, 162, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.2);
}

.map-container iframe {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .service-area-section {
        padding: 3rem 0;
    }

    .map-container iframe {
        height: 400px;
    }
}

.footer {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, #1a1f33 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('public/patrones/figuras.png');
    background-size: 200px;
    background-repeat: repeat;
    opacity: 0.03;
    pointer-events: none;
}

.footer-content {
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-column h4 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Footer About */
.footer-about {
    max-width: 350px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: var(--azul-grisaceo);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(103, 132, 162, 0.4);
}

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

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azul-grisaceo);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--azul-grisaceo);
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== SCROLL TO TOP BUTTON WITH PROGRESS CIRCLE ===== */
/* ===== FLOATING DONATE BUTTON ===== */
.floating-donate-btn {
    position: fixed;
    bottom: 160px;
    right: 30px;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-grisaceo));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.floating-donate-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-donate-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 35px rgba(40, 46, 68, 0.7);
}

@media (max-width: 768px) {
    .floating-donate-btn {
        bottom: 140px;
        right: 15px;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ===== FLOATING VOLUNTEER BUTTON ===== */
.floating-volunteer-btn {
    position: fixed;
    bottom: 210px;
    right: 30px;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-grisaceo));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.floating-volunteer-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-volunteer-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 35px rgba(40, 46, 68, 0.7);
}

@media (max-width: 768px) {
    .floating-volunteer-btn {
        bottom: 185px;
        right: 15px;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* ===== FLOATING SHIVA HELP BUTTON ===== */
.floating-shiva-btn {
    position: fixed;
    bottom: 260px;
    right: 30px;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-grisaceo));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.floating-shiva-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-shiva-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 35px rgba(40, 46, 68, 0.7);
}

@media (max-width: 768px) {
    .floating-shiva-btn {
        bottom: 230px;
        right: 15px;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--azul-oscuro);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

/* Progress Ring SVG */
.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) rotate(-90deg);
    pointer-events: none;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--azul-grisaceo);
    box-shadow: 0 6px 30px rgba(40, 46, 68, 0.4);
}

.arrow-icon {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 85px;
        right: 20px;
    }
    
    .arrow-icon {
        width: 20px;
        height: 20px;
    }
}

/* ===== FLOATING PHONE BUTTON ===== */
.floating-phone-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem 0.55rem 0.85rem;
    background: var(--azul-oscuro);
    border-radius: 50px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.3);
    white-space: nowrap;
}

.floating-phone-btn svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    fill: none;
    flex-shrink: 0;
    color: #ffffff;
}

.floating-phone-btn span {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.floating-phone-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-phone-btn:hover {
    background: var(--azul-grisaceo);
    box-shadow: 0 6px 30px rgba(40, 46, 68, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .floating-phone-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.5rem 0.9rem 0.5rem 0.75rem;
    }

    .floating-phone-btn span {
        font-size: 13px;
    }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== TEAM PAGE ===== */
.team-page {
    min-height: 40vh;
    padding: 8rem 0 2rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

@keyframes backgroundFloat {
    0%, 100% {
        background-position: center, 0% 0%;
    }
    25% {
        background-position: center, 5% 5%;
    }
    50% {
        background-position: center, -5% 10%;
    }
    75% {
        background-position: center, 10% -5%;
    }
}

.team-page::before {
    display: none;
}

.team-page::after {
    display: none;
}

.team-page .container {
    position: relative;
    z-index: 2;
}

.team-page h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

.team-page h1::after {
    content: none !important;
    display: none !important;
}

.team-page-intro {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--azul-grisaceo);
    text-align: center;
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-weight: 400;
    font-style: italic;
}

/* Team Stats Grid */
.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.team-stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(40, 46, 68, 0.1);
}

.team-stat-number {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--vino-burgundy);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.team-stat-sup {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 400;
    color: var(--rosa-mauve);
}

.team-stat-label {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    font-weight: 400;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .team-stats-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 1rem;
    }
}

/* Founders Section */
.founders-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    position: relative;
    background: transparent;
}

.founders-section::before {
    display: none;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 5rem;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0;
    line-height: 1.2;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: transparent;
}

.section-description {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--azul-grisaceo);
    text-align: center;
    max-width: 650px;
    margin: -1rem auto 2rem;
    font-weight: 400;
    font-style: italic;
}

.founder-bio {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 2px solid var(--azul-claro);
}

.founder-bio:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.founder-image {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(40, 46, 68, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.founder-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(40, 46, 68, 0.25);
}

.founder-image:hover img {
    transform: scale(1.1);
}

.founder-content {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.founder-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.founder-text {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--azul-grisaceo);
}

.founder-text p {
    margin-bottom: 1.2rem;
}

.founder-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Team Page */
@media (max-width: 968px) {
    .founder-bio {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .founder-image {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .team-page {
        padding: 6rem 0 2rem;
    }
    
    .founder-bio {
        margin-bottom: 4rem;
        padding-bottom: 4rem;
    }
    
    .founder-image {
        width: 200px;
        height: 200px;
    }
    
    .founder-name {
        font-size: 1.6rem;
    }
    
    .founder-title {
        font-size: 1rem;
    }
    
    .founder-text {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* Team Leads Section */
.team-leads-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 0;
    border-top: none;
}

/* Team Leads - Elegant Name List */
.team-leads-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2.4;
}

.team-leads-names .lead-name {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--azul-oscuro);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    padding: 0 0.15rem;
    position: relative;
    cursor: default;
    white-space: nowrap;
}

.team-leads-names .lead-name:hover {
    color: var(--azul-grisaceo);
}

.team-leads-names .lead-separator {
    color: var(--rosa-mauve);
    font-size: 0.7rem;
    padding: 0 0.8rem;
    opacity: 0.6;
    user-select: none;
    display: inline-flex;
    align-items: center;
    line-height: 2.4;
}

/* Decorative wrapper with background */
.team-leads-wrapper {
    display: block;
}

/* Support Team - Single Line */
.support-team-section .team-leads-names {
    flex-wrap: nowrap;
    justify-content: center;
}

.support-team-section .team-leads-names .lead-name {
    font-size: 1.1rem;
    white-space: nowrap;
}

.support-team-section .team-leads-names .lead-separator {
    padding: 0 0.5rem;
}

.team-leads-wrapper::before,
.team-leads-wrapper::after {
    content: '';
    display: block;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rosa-mauve), transparent);
    margin: 0 auto;
}

.team-leads-wrapper::before {
    margin-bottom: 2rem;
}

.team-leads-wrapper::after {
    margin-top: 2rem;
}

/* Responsive Team Leads */
@media (max-width: 768px) {
    .team-leads-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }
    
    .team-leads-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .team-leads-names {
        line-height: 2.2;
    }
    
    .team-leads-names .lead-name {
        font-size: 1.1rem;
    }
    
    .team-leads-names .lead-separator {
        padding: 0 0.6rem;
    }
}

/* Advisory Board Section */
.advisory-board-section {
    max-width: 1200px;
    margin: 6rem auto 0;
    padding-top: 4rem;
    border-top: 3px solid var(--azul-claro);
}

/* Advisory Board - Elegant Inline Names */
.advisory-names-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 3rem;
    padding: 3rem 2.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(103, 132, 162, 0.08) 0%, rgba(225, 237, 252, 0.25) 100%);
    border-radius: 20px;
    border: 1px solid rgba(103, 132, 162, 0.2);
    box-shadow: 0 8px 24px rgba(40, 46, 68, 0.06);
}

.advisory-names-row::before,
.advisory-names-row::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--azul-grisaceo), transparent);
}

.advisory-names-row::before {
    top: 1rem;
}

.advisory-names-row::after {
    bottom: 1rem;
}

.advisory-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.advisory-name:hover {
    color: var(--azul-grisaceo);
}

.advisory-dot {
    width: 6px;
    height: 6px;
    background: var(--azul-grisaceo);
    border-radius: 50%;
    margin: 0 1.8rem;
    opacity: 0.4;
    flex-shrink: 0;
}

/* Responsive Advisory Board */
@media (max-width: 768px) {
    .advisory-board-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }

    .advisory-names-row {
        flex-direction: column;
        gap: 0.8rem;
        padding: 2rem 1.5rem;
    }

    .advisory-dot {
        display: none;
    }

    .advisory-name {
        font-size: 1.3rem;
    }
}

/* Support Team - Elegant Inline Names */
.support-names-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 3rem;
    padding: 3rem 2.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(225, 237, 252, 0.12) 0%, rgba(230, 227, 217, 0.25) 100%);
    border-radius: 20px;
    border: 1px solid rgba(225, 237, 252, 0.25);
    box-shadow: 0 8px 24px rgba(40, 46, 68, 0.06);
}

.support-names-row::before,
.support-names-row::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rosa-mauve), transparent);
}

.support-names-row::before {
    top: 1rem;
}

.support-names-row::after {
    bottom: 1rem;
}

.support-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.support-name:hover {
    color: var(--azul-grisaceo);
}

.support-dot {
    width: 6px;
    height: 6px;
    background: var(--rosa-mauve);
    border-radius: 50%;
    margin: 0 1.8rem;
    opacity: 0.5;
    flex-shrink: 0;
}

/* Responsive Support Team */
@media (max-width: 768px) {
    .support-team-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }

    .support-team-section .team-leads-names {
        flex-wrap: wrap;
        justify-content: center;
    }

    .support-team-section .team-leads-names .lead-name {
        white-space: normal;
        font-size: 1rem;
    }

    .support-names-row {
        flex-direction: column;
        gap: 0.8rem;
        padding: 2rem 1.5rem;
    }

    .support-dot {
        display: none;
    }

    .support-name {
        font-size: 1.3rem;
    }
}

/* ===== FOUNDER CARDS & MODAL (TEAM PAGE) ===== */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.founder-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    overflow: visible;
    box-shadow: none;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 5px solid var(--rosa-mauve-light);
    display: flex;
    flex-direction: column;
}

.founder-card::before {
    display: none;
}

.founder-card::after {
    display: none;
}

.founder-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(224, 185, 188, 0.2);
    border-color: var(--rosa-mauve);
}

.founder-card:hover::before {
    opacity: 0;
}

.founder-card:hover::after {
    transform: none;
}

.founder-card-image {
    width: calc(100% - 1.5rem);
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
    margin: 0.75rem auto 0;
}

.founder-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.founder-card:hover .founder-card-image img {
    transform: scale(1.05);
}

.founder-card-content {
    padding: 1.25rem 1.25rem 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.founder-card-name {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.25rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: auto;
    display: block;
    text-align: left;
    transition: color 0.3s ease;
}

.founder-card:hover .founder-card-name {
    color: var(--azul-grisaceo);
}

.founder-card-title {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--vino-burgundy);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.75rem;
    min-height: auto;
    display: block;
    text-align: left;
    letter-spacing: 0.2px;
}

.founder-card-excerpt {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--azul-grisaceo);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: auto;
    text-align: left;
    text-wrap: pretty;
    flex: 1;
}

.founder-card-btn {
    background: var(--rosa-mauve);
    color: var(--vino-burgundy-dark);
    border: none;
    padding: 0.7rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    align-self: center;
    margin-top: 1rem;
    margin-bottom: -1.1rem;
    position: relative;
    z-index: 3;
    overflow: hidden;
    letter-spacing: 0.3px;
    box-shadow: none;
}

.founder-card-btn:hover {
    background: var(--vino-burgundy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(224, 185, 188, 0.4);
}

/* Founder Modal */
.founder-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.founder-modal.active {
    display: block;
}

.founder-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 35, 50, 0.96);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.modal-open {
    overflow: hidden;
}

body.modal-open > *:not(.founder-modal) {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

.founder-modal-content {
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 30px;
    max-width: 900px;
    width: calc(100% - 4rem);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    z-index: 100000;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.founder-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--azul-oscuro);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.founder-modal-close:hover {
    background: var(--azul-grisaceo);
    transform: rotate(90deg);
}

.founder-modal-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 3rem;
}

.founder-modal-image {
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(40, 46, 68, 0.15);
    flex-shrink: 0;
    align-self: flex-start;
}

.founder-modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-modal-text {
    flex: 1;
}

.founder-modal-name {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.founder-modal-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 2rem;
}

.founder-modal-bio {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--azul-grisaceo);
    text-wrap: pretty;
}

.founder-modal-bio p {
    margin-bottom: 1.2rem;
}

.founder-modal-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive Founder Cards & Modal */
@media (max-width: 1400px) {
    .founders-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .founder-modal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .founder-modal-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .founder-modal-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-card-image {
        height: 280px;
    }
    
    .founder-modal-content {
        max-height: 85vh;
    }
    
    .founder-modal-body {
        padding: 1.5rem;
    }
    
    .founder-modal-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .founder-modal-name {
        font-size: 1.6rem;
    }
}

/* Team CTA Section */
.team-cta-section {
    background: transparent;
    padding: 3rem 0 6rem;
}

.team-cta-box {
    background: linear-gradient(90deg, rgba(237, 208, 211, 1) 0%, rgba(255, 255, 255, 0.7) 100%);
    padding: 3.5rem 3rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(224, 185, 188, 0.2);
}

.team-cta-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    font-weight: 600;
    font-style: italic;
}

.team-cta-text {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: var(--azul-grisaceo);
    max-width: 580px;
    margin: 0 auto 0;
    line-height: 1.7;
    font-style: italic;
}

.team-cta-btn {
    display: inline-block;
    background: var(--rosa-mauve);
    color: var(--vino-burgundy-dark);
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    top: 2.5rem;
    z-index: 2;
}

.team-cta-btn:hover {
    background: var(--vino-burgundy);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(224, 185, 188, 0.4);
}

/* Team Leads Grid */
.team-leads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===== STORY PAGE STYLES ===== */
.story-page-body {
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.97) 50%,
            rgba(255, 255, 255, 0.95) 100%
        ),
        url('public/patrones/patrones editables_Mesa de trabajo 1.png');
    background-size: cover, 400px;
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    background-attachment: fixed, fixed;
    animation: backgroundFloat 60s ease-in-out infinite;
}

.story-hero {
    padding: 8rem 0 2rem;
    background: transparent;
    position: relative;
}

.story-hero h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--azul-oscuro);
    text-align: center;
    font-weight: 600;
    position: relative;
}

.story-hero h1::after {
    content: none !important;
    display: none !important;
}

.story-hero-intro {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--azul-grisaceo);
    text-align: center;
    max-width: 700px;
    margin: 2.5rem auto 0;
    font-weight: 400;
    text-wrap: pretty;
}

.story-detail-section {
    padding: 2rem 0 4rem;
    background: transparent;
    position: relative;
}

/* Timeline connector */
.story-timeline {
    position: relative;
}

.story-block {
    display: block;
    margin-bottom: 4rem;
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.65);
    border: none;
    box-shadow: 0 4px 24px rgba(40, 46, 68, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Decorative accent line on cards */
.story-block::after {
    display: none;
}

.story-block:hover::after {
    opacity: 0;
}

.story-block:hover {
    box-shadow: 0 8px 30px rgba(224, 185, 188, 0.15);
    border-color: var(--rosa-mauve);
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block-reverse {
    direction: ltr;
}

.story-block-reverse > * {
    direction: ltr;
}

.story-block-content {
    padding: 0;
}

.story-block-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.story-block-text {
    font-family: var(--font-primary);
    font-size: 1.50rem;
    line-height: 1.9;
    color: var(--azul-grisaceo);
    margin-bottom: 1rem;
}

.story-block-text:last-child {
    margin-bottom: 0;
}

.story-block-image {
    float: right;
    width: 400px;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(40, 46, 68, 0.1);
    transition: all 0.4s ease;
    margin: 0 0 1rem 1.5rem;
    border: 5px solid var(--rosa-mauve);
}

.story-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.story-block-image:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(40, 46, 68, 0.15);
}

.story-block-image:hover img {
    transform: scale(1.05);
}

/* Duo images (two small images side by side, floating right) */
.story-block-images-duo {
    float: right;
    display: flex;
    gap: 0.75rem;
    margin: 0 0 1rem 1.5rem;
}

.story-block-image-small {
    width: 200px;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    border: 5px solid var(--rosa-mauve);
    box-shadow: 0 4px 16px rgba(40, 46, 68, 0.1);
}

.story-block-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.story-block-image-small:hover img {
    transform: scale(1.05);
}

/* Story block grid variant (text left, full-height image right) */
.story-block-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    overflow: hidden;
}

.story-block-image-full {
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid var(--vino-burgundy);
    box-shadow: 0 4px 16px rgba(40, 46, 68, 0.1);
}

.story-block-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 768px) {
    .story-block-grid {
        grid-template-columns: 1fr;
    }
    
    .story-block-image-full {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .story-block-images-duo {
        float: none;
        justify-content: center;
        margin: 0 0 1.5rem 0;
    }
    
    .story-block-image-small {
        width: 140px;
        height: 140px;
    }
}

/* Story Gallery Section */
.story-gallery-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
}

.story-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    height: 350px;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    height: 350px;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(40, 46, 68, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:nth-child(6) img,
.gallery-item:nth-child(7) img {
    object-position: top;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Story Quote */
.story-quote {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.story-quote blockquote {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--azul-oscuro);
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.story-quote blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    font-size: 4rem;
    color: var(--rosa-mauve);
    opacity: 0.4;
    font-family: var(--font-secondary);
    line-height: 1;
}

.story-quote blockquote::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--rosa-mauve), var(--azul-grisaceo));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ===== LEGACY SECTION ===== */
.legacy-section {
    text-align: center;
    padding: 4rem 0 3rem;
}

.legacy-intro {
    font-family: var(--font-secondary);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 2.5rem;
}

.legacy-photos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.legacy-photo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.legacy-photo-frame {
    width: 240px;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(40, 46, 68, 0.08);
    border: 5px solid var(--rosa-mauve-light);
    transition: all 0.4s ease;
}

.legacy-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.5s ease;
}

.legacy-photo-card:hover .legacy-photo-frame {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(224, 185, 188, 0.25);
    border-color: var(--rosa-mauve);
}

.legacy-photo-card:hover .legacy-photo-frame img {
    transform: scale(1.05);
}

.legacy-name {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    font-style: normal;
    text-align: center;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .legacy-photos {
        gap: 2rem;
    }

    .legacy-photo-frame {
        width: 180px;
        height: 180px;
    }
}

/* Responsive Story Page */
@media (max-width: 968px) {
    .story-block {
        padding: 2rem;
    }
    
    .story-block-image {
        float: none;
        width: 100%;
        margin: 0 0 1.5rem 0;
        height: auto;
    }
    
    .story-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .story-hero {
        padding: 6rem 0 2rem;
    }

    .story-hero-intro {
        font-size: 1.05rem;
    }

    .story-detail-section {
        padding: 2rem 0 3rem;
    }
    
    .story-block {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .story-block-image {
        height: auto;
    }
    
    .story-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        height: 250px;
        grid-column: span 1;
    }
    
    .story-quote {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .story-quote blockquote {
        font-size: 1.3rem;
        padding: 0 1rem;
    }
}


/* ===== PROFESSIONAL IMPROVEMENTS - WORLD-CLASS DESIGN ===== */

/* Sticky CTA Button - Floating Support */
.sticky-cta-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-grisaceo) 100%);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.sticky-cta-support.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta-support:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.4);
}

.sticky-cta-support svg {
    width: 20px;
    height: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Bold Typography for Key Messages */
.impact-number-large {
    font-family: var(--font-secondary);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--azul-oscuro);
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-grisaceo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-highlight {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    font-style: italic;
    color: var(--azul-oscuro);
    line-height: 1.4;
    position: relative;
    padding: 2rem 3rem;
    margin: 3rem 0;
}

.quote-highlight::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: -2rem;
    left: 0;
    color: var(--azul-claro);
    font-family: var(--font-secondary);
    line-height: 1;
    opacity: 0.5;
}

/* Enhanced Microinteractions */
.card-hover-lift {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-hover-lift:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(40, 46, 68, 0.2);
}

.button-ripple {
    position: relative;
    overflow: hidden;
}

.button-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.button-ripple:hover::after {
    width: 300px;
    height: 300px;
}

/* Impact Gallery Section */
.impact-gallery-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.impact-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(40, 46, 68, 0.25);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(40, 46, 68, 0.9) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Testimonial Photo Enhancement */
.testimonial-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 4px solid var(--azul-claro);
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-photo {
    transform: scale(1.1);
    border-color: var(--azul-grisaceo);
    box-shadow: 0 15px 40px rgba(103, 132, 162, 0.3);
}

.testimonial-card:hover .testimonial-photo img {
    transform: scale(1.05);
}

.testimonial-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(103, 132, 162, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover .testimonial-photo-overlay {
    opacity: 1;
}

/* Enhanced Section Dividers */
.section-divider {
    display: none;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--azul-grisaceo);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.section-divider::before {
    left: -15px;
}

.section-divider::after {
    right: -15px;
}

/* Stat Counter Animation Enhancement */
.stat-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.stat-counter.counting {
    color: var(--azul-grisaceo);
    transform: scale(1.05);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .sticky-cta-support {
        bottom: 20px;
        right: 20px;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .impact-number-large {
        font-size: 3.5rem;
    }
    
    .quote-highlight {
        font-size: 1.5rem;
        padding: 1.5rem 2rem;
    }
    
    .quote-highlight::before {
        font-size: 5rem;
        top: -1rem;
    }
    
    .impact-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        border-radius: 20px;
    }
    
    .testimonial-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
}

/* Accessibility Enhancements */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--azul-oscuro);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    font-family: var(--font-primary);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .sticky-cta-support,
    .scroll-to-top,
    .decorative-patterns,
    .nav-overlay {
        display: none !important;
    }
    
    body {
        background: #ffffff;
    }
    
    .section-title,
    .subsection-title {
        page-break-after: avoid;
    }
}


/* ===== SERVICE AREA ENHANCEMENTS - WORLD-CLASS DESIGN ===== */

/* Communities Grid */
.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.community-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(103, 132, 162, 0.1);
    box-shadow: 0 5px 20px rgba(40, 46, 68, 0.08);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.community-card:hover::before {
    transform: scaleX(1);
}

.community-card:hover {
    transform: translateY(-10px);
    border-color: var(--azul-grisaceo);
    box-shadow: 0 20px 50px rgba(103, 132, 162, 0.2);
}

.community-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--azul-claro) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(103, 132, 162, 0.15);
}

.community-icon svg {
    width: 35px;
    height: 35px;
    color: var(--azul-oscuro);
    transition: all 0.5s ease;
}

.community-card:hover .community-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--azul-grisaceo), var(--azul-oscuro));
    box-shadow: 0 10px 25px rgba(103, 132, 162, 0.3);
}

.community-card:hover .community-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.community-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.community-card:hover h4 {
    color: var(--azul-grisaceo);
}

.community-card p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    margin: 2.5rem auto 0;
    max-width: 900px;
}

.map-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-description {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(40, 46, 68, 0.15);
    border: 3px solid rgba(103, 132, 162, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--azul-grisaceo), var(--azul-oscuro));
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    filter: blur(15px);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(40, 46, 68, 0.25);
    border-color: var(--azul-grisaceo);
}

.map-container:hover::before {
    opacity: 0.3;
}

/* Service Info Grid Enhancement */
.service-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.service-info-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(103, 132, 162, 0.1);
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.08);
    position: relative;
    overflow: hidden;
}

.service-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-info-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--azul-claro) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 20px rgba(103, 132, 162, 0.15);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--azul-oscuro);
    transition: all 0.5s ease;
}

.service-info-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, var(--azul-grisaceo), var(--azul-oscuro));
    box-shadow: 0 15px 35px rgba(103, 132, 162, 0.3);
}

.service-info-card:hover .service-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.service-info-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-info-card:hover h3 {
    color: var(--azul-grisaceo);
}

.service-info-card p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
}

/* Service Area CTA */
.service-area-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, 
        rgba(225, 237, 252, 0.4) 0%, 
        rgba(255, 255, 255, 0.6) 50%,
        rgba(230, 227, 217, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.1);
    position: relative;
    overflow: hidden;
}

.service-area-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 237, 252, 0.3) 0%, transparent 70%);
    animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-area-cta h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-area-cta p {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: var(--azul-grisaceo);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.service-area-cta .btn {
    position: relative;
    z-index: 1;
}

/* Responsive Service Area */
@media (max-width: 768px) {
    .communities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .community-card {
        padding: 2rem 1.5rem;
    }
    
    .community-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    .community-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .community-card h4 {
        font-size: 1.2rem;
    }
    
    .map-section {
        margin: 3rem 0;
    }
    
    .map-title {
        font-size: 1.6rem;
    }
    
    .map-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .map-container {
        border-radius: 20px;
        border-width: 2px;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    .service-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .service-info-card {
        padding: 2.5rem 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .service-info-card h3 {
        font-size: 1.3rem;
    }
    
    .service-area-cta {
        margin-top: 3rem;
        padding: 3rem 2rem;
        border-radius: 24px;
    }
    
    .service-area-cta h3 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
    
    .service-area-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .service-area-cta .btn {
        width: 100%;
        max-width: 350px;
        font-size: 1.05rem;
        padding: 1.2rem 2.5rem;
    }
}


/* ===== PRACTICAL SUPPORT PAGE ===== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #C5D9F2 0%, #E8F0FA 100%);
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.page-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--azul-grisaceo);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.directory-section {
    padding: var(--section-padding-large);
    background: #ffffff;
    position: relative;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.directory-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(40, 46, 68, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
}

.directory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(40, 46, 68, 0.15);
    border-color: var(--azul-claro);
}

.directory-icon {
    width: 80px;
    height: 80px;
    background: var(--azul-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.directory-icon svg {
    width: 40px;
    height: 40px;
    color: var(--azul-grisaceo);
    transition: all 0.4s ease;
}

.directory-card:hover .directory-icon {
    background: linear-gradient(135deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scale(1.1) rotate(5deg);
}

.directory-card:hover .directory-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.directory-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

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

.directory-list li {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(103, 132, 162, 0.1);
}

.directory-list li:last-child {
    border-bottom: none;
}

.directory-content {
    margin-top: 1rem;
}

.directory-content p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.directory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--azul-grisaceo);
}

.directory-link:hover {
    color: var(--azul-grisaceo);
    border-bottom-color: var(--azul-oscuro);
    transform: translateX(5px);
}

.add-congregation-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--azul-claro) 0%, rgba(225, 237, 252, 0.5) 100%);
    border-radius: 20px;
    text-align: center;
}

.add-congregation-content p {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.add-congregation-content .btn {
    display: inline-block;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .directory-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .directory-card {
        padding: 2rem;
    }

    .add-congregation-cta {
        padding: 2rem 1.5rem;
    }

    .add-congregation-content p {
        font-size: 1.1rem;
    }
}


/* ===================================
   Grief Resources Page Styles
   =================================== */

/* Grid container for resource cards */
.grief-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.grief-resources-grid > :last-child:nth-child(3n+1) {
    grid-column: 2 / 3;
}

/* Calendar widget container */
.calendar-widget-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    max-width: 100%;
}

/* Icon circle styling */
.resource-icon-circle {
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border: 2px solid var(--azul-grisaceo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.grief-resource-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(193, 217, 242, 0.3);
    box-shadow: 0 4px 12px rgba(40, 46, 68, 0.08);
}

.grief-resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-grisaceo), var(--azul-oscuro));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.grief-resource-card:hover::before {
    transform: scaleX(1);
}

.grief-resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(40, 46, 68, 0.15);
    border-color: var(--azul-grisaceo);
}

.resource-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.resource-badge {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--azul-oscuro);
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.2), rgba(193, 217, 242, 0.4));
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(193, 217, 242, 0.5);
}

.grief-resource-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    margin: 0 0 1rem 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.grief-resource-card:hover h3 {
    color: var(--azul-grisaceo);
}

.grief-resource-card p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--azul-grisaceo);
    margin: 0 0 1.5rem 0;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--azul-oscuro);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.grief-resource-card:hover .resource-link {
    gap: 0.8rem;
    color: var(--azul-grisaceo);
}

.resource-link svg {
    transition: transform 0.3s ease;
}

.grief-resource-card:hover .resource-link svg {
    transform: translate(2px, -2px);
}

/* Responsive adjustments for grief resources */
@media (max-width: 768px) {
    /* Force single column on mobile */
    .grief-resources-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .grief-resources-grid > :last-child:nth-child(3n+1) {
        grid-column: auto;
    }
    
    /* Calendar widget container mobile */
    .calendar-widget-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .grief-resource-card {
        padding: 1.5rem;
    }
    
    .grief-resource-card h3 {
        font-size: 1.3rem;
    }
    
    .grief-resource-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Scale down icons for mobile */
    .resource-icon-circle {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
    
    .resource-icon-circle svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .resource-card-header {
        margin-bottom: 1rem;
    }
    
    .resource-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }
    
    .resource-card-header .shiva-icon {
        width: 60px !important;
        height: 60px !important;
    }
}
    .resource-card-header .shiva-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

/* Back Link Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--azul-oscuro);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--azul-grisaceo);
    background: white;
}

.back-link:hover {
    background: var(--azul-oscuro);
    color: white;
    border-color: var(--azul-oscuro);
    transform: translateX(-4px);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .back-link {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .back-link svg {
        width: 18px;
        height: 18px;
    }
}



/* ===================================
   Shiva Essentials Page Styles
   =================================== */

.se-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.se-product-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.se-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--azul-grisaceo);
}

.se-product-image {
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.15), rgba(193, 217, 242, 0.25));
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.se-product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.se-product-card:hover .se-product-img {
    transform: scale(1.05);
}

.se-image-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.se-product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.se-product-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--azul-oscuro);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.se-product-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--azul-oscuro);
    margin: 0;
    line-height: 1.3;
}

.se-product-description {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.se-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--azul-oscuro);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.se-product-link:hover {
    background: var(--azul-grisaceo);
    transform: translateX(4px);
}

.se-product-link svg {
    transition: transform 0.3s ease;
}

.se-product-link:hover svg {
    transform: translate(2px, -2px);
}

.se-multiple-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.se-product-link-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    color: var(--azul-oscuro);
    text-decoration: none;
    border: 2px solid var(--azul-oscuro);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.se-product-link-small:hover {
    background: var(--azul-oscuro);
    color: white;
    transform: translateY(-2px);
}

.se-product-link-small svg {
    transition: transform 0.3s ease;
}

.se-product-link-small:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 768px) {
    .se-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .se-product-image {
        min-height: 220px;
        padding: 0;
    }
    
    .se-product-img {
        height: 220px;
    }
    
    .se-image-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .se-image-placeholder svg {
        width: 60px;
        height: 60px;
    }
    
    .se-multiple-links {
        flex-direction: column;
    }
    
    .se-product-link-small {
        justify-content: space-between;
    }
}


/* ===================================
   Get Involved Page Styles
   =================================== */

.gi-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gi-stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.15), rgba(224, 185, 188, 0.15));
    border-radius: 16px;
    transition: all 0.3s ease;
}

.gi-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gi-stat-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.gi-stat-label {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    font-weight: 600;
}

.gi-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.gi-benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.gi-benefit-item h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--azul-oscuro);
    margin: 0 0 0.75rem 0;
}

.gi-benefit-item p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
    margin: 0;
}

.gi-opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gi-opportunity-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.gi-opportunity-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.gi-icon-wrapper {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gi-icon-wrapper svg {
    color: var(--rosa-mauve);
}

.gi-opportunity-card:hover .gi-icon-wrapper {
    transform: scale(1.05);
}

.gi-opportunity-card h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin: 0;
    line-height: 1.3;
}

.gi-opportunity-card p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    margin: 0;
    line-height: 1.6;
}

.gi-cta-btn-primary {
    background: var(--rosa-mauve) !important;
    color: var(--vino-burgundy) !important;
    border: 2px solid var(--rosa-mauve) !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.gi-cta-btn-primary:hover {
    background: var(--vino-burgundy) !important;
    border-color: var(--vino-burgundy) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(224, 185, 188, 0.5);
}

.gi-cta-btn-secondary {
    background: white !important;
    color: var(--rosa-mauve) !important;
    border: 2px solid var(--rosa-mauve) !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.gi-cta-btn-secondary:hover {
    background: var(--rosa-mauve) !important;
    color: var(--vino-burgundy) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(224, 185, 188, 0.5);
}

.gi-task-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gi-task-list li {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
    padding-left: 1.75rem;
    position: relative;
}

.gi-task-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--azul-oscuro);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .gi-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gi-stat-number {
        font-size: 2.5rem;
    }
    
    .gi-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gi-opportunities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gi-opportunity-card {
        padding: 1.5rem;
    }
    
    .gi-icon-wrapper {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .gi-icon-wrapper svg {
        width: 36px;
        height: 36px;
    }
}

/* ===== VOLUNTEER APPLICATION PAGE ===== */
.va-intro-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    margin-bottom: 2rem;
    text-align: center;
}

.va-intro-content {
    max-width: 700px;
    margin: 0 auto;
}

.va-intro-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.va-intro-icon svg {
    width: 50px;
    height: 50px;
}

.va-intro-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.va-intro-content p {
    font-size: 1.05rem;
    color: var(--azul-grisaceo);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.va-contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: linear-gradient(to right, var(--rosa-mauve-light), #ffffff);
    border-radius: 50px;
    border: 1px solid rgba(224, 185, 188, 0.4);
    font-size: 0.95rem;
    color: var(--azul-oscuro);
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(224, 185, 188, 0.2);
}

.va-contact-info svg {
    width: 22px;
    height: 22px;
    stroke: var(--vino-burgundy);
    flex-shrink: 0;
}

.va-contact-info a {
    color: var(--vino-burgundy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.va-contact-info a:hover {
    color: var(--vino-burgundy-dark);
}

.va-form-link-container {
    margin: 2rem 0;
    text-align: center;
}

.va-form-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--rosa-mauve-light);
    color: var(--azul-oscuro);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1.5px solid var(--rosa-mauve);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(224, 185, 188, 0.35);
    letter-spacing: 0.01em;
}

.va-form-link-btn:hover {
    background: var(--rosa-mauve);
    border-color: var(--rosa-mauve);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 185, 188, 0.5);
    color: var(--azul-oscuro);
}

.va-form-link-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.va-form-link-btn:hover svg {
    transform: translateX(3px);
}

.va-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
}

.va-form-container {
    position: relative;
    width: 100%;
    min-height: 800px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: inset 0 2px 8px rgba(40, 46, 68, 0.08);
}

.va-form-container iframe {
    width: 100%;
    height: 1400px;
    border: none;
    display: block;
}

.va-form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(103, 132, 162, 0.15);
}

.va-form-footer p {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.va-form-footer a {
    color: var(--azul-oscuro);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.va-form-footer a:hover {
    color: var(--azul-grisaceo);
    text-decoration: underline;
}

.va-form-footer a::after {
    content: "→";
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.va-form-footer a:hover::after {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .va-intro-card {
        padding: 2rem 1.5rem;
    }
    
    .va-intro-icon {
        width: 75px;
        height: 75px;
        min-width: 75px;
        min-height: 75px;
    }
    
    .va-intro-icon svg {
        width: 42px;
        height: 42px;
    }
    
    .va-intro-content h2 {
        font-size: 1.8rem;
    }
    
    .va-intro-content p {
        font-size: 1rem;
    }
    
    .va-contact-info {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
    }
    
    .va-form-link-btn {
        font-size: 1rem;
        padding: 15px 28px;
        gap: 10px;
    }
    
    .va-form-link-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .va-form-wrapper {
        padding: 1.5rem;
    }
    
    .va-form-container {
        min-height: 600px;
    }
    
    .va-form-container iframe {
        height: 1200px;
    }
    
    .va-form-footer p {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* ===== VOLUNTEER TESTIMONIALS PAGE ===== */
.vt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.vt-card {
    background: #d0e2f2;
    padding: 3rem 1.5rem 2.5rem;
    border-radius: 0 60px 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(40, 46, 68, 0.12);
}

.vt-card::before {
    content: '\201C';
    position: absolute;
    top: -2rem;
    left: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 5rem;
    color: var(--azul-oscuro);
    line-height: 1;
    z-index: 1;
}

.vt-card::after {
    content: '\201D';
    position: absolute;
    bottom: -2rem;
    right: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 5rem;
    color: var(--azul-oscuro);
    line-height: 1;
    z-index: 1;
}

.vt-card:nth-child(odd)::before,
.vt-card:nth-child(odd)::after {
    color: #d4a0a8;
}

.vt-text {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--azul-oscuro);
    margin: 0 0 1.5rem;
    text-align: justify;
}

.vt-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.vt-author-name {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin: 0;
}

.vt-author-role {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--azul-grisaceo);
    margin: 0;
}

.vt-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.1);
}

.vt-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.2), rgba(224, 185, 188, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vt-empty-state h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    margin: 0 0 0.75rem 0;
}

.vt-empty-state p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin: 0;
    max-width: 500px;
}

@media (max-width: 768px) {
    .vt-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vt-card {
        padding: 2rem 1.5rem;
    }
    
    .vt-text {
        font-size: 1rem;
    }
    
    .vt-author-name {
        font-size: 1rem;
    }
    
    .vt-author-role {
        font-size: 0.85rem;
    }
}

/* ===== STUDENT SERVICE PAGE ===== */
.ss-info-card {
    background: #ffffff;
    padding: 3.5rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(40, 46, 68, 0.1);
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.06);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.ss-info-card::before {
    display: none;
}

.ss-icon-wrapper {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.ss-icon-wrapper svg path {
    stroke: var(--vino-burgundy);
}

.ss-info-card h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.ss-info-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--azul-oscuro);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.ss-benefits-section {
    margin: 4rem 0;
}

.ss-benefits-section h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 3rem;
}

.ss-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ss-benefit-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.ss-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-oscuro), var(--azul-grisaceo));
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ss-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(40, 46, 68, 0.15);
}

.ss-benefit-card:hover::before {
    transform: translateY(0);
}

.ss-benefit-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    border: 2px solid var(--azul-grisaceo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.ss-benefit-card h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
}

.ss-benefit-card p {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
}

.ss-cta-section {
    background: linear-gradient(to right, var(--rosa-mauve-light), #ffffff);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(224, 185, 188, 0.4);
    box-shadow: none;
    text-align: center;
    margin-top: 0;
}

.ss-cta-content h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.ss-cta-content p {
    font-size: 1rem;
    color: var(--azul-oscuro);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ss-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #faf7f5;
    color: var(--azul-oscuro);
    padding: 0.9rem 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--vino-burgundy);
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.ss-cta-button span {
    font-family: var(--font-secondary);
}

.ss-cta-button svg path {
    stroke: var(--vino-burgundy);
}

.ss-cta-button:hover {
    transform: translateY(-2px);
    background: var(--rosa-mauve-light);
    box-shadow: 0 6px 20px rgba(141, 73, 96, 0.15);
}

.ss-cta-button svg {
    transition: transform 0.3s ease;
}

.ss-cta-button:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .ss-info-card {
        padding: 2.5rem 1.5rem;
    }
    
    .ss-icon-wrapper {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .ss-icon-wrapper svg {
        width: 40px;
        height: 40px;
    }
    
    .ss-info-card h2 {
        font-size: 1.6rem;
    }
    
    .ss-info-card p {
        font-size: 0.95rem;
    }
    
    .ss-benefits-section h3 {
        font-size: 1.6rem;
    }
    
    .ss-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ss-benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .ss-benefit-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .ss-benefit-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .ss-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .ss-cta-content h3 {
        font-size: 1.8rem;
    }
    
    .ss-cta-content p {
        font-size: 0.95rem;
    }
    
    .ss-cta-button {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* ===== HONOR LOVED ONE PAGE ===== */
.hl-intro-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hl-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-oscuro), var(--azul-grisaceo));
}

.hl-intro-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    border: 2px solid var(--azul-grisaceo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    flex-shrink: 0;
}

.hl-intro-card h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hl-intro-card p {
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.hl-section {
    margin-bottom: 4rem;
}

.hl-section h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 2.5rem;
}

.hl-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hl-contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(40, 46, 68, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.hl-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-oscuro), var(--azul-grisaceo));
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hl-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(40, 46, 68, 0.15);
}

.hl-contact-card:hover::before {
    transform: translateY(0);
}

.hl-contact-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    border: 2px solid var(--azul-grisaceo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.hl-contact-card h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
}

.hl-contact-card a {
    font-size: 1rem;
    color: var(--azul-grisaceo);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.hl-contact-card a:hover {
    color: var(--azul-oscuro);
}

.hl-options-section {
    margin-top: 4rem;
}

.hl-options-section > h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    text-align: center;
    margin-bottom: 3rem;
}

.hl-option-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hl-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(40, 46, 68, 0.15);
}

/* Accordion specific styles */
.hl-accordion-card {
    cursor: pointer;
}

.hl-accordion-card.active {
    box-shadow: 0 15px 50px rgba(103, 132, 162, 0.2);
}

.hl-accordion-header {
    position: relative;
}

.hl-accordion-toggle {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hl-accordion-toggle:hover {
    background: rgba(103, 132, 162, 0.1);
}

.accordion-arrow {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hl-accordion-card.active .accordion-arrow {
    transform: rotate(180deg);
}

.hl-accordion-content {
    overflow: visible;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, padding 0.4s ease;
}

.hl-option-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.1), rgba(224, 185, 188, 0.1));
    border-bottom: 1px solid rgba(103, 132, 162, 0.1);
}

.hl-option-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    border: 2px solid var(--azul-grisaceo);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hl-option-title {
    flex: 1;
}

.hl-option-title h4 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
}

.hl-option-title p {
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin: 0;
}

.hl-option-content {
    padding: 0 3rem 2.5rem;
}

/* For accordion cards, padding is controlled by JavaScript */
.hl-accordion-content {
    padding: 0 3rem 2.5rem;
}

.hl-option-content > p {
    font-size: 1.05rem;
    color: var(--azul-grisaceo);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hl-form-placeholder {
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.08), rgba(224, 185, 188, 0.08));
    border: 2px dashed rgba(103, 132, 162, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hl-form-placeholder p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .hl-intro-card {
        padding: 2.5rem 2rem;
    }
    
    .hl-intro-icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
    }
    
    .hl-intro-icon svg {
        width: 44px;
        height: 44px;
    }
    
    .hl-intro-card h2 {
        font-size: 1.8rem;
    }
    
    .hl-intro-card p {
        font-size: 1rem;
    }
    
    .hl-section h3 {
        font-size: 1.6rem;
    }
    
    .hl-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hl-contact-card {
        padding: 2rem 1.5rem;
    }
    
    .hl-contact-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    
    .hl-contact-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .hl-options-section > h3 {
        font-size: 1.6rem;
    }
}

/* ===== DONATION FORMS STYLES ===== */
.hl-donation-form {
    margin-top: 2rem;
    text-align: center;
}

.hl-donation-form .btn {
    display: inline-block;
    margin: 1rem auto;
    width: auto;
    text-align: center;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-oscuro);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(103, 132, 162, 0.2);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-oscuro);
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-grisaceo);
    box-shadow: 0 0 0 3px rgba(103, 132, 162, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-option {
    position: relative;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(103, 132, 162, 0.2);
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-oscuro);
}

.payment-label svg {
    width: 24px;
    height: 24px;
    color: var(--azul-grisaceo);
    transition: color 0.3s ease;
}

.payment-option:hover .payment-label {
    border-color: var(--azul-grisaceo);
    background: rgba(225, 237, 252, 0.3);
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--azul-grisaceo);
    background: rgba(225, 237, 252, 0.5);
    box-shadow: 0 4px 15px rgba(103, 132, 162, 0.15);
}

.payment-option input[type="radio"]:checked + .payment-label svg {
    color: var(--azul-oscuro);
}

.payment-instructions {
    margin-top: 1.5rem;
    padding: 2rem;
    background: rgba(225, 237, 252, 0.3);
    border-radius: 16px;
    border: 2px solid rgba(103, 132, 162, 0.2);
}

.instruction-box {
    animation: fadeInUp 0.4s ease;
}

.instruction-box h5 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.instruction-box p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.payment-detail {
    font-weight: 600;
    color: var(--azul-oscuro);
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin: 0.5rem 0;
    border-left: 4px solid var(--azul-grisaceo);
}

.donation-form .btn {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .payment-label {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .payment-instructions {
        padding: 1.5rem;
    }
    
    .instruction-box h5 {
        font-size: 1.1rem;
    }
    
    .payment-detail {
        font-size: 1rem;
    }
}
    
    .hl-option-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .hl-option-icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
    }
    
    .hl-option-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .hl-option-title h4 {
        font-size: 1.4rem;
    }
    
    .hl-option-content {
        padding: 0 1.5rem 2rem;
    }
    
    .hl-accordion-content {
        padding: 0 1.5rem 0;
    }
    
    .hl-option-content > p {
        font-size: 1rem;
    }
    
    .hl-accordion-toggle {
        width: 36px;
        height: 36px;
    }
    
    .accordion-arrow {
        width: 20px;
        height: 20px;
    }
    
    .hl-form-placeholder {
        padding: 2rem 1.5rem;
        min-height: 150px;
    }



/* ===== RABBINIC GUIDANCE PAGE STYLES ===== */

/* Rabbinic Directory Card */
.rabbinic-directory-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(40, 46, 68, 0.08);
    margin-bottom: 4rem;
    overflow: visible;
    border: 1px solid rgba(224, 185, 188, 0.25);
}

.directory-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.directory-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: rgba(224, 185, 188, 0.18);
    border: 1.5px solid var(--rosa-mauve);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.directory-icon svg {
    width: 22px;
    height: 22px;
}

.directory-content h2 {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin: 0;
}

.directory-content p {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
    margin: 0.25rem 0 0 0;
}

.directory-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(to right, rgba(224, 185, 188, 0.22), rgba(255, 255, 255, 0.0));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-left: 3px solid var(--rosa-mauve);
    border-radius: 8px;
    margin: 1.25rem 0 1.5rem 0;
}

.directory-note svg {
    flex-shrink: 0;
    color: var(--rosa-mauve);
}

.directory-note p {
    font-size: 0.9rem;
    color: var(--azul-grisaceo);
    margin: 0;
}

.directory-note a {
    color: var(--azul-oscuro);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.directory-note a:hover {
    color: var(--vino-burgundy);
}

.directory-placeholder {
    padding: 0;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.directory-placeholder p {
    font-size: 1.05rem;
    color: var(--azul-grisaceo);
    font-style: italic;
    margin: 0;
}

/* Rabbis inner card wrapper */
.rabbis-directory-inner-card {
    background: rgba(224, 185, 188, 0.08);
    border: 1.5px solid rgba(224, 185, 188, 0.35);
    border-radius: 14px;
    padding: 1.5rem;
    overflow: visible;
}

.rabbis-directory-inner-card .rabbis-filters-bar {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(224, 185, 188, 0.35);
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding-bottom: 1rem;
    margin-bottom: 0;
    background: transparent;
}

.rabbis-directory-inner-card #rabbis-directory-content {
    padding-top: 0.5rem;
}

/* Resources Section */
.rabbinic-resources-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    margin-top: 0;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 3rem;
}

.decorative-line {
    display: none;
}

.section-header-centered .section-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

/* Removed duplicate .section-subtitle definition that was overriding the main one */

/* Resources Grid */
.rabbinic-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rabbinic-resource-card {
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.18), rgba(224, 185, 188, 0.1));
    padding: 2rem;
    border-radius: 16px;
    border: 1.5px solid rgba(224, 185, 188, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.rabbinic-resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rosa-mauve), var(--vino-burgundy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.rabbinic-resource-card:hover {
    transform: translateY(-6px);
    border-color: var(--rosa-mauve);
    box-shadow: 0 12px 35px rgba(224, 185, 188, 0.3);
}

.rabbinic-resource-card:hover::before {
    transform: scaleX(1);
}

.resource-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(224, 185, 188, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.resource-icon-wrapper svg path,
.resource-icon-wrapper svg circle {
    stroke: var(--rosa-mauve);
}

.rabbinic-resource-card:hover .resource-icon-wrapper {
    background: rgba(224, 185, 188, 0.2);
    border-color: var(--rosa-mauve);
    transform: scale(1.08);
}

.rabbinic-resource-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.rabbinic-resource-card p {
    font-size: 0.9rem;
    color: var(--azul-grisaceo);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.resource-link-arrow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--vino-burgundy);
    transition: gap 0.3s ease;
}

.rabbinic-resource-card:hover .resource-link-arrow {
    gap: 0.65rem;
}

.resource-link-arrow svg {
    transition: transform 0.3s ease;
}

.resource-link-arrow svg path {
    stroke: var(--vino-burgundy);
}

.rabbinic-resource-card:hover .resource-link-arrow svg {
    transform: translate(2px, -2px);
}

/* Featured Card - full width */
.rabbinic-resource-card-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.18), rgba(224, 185, 188, 0.12));
    border: 1.5px solid rgba(224, 185, 188, 0.4);
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.rabbinic-resource-card-featured .resource-icon-wrapper {
    flex-shrink: 0;
    margin-bottom: 0;
}

.rabbinic-resource-card-featured h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.rabbinic-resource-card-featured p {
    margin-bottom: 0.75rem;
    flex-grow: 0;
}

.featured-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: rgba(224, 185, 188, 0.4);
    border: 1.5px solid var(--rosa-mauve);
    color: var(--azul-oscuro);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.featured-badge:hover,
.shiva-card:hover .featured-badge {
    background: rgba(224, 185, 188, 0.65);
    border-color: var(--vino-burgundy);
}

/* Rabbis Directory Styles */
/* Rabbis Directory Styles */
.rabbis-zone-section {
    margin-bottom: 3rem;
}

.zone-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--azul-claro);
}

/* Rabbis List Styles */
.rabbis-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rabbi-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(224, 185, 188, 0.35);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.rabbi-list-item-clickable {
    cursor: pointer;
}

.rabbi-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 185, 188, 0.25);
    border-color: var(--rosa-mauve);
}

.rabbi-list-item-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(224, 185, 188, 0.3);
}

.rabbi-list-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-grisaceo));
    color: white;
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.rabbi-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rabbi-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.rabbi-list-main-info {
    flex: 1;
    min-width: 250px;
}

.rabbi-list-name {
    font-family: var(--font-secondary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin: 0 0 0.5rem 0;
}

.rabbi-list-congregation {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin: 0;
    font-weight: 500;
}

.rabbi-list-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.rabbi-list-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.rabbi-list-badge-denomination {
    background: linear-gradient(135deg, var(--vino-burgundy), var(--rosa-mauve));
    color: white;
}

.rabbi-list-badge-zone {
    background: rgba(224, 185, 188, 0.15);
    color: var(--azul-oscuro);
    border: 1.5px solid rgba(224, 185, 188, 0.6);
}

.rabbi-list-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 185, 188, 0.3);
}

.rabbi-list-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
}

.rabbi-list-detail-item svg {
    flex-shrink: 0;
    color: var(--azul-oscuro);
}

.rabbi-list-website {
    margin-left: auto;
    color: var(--azul-oscuro);
    font-weight: 600;
}

.rabbi-list-item-clickable .rabbi-list-website {
    padding: 0.5rem 1rem;
    background: rgba(224, 185, 188, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rabbi-list-item-clickable:hover .rabbi-list-website {
    background: var(--rosa-mauve);
    color: white;
}

/* Rabbis Filters Bar - Compact Design with Dropdowns */
.rabbis-filters-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 1.5px solid rgba(224, 185, 188, 0.35);
    border-radius: 14px;
    margin-bottom: 0;
    flex-wrap: wrap;
    animation: slideInFromTop 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    position: relative;
    overflow: visible !important;
    z-index: 100;
}

.filter-search {
    flex: 1;
    min-width: 180px;
}

.rabbis-search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(224, 185, 188, 0.22);
    border: 1.5px solid rgba(224, 185, 188, 0.7);
    border-radius: 20px;
    padding: 0.45rem 0.9rem;
}

.rabbis-search-wrapper svg {
    flex-shrink: 0;
}

.rabbis-search-wrapper svg circle,
.rabbis-search-wrapper svg path {
    stroke: var(--rosa-mauve);
}

.rabbis-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    color: var(--azul-oscuro);
    width: 100%;
}

.rabbis-search-input::placeholder {
    color: var(--azul-grisaceo);
    opacity: 0.7;
}

.rabbis-search-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--azul-grisaceo);
}

.rabbis-search-prompt svg circle,
.rabbis-search-prompt svg path {
    stroke: var(--rosa-mauve);
}

.rabbis-search-prompt p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--vino-burgundy);
    max-width: 380px;
    line-height: 1.6;
    opacity: 0.85;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    position: relative;
    z-index: inherit;
}

/* Delay escalonado para cada sección */
.filter-section:nth-child(1) {
    animation-delay: 0.1s;
}

.filter-section:nth-child(3) {
    animation-delay: 0.2s;
}

.filter-section:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.filter-section-label {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    white-space: nowrap;
}

.filter-buttons-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--azul-oscuro);
    background: white;
    color: var(--azul-oscuro);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover:not(.active) {
    background: var(--azul-claro);
}

.filter-btn.active {
    background: var(--azul-oscuro);
    color: white;
}

.filter-separator {
    width: 2px;
    height: 32px;
    background: rgba(103, 132, 162, 0.2);
    animation: growHeight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: center;
    opacity: 0;
}

/* Delay para los separadores */
.filter-separator:nth-of-type(2) {
    animation-delay: 0.15s;
}

.filter-separator:nth-of-type(4) {
    animation-delay: 0.25s;
}

@keyframes growHeight {
    from {
        opacity: 0;
        height: 0;
    }
    to {
        opacity: 1;
        height: 32px;
    }
}

/* Custom Dropdown Styles - Similar al header */
.custom-dropdown {
    position: relative;
    display: inline-block;
    z-index: 500;
}

.custom-dropdown.active {
    z-index: 10000;
}

.custom-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.9rem;
    border: 1.5px solid rgba(224, 185, 188, 0.75);
    border-radius: 20px;
    background: rgba(224, 185, 188, 0.15);
    color: var(--azul-oscuro);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow: none;
}

.custom-dropdown-btn-small {
    min-width: 80px;
}

.custom-dropdown-btn:hover {
    background-color: rgba(224, 185, 188, 0.28);
    border-color: var(--rosa-mauve);
    transform: none;
    box-shadow: none;
}

.dropdown-arrow-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.dropdown-arrow-icon path {
    stroke: var(--azul-oscuro);
    transition: stroke 0.3s ease;
}

.custom-dropdown.active .dropdown-arrow-icon {
    transform: rotate(180deg);
}

.custom-dropdown.active .dropdown-arrow-icon path {
    stroke: var(--azul-grisaceo);
}

/* Dropdown Menu - Igual que el header */
.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(224, 185, 188, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    list-style: none;
    padding: 0.8rem 0;
    margin: 0;
    border: 1.5px solid rgba(224, 185, 188, 0.45);
    z-index: 10001;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: visible;
    min-width: 100%;
    width: max-content;
}

.custom-dropdown.active .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-menu li {
    padding: 0;
    list-style: none;
}

.custom-dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--azul-oscuro);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.custom-dropdown-menu a:hover {
    background: rgba(224, 185, 188, 0.15);
    border-left-color: var(--rosa-mauve);
    padding-left: 1.8rem;
}

.custom-dropdown-menu a.active {
    background: rgba(224, 185, 188, 0.2);
    border-left-color: var(--vino-burgundy);
    font-weight: 600;
}

/* Scrollbar para el dropdown menu */
.custom-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(224, 185, 188, 0.1);
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--rosa-mauve);
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--vino-burgundy);
}

/* Pagination */
.rabbis-pagination-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(193, 217, 242, 0.3);
}

.pagination-info {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    margin-bottom: 1rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--azul-oscuro);
    background: white;
    color: var(--azul-oscuro);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--azul-oscuro);
    color: white;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    border: 2px solid var(--azul-oscuro);
    background: white;
    color: var(--azul-oscuro);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover:not(.active) {
    background: var(--azul-claro);
}

.pagination-number.active {
    background: var(--azul-oscuro);
    color: white;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--azul-grisaceo);
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 968px) {
    .zone-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .rabbis-filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .filter-section-label {
        font-size: 0.9rem;
    }

    .custom-dropdown {
        width: 100%;
    }

    .custom-dropdown-btn {
        width: 100%;
        min-width: unset;
    }

    .filter-separator {
        width: 100%;
        height: 2px;
    }
}

@media (max-width: 640px) {
    .rabbi-list-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .rabbi-list-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .rabbi-list-header {
        flex-direction: column;
        gap: 1rem;
    }

    .rabbi-list-badges {
        width: 100%;
    }

    .rabbi-list-badge {
        flex: 1;
        text-align: center;
    }

    .rabbi-list-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .rabbi-list-website {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .zone-filters,
    .denomination-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .zone-filter-btn,
    .denomination-filter-btn {
        width: 100%;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-btn {
        width: 100%;
        justify-content: center;
    }

    .pagination-numbers {
        justify-content: center;
    }

    .results-per-page {
        flex-direction: column;
        gap: 0.75rem;
    }
}

    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-btn {
        width: 100%;
        justify-content: center;
    }

    .pagination-numbers {
        justify-content: center;
    }

    .results-per-page {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .zone-filter-btn {
        width: 100%;
        text-align: center;
    }

/* Responsive Design */
@media (max-width: 968px) {
    .rabbinic-directory-card,
    .rabbinic-resources-section {
        padding: 1.5rem 1.25rem;
    }

    .directory-header {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .directory-content h2 {
        font-size: 1.35rem;
    }

    .section-header-centered .section-title {
        font-size: 1.8rem;
    }

    .rabbinic-resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .directory-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .rabbinic-directory-card,
    .rabbinic-resources-section {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .directory-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .directory-icon svg {
        width: 36px;
        height: 36px;
    }

    .directory-content h2 {
        font-size: 1.4rem;
    }

    .section-header-centered .section-title {
        font-size: 1.5rem;
    }

    .rabbinic-resource-card {
        padding: 1.5rem;
    }

    .resource-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .resource-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }
}

/* Congregations Grid */
.congregations-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.congregation-card {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(103, 132, 162, 0.15);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.congregation-card:hover {
    border-color: var(--azul-grisaceo);
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.1);
}

.congregation-left {
    flex-shrink: 0;
}

.congregation-right {
    flex: 1;
    min-width: 0;
}

.congregation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.congregation-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.2), rgba(193, 217, 242, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.congregation-denomination {
    padding: 0.4rem 1rem;
    background: rgba(193, 217, 242, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--azul-oscuro);
}

.congregation-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.congregation-rabbi {
    font-size: 1rem;
    font-weight: 600;
    color: var(--azul-grisaceo);
    margin-bottom: 0.75rem;
}

.congregation-description {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.congregation-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.service-tag {
    padding: 0.35rem 0.85rem;
    background: rgba(224, 185, 188, 0.15);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--azul-oscuro);
}

.congregation-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(103, 132, 162, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--azul-grisaceo);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--azul-grisaceo);
}

.contact-item a {
    color: var(--azul-oscuro);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--azul-grisaceo);
    text-decoration: underline;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.loading-spinner p {
    font-size: 1.05rem;
    color: var(--azul-grisaceo);
    font-style: italic;
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(103, 132, 162, 0.1);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 2px solid rgba(103, 132, 162, 0.2);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--azul-oscuro);
    color: #ffffff;
    border-color: var(--azul-oscuro);
}

.pagination-btn svg {
    transition: transform 0.3s ease;
}

.pagination-btn:hover svg {
    transform: translateX(0);
}

.pagination-prev:hover svg {
    transform: translateX(-3px);
}

.pagination-next:hover svg {
    transform: translateX(3px);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid rgba(103, 132, 162, 0.2);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: rgba(193, 217, 242, 0.2);
    border-color: var(--azul-grisaceo);
}

.pagination-number.active {
    background: var(--azul-oscuro);
    color: #ffffff;
    border-color: var(--azul-oscuro);
}

@media (max-width: 968px) {
    .congregation-card {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .congregation-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .congregation-contact {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .congregation-card {
        padding: 1.25rem;
    }

    .congregation-card h3 {
        font-size: 1.25rem;
    }

    .congregation-icon {
        width: 48px;
        height: 48px;
    }

    .congregation-icon svg {
        width: 24px;
        height: 24px;
    }

    .congregation-services {
        gap: 0.4rem;
    }

    .service-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .pagination {
        gap: 0.5rem;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-btn {
        padding: 0.6rem;
    }

    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}


/* ===== KOSHER CATERING PAGE STYLES ===== */

.kosher-resources-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
}

.kosher-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.kosher-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kosher-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
}

.kosher-content p {
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
    margin: 0;
}

.kosher-link-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(103, 132, 162, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.kosher-link-card:hover {
    border-color: var(--azul-grisaceo);
    box-shadow: 0 8px 25px rgba(40, 46, 68, 0.12);
}

.kosher-link-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
}

.kosher-link-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.2), rgba(193, 217, 242, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kosher-link-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.kosher-link-text p {
    font-size: 1rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
    margin: 0;
}

.kosher-link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--azul-oscuro);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(40, 46, 68, 0.2);
}

.kosher-link-btn:hover {
    background: var(--azul-grisaceo);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 46, 68, 0.3);
}

.kosher-link-btn svg {
    transition: transform 0.3s ease;
}

.kosher-link-btn:hover svg {
    transform: translate(2px, -2px);
}

.kosher-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(193, 217, 242, 0.1);
    border-left: 4px solid var(--azul-grisaceo);
    border-radius: 12px;
}

.kosher-info-box svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.kosher-info-box p {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .kosher-resources-card {
        padding: 2rem 1.5rem;
    }

    .kosher-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .kosher-link-card {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
    }

    .kosher-link-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .kosher-link-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .kosher-resources-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .kosher-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .kosher-icon svg {
        width: 36px;
        height: 36px;
    }

    .kosher-content h2 {
        font-size: 1.8rem;
    }

    .kosher-link-card {
        padding: 1.5rem;
    }

    .kosher-link-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .kosher-link-icon svg {
        width: 28px;
        height: 28px;
    }

    .kosher-link-text h3 {
        font-size: 1.25rem;
    }

    .kosher-link-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .kosher-info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Categories Section */
.kosher-categories-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    margin-top: 3rem;
}

.kosher-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kosher-category-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(103, 132, 162, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.kosher-category-card:hover {
    border-color: var(--azul-grisaceo);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(40, 46, 68, 0.12);
}

.category-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.2), rgba(193, 217, 242, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kosher-category-card:hover .category-icon {
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.35), rgba(193, 217, 242, 0.5));
    transform: scale(1.1);
}

.kosher-category-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
}

.kosher-category-card p {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
    margin: 0;
}

/* Tips Section */
.kosher-tips-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(40, 46, 68, 0.12);
    margin-top: 3rem;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(103, 132, 162, 0.1);
}

.tips-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 217, 242, 0.25), rgba(193, 217, 242, 0.4));
    border: 2px solid var(--azul-grisaceo);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tips-header h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.5rem;
}

.tips-header p {
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(103, 132, 162, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: var(--azul-grisaceo);
    box-shadow: 0 4px 20px rgba(40, 46, 68, 0.1);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--azul-oscuro);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 46, 68, 0.2);
}

.tip-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.tip-card p {
    font-size: 0.95rem;
    color: var(--azul-grisaceo);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .kosher-categories-section,
    .kosher-tips-section {
        padding: 2rem 1.5rem;
    }

    .kosher-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tips-header {
        flex-direction: column;
        text-align: center;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .kosher-categories-section,
    .kosher-tips-section {
        padding: 1.5rem 1rem;
    }

    .tips-icon {
        width: 60px;
        height: 60px;
    }

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

    .tips-header h2 {
        font-size: 1.4rem;
    }

    .tip-card {
        padding: 1.75rem 1.5rem;
    }
}


/* ===================================
   PRINTABLE GUIDES & PRAYERS PAGE STYLES
   =================================== */

/* Category Card - Main Container */
.printable-category-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(224, 185, 188, 0.15);
}

/* Category Header */
.printable-category-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(224, 185, 188, 0.15);
}

.category-icon-large {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-large svg {
    width: 100%;
    height: 100%;
}

.printable-category-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin: 0 0 0.5rem 0;
}

.printable-category-header p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin: 0;
    line-height: 1.6;
}

/* Downloads List */
.printable-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Download Item */
.printable-download-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(224, 185, 188, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(224, 185, 188, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.printable-download-item:hover {
    background: rgba(91, 132, 162, 0.05);
    border-color: var(--azul-oscuro);
    transform: translateX(8px);
}

.download-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 132, 162, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.printable-download-item:hover .download-icon {
    background: var(--azul-oscuro);
}

.printable-download-item:hover .download-icon svg path {
    stroke: white;
}

.download-icon svg {
    width: 24px;
    height: 24px;
}

.download-content {
    flex: 1;
}

.download-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin: 0 0 0.25rem 0;
}

.download-content p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--azul-grisaceo);
    margin: 0;
}

.download-btn-wrapper {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--azul-oscuro);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    background: white;
    border: 1px solid rgba(224, 185, 188, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.printable-download-item:hover .download-btn-wrapper {
    background: var(--azul-oscuro);
    color: white;
    border-color: var(--azul-oscuro);
}

.download-btn-wrapper svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.printable-download-item:hover .download-btn-wrapper svg {
    transform: translate(2px, -2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .printable-category-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .printable-category-header {
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .category-icon-large {
        width: 48px;
        height: 48px;
    }

    .printable-category-header h2 {
        font-size: 1.75rem;
    }

    .printable-download-item {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .download-btn-wrapper {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .printable-category-card {
        padding: 1.5rem 1rem;
    }

    .printable-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .category-icon-large {
        width: 40px;
        height: 40px;
    }

    .printable-category-header h2 {
        font-size: 1.5rem;
    }

    .printable-category-header p {
        font-size: 0.9rem;
    }

    .printable-download-item {
        padding: 1.25rem;
    }

    .download-icon {
        width: 40px;
        height: 40px;
    }

    .download-icon svg {
        width: 20px;
        height: 20px;
    }

    .download-content h3 {
        font-size: 1.1rem;
    }

    .download-content p {
        font-size: 0.85rem;
    }
}


/* ===================================
   KEEPING THEIR LIGHT ALIVE PAGE STYLES
   =================================== */

/* Introduction Card */
.light-intro-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(224, 185, 188, 0.15);
    text-align: center;
}

.light-intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(224, 185, 188, 0.1) 0%, rgba(91, 132, 162, 0.1) 100%);
    border-radius: 50%;
}

.light-intro-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin: 0 0 1rem 0;
}

.light-intro-card p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--azul-grisaceo);
    margin: 0;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Mitzvah Options Grid */
.mitzvah-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Mitzvah Option Card */
.mitzvah-option-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(224, 185, 188, 0.15);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}



.mitzvah-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-oscuro) 0%, var(--azul-grisaceo) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mitzvah-option-card:hover::before {
    transform: scaleX(1);
}

.mitzvah-option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--azul-oscuro);
}

.mitzvah-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 132, 162, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.mitzvah-option-card:hover .mitzvah-icon {
    background: var(--azul-oscuro);
    transform: scale(1.1);
}

.mitzvah-option-card:hover .mitzvah-icon svg path,
.mitzvah-option-card:hover .mitzvah-icon svg circle,
.mitzvah-option-card:hover .mitzvah-icon svg rect,
.mitzvah-option-card:hover .mitzvah-icon svg ellipse {
    stroke: white;
}

.mitzvah-option-card:hover .mitzvah-icon svg circle[fill],
.mitzvah-option-card:hover .mitzvah-icon svg path[fill],
.mitzvah-option-card:hover .mitzvah-icon svg rect[fill] {
    fill: white;
}

.mitzvah-option-card:hover .mitzvah-icon svg text {
    fill: white;
}

.mitzvah-option-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--azul-oscuro);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.mitzvah-option-card p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: var(--azul-grisaceo);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.mitzvah-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--azul-oscuro);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}

.mitzvah-option-card:hover .mitzvah-link-arrow {
    color: var(--azul-oscuro);
    transform: translateX(4px);
}

.mitzvah-link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.mitzvah-option-card:hover .mitzvah-link-arrow svg {
    transform: translate(2px, -2px);
}

/* Contact Cards (No External Link) */
.mitzvah-contact-card {
    cursor: default;
}

.mitzvah-contact-card:hover {
    transform: translateY(-4px);
}

.mitzvah-contact-info {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--azul-grisaceo);
    font-style: italic;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 185, 188, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .light-intro-card {
        padding: 2rem 1.5rem;
    }

    .light-intro-icon {
        width: 64px;
        height: 64px;
    }

    .light-intro-card h2 {
        font-size: 1.75rem;
    }

    .light-intro-card p {
        font-size: 1rem;
    }

    .mitzvah-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mitzvah-option-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .light-intro-card {
        padding: 1.5rem 1rem;
    }

    .light-intro-icon {
        width: 56px;
        height: 56px;
    }

    .light-intro-card h2 {
        font-size: 1.5rem;
    }

    .light-intro-card p {
        font-size: 0.95rem;
    }

    .mitzvah-icon {
        width: 64px;
        height: 64px;
    }

    .mitzvah-option-card h3 {
        font-size: 1.3rem;
    }

    .mitzvah-option-card p {
        font-size: 0.95rem;
    }
}

.featured-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    z-index: 1;
    pointer-events: none;
}

/* ===== PRACTICAL SUPPORT - RESOURCE ACCORDION ===== */
.resource-accordion-btn {
    background: linear-gradient(to right, rgba(224, 185, 188, 0.35), #ffffff) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.resource-accordion-btn:hover {
    background: linear-gradient(to right, rgba(224, 185, 188, 0.55), #ffffff) !important;
}
.scroll-animate .resource-accordion-btn,
.scroll-animate.animate-in .resource-accordion-btn {
    background: linear-gradient(to right, rgba(224, 185, 188, 0.35), #ffffff) !important;
}

/* ===== VIDEO GRID PAGINATION ===== */
[id$="-pagination"] .pagination {
    margin-top: 2.5rem;
    justify-content: center;
}
