/* Base y fondo degradado moderno */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8d7da, #f6e2d3, #ffffff, #121212);
    background-size: 400% 400%;
    animation: fondoAnimado 20s ease infinite;
    color: #4b0414;
}

@keyframes fondoAnimado {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Menú superior horizontal */
.menu-superior {
    /*position: fixed;*/
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255 255 255 / 0.85);
    backdrop-filter: saturate(180%) blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: 700;
    font-size: 1.6rem;
    color: #920b3f;
    font-family: 'Segoe UI Black', sans-serif;
}

.menu-superior nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu-superior nav a {
    text-decoration: none;
    color: #920b3f;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.menu-superior nav a:hover,
.menu-superior nav a.activo {
    color: #d6144f;
}

.menu-superior nav a.activo::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #d6144f;
    border-radius: 2px;
}

/* Portada */
.portada {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 8rem 4rem 4rem;
    background: linear-gradient(135deg, #fcdada 0%, #eacfc3 50%, #f9f3ee 100%);
    position: relative;
}

.portada-texto {
    /*flex: 1 1 400px;*/
    max-width: 600px;
    animation: fadeInUp 1.2s ease forwards;
}

.portada-texto h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #920b3f;
    text-shadow: 2px 2px 5px #f9f3ee;
    font-weight: 800;
}

.portada-texto p {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #4b0414;
    font-weight: 600;
}

.portada-imagen {
    flex: 1 1 400px;
    max-width: 500px;
    animation: fadeInRight 1.4s ease forwards;
}

.portada-imagen img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(198, 113, 119, 0.5);
    object-fit: cover;
}

/* Bloques sección */
.bloque {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 4rem;
    background: #fff8f7;
    border-radius: 1.2rem;
    box-shadow: 0 0 20px rgba(198, 113, 119, 0.2);
    color: #4b0414;
}

.bloque h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #920b3f;
}

.bloque p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mi rutina */
.rutina-contenido {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.rutina-contenido p {
    /*flex: 1 1 400px;*/
    font-size: 1.2rem;
}

.rutina-contenido img {
    flex: 1 1 300px;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(198, 113, 119, 0.3);
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Galería de productos: estructura en 2 filas de 2 columnas en móvil, 5 columnas en escritorio */
.galeria-productos {
    text-align: center;
    padding: 4rem 2rem;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
    margin-top: 2rem;
}

/* Ajustes para las imágenes de productos */
.galeria-grid img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


/* Galería Productos */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.galeria-grid img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(198, 113, 119, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.galeria-grid img:hover {
    transform: scale(1.05);
}

/* Comparación */
.comparacion {
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 0 25px rgba(198, 113, 119, 0.4);
    border-radius: 1rem;
}

/* Testimonios */

.carrusel-testimonios .testimonio {
    display: none;
    transition: all 0.5s ease;
    text-align: center;
}

.carrusel-testimonios .testimonio.activo {
    display: block;
}

.testimonios .carrusel-testimonios {
    position: relative;
    max-width: 700px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(198, 113, 119, 0.3);
    background: #f9f3ee;
    padding: 2rem;
    color: #4b0414;
    text-align: center;
}

.testimonios .testimonio {
    display: none;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonios .testimonio.activo {
    display: block;
    animation: fadeIn 1s ease;
}

.testimonios .testimonio img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    box-shadow: 0 0 10px #920b3f;
}

.testimonios .testimonio span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
    color: #d6144f;
}

/* FAQ */
.faq .faq-item {
    margin: 1rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-pregunta {
    width: 100%;
    background: #920b3f;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.8rem;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.faq-pregunta:hover {
    background: #d6144f;
}

.faq-respuesta {
    display: none;
    padding: 0.5em 1em;
    color: #333;
}

.faq-respuesta.activo {
    display: block;
}


/* Footer */
.footer {
    background: #4b0414;
    color: #ffcbd9;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: #ffcbd9;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .portada {
        flex-direction: column;
    }

    .portada-texto,
    .portada-imagen {
        max-width: 100%;
    }

    .portada-texto h1 {
        font-size: 2.5rem;
    }

    .rutina-contenido {
        flex-direction: column;
    }

    .rutina-contenido img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .menu-superior nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
}



.btn-instagram {
    display: inline-block;
    background-color: #d6144f;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-instagram:hover {
    background-color: #920b3f;
}


/* ===== Página de precios ===== */

/* Contenedor general */
.precios-grid {
    display: flex;
    justify-content: center;
    background: #fff0f5;
    /* fondo rosado suave */
    padding: 2rem 0;
}

/* Grid productos */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

/* Tarjeta producto */
.tarjeta-producto,
.modal-contenido {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(145, 0, 45, 0.15);
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.tarjeta-producto:hover,
.modal-contenido:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(145, 0, 45, 0.25);
}

/* Imagen producto */
.tarjeta-producto img,
.modal-contenido img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.8rem;
}

/* Títulos */
.tarjeta-producto h3,
.modal-contenido h2,
.modal-contenido h3 {
    color: #920b3f;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tarjeta-producto h3 {
    font-size: 1.1rem;
}

.modal-contenido h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Descripciones */
.modal-contenido p {
    color: #6e0030;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Precio */
.tarjeta-producto p,
.modal-contenido .modal-precio {
    color: #d6144f;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Overlay y botón Ver Más */
.overlay {
    margin-top: auto;
}

/* Overlay y botón "Ver más" animado */
.overlay {
    position: relative;
    margin-top: auto;
}

.ver-mas {
    background: #d6144f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(214, 20, 79, 0.45);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.tarjeta-producto:hover .ver-mas {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(214, 20, 79, 0.7);
}


/* ===== Modal Producto ===== */

.modal-producto {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-producto.show {
    display: flex;
    animation: modalFadeIn 0.35s ease forwards;
}

.modal-contenido {
    background: #fff0f5;
    /* rosado lavanda */
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(145, 11, 63, 0.3);
    color: #4b0414;
    position: relative;
    text-align: center;
    overflow-y: auto;
    max-height: 80vh;
    animation: modalFadeIn 0.4s ease-out;
}

.modal-contenido img.modal-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 3px solid #ffb6c1;
    box-shadow: 0 0 10px #ffd6e8;
}

.modal-contenido h3.modal-nombre {
    font-size: 1.8rem;
    font-weight: 800;
    color: #920b3f;
    text-shadow: 0 0 6px #ffd6e8;
    margin: 0.5rem 0 1rem;
}

.modal-contenido p.modal-descripcion {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-contenido p.modal-precio {
    font-weight: 700;
    font-size: 1.4rem;
    color: #d6144f;
    margin-bottom: 1.5rem;
}

/* Botón agregar carrito en modal */
.agregar-carrito {
    background: #e04a7f;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(224, 74, 127, 0.3);
}

.agregar-carrito:hover {
    background: #ba2b5b;
    box-shadow: 0 8px 18px rgba(186, 43, 91, 0.5);
    transform: translateY(-2px);
}

/* Botón cerrar modal */
.cerrar-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #d6144f;
    cursor: pointer;
    font-weight: 900;
    background: #ffd6e8;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
    user-select: none;
}

.cerrar-modal:hover {
    background: #d6144f;
    color: white;
}

/* Animación fade-in modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Animación de entrada de tarjetas */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animar {
    animation: slideUpFade 0.5s ease forwards;
    opacity: 0;
}


/* Aplica delay escalonado */
.grid-productos>.tarjeta-producto:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-productos>.tarjeta-producto:nth-child(2) {
    animation-delay: 0.25s;
}

.grid-productos>.tarjeta-producto:nth-child(3) {
    animation-delay: 0.4s;
}

.grid-productos>.tarjeta-producto:nth-child(4) {
    animation-delay: 0.55s;
}

.grid-productos>.tarjeta-producto:nth-child(5) {
    animation-delay: 0.7s;
}

.grid-productos>.tarjeta-producto:nth-child(6) {
    animation-delay: 0.85s;
}

.grid-productos>.tarjeta-producto:nth-child(7) {
    animation-delay: 1s;
}

.grid-productos>.tarjeta-producto:nth-child(8) {
    animation-delay: 1.15s;
}

.grid-productos>.tarjeta-producto:nth-child(9) {
    animation-delay: 1.3s;
}

.grid-productos>.tarjeta-producto:nth-child(10) {
    animation-delay: 1.45s;
}


/* ===== Carrito ===== */

/* Carrito estilizado */
#carrito-ventana {
    position: fixed;
    top: 130px;
    /* Ajusta si quieres más o menos espacio */
    right: 20px;
    background: #fff0f5;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(214, 20, 79, 0.3);
    color: #4b0414;
    padding: 2rem 2rem;
    max-width: 320px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1002;
    /* más alto que el botón */
    display: none;
    /* se muestra con JS */
}


#carrito-ventana h2 {
    margin-top: 0;
    text-align: center;
    color: #d6144f;
    text-shadow: 0 0 6px #ffb6c1;
}

#carrito-contenido li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #d6144f55;
    font-weight: 600;
    font-size: 1rem;
    gap: 10px;
    /* espacio entre texto y botón */
}

/* El nombre toma todo el espacio disponible */
#carrito-contenido li .nombre-producto {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    /* ocupa todo el espacio posible */
}

/* Botón eliminar */
#carrito-contenido li button {
    background: transparent;
    border: none;
    color: #d6144f;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
    /* no se achica */
}




.carrito-total {
    text-align: right;
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 700;
    color: #d6144f;
    text-shadow: 0 0 8px #ffb6c1;
}

.btn-carrito {
    width: 100%;
    margin-top: 10px;
    padding: 0.5rem;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    color: white;
    background: #d6144f;
    box-shadow: 0 5px 15px rgba(214, 20, 79, 0.6);
    transition: background 0.3s ease;
    font-size: 1rem;
}

.btn-carrito:hover {
    background: #920b3f;
}

/* Animación para modal */
.modal-producto.show .modal-contenido {
    animation: modalFadeIn 0.4s ease forwards;
}

/* Tooltip para el botón carrito */
#boton-carrito {
    position: fixed;
    bottom: 15px;
    right: 20px;
    background-color: #c2185b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 6px 15px rgba(194, 24, 91, 0.7);
    transition: background 0.3s ease;
}

#boton-carrito:hover {
    background-color: #ff4d94;
}

#contador-carrito {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff5252;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 2px 7px;
    border-radius: 50%;
    user-select: none;
}



.mensaje-agregado {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4caf50;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0;
    text-align: center;
    user-select: none;

    animation: mensajeFadeInOut 3s forwards;
}

@keyframes mensajeFadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -70%) scale(0.8);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -30%) scale(1);
    }

    90% {
        opacity: 1;
        transform: translate(-50%, -30%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -10%) scale(0.8);
    }
}


/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .grid-productos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-productos {
        grid-template-columns: 1fr;
    }

    .carrito-box {
        width: 90%;
        right: 5%;
    }
}







/*PÁG DE INFO*/

#btn-consejo {
    background: linear-gradient(135deg, #d43f6a, #f78ca0);
    color: white;
    border: none;
    padding: 0.75rem 1.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 63, 106, 0.6);
    transition: background 0.4s ease, transform 0.3s ease;
    margin-top: 1.5rem;
    display: inline-block;
    user-select: none;
}

#btn-consejo:hover {
    background: linear-gradient(135deg, #f78ca0, #d43f6a);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(247, 140, 160, 0.8);
}


#consejo-aleatorio {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}


/* Modal info personalizado */
.modal-info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 4, 20, 0.75);
    /* vino semitransparente */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.modal-info.show {
    display: flex;
    animation: fadeInModal 0.4s ease forwards;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-info-contenido {
    background: #f9f3ee;
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 25px rgba(198, 113, 119, 0.7);
    color: #4b0414;
    text-align: center;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-info-contenido h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #920b3f;
}

.modal-info-contenido p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.cerrar-modal-info {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: #d6144f;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cerrar-modal-info:hover {
    color: #920b3f;
}





/* Contenedor con grid */






.errores-carrusel {
    background: #fff0f8;
    padding: 60px 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 60px auto;
    box-shadow: 0 0 20px rgba(122, 20, 60, 0.1);
}

.errores-carrusel h2 {
    color: #800040;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    padding: 30px;
    background: #ffe6ef;
    border-radius: 15px;
    color: #4a0033;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(122, 20, 60, 0.15);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.carousel-indicators {
    margin-top: 25px;
    position: inherit !important;
}

.carousel-indicators .dot {
    height: 14px;
    width: 14px;
    margin: 0 6px;
    background-color: #b5658f;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.carousel-indicators .dot.active {
    background-color: #800040;
    box-shadow: 0 0 6px rgba(128, 0, 64, 0.5);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    height: 200px;
    /* ya está fijo, perfecto */
    transition: height 0.3s ease;
    /* opcional, si planeas alturas variables */
}



.carousel-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    /* resto igual */
}


.text-vino {
    color: #800040;
    /* tu tono vino */
}
























/* --- Sección contacto --- */
.contacto-seccion {
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contacto-seccion h1 {
    font-size: 3rem;
    color: #920b3f;
    margin-bottom: 0.25em;
    font-weight: 900;
    text-shadow: 1px 1px 3px #f9f3ee;
}

.contacto-seccion p {
    font-size: 1.2rem;
    color: #4b0414;
    margin-bottom: 3rem;
    font-weight: 600;
}

.botones-contacto {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Botones base */
.btn-contacto {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 15px rgba(146, 11, 63, 0.35);
    transition: background-color 0.3s ease, transform 0.3s ease;
    user-select: none;
    cursor: pointer;
}

.btn-contacto svg {
    width: 28px;
    height: 28px;
    fill: white;
    flex-shrink: 0;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

.btn-contacto:hover svg {
    filter: drop-shadow(0 0 3px #d6144f);
}

.btn-contacto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(214, 20, 79, 0.6);
}

/* Colores específicos */

.btn-correo {
    background: #920b3f;
}

.btn-correo:hover {
    background: #d6144f;
}

.btn-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.btn-instagram:hover {
    filter: brightness(1.1);
}

.btn-paypal {
    background: #00457c;
}

.btn-paypal:hover {
    background: #0070ba;
}

/* Responsive */

@media (max-width: 600px) {
    .botones-contacto {
        flex-direction: column;
        gap: 1.25rem;
    }

    .btn-contacto {
        justify-content: center;
    }
}






/* Ejemplo básico */
@media (max-width: 768px) {

    /* Estilos para tablets y móviles */
    body {
        font-size: 16px;
    }

    .menu {
        display: none;
        /* o cambia el menú por hamburguesa */
    }

    .galeria {
        grid-template-columns: 1fr;
        /* una columna en móviles */
    }
}

@media (min-width: 769px) {

    /* Estilos para escritorio */
    .galeria {
        grid-template-columns: repeat(3, 1fr);
        /* tres columnas en desktop */
    }
}








/*RESPONSIVE INDEX.HTML*/

/* MOBILE FIRST - ajuste general para pantallas pequeñas */
@media screen and (max-width: 768px) {
    header.menu-superior nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .portada {
        flex-direction: column;
        text-align: center;
        min-height: 50vh;
    }

    .portada-imagen img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .rutina-contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rutina-contenido img {
        max-width: 90%;
    }

    .galeria-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonio {
        max-width: 90%;
        margin: auto;
    }

    .faq-item button {
        font-size: 1rem;
    }

    footer.footer {
        flex-direction: column;
        text-align: center;
    }
}



@media screen and (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .portada-texto h1 {
        font-size: 1.8rem;
    }

    .portada-texto p {
        font-size: 1rem;
    }
}




img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}




/* --- SOBRE-MI.HTML: Responsive --- */



/* Presentación y listas */
.sobre-mi-presentacion,
.enfoque-lista,
.llamada-accion {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.enfoque-lista ul {
    list-style: none;
    padding-left: 0;
}

.enfoque-lista ul li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}


/* Media Queries para pantallas pequeñas */
@media (max-width: 600px) {
    .portada.sobremi {
        flex-direction: column;
        padding: 8rem 4rem 4rem;
    }

    .sobre-mi-presentacion,
    .enfoque-lista,
    .llamada-accion {
        padding: 0 1rem;
        font-size: 0.95rem;
    }

    .enfoque-lista ul li {
        font-size: 1rem;
    }
}




/* INFORMACIÓN */
/* Estilo base */
.tarjetas-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Esto permite que se ajusten en varias filas en ordenadores */
}

/* Tarjetas: tamaño y efecto */
.flip-card {
    background: #fff0f5;
    width: 250px;
    height: 180px;
    perspective: 1000px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 100%;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

.flip-card-front {
    background-color: #ffc0cb;
    color: #4b0414;
}

.flip-card-back {
    background-color: #fff;
    color: #4b0414;
    transform: rotateY(180deg);
}

/* Estilo para móviles: una tarjeta debajo de otra */
@media screen and (max-width: 768px) {
    .tarjetas-container {
        flex-direction: column;
        align-items: center;
    }

    .flip-card {
        width: 90%;
        /* O 100% si prefieres que ocupen todo el ancho */
        max-width: 300px;
    }
}