/* =====================================================
   PAWMED - NOSOTROS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #29434b;
}


/*==================================================
    HEADER (igual al de index.php)
==================================================*/

.header {
    width: 100%;
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #E4EEF4;
    box-shadow:
        0 2px 12px rgba(50, 130, 170, 0.06);
    position: relative;
    z-index: 100;
}


/*==================================================
    CONTENEDOR DEL HEADER
==================================================*/

.header-container {
    width: 100%;
    max-width: 1270px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   LOGO PAWMED
===================================================== */

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 150px;
    height: 70px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 140px;
    height: 65px;
    object-fit: contain;
    object-position: left center;
}


/* =====================================================
   ZONA DERECHA DEL HEADER
===================================================== */

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}


/*==================================================
    NAVBAR
==================================================*/

.navbar {
    display: flex;
    align-items: center;
    gap: 4px;
}


/*==================================================
    ENLACES NAVBAR
==================================================*/

.navbar a {
    padding: 9px 17px;
    border-radius: 9px;
    color: #23384E;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/*==================================================
    HOVER NAVBAR
==================================================*/

.navbar a:hover {
    background: #F0F8FD;
    color: #4EA8F0;
    transform: translateY(-1px);
}


/*==================================================
    BOTÓN ACTIVO
==================================================*/

.navbar .activo {
    background: #EDF7FE;
    color: #4EA8F0;
    font-weight: 600;
}


/*==================================================
    BOTÓN INICIAR SESIÓN / MI CUENTA
==================================================*/

.btn-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 21px;
    border-radius: 30px;
    text-decoration: none;

    background:
        linear-gradient(
            90deg,
            #63D2BE,
            #4EA8F0
        );

    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;

    box-shadow:
        0 6px 16px rgba(78, 168, 240, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-header i {
    font-size: 11px;
}

.btn-header:hover {
    color: #ffffff;
    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(78, 168, 240, 0.28);
}


/* =====================================================
   HERO
===================================================== */

.about-hero {
    position: relative;

    padding: 90px 0 105px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(116, 215, 197, .14),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 65%,
            rgba(83, 174, 225, .13),
            transparent 30%
        ),
        #ffffff;
}

.about-container {
    width: min(1240px, 88%);
    margin: auto;

    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    align-items: center;

    gap: 85px;
}


/* HERO TEXTO */

.hero-content {
    max-width: 650px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 30px;

    background: #eaf9f7;
    color: #28aaa8;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.1px;
}

.section-tag i {
    font-size: 11px;
}

.hero-content h1 {
    margin-top: 22px;

    font-size: clamp(42px, 5vw, 66px);

    line-height: 1.08;

    letter-spacing: -2px;

    color: #24424c;

    font-weight: 800;
}

.hero-content h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #82d6c5,
        #53aede
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-content > p {
    margin-top: 25px;

    max-width: 600px;

    color: #718895;

    font-size: 16px;

    line-height: 1.9;
}


/* HERO PUNTOS */

.hero-points {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px;

    background: #ffffff;

    border: 1px solid #e5f0f2;

    border-radius: 13px;

    box-shadow:
        0 8px 25px rgba(39, 94, 110, .06);

    color: #58717d;

    font-size: 12px;
    font-weight: 600;
}

.hero-point i {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #e4f7f4;

    color: #28afa9;

    font-size: 13px;
}


/* =====================================================
   HERO IMAGEN
===================================================== */

.hero-image {
    position: relative;

    display: flex;
    justify-content: center;

    padding: 20px;
}

.image-decoration {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #dff7f2,
            #e5f3fb
        );

    right: -10px;
    top: -25px;

    z-index: 0;
}

.image-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 520px;

    border-radius: 30px;

    overflow: hidden;

    background: white;

    padding: 10px;

    box-shadow:
        0 25px 60px rgba(46, 105, 121, .15);
}

.image-card img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 23px;
}


/* BADGE */

.image-badge {
    position: absolute;

    left: 30px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 17px;

    background: rgba(255, 255, 255, .95);

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(29, 79, 92, .15);

    backdrop-filter: blur(8px);
}

.badge-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #e3f7f3;

    color: #2cb0a8;
}

.image-badge strong {
    display: block;

    font-size: 12px;

    color: #29434b;
}

.image-badge span {
    display: block;

    margin-top: 2px;

    font-size: 10px;

    color: #8296a0;
}


/* =====================================================
   MISIÓN VISIÓN VALORES
===================================================== */

.purpose-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #f8fcfd 0%,
            #ffffff 100%
        );
}

.section-container {
    width: min(1240px, 88%);
    margin: auto;
}

.section-heading {
    max-width: 680px;

    margin: auto;

    text-align: center;
}

.section-heading h2 {
    margin-top: 18px;

    font-size: 40px;

    color: #28434d;

    font-weight: 800;

    letter-spacing: -1px;
}

.section-heading p {
    margin-top: 13px;

    color: #78909b;

    font-size: 14px;

    line-height: 1.8;
}


/* GRID */

.purpose-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/* CARD */

.purpose-card {
    position: relative;

    min-height: 320px;

    padding: 32px;

    border-radius: 24px;

    background: #ffffff;

    border: 1px solid #e7f0f2;

    box-shadow:
        0 12px 35px rgba(45, 91, 105, .07);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.purpose-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(45, 91, 105, .11);
}


/* CARD DESTACADA */

.purpose-card.featured {
    background:
        linear-gradient(
            145deg,
            #f1fbfa,
            #f0f8fd
        );

    border-color: #d8eeee;
}


/* ICON */

.purpose-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #e3f7f4;

    color: #27aaa7;

    font-size: 20px;
}

.purpose-card:nth-child(2) .purpose-icon {
    background: #e5f3fb;
    color: #4ca9d8;
}

.purpose-card:nth-child(3) .purpose-icon {
    background: #eaf8f6;
    color: #35afa5;
}


/* NUMBER */

.purpose-number {
    position: absolute;

    top: 28px;
    right: 30px;

    font-size: 11px;

    color: #a8c4cd;

    font-weight: 700;

    letter-spacing: 1px;
}

.purpose-card h3 {
    margin-top: 25px;

    color: #29434b;

    font-size: 22px;

    font-weight: 700;
}

.purpose-card p {
    margin-top: 14px;

    color: #718894;

    font-size: 13px;

    line-height: 1.85;
}


/* VALORES */

.values-list {
    margin-top: 14px;

    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 9px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #718894;

    font-size: 13px;
}

.values-list i {
    color: #2eaea7;

    font-size: 11px;
}


/* =====================================================
   COMPROMISO
===================================================== */

.commitment-section {
    padding: 95px 0;

    background: #ffffff;
}

.commitment-container {
    width: min(1120px, 88%);
    margin: auto;

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.commitment-title h2 {
    margin-top: 18px;

    font-size: 38px;

    line-height: 1.15;

    color: #29434b;

    font-weight: 800;
}

.commitment-title p {
    margin-top: 18px;

    color: #78909b;

    font-size: 14px;

    line-height: 1.9;
}


/* ITEMS */

.commitment-items {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.commitment-item {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 22px;

    border: 1px solid #e6f0f2;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(42, 89, 103, .055);

    transition: all .25s ease;
}

.commitment-item:hover {
    transform: translateX(5px);

    border-color: #cfe8ee;
}

.commitment-icon {
    flex-shrink: 0;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #e4f8f4,
            #e6f4fb
        );

    color: #27a9ae;

    font-size: 19px;
}

.commitment-item h3 {
    color: #29434b;

    font-size: 15px;

    font-weight: 700;
}

.commitment-item p {
    margin-top: 5px;

    color: #81949d;

    font-size: 12px;

    line-height: 1.6;
}


/* =====================================================
   CTA
===================================================== */

.about-cta {
    padding: 85px 20px;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(139, 215, 199, .22),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(84, 174, 225, .20),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #eaf9f7,
            #edf8fc
        );
}

.cta-content {
    max-width: 720px;

    margin: auto;

    text-align: center;
}

.cta-icon {
    width: 60px;
    height: 60px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: white;

    color: #36aaa8;

    font-size: 23px;

    box-shadow:
        0 10px 25px rgba(54, 153, 169, .12);
}

.cta-content h2 {
    margin-top: 20px;

    font-size: 35px;

    color: #29434b;

    font-weight: 800;
}

.cta-content p {
    margin-top: 12px;

    color: #718894;

    font-size: 14px;

    line-height: 1.8;
}


/* CTA BUTTON */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 25px;

    padding: 14px 23px;

    border-radius: 13px;

    text-decoration: none;

    color: white;

    font-size: 13px;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #35b4ae,
            #52aee0
        );

    box-shadow:
        0 10px 25px rgba(60, 168, 193, .20);

    transition: all .25s ease;
}

.cta-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(60, 168, 193, .27);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 32px 0;

    background: #ffffff;

    border-top: 1px solid #e5f0f2;
}

.footer-container {
    width: min(1240px, 88%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-brand strong {
    display: block;

    color: #79bfd3;

    font-size: 16px;
}

.footer-brand span {
    display: block;

    color: #8ca0a8;

    font-size: 9px;
}

.footer-container > p {
    color: #8ca0a8;

    font-size: 11px;
}

.footer-copy {
    color: #a0b0b6;

    font-size: 10px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    /* --- header igual al comportamiento tablet del home --- */
    .header {
        height: auto;
    }

    .header-container {
        min-height: 70px;

        flex-wrap: wrap;

        padding: 8px 0;
    }

    .header-right {
        margin-left: auto;
    }

    .navbar {
        order: 3;

        width: 100%;

        padding-top: 5px;

        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        max-width: 750px;

        text-align: center;

        margin: auto;
    }

    .hero-content h1 span {
        display: inline;
    }

    .hero-points {
        justify-content: center;
    }

    .hero-image {
        max-width: 650px;

        width: 100%;

        margin: auto;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .commitment-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .commitment-title {
        text-align: center;
    }

    .commitment-title .section-tag {
        margin: auto;
    }

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

}


@media (max-width: 760px) {

    /* --- header igual al comportamiento móvil del home --- */
    .header-container {
        width: 90%;
    }

    .logo {
        width: auto;
    }

    .logo img {
        width: 85px;
    }

    .header-right {
        gap: 8px;
    }

    .navbar {
        gap: 1px;
    }

    .navbar a {
        padding: 7px 9px;

        font-size: 10px;
    }

    .btn-header {
        padding: 8px 14px;

        font-size: 10px;
    }

    .about-hero {
        padding: 65px 0 75px;
    }

    .hero-content h1 {
        font-size: 42px;

        letter-spacing: -1px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-points {
        flex-direction: column;
    }

    .hero-point {
        justify-content: center;
    }

    .image-card img {
        height: 330px;
    }

    .image-decoration {
        width: 240px;
        height: 240px;
    }

    .purpose-section,
    .commitment-section {
        padding: 70px 0;
    }

    .section-heading h2,
    .commitment-title h2 {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 29px;
    }

}