/* ==============================
   RESET + BASE
============================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    background: #FFD62E;
    font-family: 'Inter', Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

/* ==============================
   LOGO SUPERIOR
============================== */

.top-logo {
    padding: clamp(16px, 4vw, 24px);
    display: flex;
    align-items: center;
}

#logo-redondo {
    width: clamp(60px, 12vw, 80px);
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

/* ==============================
   CONTENEDOR TARJETAS
============================== */

.three-columns {
    display: flex;
    gap: clamp(16px, 3vw, 24px);
    padding: clamp(16px, 4vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ==============================
   TARJETAS
============================== */

.card {
    background: #fff;
    flex: 1;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

/* Imagen */
.card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* ==============================
   TEXTO
============================== */

.card h2 {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin: 0 0 12px 0;
}

.card p {
    font-size: clamp(15px, 2.5vw, 17px);
    line-height: 1.5;
    margin: 0;
    text-align: justify;
    font-family: 'Inter', sans-serif;
}

/* ==============================
   FOOTER
============================== */

.footer {
    text-align: center;
    padding: 14px;
    font-size: clamp(12px, 2.5vw, 13px);
    background: transparent;
}

/* ==============================
   📱 MOBILE
============================== */

@media (max-width: 768px) {

    .three-columns {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }
}
