* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

/* Corrige la posición al navegar desde el menú */
.portada,
.servicios,
.productos,
.asesoramiento,
.contacto {
    scroll-margin-top: 95px;
}

:root {
    --naranja: #FFA72B;
    --naranja-hover: #F39518;
    --naranja-suave: #FFF0D8;
    --crema: #FFFBF5;
    --crema-productos: #FFF3E2;
    --negro: #171717;
    --gris: #666666;
    --ancho-contenido: 1180px;
}

body {
    font-family: "Nunito", Arial, sans-serif;
    color: var(--negro);
    background: var(--crema);
    line-height: 1.35;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ========================================
   HEADER
======================================== */

.encabezado {
    height: 76px;
    background: #FFFBF5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.encabezado-interior {
    width: min(90%, var(--ancho-contenido));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}


/* ========================================
   LOGO
======================================== */

.marca {
    justify-self: start;
}

.logo-cachorretes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-linea {
    display: flex;
    align-items: center;
}

.logo-nombre {
    color: var(--naranja);
    font-family: "Nunito", Arial, sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -2px;
    -webkit-text-stroke: 1.8px #1B1B1B;
    paint-order: stroke fill;
}

.logo-huella {
    width: 31px;
    height: 31px;
    margin-left: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-huella svg {
    width: 100%;
    height: 100%;
    fill: var(--naranja);
    stroke: #1B1B1B;
    stroke-width: 1.8px;
    overflow: visible;
}

.logo-frase {
    margin-top: 6px;
    color: #222222;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.55px;
    line-height: 1;
}


/* ========================================
   MENÚ
======================================== */

.menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 36px;
}

.menu a {
    position: relative;
    padding: 27px 0 24px;
    font-size: 15px;
    font-weight: 600;
}

.menu a:hover,
.menu a.activo {
    color: var(--naranja-hover);
}

.menu a.activo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    height: 2px;
    background: var(--naranja);
}


/* ========================================
   CARRITO
======================================== */

.carrito {
    justify-self: end;
    width: 28px;
    height: 28px;
    color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrito svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carrito circle {
    fill: #171717;
    stroke: none;
}

.boton-menu {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}


/* ========================================
   PORTADA
======================================== */

.portada {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #F7E9D8;
}

.portada-contenido {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.portada-imagen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.portada-imagen img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 60% center;
}

.portada-contenido::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(255, 248, 238, 1) 0%,
        rgba(255, 248, 238, .99) 19%,
        rgba(255, 248, 238, .90) 27%,
        rgba(255, 248, 238, .55) 34%,
        rgba(255, 248, 238, .15) 43%,
        rgba(255, 248, 238, 0) 52%
    );
}

.portada-texto {
    position: relative;
    z-index: 3;
    width: min(90%, var(--ancho-contenido));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.etiqueta {
    color: #E98B12;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;
}

.portada h1 {
    margin-top: 5px;
    font-size: 48px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: -2px;
}

.portada-descripcion {
    width: 340px;
    max-width: 38%;
    margin-top: 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.22;
}

.boton {
    margin-top: 17px;
    padding: 11px 27px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--naranja);
    color: #1D1D1D;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 900;
    transition: .2s ease;
}

.boton:hover {
    background: var(--naranja-hover);
}


/* ========================================
   CONTENEDORES
======================================== */

.seccion-interior,
.contacto-interior,
.pie-interior {
    width: min(90%, var(--ancho-contenido));
    margin-left: auto;
    margin-right: auto;
}


/* ========================================
   SERVICIOS
======================================== */

.servicios {
    padding: 32px 0 38px;
    background: var(--crema);
}

.titulo-seccion {
    margin-bottom: 22px;
    text-align: center;
}

.titulo-seccion h2 {
    margin-top: 3px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.grilla-servicios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tarjeta-servicio {
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 13px rgba(0, 0, 0, .06);
}

.foto-servicio {
    height: 165px;
    overflow: hidden;
}

.foto-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icono-servicio {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--naranja);
    color: #191919;
    border: 3px solid white;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.contenido-servicio {
    min-height: 177px;
    padding: 34px 17px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contenido-servicio h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.08;
}

.contenido-servicio p {
    margin-bottom: 13px;
    color: #555555;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.32;
}

.boton-chico {
    margin-top: auto;
    padding: 7px 21px;
    background: var(--naranja);
    color: #191919;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    transition: .2s ease;
}

.boton-chico:hover {
    background: var(--naranja-hover);
}


/* ========================================
   PRODUCTOS
======================================== */

.productos {
    padding: 31px 0 36px;
    background: var(--crema-productos);
}

.cabecera-productos {
    margin-bottom: 19px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.cabecera-productos h2 {
    margin-top: 3px;
    font-size: 33px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.boton-ver-todos {
    padding: 8px 19px;
    color: #A75E08;
    border: 1px solid var(--naranja);
    border-radius: 22px;
    font-size: 11px;
    font-weight: 900;
    transition: .2s ease;
}

.boton-ver-todos:hover {
    background: var(--naranja);
    color: #171717;
}

.grilla-productos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tarjeta-producto {
    overflow: hidden;
    background: white;
    border-radius: 9px;
}

.tarjeta-producto img {
    width: 100%;
    height: 135px;
    object-fit: cover;
}

.tarjeta-producto div {
    padding: 10px 8px 12px;
    text-align: center;
}

.tarjeta-producto h3 {
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 900;
}

.tarjeta-producto p {
    color: var(--gris);
    font-size: 12px;
    font-weight: 500;
}


/* ========================================
   ASESORAMIENTO / TIPS
======================================== */

.asesoramiento {
    position: relative;
    width: 100%;
    background: var(--naranja);
    color: #171717;
}

.asesoramiento-contenido {
    width: min(90%, var(--ancho-contenido));
    height: 255px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    overflow: hidden;
}

.asesoramiento-texto {
    padding-left: 0;
}

.etiqueta-blanca {
    color: #171717;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .6px;
}

.asesoramiento h2 {
    margin: 4px 0 7px;
    font-size: 35px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.8px;
}

.asesoramiento-texto > p:not(.etiqueta-blanca) {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.boton-consulta {
    display: inline-flex;
    margin-top: 17px;
    padding: 11px 24px;
    background: #FFF9F0;
    color: #704000;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 900;
    transition: .2s ease;
}

.boton-consulta:hover {
    background: white;
}

.asesoramiento-imagen {
    height: 255px;
    overflow: hidden;
}

.asesoramiento-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   CONTACTO
======================================== */

.contacto {
    padding: 27px 0 32px;
    background: var(--crema);
}

.contacto-interior {
    width: min(86%, 1080px);
    margin-left: auto;
    margin-right: auto;
}

.titulo-contacto {
    padding-left: 10px;
}

.titulo-contacto h2 {
    margin-top: 2px;
    font-size: 33px;
    font-weight: 900;
    line-height: 1;
}

.datos-contacto {
    margin-top: 20px;
    padding-left: 10px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr .75fr;
    gap: 26px;
}

.dato-contacto {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.icono-contacto {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E98B12;
}

.icono-contacto svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icono-whatsapp {
    color: #25D366;
}

.icono-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    stroke: none;
}

.icono-whatsapp svg path:last-child {
    fill: white;
}

.icono-instagram {
    color: #C13584;
}

.icono-instagram svg {
    width: 29px;
    height: 29px;
}

.icono-instagram .punto-instagram {
    fill: currentColor;
    stroke: none;
}

.icono-direccion svg {
    width: 28px;
    height: 28px;
}

.dato-contacto strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 900;
}

.dato-contacto p {
    display: block;
    color: #444444;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}

.enlace-contacto {
    width: fit-content;
    min-height: 31px;
    margin-bottom: 5px;
    padding: 6px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 18px;
    font-size: 11px;
    font-weight: 900;
    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.enlace-contacto span {
    font-size: 15px;
    line-height: 1;
}

.enlace-contacto:hover {
    transform: translateY(-1px);
}

.enlace-whatsapp {
    color: #167D3A;
    background: rgba(37, 211, 102, .10);
    border: 1px solid rgba(37, 211, 102, .42);
}

.enlace-whatsapp:hover {
    color: white;
    background: #25D366;
    border-color: #25D366;
}

.enlace-instagram {
    color: #A52E72;
    background: rgba(193, 53, 132, .08);
    border: 1px solid rgba(193, 53, 132, .32);
}

.enlace-instagram:hover {
    color: white;
    background: #C13584;
    border-color: #C13584;
}

.numero-contacto {
    padding-left: 3px;
    color: #666666 !important;
    font-size: 11.5px !important;
}


/* ========================================
   FOOTER
======================================== */

.pie {
    min-height: 90px;
    background: #181818;
    color: white;
}

.pie-interior {
    min-height: 90px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
}

.logo-pie {
    justify-self: start;
}

.logo-pie .logo-nombre {
    color: var(--naranja);
    -webkit-text-stroke: 1.8px #050505;
}

.logo-pie .logo-huella svg {
    fill: var(--naranja);
    stroke: #050505;
    stroke-width: 1.8px;
}

.logo-pie .logo-frase {
    color: white;
}

.copyright {
    justify-self: center;
    font-size: 11px;
    text-align: center;
}

.redes {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.red-social-footer {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--naranja);
    border: 1px solid rgba(255, 167, 43, .45);
    border-radius: 50%;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.red-social-footer:hover {
    background: var(--naranja);
    color: #181818;
    transform: translateY(-2px);
}

.red-social-footer svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.red-social-footer .punto-instagram {
    fill: currentColor;
    stroke: none;
}

.red-social-footer:last-child svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
    stroke: none;
}

.red-social-footer:last-child svg path:last-child {
    fill: #181818;
}

.red-social-footer:last-child:hover svg path:last-child {
    fill: var(--naranja);
}


/* ========================================
   PANTALLAS GRANDES
======================================== */

@media (min-width: 1450px) {

    .portada,
    .portada-contenido {
        height: 380px;
    }

    .portada h1 {
        font-size: 50px;
    }

    .portada-imagen img {
        object-position: 62% center;
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

    .datos-contacto {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 35px;
    }
}

@media (max-width: 950px) {

    .encabezado-interior {
        width: calc(100% - 40px);
    }

    .menu {
        gap: 18px;
    }

    .portada-texto {
        width: calc(100% - 40px);
    }

    .portada-descripcion {
        max-width: 42%;
    }

    .portada-contenido::after {
        background: linear-gradient(
            90deg,
            rgba(255,248,238,1) 0%,
            rgba(255,248,238,.97) 27%,
            rgba(255,248,238,.55) 43%,
            rgba(255,248,238,0) 62%
        );
    }

    .seccion-interior,
    .pie-interior {
        width: calc(100% - 40px);
    }

    .grilla-servicios,
    .grilla-productos {
        grid-template-columns: repeat(2, 1fr);
    }

    .foto-servicio {
        height: 180px;
    }

    .icono-servicio {
        top: 155px;
    }

    .contacto-interior {
        width: calc(100% - 60px);
    }

    .titulo-contacto,
    .datos-contacto {
        padding-left: 0;
    }
}


/* ========================================
   CELULAR
======================================== */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 80px;
    }

    .portada,
    .servicios,
    .productos,
    .asesoramiento,
    .contacto {
        scroll-margin-top: 80px;
    }

    .encabezado {
        height: 68px;
    }

    .encabezado-interior {
        width: calc(100% - 34px);
        display: flex;
    }

    .logo-nombre {
        font-size: 23px;
        -webkit-text-stroke: 1.4px #1B1B1B;
    }

    .logo-huella {
        width: 24px;
        height: 24px;
        margin-left: 5px;
    }

    .logo-huella svg {
        stroke-width: 1.4px;
    }

    .logo-frase {
        margin-top: 4px;
        font-size: 6px;
    }

    .boton-menu {
        display: block;
        margin-left: auto;
        margin-right: 13px;
    }

    .menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 12px 20px 18px;
        flex-direction: column;
        gap: 0;
        background: #FFFBF5;
        box-shadow: 0 8px 15px rgba(0,0,0,.08);
    }

    .menu.mostrar {
        display: flex;
    }

    .menu a {
        width: 100%;
        padding: 12px;
        text-align: center;
    }

    .menu a.activo::after {
        display: none;
    }


    /* PORTADA */

    .portada {
        height: auto;
    }

    .portada-contenido {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .portada-contenido::after {
        display: none;
    }

    .portada-texto {
        order: 1;
        width: 100%;
        height: auto;
        padding: 34px 22px 30px;
        background: #FFF7EB;
    }

    .portada h1 {
        font-size: 40px;
    }

    .portada-descripcion {
        width: 100%;
        max-width: 350px;
    }

    .portada-imagen {
        order: 2;
        position: relative;
        inset: auto;
        width: 100%;
        height: 250px;
    }

    .portada-imagen img {
        object-position: center;
    }


    /* CONTENEDORES */

    .seccion-interior,
    .pie-interior {
        width: calc(100% - 36px);
    }


    /* SERVICIOS Y PRODUCTOS */

    .grilla-servicios,
    .grilla-productos {
        grid-template-columns: 1fr;
    }

    .foto-servicio {
        height: 210px;
    }

    .icono-servicio {
        top: 185px;
    }

    .titulo-seccion h2,
    .cabecera-productos h2 {
        font-size: 28px;
    }

    .cabecera-productos {
        align-items: flex-start;
    }

    .boton-ver-todos {
        white-space: nowrap;
    }

    .tarjeta-producto img {
        height: 180px;
    }


    /* ASESORAMIENTO */

    .asesoramiento-contenido {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .asesoramiento-texto {
        width: calc(100% - 44px);
        padding: 31px 0 14px;
    }

    .asesoramiento h2 {
        font-size: 30px;
    }

    .asesoramiento-imagen {
        width: 100%;
        height: 195px;
    }


    /* CONTACTO */

    .contacto {
        padding: 27px 0 30px;
    }

    .contacto-interior {
        width: calc(100% - 44px);
    }

    .titulo-contacto {
        padding-left: 0;
    }

    .datos-contacto {
        padding-left: 0;
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .enlace-contacto {
        font-size: 12px;
        padding: 7px 13px;
    }


    /* FOOTER */

    .pie-interior {
        display: flex;
        flex-direction: column;
        padding: 19px 0;
        text-align: center;
    }

    .logo-pie,
    .copyright,
    .redes {
        justify-self: auto;
    }
}


/* ========================================
   CELULARES MUY CHICOS
======================================== */

@media (max-width: 430px) {

    .portada h1 {
        font-size: 37px;
    }

    .cabecera-productos {
        flex-direction: column;
        gap: 12px;
    }

    .boton-ver-todos {
        align-self: flex-start;
    }
}