.hero-visual {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 12px;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 480px;
    overflow: hidden;
    border-radius: 28px !important;
    background: transparent;
    box-shadow: none;
    border: none;
    isolation: isolate;
}

.carousel-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    border-radius: 28px !important;
    overflow: hidden !important;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 28px !important;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: none;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 16px 14px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 14px;
    box-sizing: border-box;
    opacity: 0.3;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

@media (min-width: 900px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

.testimonial-slide .testimonial-card {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 38px 32px 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(79, 148, 0, 0.14), transparent 45%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.testimonial-slide .testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--verde-claro), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.is-active .testimonial-card::after {
    opacity: 1;
}

.testimonial-slide .testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -22px;
    right: 22px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 9rem;
    line-height: 1;
    color: rgba(182, 240, 116, 0.18);
    font-weight: 700;
    pointer-events: none;
    transition: color 0.4s ease, transform 0.4s ease;
}

.testimonial-slide.is-active .testimonial-card:hover::before {
    color: rgba(182, 240, 116, 0.32);
    transform: scale(1.05) rotate(-4deg);
}

.testimonial-slide.is-active .testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(182, 240, 116, 0.5);
    box-shadow:
        0 30px 60px -25px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(182, 240, 116, 0.3),
        0 0 40px -10px rgba(182, 240, 116, 0.35);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-stars i {
    color: var(--verde-claro);
    font-size: 0.92rem;
    filter: drop-shadow(0 2px 6px rgba(182, 240, 116, 0.45));
    opacity: 0;
    transform: scale(0.4) rotate(-30deg);
}

.testimonial-slide.is-active .testimonial-stars i {
    animation: starPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.testimonial-slide.is-active .testimonial-stars i:nth-child(1) { animation-delay: 0.10s; }
.testimonial-slide.is-active .testimonial-stars i:nth-child(2) { animation-delay: 0.20s; }
.testimonial-slide.is-active .testimonial-stars i:nth-child(3) { animation-delay: 0.30s; }
.testimonial-slide.is-active .testimonial-stars i:nth-child(4) { animation-delay: 0.40s; }
.testimonial-slide.is-active .testimonial-stars i:nth-child(5) { animation-delay: 0.50s; }

@keyframes starPop {
    0%   { opacity: 0; transform: scale(0.3) rotate(-35deg); }
    65%  { opacity: 1; transform: scale(1.2) rotate(6deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

.testimonial-slide .testimonial-card p {
    position: relative;
    z-index: 1;
    color: #f1f7fb;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 28px;
    font-style: italic;
    letter-spacing: 0.1px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.testimonial-author .avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--verde) 0%, var(--verde-claro) 100%);
    color: var(--azul-oscuro);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(79, 148, 0, 0.4);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-author .avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--verde-claro), transparent 60%, var(--verde-claro));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: rotateRing 6s linear infinite;
}

.testimonial-slide.is-active .testimonial-card:hover .avatar {
    transform: scale(1.08) rotate(-5deg);
}

.testimonial-slide.is-active .testimonial-card:hover .avatar::after {
    opacity: 1;
}

@keyframes rotateRing {
    to { transform: rotate(360deg); }
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--verde-claro);
    letter-spacing: 0.2px;
}

.testimonials-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.95);
    color: var(--azul-oscuro);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.testimonials-carousel .carousel-btn:hover {
    background: var(--verde);
    color: #fff;
    transform: translateY(-50%) scale(1.14);
    box-shadow: 0 14px 32px rgba(79, 148, 0, 0.5);
}

.testimonials-carousel .carousel-btn:active {
    transform: translateY(-50%) scale(0.94);
}

.testimonials-carousel .carousel-btn.prev { left: 2px; }
.testimonials-carousel .carousel-btn.next { right: 2px; }

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.testimonials-indicators .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials-indicators .carousel-dot::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: border-color 0.4s ease;
}

.testimonials-indicators .carousel-dot:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: scale(1.15);
}

.testimonials-indicators .carousel-dot.active {
    background: var(--verde-claro);
    width: 32px;
    border-radius: 10px;
    box-shadow: 0 0 0 4px rgba(182, 240, 116, 0.22), 0 0 20px rgba(182, 240, 116, 0.4);
}

.testimonials-indicators .carousel-dot.active::before {
    border-color: rgba(182, 240, 116, 0.4);
}

@media (max-width: 640px) {
    .testimonials-carousel { padding: 10px 10px 0; }
    .testimonial-slide { padding: 0 8px; }
    .testimonial-slide .testimonial-card { padding: 28px 22px 24px; border-radius: 22px; }
    .testimonial-slide .testimonial-card::before { font-size: 7rem; top: -18px; right: 16px; }
    .testimonial-slide .testimonial-card p { font-size: 0.96rem; margin-bottom: 22px; }
    .testimonial-author .avatar { width: 42px; height: 42px; }
    .testimonials-carousel .carousel-btn { width: 40px; height: 40px; font-size: 0.85rem; }
    .testimonials-carousel .carousel-btn.prev { left: 0; }
    .testimonials-carousel .carousel-btn.next { right: 0; }
    .testimonials-indicators { margin-top: 26px; }
}

.gallery-section {
    background: var(--crema);
    padding: 88px 0;
}

.gallery-section .hero-visual {
    margin: 0 auto;
    max-width: 680px;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero-content { gap: 40px; }
    .hero-text h1 { font-size: 2.4rem; }
    .section-header h2 { font-size: 2rem; }
    .plans-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 860px) {
    .container { padding: 0 18px; }
    .hero { padding: 50px 0 60px; }
    .hero-content { flex-direction: column; text-align: center; gap: 32px; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons,
    .hero-stats { justify-content: center; }
    .hero-visual { width: 100%; max-width: 100%; margin-top: 10px; }
    section { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.75rem; }
    .section-header p { font-size: 1rem; }
    .about-grid,
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-visual { grid-template-columns: 1fr 1fr; gap: 14px; }
    .about-tile:nth-child(2),
    .about-tile:nth-child(4) { transform: none; }
    .about-tile:nth-child(2):hover,
    .about-tile:nth-child(4):hover { transform: translateY(-5px); }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; grid-row: auto; }
    .plans-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .carousel-btn { width: 38px; height: 38px; z-index: 30; }
    .carousel-btn.prev { left: 8px; }
    .carousel-btn.next { right: 8px; }
    .hero-text h1 { font-size: 2.1rem; }
    .hero-text p { font-size: 1rem; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    body { font-size: 15px; line-height: 1.55; }
    .hero-text h1 { font-size: 1.8rem; line-height: 1.2; }
    .hero-eyebrow { font-size: 0.72rem; padding: 6px 14px; }
    .hero-text p { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 22px; }
    .hero-stat strong { font-size: 1.4rem; }
    .hero-stat span { font-size: 0.8rem; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.95rem; }
    section { padding: 48px 0; }
    .about-visual { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-tile { padding: 20px 16px; }
    .about-tile h4 { font-size: 0.9rem; }
    .about-tile p { font-size: 0.8rem; }
    .bento-card { padding: 28px 22px; border-radius: 24px; }
    .bento-card h3 { font-size: 1.15rem; }
    .bento-card p { font-size: 0.92rem; }
    .bento-card.large::after { font-size: 8rem; }
    .bento-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 18px; }
    .plan-card { padding: 30px 22px; }
    .plan-name { font-size: 1.2rem; }
    .testimonial-card { padding: 24px; }
    .cta { padding: 60px 0; }
    .cta-form { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .footer-bottom a { margin: 0 6px; }
    .carousel-container { border-radius: 14px !important; max-height: 340px; }
    .carousel-btn { width: 34px; height: 34px; font-size: 0.85rem; z-index: 30; }
    .carousel-btn.prev { left: 6px; }
    .carousel-btn.next { right: 6px; }
    .carousel-caption { padding: 40px 16px 16px; }
    .carousel-caption h4 { font-size: 1.05rem; }
    .carousel-caption p { font-size: 0.82rem; }
    .carousel-dot { width: 7px; height: 7px; }
    .carousel-dot.active { width: 20px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
    .navbar { padding: 10px 0; gap: 10px; }
    .logo { font-size: 1.2rem; }
    .logo-img,
    .logo-mark { width: 34px; height: 34px; }
    .nav-actions .btn { font-size: 0.82rem; padding: 9px 16px; }
    .menu-toggle { width: 38px; height: 38px; font-size: 1.2rem; }
    .mobile-menu a { padding: 11px 12px; font-size: 0.95rem; }
}

@media (max-width: 380px) {
    .hero-text h1 { font-size: 1.55rem; }
    .about-visual { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 14px; align-items: center; }
    .section-header h2 { font-size: 1.35rem; }
}

.plans-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    align-items: stretch;
    margin-top: 20px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid #e2ebf3;
    border-radius: 26px;
    padding: 36px 26px 30px;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -30px rgba(10, 61, 98, 0.35);
    border-color: var(--verde-claro);
}

.plan-card.featured {
    border: 2px solid var(--verde);
    background: linear-gradient(180deg, #f6ffec 0%, #ffffff 60%);
    box-shadow: 0 25px 50px -25px rgba(79, 148, 0, 0.55);
    transform: translateY(-6px);
}

.plan-card.featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px -30px rgba(79, 148, 0, 0.65);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 8px 20px -6px rgba(79, 148, 0, 0.55);
}

.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(79, 148, 0, 0.12);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.plan-card:hover .plan-icon {
    transform: scale(1.06) rotate(-3deg);
    background: rgba(182, 240, 116, 0.35);
}

.plan-card.featured .plan-icon {
    background: linear-gradient(135deg, var(--verde), var(--verde-claro));
    color: #ffffff;
    box-shadow: 0 10px 22px -10px rgba(79, 148, 0, 0.7);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--azul-oscuro);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.plan-subtitle {
    font-size: 0.86rem;
    color: var(--gris-texto);
    margin-bottom: 20px;
    line-height: 1.45;
    min-height: 38px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.5;
}

.plan-features i {
    color: var(--verde);
    font-size: 0.86rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.plan-card .btn {
    width: 100%;
    margin-top: auto;
    justify-content: center;
    font-size: 0.9rem;
    padding: 11px 18px;
}

@media (max-width: 1100px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 22px !important; }
    .plan-card.featured { transform: none; }
}

@media (max-width: 640px) {
    .plans-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .plan-card { padding: 30px 22px 26px; border-radius: 22px; }
    .plan-card.featured { transform: none; }
    .plan-name { font-size: 1.15rem; }
    .plan-icon { width: 50px; height: 50px; font-size: 1.25rem; }
    .plan-subtitle { min-height: auto; }
}

.nav-actions .btn.btn-outline {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px solid var(--verde) !important;
    color: var(--verde) !important;
    background: transparent !important;
    padding: 9px 18px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease,
        border-color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

.nav-actions .btn.btn-outline:hover,
.nav-actions .btn.btn-outline:focus-visible {
    background: var(--verde) !important;
    border-color: var(--verde) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -8px rgba(79, 148, 0, 0.65);
}

.nav-actions .btn.btn-outline:active {
    background: var(--verde-oscuro) !important;
    border-color: var(--verde-oscuro) !important;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .nav-actions .btn.btn-outline { display: inline-flex !important; }
}

.nav-actions .btn.btn-primary {
    background: var(--verde) !important;
    border-color: var(--verde) !important;
    color: #ffffff !important;
    padding: 9px 18px !important;
    font-size: 0.86rem !important;
    box-shadow: 0 8px 18px -8px rgba(79, 148, 0, 0.6) !important;
}

.nav-actions .btn.btn-primary:hover {
    background: var(--verde-oscuro) !important;
    border-color: var(--verde-oscuro) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -8px rgba(79, 148, 0, 0.75) !important;
}

.navbar {
    padding: 8px 0 !important;
    gap: 14px !important;
}

.logo {
    font-size: 1.3rem !important;
    gap: 8px !important;
}

.logo-img,
.logo-mark {
    width: 34px !important;
    height: 34px !important;
}

.nav-links a {
    padding: 6px 12px !important;
    font-size: 0.92rem !important;
}

.nav-actions .btn {
    padding: 7px 16px !important;
    font-size: 0.82rem !important;
}

.menu-toggle {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.2rem !important;
}

html {
    scroll-padding-top: 70px !important;
}

header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.95) 100%) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(10, 61, 98, 0.08) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 4px 20px -8px rgba(10, 61, 98, 0.08) !important;
    transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 6px 24px -10px rgba(10, 61, 98, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}

.navbar {
    padding: 10px 0 !important;
    gap: 16px !important;
    align-items: center !important;
}

.logo {
    font-size: 1.28rem !important;
    gap: 10px !important;
    transition: opacity 0.25s ease !important;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img,
.logo-mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px -4px rgba(10, 61, 98, 0.25);
}

.logo-mark {
    background: linear-gradient(135deg, var(--azul), var(--verde)) !important;
}

.nav-links { gap: 4px !important; }

.nav-links a {
    padding: 8px 14px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    border-radius: 30px !important;
    transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease !important;
}

.nav-links a:hover {
    background: var(--verde-claro) !important;
    color: var(--azul-oscuro) !important;
    transform: translateY(-1px);
}

.nav-links a.active {
    background: var(--verde-claro) !important;
    color: var(--azul-oscuro) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px -2px rgba(182, 240, 116, 0.55);
}

.nav-actions { gap: 8px !important; }

.nav-actions .btn {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    border-radius: 40px !important;
    transition: all 0.25s ease !important;
}

.menu-toggle {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.15rem !important;
    border-radius: 10px !important;
}

.menu-toggle:hover {
    background: rgba(182, 240, 116, 0.4) !important;
    color: var(--azul-oscuro) !important;
}

html { scroll-padding-top: 72px !important; }

.mobile-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(10, 61, 98, 0.08) !important;
    box-shadow: 0 8px 24px -12px rgba(10, 61, 98, 0.15) !important;
    padding: 0 20px 20px !important;
}

.mobile-menu a {
    padding: 11px 14px !important;
    font-size: 0.94rem !important;
    border-radius: 10px !important;
}

.mobile-menu a:hover {
    background: var(--verde-claro) !important;
    color: var(--azul-oscuro) !important;
}

.mobile-menu a.active {
    background: var(--verde-claro) !important;
    color: var(--azul-oscuro) !important;
    font-weight: 700 !important;
}

@media (max-width: 640px) {
    .navbar { padding: 8px 0 !important; gap: 10px !important; }
    .logo { font-size: 1.12rem !important; }
    .logo-img,
    .logo-mark { width: 32px !important; height: 32px !important; }
    .nav-actions .btn { padding: 7px 14px !important; font-size: 0.78rem !important; }
    .menu-toggle { width: 36px !important; height: 36px !important; font-size: 1.1rem !important; }
    html { scroll-padding-top: 64px !important; }
}

.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 24px !important;
    min-height: 64px !important;
}

.logo {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
}

.nav-links {
    flex: 2 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    gap: 6px !important;
}

.nav-actions {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.nav-links a {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(260px, auto);
    gap: 24px;
}

.bento-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 28px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px -20px rgba(10, 61, 98, 0.1);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -20px rgba(10, 61, 98, 0.25);
    border-color: var(--verde-claro);
}

.bento-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(79, 148, 0, 0.1);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.bento-card:hover .bento-icon {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(182, 240, 116, 0.4);
}

.bento-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--azul-oscuro);
    margin-bottom: 12px;
    line-height: 1.25;
}

.bento-card p {
    color: var(--gris-texto);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #ffffff, #f7f9fc);
    justify-content: center;
}

.bento-card.wide { grid-column: span 2; }

.bento-card.dark {
    background: var(--azul-oscuro);
    border-color: var(--azul-oscuro);
}

.bento-card.dark h3 { color: #ffffff; }
.bento-card.dark p { color: #b9cddd; }
.bento-card.dark .bento-icon {
    background: rgba(182, 240, 116, 0.15);
    color: var(--verde-claro);
}
.bento-card.dark:hover { border-color: var(--verde-claro); }

.bento-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.bento-stat strong {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--verde-claro);
    line-height: 1;
}

.bento-stat span {
    font-size: 0.88rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; gap: 16px; }
    .bento-card.large,
    .bento-card.wide { grid-column: span 1; }
    .bento-card { padding: 28px 24px; border-radius: 22px; }
}

.bento-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease !important;
}

.bento-card:hover {
    transform: translateY(-6px) !important;
    border-color: #b6f074 !important;
    box-shadow:
        0 20px 40px -10px rgba(182, 240, 116, 0.4),
        0 0 25px rgba(182, 240, 116, 0.3),
        inset 0 0 10px rgba(182, 240, 116, 0.1) !important;
}

.bento-card.dark:hover {
    border-color: #b6f074 !important;
    box-shadow:
        0 20px 40px -10px rgba(182, 240, 116, 0.3),
        0 0 30px rgba(182, 240, 116, 0.4),
        inset 0 0 15px rgba(182, 240, 116, 0.15) !important;
}

.bento-card:hover .bento-icon {
    background: #b6f074 !important;
    color: #0a3d62 !important;
    transform: scale(1.1) rotate(-5deg) !important;
    box-shadow: 0 0 15px rgba(182, 240, 116, 0.6) !important;
}

body.page-inicio {
    background: linear-gradient(135deg, rgba(182, 240, 116, 0.25) 0%, #ffffff 50%, rgba(79, 148, 0, 0.08) 100%) !important;
    background-attachment: fixed !important;
}

body.page-inicio main,
body.page-inicio section,
body.page-inicio .hero,
body.page-inicio .features,
body.page-inicio .about,
body.page-inicio .faq,
body.page-inicio .plans,
body.page-inicio .gallery-section {
    background: transparent !important;
    background-image: none !important;
}

body.page-inicio .testimonials {
    background: var(--azul-oscuro) !important;
}

body.page-inicio .bento-card,
body.page-inicio .plan-card,
body.page-inicio .faq-item,
body.page-inicio .about-tile,
body.page-inicio .news-featured {
    background: #ffffff !important;
}

header {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.carousel-slide iframe { border-radius: 20px; }
.carousel-slide iframe+.carousel-caption { display: none; }

#comunidadCarousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: #ffffff;
    color: var(--azul-oscuro);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.2);
}

#comunidadCarousel .carousel-btn:hover {
    background: var(--verde-claro);
    color: var(--azul-oscuro);
    transform: translateY(-50%) scale(1.1);
}

#comunidadCarousel .carousel-btn.prev { left: 15px; }
#comunidadCarousel .carousel-btn.next { right: 15px; }

#comunidadCarousel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 30;
}

#comunidadCarousel .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(10, 61, 98, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

#comunidadCarousel .carousel-dot.active {
    background: var(--verde);
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 640px) {
    #comunidadCarousel .carousel-btn { width: 38px; height: 38px; font-size: 0.9rem; z-index: 30; }
    #comunidadCarousel .carousel-btn.prev { left: 8px; }
    #comunidadCarousel .carousel-btn.next { right: 8px; }
}

#galleryCarousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
    color: var(--azul-oscuro);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

#galleryCarousel .carousel-btn:hover {
    background: var(--verde-claro);
    transform: translateY(-50%) scale(1.1);
}

#galleryCarousel .carousel-btn.prev { left: 15px; }
#galleryCarousel .carousel-btn.next { right: 15px; }

#galleryCarousel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 30;
}

#galleryCarousel .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

#galleryCarousel .carousel-dot.active {
    background: var(--verde-claro);
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 640px) {
    #galleryCarousel .carousel-btn { width: 36px; height: 36px; font-size: 0.9rem; z-index: 30; }
    #galleryCarousel .carousel-btn.prev { left: 8px; }
    #galleryCarousel .carousel-btn.next { right: 8px; }
}

.bento-card {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1;
}

.bento-card .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    mask-image: linear-gradient(to right, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 30%, transparent 100%);
}

.bento-card .bento-content {
    position: relative;
    z-index: 2;
}

.bento-card:hover .bg-image {
    opacity: 0.3;
    transform: scale(1.05);
}

.bento-card.wide {
    display: flex !important;
    align-items: flex-start !important;
    gap: 25px !important;
}

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

.bento-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 28px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card.wide {
    grid-column: span 2 !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 25px;
}

.bento-card.wide .bento-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.bento-card.wide h3 { margin-top: 5px; }

.bento-card.dark {
    background: var(--azul-oscuro);
    border-color: var(--azul-oscuro);
}

.bento-card.dark h3 { color: #ffffff; }
.bento-card.dark p { color: #b9cddd; }
.bento-card.dark .bento-icon {
    background: rgba(182, 240, 116, 0.15);
    color: var(--verde-claro);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--verde-claro);
    box-shadow: 0 15px 35px -10px rgba(182, 240, 116, 0.5);
}

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .bento-card.wide { grid-column: span 2 !important; }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr !important; }
    .bento-card.wide { grid-column: span 1 !important; flex-direction: column !important; }
    .bento-card.wide .bento-icon { margin-bottom: 20px; }
}

.logo-img {
    width: auto !important;
    height: 50px !important;
    max-width: 220px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    mix-blend-mode: normal !important;
}

.logo {
    font-size: 1.65rem !important;
    gap: 12px !important;
}

@media (max-width: 640px) {
    .logo-img {
        height: 35px !important;
        max-width: 160px !important;
    }
    .logo {
        font-size: 1.3rem !important;
        gap: 8px !important;
    }
}
header .container { max-width: 1250px !important; }

.btn-google-multicolor,
.btn-appstore-turquesa {
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    min-height: 45px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-google-multicolor {
    background: linear-gradient(120deg, #34a853, #4285f4, #fbbc05, #ea4335) !important;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
}

.btn-appstore-turquesa {
    background: linear-gradient(120deg, #40e0d0, #00a6b2, #007c91) !important;
    box-shadow: 0 4px 12px rgba(0, 166, 178, 0.25);
}

.btn-google-multicolor i,
.btn-appstore-turquesa i {
    color: #ffffff !important;
    font-size: 19px;
}

.btn-google-multicolor:hover,
.btn-appstore-turquesa:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    filter: brightness(0.92);
}

.btn-whatsapp {
    background: linear-gradient(120deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    min-height: 45px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp i {
    color: #ffffff !important;
    font-size: 19px;
}

.btn-whatsapp:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
    filter: brightness(0.92);
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    background: #153b67;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 61, 98, 0.3);
}

.btn-login:hover {
    background: #18a6a0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 61, 98, 0.3);
}

.btn-login i { font-size: 15px; }

.features {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(220, 242, 222, 0.92), rgba(182, 240, 116, 1)),
        url('../img/fondoo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

.features .bento-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    color: rgba(10, 61, 98, 0.3);
}

.features .bento-card h3 {
    color: #0a3d62 !important;
    opacity: 1 !important;
    font-weight: 800;
}

.features .bento-card p {
    color: #153b67 !important;
    opacity: 1 !important;
    font-weight: 500;
}

.features .section-header h2,
.features .section-header p,
.features .section-header .section-eyebrow {
    color: #153b67;
}

.btn-google-multicolor,
.btn-appstore-turquesa {
    background: #ffffff !important;
    color: #153b67 !important;
    border: 1.5px solid #dce5ed !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 15px rgba(10, 61, 98, 0.12) !important;
}

.btn-google-multicolor span,
.btn-appstore-turquesa span { color: #153b67 !important; }

.btn-google-multicolor { background: #ffffff !important; color: #153b67 !important; }

.btn-google-multicolor i {
    background: linear-gradient(135deg,
        #00a1e0 0%, #00a1e0 35%,
        #00d26a 35%, #00d26a 55%,
        #ffce00 55%, #ffce00 75%,
        #ff3d3d 75%, #ff3d3d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 23px !important;
}

.btn-appstore-turquesa i { color: #007aff !important; font-size: 22px !important; }

.btn-google-multicolor:hover,
.btn-appstore-turquesa:hover {
    background: #f4f8fc !important;
    color: #0a3d62 !important;
    border-color: #b6f074 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.16) !important;
}

#noticias {
    background: #ffffff !important;
    background-image: none !important;
    padding: 90px 0 !important;
}

#noticias .section-header h1,
#noticias .section-header h2 { color: #0a3d62 !important; }
#noticias .section-header p { color: #526577 !important; }
#noticias .section-eyebrow { color: #0a3d62 !important; }

#noticias .bento-card {
    background: #ffffff !important;
    border: 1px solid #e5ebf0 !important;
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.07);
}

#noticias .bento-card h3 { color: #0a3d62 !important; }
#noticias .bento-card p { color: #526577 !important; }

#noticias .bento-card:hover {
    border-color: #b6f074 !important;
    box-shadow: 0 15px 35px rgba(10, 61, 98, 0.12);
}

body.page-inicio .hero {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    background: transparent !important;
}

body.page-inicio .hero > .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none !important;
    filter: blur(2px) saturate(1.1);
}

body.page-inicio .hero > .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.70) 45%,
        rgba(182, 240, 116, 0.55) 100%
    );
}

body.page-inicio .hero > .hero-bg.is-active {
    opacity: 1 !important;
}

body.page-inicio .hero > .hero-content {
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 860px) {
    body.page-inicio .hero > .hero-bg {
        filter: blur(3px) saturate(1.05);
    }
    body.page-inicio .hero > .hero-bg::after {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.90) 0%,
            rgba(255, 255, 255, 0.80) 50%,
            rgba(182, 240, 116, 0.60) 100%
        );
    }
}

body.page-inicio .hero {
    position: relative !important;
    overflow: hidden;
    background-image:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.86) 0%,
            rgba(255, 255, 255, 0.72) 45%,
            rgba(182, 240, 116, 0.55) 100%
        ),
        url('../img/familia.PNG') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: background-image 0.8s ease !important;
}

body.page-inicio .hero-content {
    position: relative;
    z-index: 2;
}

.hero-family-image {
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.hero-family-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(10, 61, 98, 0.18));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.4s ease;
}

.hero-family-image img:hover {
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 28px 45px rgba(10, 61, 98, 0.25));
}

.hero-visual {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hero-visual .carousel-container {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 3;
    max-height: 340px;
    border-radius: 24px !important;
    overflow: hidden !important;
}

@media (max-width: 860px) {
    .hero-family-image { max-width: 100%; }
    .hero-family-image img { max-height: 280px; }
    .hero-visual .carousel-container { max-height: 300px; }
}

@media (max-width: 640px) {
    .hero-family-image img { max-height: 220px; }
    .hero-visual .carousel-container {
        max-height: 240px;
        border-radius: 18px !important;
    }
}

body.page-inicio .hero {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    background: transparent !important;
}

body.page-inicio .hero > .hero-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none !important;
    filter: blur(2px) saturate(1.1);
}

body.page-inicio .hero > .hero-bg.is-active {
    opacity: 1 !important;
}

body.page-inicio .hero > .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.70) 45%,
        rgba(182, 240, 116, 0.55) 100%
    );
}

body.page-inicio .hero > .hero-content {
    position: relative !important;
    z-index: 2 !important;
}

body.page-inicio .hero {
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
    background-image:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.70) 45%,
            rgba(182, 240, 116, 0.55) 100%
        ),
        url('../img/familia.PNG') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

body.page-inicio .hero-content {
    position: relative;
    z-index: 2;
}

@media (min-width: 861px) {
    body.page-inicio .hero-content {
        display: grid !important;
        grid-template-columns: 1fr 1.3fr !important;
        align-items: center !important;
        gap: 40px !important;
    }
}

body.page-inicio .hero-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.page-inicio .hero-static-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 850px !important;
    margin: 0 auto !important;
}

body.page-inicio .hero-static-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 380px !important;
    object-fit: contain !important;
    object-position: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: drop-shadow(0px 25px 40px rgba(10, 61, 98, 0.25)) !important;
    transform: scale(1.05);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease !important;
}

body.page-inicio .hero-static-image img:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0px 35px 50px rgba(10, 61, 98, 0.3)) !important;
}

@media (max-width: 860px) {
    body.page-inicio .hero-content {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    body.page-inicio .hero-static-image {
        max-width: 100% !important;
        margin-top: 20px !important;
    }

    body.page-inicio .hero-static-image img {
        min-height: 300px !important;
        transform: scale(1);
    }
}

body .features {
    background: transparent !important;
    background-image: none !important;
    min-height: auto !important;
}

body {
    background: linear-gradient(
        135deg,
        rgba(182, 240, 116, 0.25) 0%,
        #ffffff 50%,
        rgba(79, 148, 0, 0.08) 100%
    ) !important;
    background-attachment: fixed !important;
}

body .features {
    background: transparent !important;
    background-image: none !important;
    min-height: auto !important;
    padding: 90px 0 !important;
}

body {
    background: linear-gradient(
        135deg,
        rgba(182, 240, 116, 0.22) 0%,
        #ffffff 50%,
        rgba(79, 148, 0, 0.08) 100%
    ) !important;
    background-attachment: fixed !important;
}

body .features .section-header h1,
body .features .section-header h2 {
    color: #0a3d62 !important;
}

body .features .section-header p {
    color: #526577 !important;
}

body .features .section-header .section-eyebrow {
    color: #4f9400 !important;
}

body .features .bento-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 24px !important;
    padding: 32px 28px !important;
    box-shadow:
        0 10px 30px -15px rgba(10, 61, 98, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset !important;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease !important;
}

body .features .bento-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(182, 240, 116, 0.8) !important;
    box-shadow:
        0 24px 50px -20px rgba(10, 61, 98, 0.22),
        0 0 30px -5px rgba(182, 240, 116, 0.5),
        0 0 0 1px rgba(182, 240, 116, 0.4) inset !important;
}

body .features .bento-card.dark {
    background: linear-gradient(145deg, #0a3d62 0%, #0e4d7a 100%) !important;
    border: 1px solid rgba(182, 240, 116, 0.15) !important;
    color: #ffffff !important;
}

body .features .bento-card.dark:hover {
    background: linear-gradient(145deg, #0a3d62 0%, #10528a 100%) !important;
    border-color: rgba(182, 240, 116, 0.6) !important;
    box-shadow:
        0 24px 50px -20px rgba(10, 61, 98, 0.5),
        0 0 35px -5px rgba(182, 240, 116, 0.45) !important;
}

body .features .bento-card h3 {
    color: #0a3d62 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
}

body .features .bento-card p {
    color: #3f5566 !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

body .features .bento-card.dark h3 {
    color: #ffffff !important;
}

body .features .bento-card.dark p {
    color: #c5d9e8 !important;
}

body .features .bento-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(79, 148, 0, 0.15), rgba(182, 240, 116, 0.25)) !important;
    color: #2d6b00 !important;
    font-size: 1.55rem !important;
    margin-bottom: 22px !important;
    box-shadow: 0 8px 20px -10px rgba(79, 148, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease,
                box-shadow 0.4s ease !important;
}

body .features .bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(-4deg) !important;
    background: linear-gradient(135deg, #b6f074, #7fd12b) !important;
    color: #0a3d62 !important;
    box-shadow: 0 12px 25px -8px rgba(182, 240, 116, 0.7) !important;
}

body .features .bento-card.dark .bento-icon {
    background: rgba(182, 240, 116, 0.15) !important;
    color: #b6f074 !important;
}

body .features .bento-card.dark:hover .bento-icon {
    background: #b6f074 !important;
    color: #0a3d62 !important;
    box-shadow: 0 12px 25px -8px rgba(182, 240, 116, 0.6) !important;
}

body .features .bento-stat strong {
    color: #b6f074 !important;
    text-shadow: 0 0 20px rgba(182, 240, 116, 0.4);
}

body .features .bento-stat span {
    color: #d5e4f0 !important;
}

body .features .bento-card .bg-image {
    opacity: 0.10 !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

body .features .bento-card:hover .bg-image {
    opacity: 0.22 !important;
    transform: scale(1.06) !important;
}

body .features .bento-card.dark .bg-image {
    opacity: 0.18 !important;
    mix-blend-mode: screen;
}

body .features .bento-card.dark:hover .bg-image {
    opacity: 0.30 !important;
}

@media (max-width: 860px) {
    body .features {
        padding: 60px 0 !important;
    }
    body .features .bento-card {
        padding: 28px 22px !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 640px) {
    body .features {
        padding: 48px 0 !important;
    }
    body .features .bento-card {
        padding: 24px 20px !important;
        border-radius: 18px !important;
    }
    body .features .bento-card h3 {
        font-size: 1.15rem !important;
    }
    body .features .bento-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.3rem !important;
    }
}

body.page-inicio .hero-static-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

body.page-inicio .hero-static-image img {
    width: 100% !important;
    max-width: 1200px !important;
    max-height: none !important;
    transform: scale(1.35) translateX(-2%) !important;
    filter: drop-shadow(0px 30px 50px rgba(10, 61, 98, 0.25)) !important;
    transition: transform 0.5s ease !important;
}

body.page-inicio .hero-static-image img:hover {
    transform: scale(1.4) translateX(-2%) !important;
}

@media (min-width: 861px) {
    body.page-inicio .hero-content {
        display: grid !important;
        grid-template-columns: 0.9fr 1.3fr !important;
        align-items: center !important;
        gap: 10px !important;
    }
}

@media (max-width: 860px) {
    body.page-inicio .hero-static-image img {
        transform: scale(1.1) !important;
    }
}

@media (min-width: 861px) {
    body.page-inicio .hero-content {
        grid-template-columns: 1fr 1.4fr !important;
        gap: 0px !important;
    }
}

body.page-inicio .hero-static-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: flex-end !important;
}

body.page-inicio .hero-static-image img {
    width: 100% !important;
    max-width: 850px !important;
    height: auto !important;
    max-height: none !important;
    transform: scale(1.25) translateX(-5%) !important;
    filter: drop-shadow(0px 35px 45px rgba(10, 61, 98, 0.3)) !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.page-inicio .hero-static-image img:hover {
    transform: scale(1.28) translateX(-5%) !important;
}

body.page-inicio .hero-visual .carousel-container {
    max-width: 100% !important;
    max-height: none !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 28px !important;
}

body.page-inicio .hero-visual {
    width: 120% !important;
    max-width: 120% !important;
    gap: 25px !important;
}

/* =====================================
   CARRUSEL VERTICAL 9:16
===================================== */

body.page-comunidad #comunidadCarousel,
#comunidadCarousel {
    position: relative !important;
    width: 100% !important;
    max-width: 380px !important;
    height: 675px !important;
    max-height: none !important;
    aspect-ratio: 9 / 16 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
}

#comunidadCarousel .carousel-track {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
}

#comunidadCarousel .carousel-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
}

#comunidadCarousel .carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

#comunidadCarousel iframe,
#comunidadCarousel video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border: none !important;
}

#comunidadCarousel .carousel-btn {
    z-index: 30 !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
}

@media (max-width: 640px) {
    #comunidadCarousel {
        max-width: 300px !important;
        height: 535px !important;
        border-radius: 18px !important;
    }

    #comunidadCarousel .carousel-btn {
        z-index: 30 !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
    }
}

#galleryCarousel {
    position: relative !important;
    max-width: 900px !important;
    max-height: 500px !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto !important;
}

#galleryCarousel .carousel-track {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
}

#galleryCarousel .carousel-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
}

#galleryCarousel .carousel-btn {
    z-index: 30 !important;
}

body.page-comunidad #galeria,
body.page-comunidad .gallery-section.testimonials {
    background: var(--azul-oscuro) !important;
    background-image: none !important;
    position: relative;
    isolation: isolate;
}

body.page-comunidad #galeria .section-header h2,
body.page-comunidad #galeria .section-header h1 {
    color: #ffffff !important;
}

body.page-comunidad #galeria .section-header p {
    color: #c5d9e8 !important;
}

body.page-comunidad #galeria .section-header .section-eyebrow {
    color: var(--verde-claro) !important;
}

body.page-comunidad #galeria::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 80% 20%,
        rgba(182, 240, 116, 0.10),
        transparent 55%
    );
    pointer-events: none;
    z-index: 0;
}

body.page-comunidad #galeria > .container {
    position: relative;
    z-index: 1;
}

.btn-login {
    background: var(--verde) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 148, 0, 0.35) !important;
}

.btn-login:hover {
    background: var(--verde-oscuro) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(79, 148, 0, 0.45) !important;
}

.btn-login:active {
    transform: translateY(0);
    background: var(--verde-oscuro) !important;
}

.navbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 80px !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    background-color: #ffffff;
}

.logo {
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
}
.logo img {
    height: 40px;
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    align-items: center !important;
}

.nav-links li {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    text-decoration: none !important;
    color: #333333 !important;
    font-family: sans-serif;
    font-size: 15px !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    background-color: #bcf05c !important;
    color: #1a4210 !important;
    font-weight: bold !important;
}

.nav-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
}

.btn-login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    background-color: #5a9e06 !important;
    color: white !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-family: sans-serif;
    font-size: 14px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.btn-login:hover {
    background-color: #4a8205 !important;
}

.social-float-container {
    position: fixed;
    right: 25px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.social-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-float-btn.facebook  { background: #1877F2; }
.social-float-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-float-btn.tiktok    { background: #000000; }

.social-float-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}

.social-float-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .social-float-container {
        right: 15px;
        bottom: 75px;
        gap: 8px;
    }
    .social-float-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.about-tile,
.bento-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease !important;
}

.about-tile:hover,
.bento-card:not(.dark):hover {
    transform: translateY(-6px);
    border-color: rgba(79, 148, 0, 0.4) !important;
    box-shadow:
        0 20px 40px -10px rgba(79, 148, 0, 0.3),
        0 0 25px rgba(182, 240, 116, 0.4),
        inset 0 0 10px rgba(182, 240, 116, 0.1) !important;
}

.bento-card.dark:hover {
    transform: translateY(-6px);
    border-color: rgba(182, 240, 116, 0.6) !important;
    box-shadow:
        0 20px 40px -10px rgba(182, 240, 116, 0.25),
        0 0 30px rgba(182, 240, 116, 0.5),
        inset 0 0 15px rgba(182, 240, 116, 0.15) !important;
}

.about-tile:hover i,
.bento-card:hover .bento-icon {
    filter: drop-shadow(0 0 8px rgba(182, 240, 116, 0.8));
    transform: scale(1.1) translateY(-2px);
    transition: all 0.4s ease;
}

header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(10, 61, 98, 0.08) !important;
    box-shadow: 0 4px 20px -8px rgba(10, 61, 98, 0.12) !important;
    transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 6px 24px -10px rgba(10, 61, 98, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}

html {
    scroll-padding-top: 90px !important;
    scroll-behavior: smooth;
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 70px !important;
    }
}

/* VIDEO VERTICAL - NOTICIAS.PHP (TAMAÑO COMPACTO) */
.noticia-vertical {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    max-height: 340px !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #000 !important;
}

.noticia-vertical video {
    width: 100% !important;
    height: 100% !important;
    max-height: 340px !important;
    object-fit: cover !important;
}

@media (max-width: 640px) {
    .noticia-vertical {
        max-width: 240px !important;
        max-height: 260px !important;
        border-radius: 14px !important;
    }

    .noticia-vertical video {
        max-height: 260px !important;
    }
}