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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #101624;
    background-color: #f6f2ea;
    line-height: 1.6;
}

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

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

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

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(16, 22, 36, 0.96);
    color: #f6f2ea;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    gap: 1rem;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #f6f2ea;
}

.logo-text h1 {
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-text p {
    font-size: 0.75rem;
    opacity: 0.85;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.main-nav a {
    position: relative;
    padding: 0.2rem 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 0;
    height: 2px;
    background: #ffdd7b;
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #f6f2ea;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    display: grid;
    place-items: stretch;
    color: #f6f2ea;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 12, 26, 0.85), rgba(9, 22, 49, 0.8));
}

.hero-content {
    position: relative;
    padding: 5rem 0 4rem;
    max-width: 640px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(246, 242, 234, 0.1);
    border: 1px solid rgba(246, 242, 234, 0.3);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.9rem;
}

.hero h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 0.98rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary-btn {
    background: #ffdd7b;
    color: #171d32;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
}

.secondary-btn {
    background: transparent;
    color: #f6f2ea;
    border-color: rgba(246, 242, 234, 0.7);
}

.secondary-btn:hover {
    background: rgba(246, 242, 234, 0.1);
}

.hero-note {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: #ebe2d2;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.section-intro {
    max-width: 620px;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* Cards / lists */
.highlight-card {
    background: #101624;
    color: #f6f2ea;
    border-radius: 1.1rem;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.highlight-card h4 {
    margin-bottom: 0.8rem;
}

.highlight-card ul {
    margin-left: 1rem;
    margin-bottom: 0.4rem;
    font-size: 0.93rem;
}

.highlight-card li + li {
    margin-top: 0.25rem;
}

.small-text {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

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

.icon-list li + li {
    margin-top: 0.25rem;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
}

.info-card {
    background: #f6f2ea;
    border-radius: 0.9rem;
    padding: 1.2rem 1.1rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    font-size: 0.92rem;
}

.info-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.gallery-item {
    border-radius: 0.7rem;
    object-fit: cover;
    height: 140px;
    width: 100%;
    cursor: zoom-in;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1500;
}

.lightbox.open {
    display: flex;
}

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

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

.lightbox-close {
    position: absolute;
    top: -2.3rem;
    right: 0;
    background: transparent;
    border: none;
    color: #f6f2ea;
    font-size: 2rem;
    cursor: pointer;
}

/* Video */
.video-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
}

.video-frame {
    width: 100%;
}

.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.responsive-iframe iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

/* Redes */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.social-card {
    background: #101624;
    color: #f6f2ea;
    border-radius: 1rem;
    padding: 1.5rem 1.4rem 1.2rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    font-size: 0.93rem;
}

.social-card h4 {
    margin-bottom: 0.4rem;
}

.social-btn {
    margin-top: 0.8rem;
    background: #ffdd7b;
    color: #171d32;
}

.fb-embed {
    margin-top: 0.8rem;
    border-radius: 0.7rem;
    overflow: hidden;
}

.fb-embed iframe {
    width: 100%;
}

/* Formulario */
.contact-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.form-row {
    display: grid;
    gap: 0.25rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
}

input,
textarea {
    border-radius: 0.7rem;
    border: 1px solid #c4b59a;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fdfaf4;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input:focus,
textarea:focus {
    border-color: #ffdd7b;
    box-shadow: 0 0 0 3px rgba(255, 221, 123, 0.35);
    background: #ffffff;
}

.form-btn {
    justify-self: flex-start;
    margin-top: 0.4rem;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
    z-index: 1200;
}

.whatsapp-float:hover {
    transform: translateY(-1px);
}

/* Footer */
.main-footer {
    background: #101624;
    color: #f6f2ea;
    padding: 1.3rem 0 1.4rem;
    margin-top: 1rem;
    font-size: 0.82rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.main-footer a {
    color: #ffdd7b;
}

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

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

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

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

@media (max-width: 720px) {
    .header-content {
        padding: 0.4rem 0;
    }

    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: rgba(16, 22, 36, 0.98);
        flex-direction: column;
        padding: 0.6rem 1rem 0.9rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .main-nav.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: block;
    }

    .logo-text h1 {
        font-size: 0.9rem;
    }

    .hero-content {
        padding-top: 4.2rem;
        padding-bottom: 3.2rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 1.5rem, 480px);
    }

    .gallery-item {
        height: 130px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero h2 {
        font-size: 1.7rem;
    }
}
