/* ===== RESET BÁSICO ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #333;
}

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

/* ===== BARRA SUPERIOR ===== */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(0,0,0,0.0);
    z-index: 1000;
}

.top-bar-content {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 42px;
}

.top-nav {
    display: flex;
    gap: 20px;
}

.top-nav a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #EC9EC0;
}

/* ===== HERO VIDEO ===== */

.banner-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 70px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video fondo blur */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px) brightness(0.7);
    transform: scale(1.2);
    z-index: 0;
}

/* Video principal */
.banner-video-wrapper {
    position: relative;
    width: 92%;
    max-width: 900px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    overflow: hidden;
    z-index: 1;
}

#background-video {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 18px;
}

/* Textos flotantes */
.overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.overlay h2 {
    font-size: 83px;
    margin: 6px 0;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
}

.overlay h2.highlight {
    color: #EC9EC0;
}

.overlay h3 {
    font-size: 30px;
    font-weight: 400;
    color: #cfcfcf;
    margin-top: 10px;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
}

/* Contacto hero */
.contact-info {
    margin-top: 28px;
    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    pointer-events: auto;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6em;
    font-weight: 600;
    color: #ffffff;
}

.contact-link:hover {
    color: #EC9EC0;
}

.phone-icon {
    width: 42px;
    height: 42px;
}

/* ===== SECCIONES ===== */

.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* ===== CARDS ===== */

.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    max-width: 300px;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #222;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.card img {
    width: 100%;
    border-radius: 12px;
}

.card h4 {
    margin: 16px 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* ===== VIDEO SECCIÓN ===== */

.video-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    border-radius: 10px;
}

/* ===== IMÁGENES FULL ===== */

.full-width {
    width: 100%;
    display: block;
}

/* ===== FOOTER ===== */

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 24px;
    font-size: 0.9em;
    line-height: 1.5;
}

/* ===== WHATSAPP FLOAT ===== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

/* ===== POPUP ===== */

.popup-form {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-form.active {
    display: flex;
}

.popup-box {
    background: #fff;
    width: 95%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.popup-content {
    padding: 24px;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 26px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

/* ===== FORM ===== */

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.popup-box button {
    margin-top: 18px;
    padding: 12px;
    background: #EC9EC0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .banner-container {
        height: 360px;
    }

    .overlay h2 {
        font-size: 46px;
    }

    .overlay h3 {
        font-size: 20px;
    }

    .contact-link {
        font-size: 1.3em;
    }

    .phone-icon {
        width: 34px;
        height: 34px;
    }

    .top-nav a {
        font-size: 13px;
    }
}
.instagram-section{
text-align:center;
padding:60px 20px;
background:#fafafa;
}

.instagram-section h2{
font-size:32px;
margin-bottom:30px;
}

.instagram-preview{
max-width:540px;
margin:auto;
}

.tiktok-section {
  text-align: center;
  padding: 40px 20px;
}

.tiktok-preview {
  display: flex;
  justify-content: center;
}