:root {
    /* Paleta Trascendental & Futurista - Habacuc Global */
    --bg-deep: #030008;
    --bg-card: rgba(20, 10, 40, 0.6);
    --primary: #3B1D82;
    --primary-glow: #522BB1;
    --accent: #F45CFF;
    --accent-glow: rgba(244, 92, 255, 0.5);
    
    --text-white: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.7);
    
    --font-display: 'Instrument Serif', serif;
    --font-body: 'Inter', sans-serif;
    
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    color: #FFF;
}

p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(3, 0, 8, 0.8), transparent);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.main-header.scrolled {
    padding: 15px 0;
    background: rgba(3, 0, 8, 0.95);
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.flex-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.flex-nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 0.7;
}

.flex-nav a:hover {
    opacity: 1;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* --- Hero Section --- */
.hero-epic {
    height: 100vh;
    min-height: 700px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('../img/hero_bible_futuristic.png') no-repeat center center/cover;
}

.hero-epic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-deep) 90%);
}

.hero-epic-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 20px;
}

.hero-epic h1 {
    font-size: clamp(3.5rem, 12vw, 8rem);
    margin-bottom: 25px;
    text-shadow: 0 0 40px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease-out forwards;
}

.hero-epic p {
    font-size: clamp(1rem, 3vw, 1.6rem);
    color: var(--text-dim);
    margin-bottom: 50px;
    letter-spacing: 3px;
    animation: fadeInUp 1.2s ease-out forwards;
}

/* --- Page Heros --- */
.page-hero {
    height: 55vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(3,0,8,0.3), var(--bg-deep));
}

.page-hero h1 {
    position: relative;
    z-index: 10;
    font-size: clamp(3rem, 10vw, 6rem);
    width: 100%;
}

/* --- Responsive Grids --- */
.section-padding {
    padding: 120px 0;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

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

/* --- Glass Cards --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    transition: var(--transition);
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(244, 92, 255, 0.15);
}

/* --- FORM FIXES (Critical) --- */
.pro-form {
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.8;
    text-align: center;
}

.glass-input {
    width: 100% !important; /* Force full width */
    display: block !important;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px;
    color: #fff !important;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 25px var(--accent-glow) !important;
}

textarea.glass-input {
    min-height: 180px;
    resize: vertical;
}

/* --- Buttons --- */
.btn-neon {
    display: inline-block;
    padding: 20px 45px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 0 30px var(--accent-glow);
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
}

@media (max-width: 480px) {
    .btn-neon {
        width: 100%;
        padding: 15px 25px;
        font-size: 0.9rem;
    }
}

.btn-neon:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px var(--accent-glow);
    background: #fff;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: #25d366;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(15deg);
}

/* --- Footer --- */
.epic-footer {
    background: var(--bg-deep);
    padding: 120px 0 60px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    height: 70px;
    margin-bottom: 50px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.8rem;
    opacity: 0.4;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-5px);
}

/* --- Gallery / Carousel --- */
.gallery-container {
    padding: 20px 0;
    overflow-x: auto;
    display: flex;
    gap: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.gallery-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-item {
    min-width: 350px;
    height: 250px;
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-item { min-width: 280px; height: 200px; }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- MEDIA QUERIES (FULL RESPONSIVE) --- */

/* Laptops & Desktops */
@media (min-width: 1921px) {
    html { font-size: 20px; }
}

/* Tablets (Portrait) */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .glass-card { padding: 40px; }
    .page-hero { height: 40vh; }
    .hero-epic h1 { font-size: 5rem; }
}

/* Mobiles (Large) */
@media (max-width: 768px) {
    .hero-epic h1, .page-hero h1 { font-size: 3.5rem; }
    .flex-nav { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 0, 8, 0.98);
        flex-direction: column;
        padding: 40px;
        text-align: center;
        gap: 30px;
        border-bottom: 1px solid var(--glass-border);
    }
    .flex-nav.active { display: flex; }
    .mobile-toggle { display: block !important; }
    .hide-mobile { display: none !important; }
    .section-padding { padding: 80px 0; }
    .hero-epic p { font-size: 1.1rem; }
    .glass-card { padding: 30px; border-radius: 30px; }
    .whatsapp-float { bottom: 30px; right: 30px; width: 60px; height: 60px; font-size: 28px; }
}

/* Mobiles (Small) */
@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-epic h1 { font-size: 2.8rem; }
    .page-hero h1 { font-size: 2.5rem; }
    .btn-neon { padding: 18px 30px; font-size: 0.9rem; }
}

/* TV & Huge Screens */
@media (min-width: 2560px) {
    .container { max-width: 2000px; }
}

/* --- Logo Slider / Infinite --- */
.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, var(--bg-deep), transparent);
}

.logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, var(--bg-deep), transparent);
}

.logo-track {
    display: flex;
    width: calc(250px * 12);
    animation: scroll 40s linear infinite;
    align-items: center;
}

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

.logo-track img {
    width: 150px;
    margin: 0 50px;
    filter: grayscale(1) invert(1) brightness(2);
    opacity: 0.6;
    transition: var(--transition);
}

.logo-track img:hover {
    opacity: 1;
    filter: grayscale(0) invert(0) brightness(1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

@media (max-width: 768px) {
    .logo-slider::before, .logo-slider::after { width: 50px; }
    .logo-track img { width: 100px; margin: 0 25px; }
    @keyframes scroll {
        100% { transform: translateX(calc(-150px * 6)); }
    }
}

