/* ============================================
   Comunife y Sabiduría - Iglesia Cristiana
   Paleta: Electric Blue / Deep Navy + Blanco + Gris suave
   ============================================ */

:root {
    /* Paleta de colores */
    --electric-blue: #2563eb;
    --deep-navy: #0f172a;
    --navy-mid: #1e293b;
    --blue-accent: #3b82f6;
    --blue-light: #60a5fa;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    
    /* Gradientes */
    --gradient-cta: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    --gradient-hero: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    
    /* Sombras suaves */
    --shadow-soft: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -2px rgba(37, 99, 235, 0.1);
    --shadow-card: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
    
    /* Tipografía */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaciado y bordes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--deep-navy);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== SCROLL REVEAL (efecto al hacer scroll) ==================== */
.revelar {
    opacity: 0;
    transform: translateY(80px) scale(0.92);
    filter: blur(10px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.revelar.activo {
    opacity: 1;
    transform: none;
    filter: blur(0);
    will-change: transform, opacity;
}

/* Header: más ancho para que el menú entre en una línea */
@media (min-width: 1024px) {
    .header .container {
        max-width: 1440px;
        padding: 0 32px;
    }
}

/* ==================== LIVE BANNER ==================== */
.live-banner {
    display: none;
    background: var(--gradient-cta);
    color: var(--white);
    padding: 14px 28px;
    text-align: center;
    font-weight: 500;
    font-size: 1.15rem;
}

.live-banner.active {
    display: block;
}

.live-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.live-dot {
    width: 14px;
    height: 14px;
    background: #fbbf24;
    border-radius: 50%;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.live-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
}

.live-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.logo span {
    color: var(--electric-blue);
}

/* ==================== NAV DESKTOP ==================== */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop { display: block; }
    .nav-desktop { margin-left: auto; }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-item a {
    display: inline-flex;
    align-items: center;
    color: var(--navy-mid);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .nav-list { gap: 6px; }
    .nav-item a { padding: 10px 12px; font-size: 0.9rem; }
    .cta-nav .btn-cta { padding: 10px 14px; font-size: 0.9rem; }
    .logo { font-size: 1.3rem; }
    .logo-img { height: 38px; }
}

.nav-item a:hover {
    color: var(--electric-blue);
    background: var(--gray-50);
}

/* Mega Menu */
.nav-item.mega-trigger {
    position: relative;
}

.mega-trigger > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--gray-500);
    vertical-align: middle;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 720px;
    max-width: 900px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 24px;
    margin-top: 4px;
    overflow: hidden;
}

.mega-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
}

.mega-col--left {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.mega-col--right {
    padding: 20px 20px 20px 24px;
}

.mega-col-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin: 0 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mega-col-sep {
    border: none;
    height: 1px;
    background: var(--gray-200);
    margin: 10px 0 16px 0;
}

/* Columna izquierda: Accesos rápido */
.mega-quick {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--navy-mid);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.mega-quick-item:hover {
    background: var(--gray-50);
    color: var(--electric-blue);
}

.mega-quick-item svg {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    flex-shrink: 0;
}

.mega-quick-item:hover svg {
    color: var(--electric-blue);
}

.mega-badge {
    margin-left: auto;
    padding: 4px 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 50px;
    flex-shrink: 0;
}

.mobile-nav .mega-badge {
    margin-left: 8px;
}

/* Columna derecha: Conectate con nosotros */
.mega-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Mega items - estilo tipo Divi */
.mega-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.mega-item:hover {
    background: var(--gray-50);
}

.mega-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.mega-icon--blue {
    background: #1e293b;
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.5), 0 4px 12px -4px rgba(37, 99, 235, 0.4);
}

.mega-icon--green {
    background: #1e293b;
    box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.5), 0 4px 12px -4px rgba(5, 150, 105, 0.4);
}

.mega-icon--orange {
    background: #1e293b;
    box-shadow: 0 8px 20px -6px rgba(234, 88, 12, 0.5), 0 4px 12px -4px rgba(234, 88, 12, 0.4);
}

.mega-icon--purple {
    background: #1e293b;
    box-shadow: 0 8px 20px -6px rgba(124, 58, 237, 0.5), 0 4px 12px -4px rgba(124, 58, 237, 0.4);
}

.mega-text {
    flex: 1;
    min-width: 0;
}

.mega-text strong {
    display: block;
    font-size: 1rem;
    color: var(--deep-navy);
    margin-bottom: 2px;
}

.mega-text span {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.mega-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: transform 0.2s;
}

.mega-item:hover .mega-arrow {
    color: var(--electric-blue);
    transform: translateX(4px);
}

/* Mega menú: botón Planifica tu Visita - fondo #000F30, texto e icono #FF5E2A */
.mega-menu .mega-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
    padding: 16px 24px;
    background: #000F30 !important;
    color: #FF5E2A !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 15, 48, 0.3);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mega-menu .mega-cta:hover {
    background: #001a4d !important;
    color: #ff7043 !important;
    box-shadow: 0 4px 12px rgba(0, 15, 48, 0.4);
    transform: translateY(-1px);
}

.mega-menu .mega-cta svg {
    width: 20px;
    height: 20px;
    color: #FF5E2A !important;
    stroke: #FF5E2A !important;
}

.mega-menu .mega-cta:hover svg {
    color: #ff7043 !important;
    stroke: #ff7043 !important;
}

/* CTA Nav - Donar: negro como "Todos los eventos", semi redondo como botones hero */
.cta-nav .btn-cta {
    background: #000 !important;
    color: #fff !important;
    box-shadow: var(--shadow-soft);
    border-radius: 9999px !important;
    padding: 10px 20px !important;
}

.cta-nav .btn-cta:hover {
    background: var(--navy-mid) !important;
    color: #fff !important;
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

/* ==================== LOGIN DROPDOWN ==================== */
.login-trigger {
    position: relative;
}

.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 28px;
    margin-top: 4px;
    transform: translateY(10px);
}

.login-trigger:hover .login-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-field input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--deep-navy);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--gray-50);
}

.login-field input::placeholder {
    color: var(--gray-400);
}

.login-field input:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: var(--white);
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--electric-blue);
    cursor: pointer;
}

.login-remember label {
    font-size: 0.9rem;
    color: var(--gray-500);
    cursor: pointer;
    user-select: none;
}

.login-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-cta);
    color: var(--white);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0;
    word-spacing: 0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.login-btn:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.login-forgot {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.45;
    padding: 0 4px;
    margin-top: 2px;
    white-space: nowrap;
    word-spacing: 0;
    letter-spacing: 0;
}

.login-forgot a {
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.login-forgot a:hover {
    text-decoration: underline;
}

/* ==================== HAMBURGER ==================== */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

@media (min-width: 1024px) {
    .hamburger { display: none; }
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--deep-navy);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== MOBILE MENU (Glassmorphism) ==================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-close svg {
    width: 28px;
    height: 28px;
    color: #0f172a;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-overlay.active .mobile-nav li {
    animation: cascade-in 0.4s ease forwards;
}

.mobile-overlay.active .mobile-nav li:nth-child(1) { animation-delay: 0.1s; }
.mobile-overlay.active .mobile-nav li:nth-child(2) { animation-delay: 0.15s; }
.mobile-overlay.active .mobile-nav li:nth-child(3) { animation-delay: 0.2s; }
.mobile-overlay.active .mobile-nav li:nth-child(4) { animation-delay: 0.25s; }
.mobile-overlay.active .mobile-nav li:nth-child(5) { animation-delay: 0.3s; }
.mobile-overlay.active .mobile-nav li:nth-child(6) { animation-delay: 0.35s; }
.mobile-overlay.active .mobile-nav li:nth-child(7) { animation-delay: 0.4s; }
.mobile-overlay.active .mobile-nav li:nth-child(8) { animation-delay: 0.45s; }
.mobile-overlay.active .mobile-nav li:nth-child(9) { animation-delay: 0.5s; }

@keyframes cascade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: #0f172a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.mobile-nav a svg {
    width: 24px;
    height: 24px;
    color: #0f172a;
    flex-shrink: 0;
}

.mobile-nav a:hover {
    color: var(--electric-blue);
}

.mobile-nav a:hover svg {
    color: var(--electric-blue);
}

.btn-cta-mobile {
    margin-top: 24px;
    background: #000 !important;
    color: #fff !important;
    padding: 14px 24px !important;
    border-radius: 9999px !important;
}

.btn-cta-mobile svg,
.btn-cta-mobile i {
    color: #fff !important;
}

.btn-cta-mobile svg {
    stroke: #fff !important;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/Hero01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 24px;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* Botones hero estilo pill: transparentes, borde blanco, texto blanco; hover: fondo blanco, texto negro */
.hero-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 44px;
    background: transparent;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 9999px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-btn-pill:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .hero-btn-pill {
        padding: 20px 52px;
        font-size: 1.25rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--electric-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-cta-hero {
    background: var(--gradient-cta);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-cta-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-cta-hero svg {
    width: 20px;
    height: 20px;
}

/* ==================== INVITE SECTION (después del hero) ==================== */
.invite-section {
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(255, 94, 42, 0.25) 0%, rgba(255, 140, 90, 0.15) 40%, var(--white) 100%);
}

.invite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .invite-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.invite-main {
    position: relative;
}

.invite-glass {
    position: relative;
    padding: 32px 40px;
    background: rgba(255, 94, 42, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 94, 42, 0.1);
    animation: invite-glass-enter 0.6s ease-out;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.invite-glass:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 94, 42, 0.15);
}

@keyframes invite-glass-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .invite-glass {
        padding: 24px 20px;
    }
}

.invite-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #5c1f0a;
    line-height: 1.2;
    text-transform: capitalize;
}

.invite-info {
    padding-left: 0;
}

.invite-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.invite-info-item:nth-child(3) {
    margin-bottom: 28px;
}

.invite-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 94, 42, 0.15) 0%, rgba(255, 94, 42, 0.08) 100%);
    border-radius: 12px;
    color: #FF5E2A;
}

.invite-info-icon svg {
    width: 22px;
    height: 22px;
}

.invite-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.invite-desc {
    font-size: 1.15rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.invite-times {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
}

.invite-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #000;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
}

.invite-btn svg {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.invite-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
}

/* ==================== WELCOME DARK (Bienvenida - texto + imagen) ==================== */
.welcome-dark {
    padding: 88px 0;
    background: #000F30;
}

.welcome-dark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 900px) {
    .welcome-dark-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .welcome-dark-img {
        order: -1;
    }
}

.welcome-dark-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.welcome-dark-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 24px;
}

.welcome-dark .planifica-family-highlight {
    background: #FF5E2A;
    color: #0f0f0f;
    padding: 2px 8px;
}

.welcome-dark-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #fff;
    margin-bottom: 20px;
}

.welcome-dark-desc:last-of-type {
    margin-bottom: 32px;
}

.welcome-dark-btn {
    display: inline-block;
    padding: 16px 32px;
    background: #fff;
    color: #000F30;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 2px solid #000F30;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.welcome-dark-btn:hover {
    background: #000F30;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.welcome-dark-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.welcome-dark-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ==================== MISSION QUOTE SECTION ==================== */
.mission-quote {
    position: relative;
    padding: 180px 32px;
    min-height: 560px;
    background: #000F30;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-quote-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 640px;
    height: auto;
    max-height: 95%;
    object-fit: contain;
    opacity: 0.5;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.25)) brightness(1.15);
    pointer-events: none;
}

.mission-quote-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.mission-quote-text {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0;
}

.mission-quote-highlight {
    display: inline-block;
    background: #FF5E2A;
    color: #000;
    padding: 4px 12px;
    border: 2px solid #000;
    transform: rotate(3deg);
    margin: 0 2px;
}

/* ==================== EVENTS SECTION ==================== */
.events {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: #000;
    text-align: left;
    margin-bottom: 48px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--deep-navy);
}

.events-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .events-cards {
        grid-template-columns: 1fr;
    }
}

.event-card-new {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.event-card-new:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.event-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-body {
    padding: 28px;
}

.event-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-navy);
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1.35;
}

.event-card-meta,
.event-card-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.event-card-meta svg,
.event-card-location svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.events-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
}

.events-carousel-indicator {
    height: 4px;
    width: 120px;
    margin-bottom: 24px;
    background: var(--gray-200);
    border-radius: 2px;
}

.events-carousel-indicator::before {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gray-500);
    border-radius: 2px;
}

.btn-events-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 14px 28px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-events-all:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    transform: translateY(-2px);
}

.btn-events-all svg {
    width: 20px;
    height: 20px;
}

/* legacy event-info (por si se usa en otra parte) */
.event-info h3 {
    font-size: 1.1rem;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.event-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.event-info svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==================== SERMON SECTION (Último Mensaje) ==================== */
.sermon {
    padding: 100px 0;
    background: var(--white);
}


.sermon .section-title {
    margin-bottom: 56px;
}

.sermon-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 420px;
    background: #0d47a1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(13, 71, 161, 0.35);
}

@media (max-width: 768px) {
    .sermon-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.sermon-card-video {
    position: relative;
    min-height: 420px;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.sermon-card-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sermon-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    transition: background 0.3s;
}

.sermon-card-video:hover .sermon-card-play {
    background: rgba(0, 0, 0, 0.45);
}

.sermon-card-play svg {
    width: 100px;
    height: 100px;
    opacity: 0.95;
}

.sermon-card-info {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.sermon-card-date,
.sermon-card-title,
.sermon-card-pastor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sermon-card-date svg,
.sermon-card-title svg,
.sermon-card-pastor svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.95;
}

.sermon-card-date {
    font-size: 1.15rem;
    margin-bottom: 16px;
    opacity: 0.95;
}

.sermon-card-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.3;
}

.sermon-card-title svg {
    width: 26px;
    height: 26px;
}

.sermon-card-pastor {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.sermon-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--white);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

.sermon-card-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.sermon-card-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .sermon-card-info {
        padding: 40px 28px;
    }
    .sermon-card-title {
        font-size: 1.5rem;
    }
}

/* Modal video YouTube */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-overlay.video-modal-open {
    display: flex;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 960px;
}

.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.video-modal-close svg {
    width: 24px;
    height: 24px;
}

.video-modal-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==================== PLAN VISIT SECTION ==================== */
.plan-visit {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.plan-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.plan-card svg {
    width: 48px;
    height: 48px;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.plan-card h3 {
    font-size: 1.25rem;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.plan-card p {
    color: var(--gray-500);
    line-height: 1.6;
}

.plan-visit .btn {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* ==================== PRAYER SECTION ==================== */
.prayer {
    padding: 80px 0;
}

.prayer-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
}

.prayer-form .btn {
    width: 100%;
    justify-content: center;
}

.prayer-form .btn svg {
    width: 20px;
    height: 20px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.contact-card svg {
    width: 32px;
    height: 32px;
    color: var(--electric-blue);
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: 1rem;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ==================== DONATIONS SECTION ==================== */
.donations {
    padding: 80px 0;
    background: var(--gradient-cta);
    text-align: center;
}

.donations-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.donations-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.donations .btn-cta-hero {
    background: var(--white);
    color: var(--electric-blue);
}

.donations .btn-cta-hero:hover {
    background: var(--gray-50);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #000F30;
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-400);
    border-radius: 50%;
    transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--navy-mid);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--blue-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==================== POPUP SUSCRIPCIÓN ==================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.popup-overlay.popup-open {
    display: flex;
}

.popup-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--electric-blue);
    border-radius: 16px;
    padding: 36px 32px 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.popup-close:hover {
    background: var(--navy-mid);
}

.popup-close svg {
    width: 22px;
    height: 22px;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    padding-right: 52px;
    line-height: 1.3;
}

.popup-message {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 24px;
    padding-right: 0;
}

.popup-box--versiculo .popup-title {
    margin-bottom: 20px;
}

.popup-versiculo-wrap {
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-versiculo-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.65;
    margin: 0 0 12px;
    font-style: italic;
}

.popup-versiculo-ref {
    font-size: 0.95rem;
    color: #c9a227;
    font-weight: 600;
    margin: 0;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fff;
    border: 2px solid var(--electric-blue);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #0f172a;
}

.popup-form input::placeholder,
.popup-form textarea::placeholder {
    color: #64748b;
}

.popup-form input:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.popup-form textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-btn {
    width: 100%;
    padding: 14px 24px;
    background: #1e40af;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.popup-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
}

.form-privacy-note {
    margin: 16px 0 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.form-privacy-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 6px;
}

.form-privacy-icon svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.popup-form .form-privacy-note {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

/* Modal mensaje (éxito/error) - index */
#modal-mensaje.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
}

#modal-mensaje.modal-overlay--open {
    display: flex;
}

#modal-mensaje .modal-mensaje {
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

#modal-mensaje .modal-mensaje-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-mensaje .modal-mensaje-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

#modal-mensaje .modal-mensaje-icon--success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

#modal-mensaje .modal-mensaje-icon--error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

#modal-mensaje .modal-mensaje-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

#modal-mensaje .modal-mensaje-text {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 28px;
}

#modal-mensaje .modal-mensaje-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-family: var(--font-main);
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

/* ==================== BOTÓN FLOTANTE ¿ERES NUEVO? – panel que se expande de derecha a izquierda (solo index) ==================== */
.float-eres-nuevo {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 99990;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

/* Panel del formulario: se expande suavemente de derecha a izquierda */
.float-eres-nuevo-panel {
    width: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: -8px 0 40px rgba(15, 23, 42, 0.12);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-eres-nuevo-panel[aria-hidden="false"] {
    width: min(440px, 92vw);
}

.float-eres-nuevo-panel-inner {
    position: relative;
    width: min(440px, 92vw);
    min-height: 100%;
    padding: 28px 24px 28px 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .float-eres-nuevo-panel[aria-hidden="false"] {
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        display: flex;
        flex-direction: column;
    }
    .float-eres-nuevo-panel-inner {
        height: 100%;
        min-height: 0;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }
}

.float-eres-nuevo-btn {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 44px;
    padding: 18px 8px;
    background: #CD6254;
    color: #fff;
    border: none;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: background 0.2s;
}

.float-eres-nuevo-btn:hover {
    background: #b85447;
}

@media (max-width: 768px) {
    .float-eres-nuevo-btn {
        width: 38px;
        padding: 14px 6px;
        gap: 8px;
        font-size: 0.75rem;
    }
    .float-eres-nuevo-icon svg {
        width: 20px;
        height: 20px;
    }
}

.float-eres-nuevo-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.float-eres-nuevo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-eres-nuevo-icon svg {
    width: 24px;
    height: 24px;
}

.float-eres-nuevo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.float-eres-nuevo-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.float-eres-nuevo-close svg {
    width: 20px;
    height: 20px;
}

.float-eres-nuevo-title {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
    padding-right: 44px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.float-eres-nuevo-instruction {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 24px;
    padding-right: 44px;
    line-height: 1.5;
}

.float-eres-nuevo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.float-eres-nuevo-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 768px) {
    .float-eres-nuevo-panel-inner {
        padding: 20px 18px max(28px, env(safe-area-inset-bottom));
    }
    .float-eres-nuevo-title {
        margin: 0 0 8px;
        font-size: 1.1rem;
    }
    .float-eres-nuevo-instruction {
        margin: 0 0 16px;
        font-size: 0.85rem;
        line-height: 1.45;
    }
    .float-eres-nuevo-form {
        gap: 14px;
    }
    .float-eres-nuevo-field {
        gap: 4px;
    }
    .float-eres-nuevo-field label {
        font-size: 0.85rem;
    }
    .float-eres-nuevo-field input,
    .float-eres-nuevo-field textarea {
        padding: 10px 0;
    }
    .float-eres-nuevo-field textarea {
        min-height: 72px;
    }
    .float-eres-nuevo-submit {
        margin-top: 4px;
    }
    .float-eres-nuevo-panel-inner .form-privacy-note {
        margin: 4px 0 0;
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.float-eres-nuevo-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.float-eres-nuevo-field input,
.float-eres-nuevo-field textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #0f172a;
    background: transparent;
    transition: border-color 0.2s;
}

.float-eres-nuevo-field input::placeholder,
.float-eres-nuevo-field textarea::placeholder {
    color: #94a3b8;
}

.float-eres-nuevo-field input:focus,
.float-eres-nuevo-field textarea:focus {
    outline: none;
    border-bottom-color: #CD6254;
}

.float-eres-nuevo-field textarea {
    resize: vertical;
    min-height: 80px;
}

.float-eres-nuevo-submit {
    margin-top: 8px;
    padding: 14px 24px;
    background: #334155;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.float-eres-nuevo-submit:hover:not(:disabled) {
    background: #1e293b;
}

.float-eres-nuevo-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
