:root {
    --max: 1100px;
    --bg: #ffffff;
    --ink: #0f172a;
    --muted: rgba(15, 23, 42, .68);
    --border: rgba(15, 23, 42, .10);
    --shadow: 0 10px 30px rgba(2, 6, 23, .08);
    --topbar: #FFD966;
    --btn: #0f172a;
    --btnTxt: #fff;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Topbar */
.fa25-topbar {
    background: var(--topbar);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fa25-topbar__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa25-topbar__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fa25-topbar__logo {
    height: 54px;
    width: auto;
    display: block;
}

/* Layout */
.fa25 {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px 18px 44px;
}

/* Hero */
.fa25-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    margin: 10px 0 26px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.fa25-hero__media {
    display: flex;
    justify-content: center;
}

.fa25-hero__img {
    width: min(360px, 90%);
    height: auto;
    display: block;
}

.fa25-hero__title {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.6px;
}

.fa25-hero__lead {
    margin: 0;
    color: var(--muted);
    font-size: 16.2px;
    line-height: 1.6;
}

.fa25-hero__actions {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    justify-items: start;
}

.fa25-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--btn);
    color: var(--btnTxt);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .2px;
    transition: transform .15s ease, opacity .15s ease;
}

.fa25-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.fa25-hero__note {
    color: var(--muted);
    font-size: 13.5px;
}

/* Section */
.fa25-section {
    margin-top: 22px;
}

.fa25-section__head {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
}

.fa25-section__title {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.2px;
}

.fa25-section__sub {
    margin: 0;
    color: var(--muted);
}

/* Grid cards */
.fa25-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.fa25-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .15s ease;
}

.fa25-card:hover {
    transform: translateY(-2px);
}

.fa25-card__media {
    height: 170px;
    background: #FFD966;
    /* fondo oscuro para que se vea bien */
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa25-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* <-- no recorta */
    display: block;
}

.fa25-card__body {
    padding: 14px 14px 16px;
    display: grid;
    gap: 10px;
}

.fa25-card__title {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.3;
    letter-spacing: -0.1px;
}

.fa25-card__meta {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.fa25-card__link {
    width: fit-content;
    text-decoration: none;
    font-weight: 800;
    color: var(--ink);
    border-bottom: 1px solid rgba(15, 23, 42, .35);
}

.fa25-card__link:hover {
    border-bottom-color: rgba(15, 23, 42, .9);
}

/* Formulario Google */
.fa25-form {
    margin-top: 34px;
}

.fa25-form__wrap {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.fa25-form iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* Footer */
.fa25-footer {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.fa25-footer__text {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
}

.fa25-footer__text a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, .25);
}

.fa25-footer__text a:hover {
    border-bottom-color: rgba(15, 23, 42, .85);
}

/* Responsive */
@media (min-width: 860px) {
    .fa25-hero {
        grid-template-columns: 340px 1fr;
        gap: 22px;
    }

    /* 5 columnas -> 5 + 5 */
    .fa25-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .fa25-card__media {
        height: 160px;
    }
}

@media (max-width: 420px) {
    .fa25-topbar__logo {
        height: 46px;
    }
}