@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #c3e8dc;
}

/* ================= BOTÓN NAV ================= */

.btn-outline-custom {
    color: #86bca4;
    border: 2px solid #86bca4;
    border-radius: 50px;
    padding: 6px 20px;
    transition: all 0.3s ease;
    margin-left: 12px;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background-color: #86bca4;
    color: #fff;
    text-decoration: none;
}

/* ================= SECCIÓN INICIO ================= */

:root {
    --verde-principal: #bcd1c6;
    --negro-boton: #1a1a1a;
    --blanco: #ffffff;
    --crema-fondo: #fcf8f5;
    --verde-texto: #2eb67d;
    --gris-oscuro: #333333;
    --gris-suave: #666666;
    --warm-accent: #9bc7b3;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --text-dark: #2d3436;
}

.seccion-hero {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    font-family: Nunito;
    margin-top: -2%;
}

.contenedor-principal {
    display: flex;
    max-width: 1450px;
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    background-color: var(--blanco);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contenido-texto {
    flex: 1;
    background: linear-gradient(145deg, #e7fffa 0%, #d2ddd8 100%);
    color: var(--blanco);
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-radius: 40px;
}

.titulo-principal {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: Fredoka;
    color: #484848;
}

.descripcion {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 450px;
    opacity: 0.95;
    color: #424242;
}

.boton-cita {
    background-color: #f6f6f6;
    color: #333;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    width: fit-content;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.boton-cita:hover {
    background-color: #f8f8f8;
    transform: translateY(-3px);
    text-decoration: none;
    color: #6ea890;
}

.contenedor-imagen {
    flex: 1;
    position: relative;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    margin-left: 5px;
}

.foto-mascota {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}

.burbuja {
    position: absolute;
    background: var(--blanco);
    padding: 8px 18px;
    border-radius: 25px;
    border: 1.5px solid var(--verde-principal);
    font-size: 0.85rem;
    color: var(--verde-principal);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.salud-ok { top: 25%; left: 6%; }
.juego-ok { top: 12%; right: 15%; }
.paseo-ok { top: 35%; right: 8%; }
.comida-ok { bottom: 15%; right: 20%; }

.estado-feliz {
    top: 50%;
    left: -40px;
    background: var(--verde-principal);
    color: var(--blanco);
    border: 3px solid var(--blanco);
    z-index: 5;
}

/* ================= SECCIÓN EXPERIENCIA ================= */

.barra-experiencia {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #f7f7f7;
    font-family: Nunito;
}

.experiencia-contenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    width: 100%;
    gap: 30px;
}

.experiencia-texto p {
    font-size: 1.5rem;
    color: var(--gris-oscuro);
    font-weight: 600;
    max-width: 500px;
    margin: 0;
    line-height: 1.3;
}

.experiencia-texto span {
    color: var(--verde-texto);
}

.experiencia-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.grupo-avatares {
    display: flex;
    align-items: center;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--blanco);
    margin-left: -20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contador-años {
    display: flex;
    flex-direction: column;
}

.contador-años .numero {
    font-size: 2rem;
    font-weight: 800;
    color: #89baae;
    line-height: 1;
}

.contador-años .etiqueta {
    font-size: 1rem;
    color: #8daba4;
    line-height: 1.2;
    font-weight: 500;
}

/* ================= PROMESA ================= */

.promesa {
    max-width: 1450px;
    width: 100%;
    background-color: #ffffff;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
   
    display: flex;
    align-items: center;
    padding: 90px 90px;
    gap: 60px;
    flex-wrap: wrap;
}

.promesa-img {
    flex: 1 1 420px;
}

.promesa-img img {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.promesa-texto {
    flex: 1 1 420px;
}

.promesa-texto h2 {
    font-family: Fredoka;
    font-size: 40px;
    margin-bottom: 15px;
}

.promesa-texto h3 {
    font-family: Fredoka;
    font-size: 25px;
    margin-bottom: 15px;
}

.promesa-texto p {
    font-family: Nunito;
    font-size: 17px;
    color: #534f4e;
    line-height: 1.6;
    max-width: 520px;
}

.boton-cita-p {
    background-color: #d7eae2;
    color: #333;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    width: fit-content;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.boton-cita-p:hover {
    background-color: #c5d4ce;
    transform: translateY(-3px);
    text-decoration: none;
    color: #333;
}

/* ================= SERVICIOS ================= */

.servicios {
    margin-top: -6%;
    padding: 90px 70px;
    background: #f7f7f7;
    text-align: center;
}

.servicios-titulo {
    font-family: Fredoka;
    font-size: 50px;
    margin-bottom: 60px;
    color: #534f4e;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.servicio-card {
    margin-top: 12px;
    position: relative;
    background: #fff;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
    padding: 35px 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.servicio-card::before {
    content: "";
    position: absolute;
    top: -35px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #d9f2eb;
    border-radius: 30px 30px 0 0;
    z-index: -1;
}

.servicio-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.servicio-card i {
    font-size: 42px;
    color: #9bc7b3;
    margin: 20px 0;
}

.servicio-card h3 {
    font-family: Nunito;
    font-size: 18px;
    font-weight: bold;
}

.servicio-card p {
    font-family: Nunito;
    font-size: 15px;
    color: #534f4e;
}

/* ================= BLOG ================= */

.section-title {
    text-align: center;
    font-family: Fredoka;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.card-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    position: relative;
    width: 400px;
    height: 390px;
    border-radius: 35px;
    overflow: hidden;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 3;
    background: linear-gradient(to top, rgba(65, 65, 65, 0.85) 0%, rgba(45, 45, 45, 0.4) 70%, transparent 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.title {
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.2;
}

.description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 300;
}

.read-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.8;
    color: white;
    text-decoration: none;
}

.arrow {
    margin-left: 8px;
    transition: transform 0.2s;
}

.read-more:hover .arrow {
    transform: translateX(5px);
}

.badge {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= SECCIÓN CONTACTO ================= */

.contacto-section {
    font-family: Nunito;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    background: #ffffff;
}

.contacto-wrapper {
    max-width: 1450px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    
   
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contacto-visual {
    position: relative;
    overflow: hidden;
}

.contacto-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.contacto-container {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto-form h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.subtitle {
    color: #636e72;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 20px;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    border-color: var(--warm-accent);
    background: #fff;
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.1);
}

.contacto-form textarea {
    height: 150px;
    resize: none;
}

.btn-enviar {
    background: #abd1c1;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    background: var(--warm-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ================= ENCUÉNTRANOS ================= */

.encuentranos {
    background: #f6fffd;
    padding: 90px 70px;
}

.encuentranos-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.encuentranos-info {
    width: 40%;
}

.encuentranos-info h2 {
    font-family: Fredoka;
    font-size: 42px;
    color: #534f4e;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item img {
    width: 26px;
    margin-top: 4px;
}

.info-item h4 {
    font-family: Nunito;
    font-size: 22px;
    font-weight: bold;
    color: #2e2a29;
}

.info-item p {
    font-family: Nunito;
    font-size: 18px;
    color: #534f4e;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 22px;
     box-shadow: 0 5px 15px rgba(158, 158, 158, 0.7);
    background-color: #ffffff;
    border-radius: 50px;
    color: #2e2a29;
    font-family: Nunito;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-maps img {
    width: 18px;
}

.btn-maps:hover {
    
    
     transform: translateY(-2px);
    text-decoration: none;
    color: #2e2a29;
}

.encuentranos-mapa {
    width: 55%;
}

.encuentranos-mapa iframe {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 16px;
}

/* ================= FOOTER ================= */

.footer-vet {
    background: #cde8e0;
    padding: 60px 0 20px;
    font-family: 'Nunito', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    width: 190px;
    margin-bottom: 12px;
}

.footer-brand h4 {
    font-weight: 800;
    margin-bottom: 10px;
    color: #2c3e50;
}

.footer-brand p {
    font-size: 14px;
    color: #4a4a4a;
}

.footer-links h5,
.footer-contact h5 {
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #4fae96;
    padding-left: 6px;
}

.contact-box {
    background: #e9f7f7;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.contact-box p {
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .promesa {
        padding: 70px 40px;
        gap: 40px;
    }

    .promesa-texto h2 {
        font-size: 34px;
    }

    .promesa-texto h3 {
        font-size: 22px;
    }

    .contenedor-principal {
        flex-direction: column;
    }

    .contenido-texto {
        padding: 50px 30px;
        text-align: center;
        align-items: center;
    }

    .titulo-principal {
        font-size: 2rem;
    }

    .contenedor-imagen {
        height: 450px;
    }

    .estado-feliz {
        left: 20px;
        top: 20px;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
        margin: 20px;
    }

    .contacto-visual {
        height: 300px;
    }

    .contacto-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .promesa {
        flex-direction: column;
        padding: 50px 20px;
        text-align: center;
    }

    .promesa-img {
        display: none;
    }

    .promesa-texto {
        width: 100%;
    }

    .servicios {
        padding: 60px 20px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicios-titulo {
        font-size: 34px;
    }

    .encuentranos {
        padding: 60px 20px;
    }

    .encuentranos-contenido {
        flex-direction: column;
    }

    .encuentranos-info,
    .encuentranos-mapa {
        width: 100%;
    }

    .encuentranos-info h2 {
        text-align: center;
    }

    .btn-maps {
        margin: 25px auto 0;
    }

    .footer-vet {
        padding: 70px 20px 40px;
        background-color: #d9f2eb;
    }

    .experiencia-contenedor {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .experiencia-texto p {
        font-size: 1.3rem;
        max-width: 100%;
    }

    .experiencia-info {
        flex-direction: column;
        gap: 15px;
    }
}