:root {
    --color-primary: #0EA5E9;
    --color-dark: #0F172A;
    --color-secondary: #37476C;
    --color-light: #CBD5E1;
    --color-background: #E6ECF3;
    --color-white: #FFFFFF;

    --font-cabin: 'Cabin', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-source-sans-3: 'Source Sans 3', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-young-serif: 'Young Serif', serif;
}

/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
}

/* Configuración básica del documento */
html {
    box-sizing: border-box;
    font-size: 62.5%;
    /* 1rem = 10px */
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* Estilos generales del cuerpo */
body {
    font-family: var(--font-roboto);
    font-size: 1.7rem;
    min-height: 100vh;
    overflow-x: hidden;
}

body.fondo7 {
    background-color: #a7eaff;
}

main {
    overflow-x: hidden;
}
/* Estilos generales para imágenes */
img {
    max-width: 100%;
}

/* Contenedor general */
.contenedor {
    max-width: 1300px;
    margin: 0 auto;
    width: 95%;
}

.contenedor2 {
    max-width: 1000px;
    margin: 0 auto;
    width: 90%;
}


/* Cabecera */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem auto 5rem;
}

.header_logo {
    width: 140px;
}

.header_redes {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header_redes a {
    width: 35px;
}

.header_redes a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.header_enlaces {
    display: flex;
    gap: 7rem;
}

.header_enlaces a {
    position: relative;
    color: black;
    font-weight: 500;
    text-decoration: none;
}

.header_enlaces a::before {
    content: "";
    position: absolute;
    background-color: var(--color-secondary);
    height: 3px;
    width: 100%;
    border-radius: 50px;
    transform: scaleX(0);
    transition: transform 0.2s linear;
    bottom: -8px;
}

.header_enlaces a:hover::before {
    transform: scaleX(1);
}



/* Sección de banner */
.banner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.seccion1_imagen {
    background: url(/img/catdog7.png);
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.banner .seccion1 h1 {
    font-family: var(--font-cabin);
    font-weight: 500;
    font-size: 8.6rem;
    margin-bottom: 8rem;
}

.banner .seccion1 p {
    font-size: 2.4rem;
    line-height: 2;
    font-family: var(--font-source-sans-3);
    font-weight: 500;
}

.banner .seccion1 i {
    color: var(--color-primary);
}

/* Fondos */
.fondos {
    background-image: url(/img/nubes.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    width: 70%;
    height: 100%;
    position: absolute;
    top: -400px;
    right: -300px;
    z-index: -1;
    overflow: hidden;
}

.fondo2 {
    background-image: url(/img/nubes.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 35%;
    height: 100%;
    position: absolute;
    top: 470px;
    left: -100px;
    z-index: -1;
    overflow: hidden;
}


/* Sección de servicios */
.servicios {
    position: relative;
}

.servicios::after {
    content: '';
    background-image: url(/img/nubesbonitas.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1000px;
    height: 900px;
    position: absolute;
    z-index: -1000;
    top: 1200px;
    right: -900px;
}

.servicios::before {
    content: '';
    background-image: url(/img/nubesbonitas.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1000px;
    height: 900px;
    position: absolute;
    z-index: -1000;
    top: 2200px;
    left: -800px;
}

.servicios_card-contenedor {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
    margin-top: 7rem;
}

.servicios_card {
    text-align: center;
    display: flex;
    flex-direction: column;
    /* Alineamos los elementos en columna */
    align-items: center;
    /* Centramos los elementos horizontalmente */
    gap: 1rem;
    /* Centramos el texto horizontalmente */
}

.servicios_card img {
    max-width: 402px;
    height: 268px;
    /* Para que la imagen se ajuste al ancho de la tarjeta */
    border-radius: 14px;
    /* Agregamos el borde redondeado a la imagen */
    margin-bottom: 10px;
    /* Añade un espacio entre la imagen y el texto */
}

.servicios_texto h3 {
    font-size: 2.4rem;
    font-family: var(--font-cabin);
    margin-bottom: 1.6rem;
    color: #426AC6;
    font-weight: bold;
}

.servicios_texto p {
    font-family: var(--font-poppins);
    color: var(--color-dark);
    font-size: 2rem;
    line-height: 1.5;
}

.servicios h2 {
    color: var(--color-dark);
    margin-top: 2rem;
    font-family: var(--font-cabin);
    font-size: 5.6rem;
    text-align: center;
}

/* Sección de procesos */
.proceso {
    position: relative;
    margin-top: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.proceso::after {
    position: absolute;
    content: '';
    background: url(/img/cat.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    top: 400px;
    left: 0;
    z-index: -10;
}

.proceso_imagen {
    width: 50%;
}

.proceso_imagen img {
    width: 100%;
}

.proceso_contenido {
    background-color: var(--color-dark);
    border-radius: 8px;
    color: var(--color-white);
    padding: 12px 20px;
    line-height: 1.4;
    width: 50%;
}

.proceso_contenido h2 {
    text-decoration: underline;
    text-align: center;
    font-family: var(--font-poppins);
}

.proceso_contenido h3 {
    color: var(--color-primary);
}

.proceso_contenido p {
    margin-top: 4px;
}



/* Seccion mensaje */

.mensaje {
    position: relative;
    background-color: #b7e3fa;
    border-radius: 42px;
    padding: 4rem;
    margin-top: 12rem;
    border: 1px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;

}

.mensaje_contenido h3 {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-family: var(--font-young-serif);
}

.mensaje_contenido p {
    font-size: 2.2rem;
    line-height: 1.5;
}

.mensaje_contenido span {
    color: #426AC6;
}

.mensaje::after {
    content: '';
    background-image: url(/img/catdog8.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    width: 40%;
    height: 40%;
    bottom: 0;
    right: 50px;
    position: absolute;
    z-index: -1;
}


/* Sección qué incluye servicios */

.includes img {
    width: 300px;
}

.que-incluye {
    position: relative;
    margin-top: 2rem;
}

.que-incluye::before {
    content: '';
    position: absolute;
    background: url(/img/fondobueno1111.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 1400px;
    height: 1000px;
    top: -1000px;
    left: -700px;
    z-index: -1;
}

.que-incluye h3 {
    font-size: 3.4rem;
    text-align: center;
    color: #17385f;
    font-family: 'Bree Serif', serif;
}

.certificado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 7px;
    padding: 1rem 2rem;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .27);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.certificado:hover {
    background-color: #84d5fa;
    transform: scale(1.05);
}

.certificado h4 {
    color: #064172;
    font-size: 2.4rem;
    font-family: var(--font-cabin);
}

.certificado p {
    color: #0A1842;
    line-height: 1.2;
    text-align: center;
    font-family: var(--font-source-sans-3);
}

.que-incluye_contenedor {
    position: relative;
    text-align: center;
    display: grid;
    gap: 15rem;
    margin-top: 5rem;
    grid-template-columns: repeat(2, 1fr);
}

.que-incluye_contenedor::before {
    position: absolute;
    content: '';
    background: url(/img/catdog4.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    width: 270px;
    height: 270px;

}

.que-incluye_contenedor::after {
    position: absolute;

    background: url(/img/fondoforma.jpeg);
    background-size: contain;
    top: 70px;
    left: 140px;
    z-index: -2;
    width: 700px;
    height: 700px;
}

.certificado span {
    font-size: 1.4rem;
    color: #642CA9;
}

.que-incluye .certificado img {
    width: 140px;
}

.que-incluye .certificado:nth-child(3) img {
    width: 380px;
}

.que-incluye .certificado:nth-child(4) img {
    width: 240px;
}

/* Seccion preguntas */
.preguntas h2 {
    color: var(--color-dark);
    margin-top: 2rem;
    font-family: var(--font-cabin);
    font-size: 5.6rem;
    text-align: center;
}

.preguntas .preguntas_dudas {
    font-family: var(--font-source-sans-3);
    color: #1C2541;
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
}

.preguntas .faq-section .preguntas_dudas {
    margin: 3rem 0;
}

.preguntas .faq-item {
    color: black;
    background-color: var(--color-background);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    font-family: var(--font-poppins);
    transition: background-color 0.2s, color 0.2s;
}

.preguntas .faq-item:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.faq-item.active {
    background-color: var(--color-dark);
    color: var(--color-white);
    /* Cambia esto al color que desees */
}

.faq-section {
    margin: 0 auto;
    max-width: 1100px;
}

.faq-question {
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
    font-weight: 400;
}

.faq-answer {
    font-weight: 300;
    font-size: 20px;
    display: none;
    padding: 1rem 0;
    margin-top: 10px;
}

.preguntas .faq-item .faq-answer a {
    color: #25D366;
    font-weight: bold;
    text-decoration: none;
}

.preguntas .faq-item h3 {
    display: flex;
    justify-content: space-between;
}

.arrow {
    cursor: pointer;
}

/* Estilo para la flecha cuando se rota para indicar que el elemento está abierto */
.arrow.open .fas {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}



/* FOOTER */
.footer {
    position: relative;
    background-color: #0F172A;
    width: 100%;
    min-height: 400px;
    margin-top: 24rem;
    color: var(--color-light);
    
}

.footer::before {
    content: '';
    background: url(/img/catdog2.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 300px;
    position: absolute;
    top: -193px;
    right: 0;
}

.footer_contenedor {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4rem;
    padding: 8rem 0;
}

.footer_contenedor a {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-white);
}

.footer_secciones1 {
    grid-column: 1 / 3;
}

.footer_secciones1 p {
    margin-top: 3rem;
    line-height: 1.5;
    font-size: 1.6rem;
    font-family: var(--font-cabin);
}

.footer_secciones1 img {
    width: 240px;
}

.footer_secciones2 {
    grid-column: 3 / 5;
}

.secciones2_texto {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    color: var(--color-light);
}

.secciones2_texto a {
    color: var(--color-light);
}

.secciones2_texto a:hover {
    color: var(--color-white);
}

.footer_secciones2 img {
    width: 22px;
}

.redes-sociales {
    display: flex;
    gap: 2rem;
    text-align: center;
}

.redes-sociales a {
    margin-top: 4rem;
}

.redes-sociales img {
    width: 28px;
}

.facebook-change:hover img {
    content: url(/img/facebookhover2.png);
}

.instagram-change:hover img {
    content: url(/img/1384063.png);
}

.whatsapp-change:hover img {
    content: url(/img/whatsapphover.png);
}

.footer_secciones2 h3,
.footer_secciones3 h3 {
    color: var(--color-white);
    padding-bottom: 1.6rem;
    font-family: var(--font-source-sans-3);
}

.footer_secciones3 li {
    padding: 4px 0;
    list-style-type: none;
}

.footer_secciones3 a {
    color: var(--color-light);
    font-size: 1.4rem;
}

.footer_secciones3 a:hover {
    color: var(--color-white);
}

/* Sección de garras */
.garras {
    margin-top: 20rem;
}

.garras:nth-child(5) {
    margin-top: 12rem;
}

.garras:nth-child(8) {
    margin-top: 7rem;
}

.garras .seccion2 {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.garras .seccion2 img {
    height: 30px;
}



/* HTML DE PRODUCTOS */

.tienda h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 7rem;
    font-family: var(--font-poppins);
    color: var(--color-dark);
}


.productos_contenedor {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.productos_card {
    background-color: #fff;
    width: 350px;
    min-width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 1.2rem 2.2rem;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, .72);
    border-radius: 10px;
}

.productos_card p {
    font-family: var(--font-cabin);
}

.single-line {
    white-space: nowrap;
}



.urna-hueso,
.urna-estambre,
.urna-cooper,
.urna-corazonMarmol,
.urna-huesoMarmol,
.urna-tranquilidadPerro,
.urna-tranquilidadGato,
.urna-cooperAcostado,
.urna-max,
.urna-hombremujer,
.urna-kuns,
.urna-corazonCristal,
.urna-bicompostable,
.urna-bicompostableChica,
.urna-perro-20,
.urna-perro20,
.urna-gato,
.urna-ave,
.urna-reptiles,
.relicario-collar,
.relicario-pulsera {
    height: 198px;
}


.productos_card span {
    font-weight: 400;
}

.productos_card-colores {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.productos_card .cafe,
.productos_card .gris,
.productos_card .azul,
.productos_card .rosa,
.productos_card .negro,
.productos_card .blanco,
.productos_card .amarillo,
.productos_card .verde {
    border-radius: 50%;
    border: 1px solid #c9c9c9;
    width: 25px;
    height: 25px;
}

.productos_card .cafe {
    background-color: #EDDDB8;
}

.productos_card .gris {
    background-color: #999;
}

.productos_card .azul {
    background-color: #39ADD0;
}

.productos_card .rosa {
    background-color: #E988AC;
}

.productos_card .negro {
    background-color: #000;
}

.productos_card .amarillo {
    background-color: #F6C727;
}

.productos_card .verde {
    background-color: #A8C93A;
}

.productos_card .blanco {
    background-color: #fff;
}


.menu-button {
    display: none;
}

@media (max-width: 767px) {
    .header {
        flex-direction: column;
        margin: 1rem auto;
    }

    .header_logo {
        text-align: center;
    }

    .header_redes {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .header_redes a {
        width: 25px;
    }

    .header_enlaces {
        display: none;
        /* Ocultar enlaces en dispositivos pequeños */
    }

    /* Agrega estilos para el botón de menú */
    .menu-button {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        margin: 0.5rem;
        margin: 2rem 0;
    }

    .bar {
        width: 100%;
        height: 3px;
        background-color: var(--color-secondary);
        border-radius: 5px;
        transition: transform 0.2s linear;
    }

    .menu-button.open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-button.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-button.open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* banner */
    .banner {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .banner .seccion1 p {
        font-size: 1.8rem;
    }

    .seccion1_imagen {
        height: 200px;
    }

    .banner .seccion1 h1 {
        font-size: 4.6rem;
        margin-bottom: 4rem;
    }

    /* SERVICIOS */
    .servicios h2 {
        margin-bottom: 4rem;
        font-size: 4.2rem;
    }

    .servicios_texto h3 {
        font-size: 2rem;
    }

    .servicios_texto p {
        font-size: 1.6rem;
    }

    .servicios_card-contenedor {
        flex-direction: column;
        width: 95%;
        margin: 0 auto;
    }

    .servicios_card img {
        max-width: 100%;
        height: unset;
    }

    /* garras */
    .garras {
        margin-top: 10rem;
    }

    .garras .seccion2::before {
        left: 90px;
        width: 28px;
    }

    .garras .seccion2::after {
        width: 28px;
        right: 90px;
    }

    /* PROCESO */
    .proceso {
        flex-direction: column;
    }

    .proceso_contenido {
        width: 100%;
        text-align: center;
    }

    .proceso_imagen {
        width: 100%;
        margin-right: 7rem;
    }

    /* QUE INCLUYE */
    .que-incluye_contenedor {
        grid-template-columns: auto;
        gap: 5rem;
    }

    .certificado:nth-child(3) {
        margin-top: 20rem;
    }

    /* MENSAJE */
    .mensaje {
        margin-top: 7rem;
    }

    .mensaje_contenido h3 {
        font-size: 2rem;
    }

    .mensaje_contenido p {
        margin-bottom: 10rem;
        font-size: 1.8rem;
    }

    /* PREGUNTAS */
    .preguntas h2 {
        font-size: 4.2rem;
    }

    .preguntas .preguntas_dudas {
        font-size: 1.6rem;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 16px;
    }

    /* FOOTER */
    .footer {
        margin-top: 18rem;
    }


    .footer::before {
        background-size: contain;
        background-position: 50% 64%;
    }

    .footer_contenedor {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .secciones2_texto {
        align-items: center;
        justify-content: center;
    }

    .redes-sociales {
        justify-content: center;
        align-items: center;
    }

    .fondos {
        top: 0;
        right: 0;
        width: 100%;
    }

    .fondo2 {
        top: 0;
        left: 0;
        width: 100%;
        height: 700px;
        background-position: bottom;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    /* banner */
    .banner .seccion1 h1 {
        font-size: 5.6rem;
    }

    .banner .seccion1 p {
        font-size: 2rem;
    }

    .que-incluye_contenedor {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ENLACES HEADER */
    .header_enlaces {
        gap: 2rem;
        font-size: 1.4rem;
    }

    /* MENSAJE */
    .mensaje {
        height: auto;
    }

    .mensaje_contenido p {
        margin-bottom: 10rem;
    }

    .servicios_card-contenedor {
        flex-direction: column;
    }

    .fondos {
        top: 0;
        right: 0;
    }

    .fondo2 {
        top: 0;
        left: 0;
        width: 70%;
        height: 700px;
        background-position: bottom;
    }
}

@media (min-width: 930px) and (max-width: 1378px) {
    /* servicios */
    .servicios_card-contenedor {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .servicios_card:nth-child(3) {
        grid-column: 1 / 3;
    }

    .fondos {
        top: 0;
        right: 0;
    }

    .fondo2 {
        top: 0;
        left: 0;
        width: 70%;
        height: 1200px;
        background-position: left bottom;
    }
}



/* Estilos para el menú desplegable en dispositivos pequeños */
.header_enlaces.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 3rem;
}

.marginceo {
    margin-top: 20px;
}