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

:root {
    --bg: #050608;
    --bg-alt: #0d0f14;
    --card: #141720;
    --accent: #ffd54a;
    --accent-soft: rgba(255, 213, 74, 0.15);
    --text: #f7f7f7;
    --text-soft: #b9c0cf;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --transition-fast: 0.2s ease;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, #151c2b 0, #050608 45%, #020308 100%);
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.85), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.65rem;
    gap: 1.5rem;
}

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

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
}

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

.brand-title {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-soft);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.85rem;
}

.main-nav a {
    padding: 0.45rem 0.1rem;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54a, #ffb300);
    transition: width var(--transition-fast);
}

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

.btn-call-header {
    padding-inline: 0.95rem;
    padding-block: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 213, 74, 0.25);
    background: radial-gradient(circle at top left, rgba(255, 213, 74, 0.28), transparent 70%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.nav-toggle {
    border: none;
    background: transparent;
    display: none;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.3rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

/* HERO */

.hero {
    position: relative;
    min-height: 82vh;
    display: grid;
    place-items: stretch;
    isolation: isolate;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(15, 23, 42, 0.85), transparent 55%),
        linear-gradient(to bottom, rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0.95));
}

.hero-content {
    position: relative;
    padding-block: 5.8rem 4.6rem;
    z-index: 1;
    max-width: 620px;
}

.hero-eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-soft);
    margin-bottom: 0.7rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 3vw + 1.5rem, 3.1rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

.hero-text {
    max-width: 34rem;
    font-size: 0.98rem;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-block: 1.6rem 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 1.35rem;
    padding-block: 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, #ffd54a, #ffb300);
    color: #151515;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.75);
}

.btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.secondary:hover {
    background: rgba(9, 10, 13, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn.tertiary {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(255, 213, 74, 0.3);
}

.btn.full {
    width: 100%;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-badges span {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* SECTIONS */

.section {
    padding-block: 4.2rem;
    background: transparent;
}

.section-alt {
    background: radial-gradient(circle at top, #141927 0, #050608 55%);
}

.section-header {
    text-align: center;
    margin-bottom: 2.4rem;
}

.section-header.left {
    text-align: left;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    color: var(--text-soft);
    max-width: 34rem;
    margin-inline: auto;
}

/* CARDS */

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

.card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(4, 6, 12, 0.98));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

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

.card-body {
    padding: 1.2rem 1.3rem 1.2rem;
}

.card h3 {
    font-size: 1rem;
    margin: 0 0 0.4rem;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.card-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0.9rem 0 0;
}

.card-tags li {
    font-size: 0.72rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(5, 8, 16, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 213, 74, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

/* COMMUNITY */

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 1.3rem;
}

.feature-list li + li {
    margin-top: 0.95rem;
}

.feature-list h3 {
    font-size: 0.98rem;
    margin: 0 0 0.2rem;
}

.feature-list p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.community-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.text-link {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.community-media {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0.7rem;
}

.media-block {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.media-block img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.media-block.stacked {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

/* SOCIAL EMBEDS */

.social-embeds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2.8rem;
}

.social-card {
    background: rgba(4, 7, 14, 0.96);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    padding: 1.2rem 1.3rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.social-card h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
}

.social-card p {
    margin: 0 0 0.8rem;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #020308;
}

.instagram-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.9rem 1rem;
}

.insta-handle {
    font-weight: 600;
    font-size: 0.9rem;
}

.insta-text {
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* Video wrapper */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.gallery-item::after {
    content: "Ver foto";
    position: absolute;
    inset: auto 0 0.75rem;
    margin-inline: auto;
    width: max-content;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.gallery-modal-content {
    position: relative;
    max-width: min(960px, 96vw);
    max-height: 90vh;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95);
}

.gallery-modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.gallery-close {
    position: absolute;
    top: 0.3rem;
    right: 0.5rem;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    padding: 0 0.45rem 0.2rem;
    cursor: pointer;
    z-index: 5;
}

/* CONTACT */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 1rem;
    display: grid;
    gap: 0.8rem;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
    margin-bottom: 0.1rem;
}

.contact-list a {
    font-size: 0.98rem;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    width: 100%;
    height: 220px;
    border: none;
}

.contact-form-card {
    background: rgba(4, 7, 14, 0.98);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.6rem 1.6rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.contact-form-card h3 {
    margin: 0 0 0.3rem;
}

.contact-form-card p {
    margin: 0 0 1.1rem;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-field label {
    font-size: 0.82rem;
}

.form-field input,
.form-field textarea {
    background: rgba(5, 7, 12, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 0.9rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-field textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(255, 213, 74, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 213, 74, 0.4);
    background: rgba(6, 9, 16, 0.95);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-soft);
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050609;
    padding-block: 1.6rem 1.8rem;
    margin-top: 1rem;
    font-size: 0.8rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

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

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: cover;
}

.footer-title {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.footer-tagline {
    font-size: 0.72rem;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.footer-credits {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--text-soft);
}

.footer-credits a {
    color: var(--accent);
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #ffffff, #25d366);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
    z-index: 50;
}

.whatsapp-icon {
    font-size: 1.7rem;
}

/* RESPONSIVE */

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

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

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

@media (max-width: 768px) {
    .header-inner {
        padding-block: 0.55rem;
    }

    .main-nav {
        position: absolute;
        inset: 100% 0 auto;
        background: rgba(3, 4, 7, 0.98);
        flex-direction: column;
        padding: 0.6rem 1.1rem 0.8rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

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

    .btn-call-header {
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding-block: 4.6rem 3.6rem;
    }

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

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

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

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

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
    }
}

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

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

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

    .social-embeds {
        gap: 1rem;
    }
}
