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

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

/* Layout utilitario */
.section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-alt {
    background: radial-gradient(circle at top left, #151c30 0, #050711 50%, #03040a 100%);
    color: #f7f7ff;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    color: #f7f7ff;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: .6rem;
}

.section-header p {
    opacity: .8;
}

.icon-list {
    list-style: none;
    margin: 1.5rem 0 0;
}

.icon-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .6rem;
    opacity: .9;
}

.icon-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #f4c66b;
    font-size: 1.2rem;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.5rem;
    background: linear-gradient(to right, rgba(5,7,17,.98), rgba(10,12,24,.96));
    border-bottom: 1px solid rgba(255,255,255,.05);
    backdrop-filter: blur(18px);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.35);
}

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

.brand-main {
    font-size: 1.1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fdf5e3;
    font-weight: 600;
}

.brand-sub {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(221, 217, 255, .8);
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    font-size: .9rem;
}

.main-nav a {
    color: #e4e6ff;
    text-decoration: none;
    position: relative;
    padding-bottom: .2rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,#f4c66b,#f78d4a);
    transition: width .25s ease;
}

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

.header-call {
    font-size: .85rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 4rem;
    color: #f7f7ff;
    background-image:
        linear-gradient(120deg, rgba(5,7,17,.82), rgba(8,14,34,.96)),
        url("../img/3.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(244,198,107,.35), transparent 60%);
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    max-width: 720px;
    text-align: left;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(244,198,107,.5);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 1rem;
    background: rgba(5,7,17,.7);
}

.badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #5af29c;
}

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

.hero-text {
    max-width: 32rem;
    opacity: .9;
    margin-bottom: 1.5rem;
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    font-size: .85rem;
    opacity: .9;
}

.hero-meta span::before {
    content: "✦";
    margin-right: .35rem;
    color: #f4c66b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #f4c66b, #f78d4a);
    color: #1a1824;
    box-shadow: 0 12px 28px rgba(0,0,0,.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0,0,0,.5);
}

.btn-ghost {
    background: transparent;
    color: #f7f7ff;
    border: 1px solid rgba(255,255,255,.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,.06);
}

.btn-outline {
    border: 1px solid rgba(244,198,107,.8);
    color: #f4c66b;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(244,198,107,.08);
}

.btn-full {
    width: 100%;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.8rem;
}

.card {
    background: radial-gradient(circle at top, #151b2d 0, #050711 55%, #03040a 100%);
    border-radius: 1.5rem;
    padding: 1.2rem 1.2rem 1.4rem;
    border: 1px solid rgba(255,255,255,.06);
    color: #f7f7ff;
    box-shadow: 0 18px 45px rgba(0,0,0,.65);
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 1.1rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: .4rem;
}

.card p {
    font-size: .95rem;
    opacity: .85;
}

.card-tag {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #f4c66b;
    margin-bottom: .55rem;
}

/* Section alt gallery */
.section-gallery {
    display: grid;
    gap: 1.2rem;
}

.img-rounded {
    width: 100%;
    border-radius: 1.6rem;
    object-fit: cover;
    min-height: 210px;
    max-height: 280px;
}

.section-gallery .secondary {
    opacity: .9;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.gallery-item {
    width: 100%;
    border-radius: 1.1rem;
    object-fit: cover;
    height: 160px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    box-shadow: 0 10px 26px rgba(0,0,0,.5);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.7);
    opacity: .95;
}

.gallery-note {
    text-align: center;
    margin-top: 1rem;
    font-size: .9rem;
    color: rgba(244,244,255,.8);
}

/* Video */
.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0,0,0,.7);
}

.video-wrapper::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

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

/* Social */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.social-card {
    background: radial-gradient(circle at top, #151b2d 0, #050711 55%, #03040a 100%);
    border-radius: 1.6rem;
    padding: 1.4rem 1.4rem 1.6rem;
    border: 1px solid rgba(255,255,255,.05);
    color: #f7f7ff;
    box-shadow: 0 18px 45px rgba(0,0,0,.6);
}

.social-card h3 {
    font-size: 1.2rem;
    margin-bottom: .25rem;
}

.social-card p {
    font-size: .9rem;
    opacity: .85;
    margin-bottom: .8rem;
}

.social-embed {
    margin-bottom: 1rem;
    background: #050711;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
}

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

/* Contacto */
.contact-inner {
    align-items: flex-start;
}

.contact-form-wrapper {
    background: rgba(5,7,17,.9);
    border-radius: 1.5rem;
    border: 1px solid rgba(244,198,107,.25);
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.7);
}

.contact-form .field {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: .85rem;
    margin-bottom: .25rem;
    opacity: .9;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .55rem .7rem;
    border-radius: .7rem;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(5,7,17,.9);
    color: #f7f7ff;
    font-size: .9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f4c66b;
    box-shadow: 0 0 0 1px rgba(244,198,107,.4);
}

.form-note {
    margin-top: .5rem;
    font-size: .78rem;
    opacity: .8;
}

/* Footer */
.main-footer {
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
    font-size: .85rem;
    color: rgba(244,244,255,.75);
    border-top: 1px solid rgba(255,255,255,.04);
    background: #03040a;
}

.main-footer a {
    color: #f4c66b;
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    z-index: 2;
}

.lightbox-inner img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 1.2rem;
    box-shadow: 0 26px 60px rgba(0,0,0,.85);
}

.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
}

.lightbox-close {
    position: absolute;
    top: -2.3rem;
    right: -.3rem;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    background: rgba(5,7,17,.9);
    color: #f7f7ff;
    box-shadow: 0 6px 20px rgba(0,0,0,.7);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #8bffc4 0, #25d366 40%, #128c7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0,0,0,.7);
    text-decoration: none;
    z-index: 30;
}

.wa-icon {
    font-size: 1.6rem;
}

/* Animaciones */
.fade-in-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s ease, transform .55s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsivo */
@media (max-width: 900px) {
    .section-inner {
        grid-template-columns: 1fr;
    }

    .main-header {
        flex-wrap: wrap;
        gap: .75rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: .3rem;
    }
}

@media (max-width: 700px) {
    .hero {
        padding-top: 5.2rem;
        text-align: left;
    }

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

    .hero-meta {
        flex-direction: column;
    }

    .logo-text .brand-sub {
        letter-spacing: .17em;
    }
}

@media (max-width: 480px) {
    .section {
        padding-inline: 1.1rem;
    }

    .main-header {
        padding-inline: 1.1rem;
    }

    .gallery-item {
        height: 140px;
    }
}
