/* AJUSTES GENERALES */

:root {
    --rojo-shyy: #6d1514;
    --rosa-suave: #fef5f2;
    --rosa-medio: #f3d7e9;
    --lavanda: #89a0d3;
    --negro: #1a1a1a;
    --blanco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    font-family: 'Manrope', sans-serif;
}

/* HEADER */
.shyy-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #f3d7e9;
    backdrop-filter: blur(10px);
}


.logo {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #6d1514;
}

.menu a {
    margin-left: 30px;
    font-size: 15px;
    color: #6d1514;
    text-decoration: none;
}

.menu a:hover {
    color: #89a0d3;
}


/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--negro);
    transition: .3s ease;
    border-radius: 2px;
}

body, html {
    background: linear-gradient(180deg, #000000, #020314);
    margin: 0;
    padding: 0;
    color: white;
}




/*HOLA*/

.services-title {
    text-align: center;
    font-size: 50px;
    font-weight: 1600;
    margin-top: 120px;  /* antes seguro estaba en 120–180px */
    margin-bottom: 10px;
    text-align: center;
    color: #f3d7e9;
}



/* CONTENEDOR DE TARJETAS (3 EN FILA) */
.pricing-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}


/* TARJETA */
.cards-container {
    display: flex;
    gap: 50px;           /* separación entre tarjetas */
    justify-content: center; /* centra las tarjetas */
    flex-wrap: wrap;     /* evita que se salga en pantallas pequeñas */
    padding: 10px;
    margin-top: 8px;   
    margin-bottom: 50px;
    align-items: stretch;
}

.card {
    width: 280px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    margin-bottom: 1px;
    flex-direction: column;
    height: 100%; /* se estiran */
}

.features {
    flex-grow: 1; /* empuja el botón hacia abajo */
}

.card:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* TÍTULO DEL PACK */
.title {
    font-weight: 700;
    font-size: 28px;
    color: var(--blanco);
    margin: 0;
}

/* PRECIO */
.price {
    color: var(--lavanda);
    font-weight: 600;
    margin-top: 6px;
    font-size: 16px;
}

/* SEPARADOR */
.separator {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 18px 0;
}

/* LISTA */
.features {
    margin: 0 0 22px 0;
    padding-left: 18px;
    color: var(--blanco);
    font-size: 15px;
    line-height: 1.6;
}

.features li {
    margin-bottom: 6px;
}

/* BOTÓN */
.btn {
    display: block;
    width: 100%;
    background: var(--rosa-medio);
    color: var(--negro);
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: scale(1.06);
    background: var(--rosa-suave);
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

/* LINK PEQUEÑO */
.small-link {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--lavanda);
    text-decoration: underline;
    opacity: .7;
}


/* MODAL ESTILO GENERAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 25px;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* CUANDO SE ACTIVA */
.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* CONTENIDO DEL MODAL */
.modal-content {
    background: #1a1a1a;
    color: white;
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);

    max-height: 85vh;  
    transition: transform 0.35s ease, opacity 0.35s ease;

    transform: translateY(40px);
    opacity: 0;
    transition: all 0.35s ease;
}


/* ANIMACIÓN DE ENTRADA */
.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* BOTÓN CERRAR */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;   /* ← Esto la manda a la DERECHA */
    font-size: 22px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
}


/* TÍTULO DEL MODAL */
.modal-title {
    font-size: 26px;
    margin-bottom: 18px;
    color: #f3d7e9;
}

/* DETAILS */
details {
    margin-bottom: 15px;
    background: #2a2a2a;
    padding: 12px 14px;
    border-radius: 10px;
}

details summary {
    cursor: pointer;
    font-weight: 600;
    color: #ccc; /* o el color que quieras */
    transition: color 0.3s ease;
}

details[open] summary {
    color: #ffffff; /* color al abrir */
    font-weight: 700; /* se ve más firme y bonito */
    transition: color 0.3s ease;
}

details:hover {
    background: #333;
    transition: background 0.3s ease;
}

details[open] {
    background: #3a3a3a;
}

details p {
    padding-left: 32px; /* Sangría a todo el párrafo */
    margin-top: 8px;      /* Un poco de separación del summary */
    line-height: 1.6;     /* Mejor lectura */
}


.btn-continue {
    display: block;
    margin-top: 25px;
    background: var(--rosa-medio);
    color: black;
    padding: 14px;
    text-align: center;
    border-radius: 18px;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-continue:hover {
    background: var(--lavanda); /* o el color que quieras */
    color: white; /* opcional */
}


/* ============================
            FOOTER
============================= */
.footer {
    background: #6d1514;      /* blanco */
    width: 100vw;             /* ocupa TODO el ancho */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    
    padding: 40px 0;
    color: #ffffff;             /* letras negras */
}

.footer-grid {
    width: 90%;
    max-width: 1300px;    /* columnas centradas */
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col a {
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-form {
    display: flex;
    flex-direction: column;
}

.footer-form input {
    padding: 12px;
    border-radius: 15px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-btn {
    padding: 12px;
    background: #ccc;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.footer-btn:hover {
    background: #89a0d3; /* color bonito al pasar */
    transform: scale(1.05);
}

/* ===== BOTONES FLOTANTES ===== */
.floating-btn {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s, opacity 0.3s;
  opacity: 0.9;
  overflow: hidden;
}

.floating-btn img {
  width: 60%;
  height: 60%;
}

/* Hover efecto */
.floating-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Posiciones */
#btn-up {
  bottom: 90px;
  right: 20px;
  background: #6d1514;
}

#btn-whatsapp {
  bottom: 20px;
  right: 20px;
  background: #25d366;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  #btn-up {
    bottom: 70px;
  }
  #btn-whatsapp {
    bottom: 15px;
  }
}

/* RESPONSIVE - MENÚ FULL PANTALLA EN MÓVIL */

@media (max-width: 768px) {
    .services-title {
        font-size: 32px;    /* más delicado */
        margin-top: 80px;   /* baja un poco */
        margin-bottom: 15px; /* menos espacio excesivo */
    }

    .cards-container {
        margin-top: 20px;      /* antes 8px → demasiado cerca */
        margin-bottom: 40px;
    }

    .pricing-grid {
        margin-top: 20px; 
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        margin-bottom: 20px;
        text-align: left; /* ← ahora todo alineado a la izquierda */
    }
}


@media (max-width: 850px) {

    .hamburger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;     
        width: 70%;       /* NO uses 100%, se ve más elegante así */
        height: 100vh;
        background: var(--rosa-suave);
        display: flex;         /* ← OBLIGATORIO */
        flex-direction: column; /* ← UNA SOLA COLUMNA */
        align-items: flex-start; /* ← no centrado */
        justify-content: flex-start;
        padding: 80px 30px 40px;
        gap: 25px;
        transition: .3s ease;
        z-index: 9999;
    }

    .menu a {
        margin: 0;                /* ← elimina el margin-left que rompía todo */
        width: 100%;              /* ← fuerza UNA columna */
        font-size: 18px;
        text-align: left;
    }

    .menu.active {
        right: 0;
    }

    /* Animación hamburguesa → X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 480px) {

    .modal-content {
        padding: 22px;        /* menos padding */
        border-radius: 12px;  /* esquinas más pequeñas */
        font-size: 14px;      /* tamaño base más pequeño */
    }

    .modal-title {
        font-size: 20px;      /* baja de 26px */
        margin-bottom: 12px;
    }

    details {
        padding: 10px 12px;
    }

    details summary {
        font-size: 14px;      /* antes demasiado grande */
    }

    .details-content p {
        font-size: 13px;
        line-height: 1.45;
    }

    .btn-continue {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }
}
