*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111;
    background-color: #fafafa;
    line-height: 1.6;
}

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

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

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid #fff;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.main-nav a {
    padding: 0.3rem 0.4rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    background: #f5f5f5;
    color: #b30000;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
}

/* HERO */

.hero {
    min-height: 70vh;
    color: #fff;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    padding-block: 4rem;
}

.hero-text {
    max-width: 560px;
}

.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-highlights {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.hero-highlights li::before {
    content: '•';
    color: #ffcc00;
    margin-right: 0.4rem;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: #d40000;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.btn.primary:hover {
    background: #ff1f1f;
    transform: translateY(-1px);
}

.btn.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn.link-btn {
    border-color: #d40000;
    color: #d40000;
    background: #fff;
}

.btn.link-btn:hover {
    background: #d40000;
    color: #fff;
}

/* SECTIONS */

.section {
    padding-block: 3.5rem;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    max-width: 640px;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    color: #444;
}

.bg-light {
    background: #f3f4f6;
}

/* GRID UTILS */

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

/* PHOTO STACK */

.photo-stack {
    position: relative;
    max-width: 420px;
    margin-inline: auto;
}

.photo-main {
    border-radius: 1.25rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.photo-secondary {
    position: absolute;
    width: 52%;
    bottom: -12%;
    right: -6%;
    border-radius: 1rem;
    border: 4px solid #fafafa;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* ICON LIST */

.icon-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 0;
    font-size: 0.96rem;
}

.icon-list li {
    margin-bottom: 0.4rem;
}

/* CARDS */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.35rem 1.3rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    border-top: 3px solid #d40000;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* EVENTOS */

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card figcaption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.9rem;
}

/* GALERÍA */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    border-radius: 0.85rem;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.gallery-item:hover {
    transform: translateY(-2px) scale(1.01);
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 70;
    padding: 1rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.lightbox-content img {
    width: 100%;
    border-radius: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #fff;
    border: none;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* VIDEO */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* REDES */

.social-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.social-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.1rem 1.35rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.social-item h3 {
    margin-top: 0;
}

.social-embed {
    margin-bottom: 0.75rem;
}

.social-embed.simple {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

/* CONTACTO */

.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1.2rem 1.3rem 1.4rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.form-row label {
    margin-bottom: 0.25rem;
}

.form-row input,
.form-row textarea {
    border-radius: 0.6rem;
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.7rem;
    font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 2px solid #d40000;
    outline-offset: 1px;
    border-color: transparent;
}

/* MAPA */

.map-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    min-height: 260px;
}

.map-wrapper iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

/* WHATSAPP FLOTANTE */

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: #25d366;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
    z-index: 80;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.02);
}

/* FOOTER */

.site-footer {
    background: #0b0b0b;
    color: #e5e5e5;
    padding-block: 1.8rem;
    font-size: 0.85rem;
}

.footer-content {
    text-align: center;
}

.site-footer a {
    color: #ffcc00;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .photo-secondary {
        position: static;
        width: 60%;
        margin: 0.75rem auto 0;
        display: block;
    }

    .social-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 780px) {
    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: #000;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.2rem 1rem;
        display: none;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding-block: 3rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .nav-container {
        padding-block: 0.4rem;
    }
}
