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

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    padding-top: 90px;
}

/* ============================================
   HEADER
============================================ */
header {
    height: 100vh;
    background-image: url("../recursos/cielo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -180px;
    padding-top: 180px;
    position: relative;
    overflow: visible;
}

.texto-header {
    position: absolute;
    left: 130px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.texto-header h1 {
    font-size: 100px;
    line-height: 1.2;
    color: #064269;
}

.texto-header span {
    color: #E40E1A;
    font-size: 138px;
    font-weight: bold;
}

/* ============================================
   MENÚ
============================================ */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
}

.menu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -40px;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.logo {
    width: 450px;
    height: auto;
    margin-top: -20px;
}

.links {
    display: flex;
    gap: 60px;
    margin-left: 360px;
}

.menu a {
    text-decoration: none;
    color: #064269;
    font-weight: 600;
    font-size: 29px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #1E90FF;
}

.sociales {
    display: flex;
    gap: 15px;
}

.icono {
    width: 60px;
    height: 60px;
    fill: #E40E1A;
    cursor: pointer;
}

#ingles {
    width: 60px;
    height: 60px;
    fill: #00406A;
    cursor: pointer;
}

.icono:hover {
    fill: #E40E1A;
}

/* ============================================
   SELECTOR DE IDIOMA
============================================ */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.lang-label {
    font-size: 14px;
    font-weight: bold;
    color: #064269;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider { background-color: #E40E1A; }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

/* ============================================
   BOTÓN HAMBURGUESA
============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background-color: #064269;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* ============================================
   BOTONES
============================================ */
.boton-angel {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
}

.btn-magico {
    display: inline-block;
    padding: 18px 90px;
    font-size: 38px;
    font-weight: bold;
    color: white;
    background-color: #E40E1A;
    text-decoration: none;
    border-radius: 40px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-magico:hover {
    background-color: #ff3b3b;
    transform: scale(1.05);
}

#boton-adoptar {
    left: 110px;
    transform: translateX(0);
    bottom: 20px;
    position: relative;
    z-index: 5;
}

#boton-adoptar .btn-magico {
    font-size: 28px;
    padding: 14px 60px;
}

/* ============================================
   ELEMENTOS DECORATIVOS DEL HEADER
============================================ */
.Angel {
    position: absolute;
    bottom: 27%;
    left: 50%;
    transform: translateX(-40%);
    width: 35%;
    z-index: 100;
}

.imagen-angel,
.imagen-sello,
.imagen-angelitos {
    width: 100%;
    height: auto;
    display: block;
}

.angel-animado {
    animation: float 3s ease-in-out infinite;
}

.Angelitos {
    position: absolute;
    bottom: 45%;
    left: 50%;
    transform: translateX(120%);
    width: 20%;
    z-index: 100;
}

.angelitos-flotantes {
    animation: flotarAngelitos 3s ease-in-out infinite;
    width: 100%;
    height: 100%;
    display: block;
}

.sello {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(210%);
    width: 13%;
    z-index: 1;
}

.nubes-derecha {
    position: absolute;
    top: 11%;
    left: 29%;
    width: 80%;
    z-index: 10;
}

.nubes-izquierda {
    position: absolute;
    bottom: -550px;
    right: 22%;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   ANIMACIONES
============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes flotarAngelitos {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   SECCIÓN MENSAJE
============================================ */
.mensaje {
    position: relative;
    background-color: white;
    padding: 80px 120px 120px;
    display: grid;
    grid-template-columns: 55% 45%;
    column-gap: 80px;
    row-gap: 40px;
    overflow: hidden;
}

.mensaje::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background-color: #dff3fb;
    z-index: 0;
}

.contenido-mensaje,
.imagen-mensaje {
    position: relative;
    z-index: 1;
}

.contenido-mensaje {
    grid-column: 1 / 2;
    color: #0b2c4a;
    margin-left: 5%;
}

.contenido-mensaje h2 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 50px;
}

.contenido-mensaje p {
    font-size: 30px;
    line-height: 1.2;
    font-weight: bold;
    margin-left: 60px;
}

.imagen-mensaje {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.imagen-mensaje-angel {
    width: 100%;
    max-width: 550px;
    border: 4px solid #6ec1ff;
    margin-right: 10%;
    border-radius: 12px;
    background-color: white;
}

.contenedor-compra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    align-items: center;
}

.opciones-idioma {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.opciones-idioma.activo { display: flex; }

.btn-idioma {
    background-color: #ACEFF8;
    color: #0b2c4a;
    padding: 8px 70px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-idioma:hover { background-color: #0b5c94; }

/* ============================================
   SECCIÓN FRASES
============================================ */
.frases {
    background-color: #FEFBF4;
    padding: 120px 100px;
    text-align: center;
}

.frases h2 {
    font-size: 60px;
    color: #1f2a44;
    margin-top: 20px;
    line-height: .8;
}

.grid-frases {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 90px 0;
    justify-items: center;
}

.item-frase { max-width: 470px; }

.img-placeholder {
    width: 100%;
    height: 630px;
    object-fit: cover;
    border-radius: 25px;
    margin-bottom: 30px;
}

.item-frase p {
    font-size: 40px;
    line-height: 1.5;
    color: #000;
}

.grid-frases .item-frase:nth-child(1) { grid-column: 1 / 3; }
.grid-frases .item-frase:nth-child(2) { grid-column: 3 / 5; }
.grid-frases .item-frase:nth-child(3) { grid-column: 5 / 7; }
.grid-frases .item-frase:nth-child(4) { grid-column: 2 / 4; }
.grid-frases .item-frase:nth-child(5) { grid-column: 4 / 6; }

.imagen-borde {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 30px auto 60px;
}

.imagen-angelvo {
    width: 50%;
    display: block;
    margin: 0 auto;
    animation: float 2.5s ease-in-out infinite;
}

/* ============================================
   TIENDA
============================================ */
.Productos-tienda {
    background-color: #ACEFF8;
    padding: 120px 0;
    text-align: center;
}

.rectangulo {
    width: 100%;
    background-color: #E40E1A;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5%;
}

.rectangulo h2 {
    color: white;
    font-size: 70px;
    font-weight: bold;
    letter-spacing: 2px;
}

.contenido-productos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1800px;
    margin: 0 auto;
}

.card-producto {
    background-color: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.card-producto img {
    width: 100%;
    max-width: 320px;
    height: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto 30px;
}

.card-producto h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1f2a44;
}

.desc-producto {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #444;
    text-align: left;
}

.desc-precio {
    font-size: 22px;
    font-weight: bold;
    color: #d10000;
    margin-bottom: 30px;
    text-align: left;
}

.btn-producto {
    border: none;
    outline: none;
    display: inline-block;
    padding: 15px 50px;
    background-color: #E40E1A;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-producto:hover {
    background-color: #ff3b3b;
    transform: scale(1.05);
}

.pluma {
    margin-top: 5%;
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   SELECTOR DE IDIOMA EN PRODUCTOS
============================================ */
.selector-idioma-producto {
    margin: 15px 0 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 15px;
    text-align: left;
}

.idioma-label {
    font-size: 14px;
    color: #064269;
    margin-bottom: 8px;
    font-weight: bold;
}

.idioma-opciones {
    display: flex;
    gap: 20px;
}

.idioma-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.idioma-radio {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #E40E1A;
}

.idioma-option span { font-family: Georgia, serif; }
.idioma-option:hover span { color: #E40E1A; }

.btn-agregar-carrito {
    background-color: #E40E1A;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: Georgia, serif;
    width: 100%;
}

/* ambos estados apuntan al mismo color — se unifican */
.btn-agregar-carrito:hover { background-color: #ff3b3b; }

/* ============================================
   SECCIÓN AVENTURA
============================================ */
.imagenem {
    position: relative;
    width: 100%;
    height: 1000px;
    overflow: hidden;
    background: #fff;
}

.titulo-aventura {
    position: relative;
    z-index: 3;
    text-align: center;
    font-size: 50px;
    color: #123a5c;
    margin-top: 160px;
    line-height: 1.3;
}

.fondo {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 450px;
    z-index: 1;
}

.fondo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fotoN {
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.imagen-foton {
    width: 610px;
    height: auto;
    border-radius: 10px;
}

/* ============================================
   FOOTER
============================================ */
footer {
    background-color: #ACEFF8;
    padding: 100px 120px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.footer-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.mundo { width: 50%; }

.imagen-mundo {
    width: 100%;
    max-width: 900px;
    margin-top: -10%;
}

.columna-derecha {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 15%;
}

.newsletter h2 {
    font-size: 58px;
    color: #0b2c4a;
    margin-bottom: 30px;
    text-align: center;
}

.newsletter form {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.newsletter input {
    padding: 25px 50px;
    border-radius: 30px;
    border: none;
    width: 500px;
    font-size: 20px;
}

.newsletter .btn {
    background-color: #e10600;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
}

.sociales-footer {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-item p {
    font-size: 22px;
    color: #0b2c4a;
    font-weight: 600;
}

.social-item a { text-decoration: none; }

#azul { fill: #00406A; }

.logo-footer-contenedor {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.logo-footer { width: 660px; }

/* ============================================
   CARRITO
============================================ */
.carrito-icono {
    position: relative;
    cursor: pointer;
    margin-left: 15px;
}

.carrito-contador {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #E40E1A;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrito-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.carrito-modal.active { display: flex; }

.carrito-contenido {
    background-color: white;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow-y: auto;
    font-family: Georgia, serif;
}

.carrito-cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #064269;
    background: none;
    border: none;
}

.carrito-titulo {
    font-size: 24px;
    color: #064269;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.carrito-items { margin-bottom: 20px; }

.carrito-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.carrito-item-info { flex: 2; }

.carrito-item-nombre {
    font-size: 16px;
    font-weight: bold;
    color: #064269;
}

.carrito-item-precio {
    font-size: 14px;
    color: #E40E1A;
}

.carrito-item-cantidad {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carrito-item-cantidad-btn {
    background-color: #ACEFF8;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    color: #064269;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrito-item-cantidad-btn:hover { background-color: #8fd5e6; }

.carrito-item-cantidad-numero {
    font-size: 14px;
    font-weight: bold;
}

.carrito-item-eliminar {
    color: #E40E1A;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    background: none;
    border: none;
}

.carrito-item-eliminar:hover { color: #ff3b3b; }

.carrito-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #064269;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ACEFF8;
}

.carrito-vacio {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 30px 0;
}

.carrito-finalizar {
    background-color: #E40E1A;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: Georgia, serif;
}

.carrito-finalizar:hover { background-color: #ff3b3b; }
.carrito-finalizar.disabled { background-color: #ccc; cursor: not-allowed; }

.carrito-envio {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    margin-top: 5px;
}

.carrito-envio-gratis {
    font-size: 13px;
    color: #2e7d32;
    font-weight: bold;
}

/* ============================================
   BANNER ENVÍO GRATIS
============================================ */
.banner-envio {
    background-color: #0b5c94;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    top: 103px;
    z-index: 998;
    width: 100%;
    letter-spacing: 0.5px;
}

.banner-cerrar {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* ============================================
   MEDIA QUERIES
============================================ */

/* Opacar decorativos en pantallas medianas */
@media (max-width: 992px) {
    .nubes-derecha, .nubes-izquierda { opacity: 0.3; pointer-events: none; }
    .sello, .Angelitos { opacity: 0.7; }
}

/* ===== ESCRITORIO 1080p (1070px – 1920px) ===== */
@media (min-width: 1070px) and (max-width: 1920px) {
    header { height: 104vh; margin-top: -120px; padding-top: 120px; }
    .menu { padding: 0 40px; }
    .logo { width: 300px; margin-top: -10px; }
    .links { gap: 40px; margin-left: 200px; }
    .menu a { font-size: 16px; }
    .icono, #ingles { width: 35px; height: 35px; }
    .texto-header { left: 80px; }
    .texto-header h1 { font-size: 70px; }
    .texto-header span { font-size: 90px; }
    .Angel { bottom: 23%; left: 50%; transform: translateX(-45%); width: 34%; }
    .Angelitos { left: 55%; bottom: 45%; transform: translateX(160%); width: 16%; }
    .nubes-derecha { top: 11%; left: 29%; width: 80%; }
    .sello { bottom: 8%; transform: translateX(180%); width: 15%; }
    .boton-angel { bottom: 10%; }
    .btn-magico { padding: 15px 70px; font-size: 30px; }

    .mensaje { padding: 60px 80px 100px; column-gap: 60px; }
    .contenido-mensaje h2 { font-size: 36px; margin-bottom: 40px; }
    .contenido-mensaje p { font-size: 23px; margin-left: 40px; }
    .imagen-mensaje-angel { max-width: 450px; }
    #boton-adoptar .btn-magico { font-size: 24px; padding: 12px 50px; }
    .nubes-izquierda { top: 22%; width: 80%; }

    .frases { padding: 80px 60px; }
    .frases h2 { font-size: 48px; }
    .grid-frases { gap: 40px 20px; max-width: 1400px; margin: 0 auto; }
    .item-frase { max-width: 320px; width: 100%; }
    .img-placeholder { height: 380px; margin-bottom: 20px; }
    .item-frase p { font-size: 24px; line-height: 1.4; }
    .imagen-borde { max-width: 450px; }
    .imagen-angelvo { width: 40%; }

    .Productos-tienda { padding: 80px 0; }
    .rectangulo { padding: 30px 0; margin-bottom: 4%; }
    .rectangulo h2 { font-size: 55px; }
    .contenido-productos { gap: 40px; max-width: 1400px; padding: 0 30px; }
    .card-produto { padding: 40px 30px; }
    .card-produto img { max-width: 250px; height: 250px; }
    .card-produto h3 { font-size: 26px; }
    .desc-produto, .desc-precio { font-size: 18px; }
    .btn-produto { padding: 12px 40px; font-size: 18px; }

    .imagenem { height: 800px; }
    .pluma { margin-top: 3%; }
    .pluma img { width: 80%; max-width: 600px; display: block; margin: 0 auto; }
    .titulo-aventura { font-size: 42px; margin-top: 120px; }
    .fondo { top: 100px; width: 65%; height: 380px; }
    .fotoN { top: 250px; }
    .imagen-foton { width: 500px; }

    footer { padding: 20px 60px 40px; align-items: center; }
    .footer-contenedor { align-items: center; }
    .mundo { width: 50%; }
    .imagen-mundo { max-width: 560px; margin-top: 0; }
    .columna-derecha { width: 60%; margin-right: 2%; }
    .newsletter h2 { font-size: 37px; margin-bottom: 16px; text-align: left; white-space: nowrap; }
    .newsletter form { gap: 10px; margin-bottom: 40px; }
    .newsletter input { padding: 18px 20px; width: 280px; font-size: 14px; }
    .newsletter .btn { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
    .sociales-footer { gap: 30px; margin-bottom: 110px; }
    .social-item { gap: 10px; }
    .social-item p { font-size: 20px; margin: 0; }
    .social-item svg { width: 28px; height: 28px; }
    .logo-footer-contenedor { right: 30px; bottom: 30px; }
    .logo-footer { width: 480px; }
}

/* ===== ESCRITORIO MEDIANO (1025px – 1199px) ===== */
@media (min-width: 1025px) and (max-width: 1199px) {
    header { margin-top: -130px; padding-top: 130px; }
    .menu { padding: 10px 40px; }
    .logo { width: 280px; }
    .links { gap: 30px; margin-left: 100px; }
    .menu a { font-size: 22px; }
    .texto-header { left: 70px; }
    .texto-header h1 { font-size: 75px; }
    .texto-header span { font-size: 100px; }
    .Angel { width: 32%; bottom: 25%; }
    .Angelitos { width: 18%; bottom: 48%; }
    .contenido-productos { max-width: 1100px; gap: 30px; padding: 0 40px; }
    .card-produto { padding: 35px 25px; }
    .card-produto img { max-width: 220px; height: 220px; }
    .imagenem { height: 800px; }
    .titulo-aventura { font-size: 45px; margin-top: 140px; }
    .fondo { top: 100px; width: 70%; height: 400px; }
    .fotoN { top: 250px; }
    .imagen-foton { width: 500px; }
    footer { padding: 60px 80px; }
    .imagen-mundo { max-width: 700px; }
    .newsletter input { width: 400px; }
    .logo-footer { width: 500px; }
}

/* ===== IPAD PRO / TABLET (769px – 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .Angelitos, .sello, .nubes-derecha, .nubes-izquierda { display: none !important; }
    .texto-header { left: 0; right: 0; text-align: center; top: 45%; }
    .texto-header h1 { font-size: 48px; }
    .texto-header span { font-size: 60px; }
    .Angel { left: 50%; transform: translateX(-50%); width: 35%; bottom: 18%; }
    .boton-angel { bottom: 6%; }
    .menu { padding: 10px 20px; }
    .logo { width: 180px; }
    .links { margin-left: 0; gap: 20px; }
    .menu a { font-size: 16px; }
    .sociales { gap: 10px; }
    .icono, #ingles { width: 28px; height: 28px; }
    .lang-switch { transform: scale(0.85); }
    .titulo-aventura { font-size: 28px; margin-top: 80px; padding: 0 20px; }
    .imagenem { height: auto; padding-bottom: 80px; }
    .fondo { position: relative; top: 40px; width: 85%; height: 260px; }
    .fotoN { position: relative; top: 60px; }
    .imagen-foton { width: 80%; }
    .imagenem .boton-angel { position: relative; margin-top: 80px; bottom: auto; }
    footer { padding: 40px 25px !important; flex-direction: column; align-items: flex-start; }
    .footer-contenedor { flex-direction: column; align-items: flex-start; gap: 25px; }
    .mundo { display: none; }
    .columna-derecha { width: 100%; margin: 0; }
    .newsletter h2 { font-size: 26px; text-align: left; }
    .newsletter form { flex-direction: column; width: 100%; }
    .newsletter input, .newsletter .btn { width: 100%; }
    .sociales-footer { width: 100%; align-items: flex-start; }
    .social-item { width: 100%; }
    .logo-footer-contenedor { position: static; margin-top: 15px; }
    .logo-footer { width: 220px; }
}

/* ===== TABLET VERTICAL (768px – 820px) ===== */
@media (min-width: 768px) and (max-width: 820px) {
    .menu { padding: 8px 20px; }
    .logo { width: 180px; }
    .links { gap: 15px; margin-left: 20px; }
    .menu a { font-size: 16px; }
    .texto-header { left: 30px; }
    .texto-header h1 { font-size: 45px; }
    .texto-header span { font-size: 55px; }
    .Angel { width: 28%; }
}

/* ===== MÓVIL GRANDE (600px – 768px) ===== */
@media (min-width: 600px) and (max-width: 768px) {
    .menu { padding: 15px 20px !important; background: #ACEFF8; }
    .logo { width: 150px !important; }
    .sociales .icono, .carrito-icono .icono { width: 28px; height: 28px; }
    .lang-switch { margin-left: 4px; }
    .lang-label { font-size: 11px; }
    .switch { width: 36px; height: 18px; }
    .slider:before { height: 12px; width: 12px; }
    input:checked + .slider:before { transform: translateX(18px); }
    header { margin-top: 0; padding-top: 80px; }
    .texto-header { top: 35%; }
    .texto-header h1 { font-size: 38px; }
    .texto-header span { font-size: 48px; }
    .Angel { width: 45%; bottom: 20%; }
    .Angelitos, .sello, .nubes-derecha, .nubes-izquierda { display: none !important; }
    .btn-magico { padding: 8px 30px; font-size: 20px; }
    .mensaje { padding: 30px 20px 50px; grid-template-columns: 1fr; gap: 20px; }
    .mensaje::before { height: 50%; }
    .contenido-mensaje h2 { font-size: 28px; }
    .contenido-mensaje p { font-size: 18px; }
    .imagen-mensaje-angel { max-width: 90%; margin: 0 auto; }
    #boton-adoptar { text-align: center; }
    #boton-adoptar .btn-magico { font-size: 18px; padding: 8px 25px; }
    .frases { padding: 40px 20px; }
    .frases h2 { font-size: 36px; }
    .grid-frases { grid-template-columns: 1fr; gap: 30px; }
    .img-placeholder { height: 300px; }
    .item-frase p { font-size: 22px; }
    .imagen-angelvo { width: 70%; }
    .Productos-tienda { padding: 40px 0; }
    .rectangulo h2 { font-size: 32px; }
    .contenido-productos { grid-template-columns: 1fr; gap: 30px; max-width: 500px; margin: 0 auto; padding: 0 20px; }
    .card-produto { padding: 25px 20px; }
    .card-produto img { max-width: 180px; height: 180px; }
    .card-produto h3 { font-size: 24px; }
    .desc-produto { font-size: 18px; }
    .btn-produto { padding: 10px 30px; font-size: 16px; }
    .selector-idioma-produto { padding: 8px; }
    .idioma-opciones { gap: 15px; }
    .btn-agregar-carrito { font-size: 16px; }
    .imagenem { height: auto; min-height: 450px; padding-bottom: 50px; }
    .titulo-aventura { font-size: 26px; margin-top: 50px; }
    .fondo { position: relative; top: 30px; width: 85%; height: 220px; margin-bottom: 20px; }
    .fotoN { position: relative; top: 40px; width: 280px; margin-bottom: 30px; }
    .pluma img { max-width: 200px; }
    .imagenem .boton-angel { position: relative; margin-top: 70px; bottom: auto; }
    .imagenem .btn-magico { font-size: 18px; padding: 8px 25px; }
    footer { padding: 30px 20px !important; flex-direction: column; }
    .footer-contenedor { flex-direction: column; gap: 25px; }
    .mundo { display: none; }
    .columna-derecha { width: 100%; margin: 0; }
    .newsletter h2 { font-size: 26px; text-align: left; }
    .newsletter form { flex-direction: column; width: 100%; gap: 12px; }
    .newsletter input { width: 100%; padding: 12px 20px; font-size: 16px; }
    .newsletter .btn { width: 100%; padding: 12px; font-size: 16px; }
    .sociales-footer { width: 100%; gap: 15px; }
    .social-item { width: 100%; gap: 10px; min-height: 40px; }
    .social-item p { font-size: 16px; }
    .social-item svg, .social-item a svg { width: 24px; height: 24px; }
    .logo-footer-contenedor { position: static; margin-top: 15px; }
    .logo-footer { width: 180px; }
}

/* ===== MÓVIL (≤ 768px) ===== */
@media (max-width: 768px) {
    /* SELECTOR DE IDIOMA */
    .lang-switch {
        margin-left: 5px;
        gap: 4px;
    }
    
    .lang-label {
        font-size: 12px;
    }
    
    .switch {
        width: 40px;
        height: 20px;
    }
    
    .slider:before {
        height: 14px;
        width: 14px;
    }
    
    input:checked + .slider:before {
        transform: translateX(20px);
    }

    /* Mostrar hamburguesa */
    .hamburger {
        display: flex;
    }

    /* Reestructuración del menú */
    .menu {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 30px 15px !important;
        background: #ACEFF8;
        backdrop-filter: none;
    }

    .menu::after {
        display: none;
    }

    /* Logo centrado */
    .menu-logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .logo {
        width: 200px;
        margin: 0 auto;
    }

    /* Controles del menú */
    .menu-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .sociales {
        gap: 12px;
        margin: 0;
        justify-content: center;
        margin-top: 10px;
    }

        .btn-magico {
        padding: 8px 25px !important; 
        font-size: 25px !important;    
        width: auto !important;        
        display: inline-block !important;
        white-space: nowrap;         
    }

    .sociales .icono {
        width: 32px;
        height: 32px;
    }

    /* Enlaces ocultos por defecto */
    .links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 15px 0 5px;
        gap: 12px;
        text-align: center;
    }

    .links a {
        font-size: 18px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .links.show {
        display: flex;
    }

    /* HEADER */
    header {
        top: 0;
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .texto-header {
        left: 20px;
        right: 20px;
        top: 46%;
        text-align: center;
        z-index: 102;
    }

    .texto-header h1 {
        font-size: 30px;
        line-height: 1.3; /* Ajusta el espacio entre líneas */
        margin: 0;
        padding: 0;
    }

    .texto-header span {
        font-size: 40px;
        display: inline-block; /* Cambia de block a inline-block */
        line-height: 1.2;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    /* Asegura que los <br> funcionen bien */
    .texto-header br {
        display: block;
        content: "";
        margin: 0;
    }

    /* ÁNGEL PRINCIPAL */
    .Angel {
        display: block !important;
        position: absolute;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
        width: 35%;
        z-index: 100;
    }

    /* OCULTAMOS OTROS ELEMENTOS DECORATIVOS */
    .Angelitos, .sello, .nubes-derecha, .nubes-izquierda {
        display: none;
    }

    .boton-angel {
        bottom: 5%;
        z-index: 103;
    }

    .btn-magico {
        padding: 8px 25px;
        font-size: 20px;
    }

    /* SECCIÓN MENSAJE */
    .mensaje {
        padding: 40px 20px 60px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mensaje::before {
        height: 60%;
    }

    .contenido-mensaje {
        grid-column: 1 / -1;
        margin-left: 0;
    }

    .contenido-mensaje h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .contenido-mensaje p {
        font-size: 20px;
        margin-left: 0;
        text-align: center;
    }

    .imagen-mensaje {
        grid-column: 1 / -1;
    }

    .imagen-mensaje-angel {
        max-width: 100%;
        margin-right: 0;
    }

    #boton-adoptar {
        left: 0;
        text-align: center;
    }

    #boton-adoptar .btn-magico {
        font-size: 20px;
        padding: 12px 40px;
    }

    /* SECCIÓN FRASES */
    .frases {
        padding: 60px 20px;
    }

    .frases h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .grid-frases {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-frases .item-frase:nth-child(n) {
        grid-column: 1 / -1;
    }

    .item-frase {
        max-width: 100%;
    }

    .img-placeholder {
        height: 400px;
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .item-frase p {
        font-size: 24px;
    }

    .imagen-borde {
        max-width: 100%;
        margin: 20px 0;
    }

    .imagen-angelvo {
        width: 80%;
    }

    /* SECCIÓN TIENDA */
    .Productos-tienda {
        padding: 60px 0;
    }

    .rectangulo {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .rectangulo h2 {
        font-size: 40px;
    }

    .contenido-productos {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .card-producto {
        padding: 30px 20px;
    }

    .card-producto img {
        max-width: 200px;
        height: 200px;
        margin-bottom: 15px;
    }

    .card-producto h3 {
        font-size: 24px;
    }

    .desc-producto, .desc-precio {
        font-size: 18px;
    }

    .btn-producto {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* SECCIÓN AVENTURA */
    .imagenem {
        height: 1000px;
    }

    .pluma {
        margin-top: 5%;
    }

    .pluma img {
        width: 90%;
        max-width: 400px;
    }

    .titulo-aventura {
        margin-top: 60px; /* antes 160px */
        font-size: 28px;
        padding: 0 15px;
    }

    .imagenem {
        height: auto;
        padding-bottom: 60px;
    }

    .fondo {
        top: 80px;
        width: 90%;
        height: 250px;
    }

    .fotoN {
        top: 160px;
    }

    .imagen-foton {
        width: 90%;
    }

    /* FOOTER */
   footer {
        padding: 40px 20px !important;
        flex-direction: column;
        align-items: flex-start; /* TODO A LA IZQUIERDA */
    }

    .footer-contenedor {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    /* OCULTAR MUNDO (opcional pero recomendado) */
    .mundo {
        width: 100%;
        display: none;
    }

    /* COLUMNA DERECHA */
    .columna-derecha {
        width: 100%;
        margin: 0;
        align-items: flex-start;
    }

    /* NEWSLETTER */
    .newsletter h2 {
        font-size: 26px;
        text-align: left;
    }

    .newsletter form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .newsletter input {
        width: 100%;
        padding: 14px 18px;
        font-size: 14px;
    }

    .newsletter .btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    /* REDES */
    .sociales-footer {
        width: 100%;
        gap: 20px;
        align-items: flex-start;
    }

    .social-item {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .social-item p {
        font-size: 16px;
        word-break: break-word;
    }

    .social-item svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    /* 🔥 FIX FACEBOOK DESALINEADO */
    .social-item a {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* LOGO FOOTER */
    .logo-footer-contenedor {
        position: static;
        margin-top: 20px;
        align-self: flex-start;
    }

    .logo-footer {
        width: 200px;
    }
}

/* ===== MÓVIL GRANDE (481px – 599px) ===== */
@media (min-width: 481px) and (max-width: 599px) {
    .texto-header h1 { font-size: 32px; }
    .texto-header span { font-size: 42px; }
    .Angel { width: 55%; bottom: 18%; }
    .btn-magico { font-size: 18px; padding: 8px 25px; }
    .contenido-produtos { max-width: 400px; }
    .card-produto img { max-width: 160px; height: 160px; }
    .imagenem { height: 480px; }
    .imagen-foton { width: 260px; }
    .imagenem .boton-angel { margin-top: 65px; }
}

/* ===== MÓVIL PEQUEÑO (≤ 480px) ===== */
@media (max-width: 480px) {
    
    /* HEADER */
    header {
        margin-top: -60px;
        padding-top: 60px;
    }

    .texto-header {
        top: 35%;
    }

    .texto-header h1 {
        font-size: 30px;
    }

    .texto-header span {
        font-size: 40px;
    }

    .Angel {
        width: 65%;
        bottom: 20%;
    }

    .btn-magico {
        padding: 8px 20px;
        font-size: 30px;
    }

    /* MENSAJE */
    .mensaje {
        padding: 30px 15px 40px;
    }

    .contenido-mensaje h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contenido-mensaje p {
        font-size: 16px;
        line-height: 1.3;
    }

    #boton-adoptar .btn-magico {
        font-size: 16px;
        padding: 8px 25px;
    }

    /* FRASES */
    .frases {
        padding: 40px 15px;
    }

    .frases h2 {
        font-size: 28px;
    }

    .img-placeholder {
        height: 250px;
    }

    .item-frase p {
        font-size: 18px;
    }

    /* TIENDA */
    .Productos-tienda {
        padding: 40px 0;
    }

    .rectangulo h2 {
        font-size: 28px;
        padding: 0 10px;
    }

    .contenido-productos {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .card-producto {
        padding: 20px 15px;
    }

    .card-producto img {
        max-width: 140px;
        height: 140px;
    }

    .card-producto h3 {
        font-size: 18px;
    }

    .desc-producto, .desc-precio {
        font-size: 14px;
    }

    .btn-producto {
        padding: 8px 20px;
        font-size: 14px;
    }

       .imagenem .boton-angel {
        position: relative; /* 🔥 clave */
        bottom: auto;
        left: auto;
        transform: none;
        font-size: 30px;

        margin-top: 45%; /* lo acerca a la imagen */
        text-align: center;
    }


    /* AVENTURA */
    .imagenem {
        top: 50px;
        height: 500px;
    }

    .titulo-aventura {
        font-size: 20px;
        margin-top: 40px;
    }

    .fondo {
        top: 40px;
        height: 180px;
    }

    .fotoN {
        top: 100px;
    }

    .imagen-foton {
        width: 220px;
    }

    .pluma img {
        max-width: 250px;
    }

    /* FOOTER */
    footer {
        padding: 30px 15px;
    }

    .imagen-mundo {
        max-width: 200px;
    }

    .newsletter h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .newsletter input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .newsletter .btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .social-item p {
        font-size: 14px;
    }

    .social-item svg {
        width: 25px;
        height: 25px;
    }

    .logo-footer {
        width: 180px;
    }
}

/* ===== MÓVIL MUY PEQUEÑO (≤ 360px) ===== */
@media (max-width: 360px) {
    .texto-header h1 {
        font-size: 20px;
    }

    .texto-header span {
        font-size: 28px;
    }

    .Angel {
        width: 50%;
        bottom: 18%;
    }

    .btn-magico {
        padding: 5px 15px;
        font-size: 14px;
    }

    .contenido-mensaje h2 {
        font-size: 20px;
    }

    .contenido-mensaje p {
        font-size: 14px;
    }

    .frases h2 {
        font-size: 24px;
    }

    .item-frase p {
        font-size: 16px;
    }

    .img-placeholder {
        height: 200px;
    }

    .newsletter h2 {
        font-size: 20px;
    }

    .newsletter input {
        padding: 8px 12px;
        font-size: 12px;
    }

    .newsletter .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .logo-footer {
        width: 150px;
    }
}
