/* ===========================
   Variables y Reset
   =========================== */
:root {
    --primary-color: #A8DADC;
    --primary-dark: #4ECDC4;
    --primary-light: #38BDBE;
    --accent-color: #38BDBE;
    --text-dark: #707070;
    --text-light: #909090;
    --bg-light: #D1F1F0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

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

@media (max-width: 600px) {
    img {
        width: 100%;
        object-fit: contain;
    }
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
}

/* ===========================
   NavegaciÃ³n
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px;
    width: auto;
    max-width: 350px;
    transition: var(--transition);
}

@media (max-width: 968px) {
    .logo img {
        height: 80px;
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 60px;
        max-width: 150px;
    }
}

.logo:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 100px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Background Carousel */
.hero-background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 10%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

@media (max-width: 968px) {
    .hero-bg-slide {
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 600px) {
    .hero-bg-slide {
        background-size: cover;
        background-position: center center;
    }
}

.hero-bg-slide.active {
    opacity: 1;
}

/* Posiciones específicas para cada slide del carrusel */
.hero-bg-slide.slide-1 { background-position: center 8%; }
.hero-bg-slide.slide-2 { background-position: center 12%; }
.hero-bg-slide.slide-3 { background-position: center 10%; }

.hero .container {
    z-index: 1;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    gap: 0;
}

.hero-text {
    max-width: 550px;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


.image-placeholder {
    position: relative;
    width: 280px;
    height: 280px;
}

.circle-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: url('images/Zaidy.png');
    background-size: 115%;
    background-position: 65% center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-lg);
    position: relative;
    will-change: transform;
}

@media (max-width: 600px) {
    .circle-image {
        width: 220px;
        height: 220px;
        background-size: cover;
        background-position: center center;
    }
}

.circle-image::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ===========================
   Quote Section
   =========================== */
.quote-section {
    padding: 60px 0;
    background: var(--white);
}

@media (max-width: 600px) {
    .quote-section {
        padding: 40px 0;
    }
}

.quote-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .quote-container {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .quote-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.main-quote {
    flex: 1;
    text-align: center;
}

.main-quote p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.main-quote cite {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

.quote-image {
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .quote-image {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .quote-image .image-placeholder {
        width: 220px;
        height: 220px;
    }
}

/* ===========================
   Services Preview
   =========================== */
.services-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

@media (max-width: 600px) {
    .services-preview {
        padding: 60px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

@media (max-width: 600px) {
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 2rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.cta-center {
    text-align: center;
}

/* ===========================
   Book Section
   =========================== */
.book-section {
    padding: 80px 0;
    background: var(--white);
}

@media (max-width: 600px) {
    .book-section {
        padding: 60px 0;
    }
}

.book-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.book-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.book-placeholder::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.book-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.book-image:hover {
    transform: scale(1.05);
}

.book-label {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.book-info h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.book-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===========================
   Tools Section
   =========================== */
.tools-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.tool-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

@media (max-width: 600px) {
    .cta-section {
        padding: 60px 0;
    }
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

/* ===========================
   Page Hero (for other pages)
   =========================== */
.page-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.page-hero h1,
.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p,
.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   Eventos Section
   =========================== */
.eventos-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

.eventos-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.evento-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.evento-image {
    width: 300px;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.evento-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
}

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

.evento-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.evento-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.evento-info p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.whatsapp-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.8rem !important;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    margin-top: 0.5rem;
    padding: 12px;
}

.btn-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* YouTube Section */
.youtube-section {
    padding: 60px 0;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.youtube-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.youtube-icon {
    margin: 0 auto 1.5rem;
    color: #FF0000;
}

.youtube-card h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.youtube-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.youtube-card .stay-tuned {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1.5rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .navbar .container {
        padding: 0.8rem 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .circle-image {
        width: 280px;
        height: 280px;
    }

    .hero-image {
        position: static;
        right: auto;
        top: auto;
        justify-content: center;
    }

    .book-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .book-cover {
        display: flex;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero h1,
    .page-title {
        font-size: 2.2rem;
    }

    .eventos-gallery {
        grid-template-columns: 1fr;
    }

    .evento-card {
        grid-template-columns: 1fr;
    }

    .evento-image {
        width: 100%;
        height: 350px;
        min-height: auto;
    }

    .evento-info {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
        display: block; /* evita el layout en filas por flex */
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
    }

    .subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
        color: var(--text-light);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.7;
        color: var(--text-dark);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .circle-image {
        width: 240px;
        height: 240px;
    }

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

    /* Mobile-only: mostrar el carrusel primero y el texto debajo */
    .hero-background-carousel {
        position: relative;
        height: 55vh;
        min-height: 350px;
        max-height: 60vh;
        width: 100%;
    }

    .hero-bg-slide {
        height: 100%;
    }

    .hero .container {
        position: static;
        z-index: 1;
        background: var(--white);
        padding: 2rem 20px !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .hero-content {
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        background: transparent;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        padding: 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .main-quote p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .main-quote cite {
        font-size: 1rem;
    }

    .book-placeholder {
        width: 250px;
        height: 350px;
    }

    .book-image {
        max-width: 100%;
        width: 100%;
    }

    .book-info h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .book-info p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .book-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

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

    .cta-content h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .cta-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-hero h1,
    .page-title {
        font-size: 1.8rem;
    }

    .page-hero p,
    .page-subtitle {
        font-size: 1rem;
    }

    .eventos-gallery {
        grid-template-columns: 1fr;
    }

    .evento-card {
        grid-template-columns: 1fr;
    }

    .evento-image {
        width: 100%;
        height: 300px;
        min-height: auto;
    }

    .evento-info {
        padding: 1.5rem;
    }

    .evento-info h3 {
        font-size: 1.4rem;
    }

    .youtube-card h2 {
        font-size: 1.6rem;
    }

    .youtube-icon {
        width: 50px;
        height: 50px;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===========================
   Welcome Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 3rem 2.5rem;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-body h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.modal-body > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.handbook-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-modal {
    width: 100%;
}

.form-group-modal input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group-modal input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(41, 130, 140, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    text-align: left;
    margin-top: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-modal {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.btn-modal:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-footer-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 0 10px;
    }

    .modal-body {
        padding: 2rem 1.2rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .modal-body > p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .modal-icon {
        width: 70px;
        height: 70px;
    }

    .modal-icon svg {
        width: 35px;
        height: 35px;
    }

    .form-group-modal input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .btn-modal {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .modal-footer-text {
        font-size: 0.8rem;
    }
}





/* Ajustes de foco para pantallas grandes: mostrar mas parte superior de la foto */
@media (min-width: 1600px) {
    .hero-bg-slide { background-position: center 8%; }
    .hero-bg-slide.slide-1 { background-position: center 6%; }
    .hero-bg-slide.slide-2 { background-position: center 10%; }
    .hero-bg-slide.slide-3 { background-position: center 8%; }
}

@media (min-width: 2000px) {
    .hero-bg-slide { background-position: center 5%; }
    .hero-bg-slide.slide-1 { background-position: center 4%; }
    .hero-bg-slide.slide-2 { background-position: center 6%; }
    .hero-bg-slide.slide-3 { background-position: center 5%; }
}