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

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1b1330;
    background-color: #f7f5fb;
    line-height: 1.6;
}

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

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

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Topbar */
.topbar {
    background: #461b70;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

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

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

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

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
}

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

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #a400c4, #ff4fd8);
    color: #fff;
    box-shadow: 0 8px 18px rgba(164, 0, 196, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(164, 0, 196, 0.45);
}

.btn-secondary {
    background: #fff;
    color: #461b70;
    box-shadow: 0 4px 10px rgba(0,0,0,0.14);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    color: #fff;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(70, 27, 112, 0.86), rgba(150, 38, 160, 0.75), rgba(0,0,0,0.45));
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2.5rem;
    padding: 3.5rem 1.25rem 4rem;
}

.hero-text h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    margin: 0 0 0.75rem;
}

.hero-text p {
    margin: 0 0 1.2rem;
    max-width: 36rem;
}

.hero-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.4rem;
    padding: 0;
}

.hero-tags li {
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    backdrop-filter: blur(8px);
}

.hero-sidecard {
    background: rgba(255,255,255,0.06);
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
}

.hero-sidecard h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.hero-sidecard ul {
    padding-left: 1.05rem;
    margin: 0.5rem 0 0.4rem;
    font-size: 0.9rem;
}

.hero-sidecard small {
    font-size: 0.7rem;
    opacity: 0.9;
}

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

.section-light {
    background: #f7f5fb;
}

.section-dark {
    background: #241437;
    color: #f7f5fb;
}

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

.section-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
}

.section-header p {
    margin: 0;
    opacity: 0.85;
}

/* Promo grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(34, 9, 61, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.section-dark .promo-card {
    background: #32184d;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(34, 9, 61, 0.36);
}

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

.promo-body {
    padding: 0.9rem 1rem 1.1rem;
}

.promo-body h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.promo-body p {
    margin: 0;
    font-size: 0.86rem;
    opacity: 0.9;
}

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

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

.gallery-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0,0,0,0.55);
    opacity: 0.96;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.lightbox img {
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.75);
}

.lightbox-close {
    position: fixed;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Video */
.video-section .video-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1.3rem;
    box-shadow: 0 16px 34px rgba(0,0,0,0.4);
}

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

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

.social-card {
    background: #32184d;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: 0 10px 22px rgba(0,0,0,0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.6);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.social-icon.fb {
    background: #1877f2;
}

.social-icon.ig {
    background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

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

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

.map-embed iframe {
    width: 100%;
    min-height: 230px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.contact-form-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.4rem 1.5rem 1.6rem;
    box-shadow: 0 16px 34px rgba(27, 19, 48, 0.22);
}

.contact-form-card h3 {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    border: 1px solid #d3c8ea;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a400c4;
    box-shadow: 0 0 0 2px rgba(164, 0, 196, 0.17);
}

.form-row {
    display: flex;
    gap: 0.8rem;
}

.form-row .form-group {
    flex: 1;
}

/* Footer */
.footer {
    background: #13051f;
    color: #e0d6f7;
    padding: 1.8rem 0 2rem;
    font-size: 0.8rem;
}

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

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

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-content p {
    margin: 0;
}

.made-by a {
    color: #ffb7ff;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.2rem;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(0,0,0,0.4);
    z-index: 80;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 34px rgba(0,0,0,0.55);
}

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

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

    .hero-sidecard {
        order: -1;
    }

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

@media (max-width: 720px) {
    .section {
        padding: 2.6rem 0;
    }

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

    .promo-img {
        height: 160px;
    }

    .gallery-item {
        height: 140px;
    }

    .topbar-content {
        align-items: center;
        text-align: center;
    }

    .brand {
        justify-content: center;
    }

    .topbar-contact {
        width: 100%;
        justify-content: center;
    }
}

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

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 3.3rem;
    }

    .hero-sidecard {
        font-size: 0.88rem;
    }

    .form-row {
        flex-direction: column;
    }
}
