/* ============================================================
   FASAM · Sistema de diseño público
   ============================================================ */

@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-latin-400-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/home/barlow-condensed-normal-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/home/barlow-condensed-normal-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/home/barlow-condensed-normal-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/home/dm-sans-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --fasam-primary: #12a9b0;
    --fasam-primary-dark: #12a9b0;
    --fasam-primary-soft: #d5f7f6;
    --fasam-primary-ink: #12a9b0;
    --fasam-secondary: #12a9b0;
    --fasam-blue: #b8dceb;
    --fasam-gold: #f3bd62;
    --fasam-gold-soft: #fbe7c3;
    --fasam-cream: #fff5e6;
    --fasam-cream-soft: #fdfaf4;
    --fasam-text: #0a0a0a;
    --fasam-muted: #3a4a52;
    --fasam-white: #ffffff;
    --fasam-line: #d7e8e6;
    --fasam-danger: #a33a3a;
    --fasam-success: #12a9b0;
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --sans: 'DM Sans', var(--font-sans);
    --radius-sm: .55rem;
    --radius: 1rem;
    --radius-lg: 1.6rem;
    --radius-xl: 2.4rem;
    --shadow-sm: 0 4px 16px rgba(5, 42, 45, .06);
    --shadow: 0 18px 50px rgba(5, 42, 45, .10);
    --shadow-lg: 0 30px 80px rgba(5, 42, 45, .14);
    --container: 1200px;
    --header-height: 112px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--fasam-text);
    background: var(--fasam-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.18;
    color: var(--fasam-text);
    letter-spacing: -.015em;
}

a { color: var(--fasam-primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fasam-primary-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--fasam-gold-soft); color: var(--fasam-text); }

:focus-visible {
    outline: 3px solid var(--fasam-gold);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: var(--fasam-primary-dark);
    color: #fff;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

.container-fasam {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}
/* La barra superior, la cabecera y el pie usan el mismo ancho que la portada. */
.topbar > .container-fasam,
.site-header > .header-inner,
.site-footer > .container-fasam {
    width: min(1240px, 100% - 80px);
    max-width: none;
    padding-inline: 0;
}

/* Elementos visibles únicamente en la portada (rediseño 2026). */
.home-only { display: none; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-cream { background: var(--fasam-cream-soft); }
.section-sage { background: var(--fasam-primary-soft); }
.section-dark { background: var(--fasam-primary-dark); color: var(--fasam-cream); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .82); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fasam-primary-ink);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 2.2rem;
    height: 1px;
    background: var(--fasam-gold);
}
.section-dark .eyebrow { color: var(--fasam-gold); }

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
    max-width: 22ch;
}
.section-subtitle {
    color: var(--fasam-muted);
    font-size: 1.06rem;
    max-width: 62ch;
}
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { text-align: center; }
.section-head.center .section-title,
.section-head.center .section-subtitle { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Botones */
.btn { border-radius: 100px; font-weight: 600; padding: .72rem 1.35rem; transition: .18s ease; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn-fasam {
    background: var(--fasam-primary);
    border: 1px solid var(--fasam-primary);
    color: #052a2d;
    box-shadow: 0 8px 20px rgba(5, 42, 45, .18);
}
.btn-fasam:hover, .btn-fasam:focus { background: var(--fasam-primary-dark); border-color: var(--fasam-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-fasam {
    background: transparent;
    border: 1.5px solid var(--fasam-primary);
    color: var(--fasam-primary-ink);
}
.btn-outline-fasam:hover { background: var(--fasam-primary); color: #052a2d; }
.btn-gold {
    background: var(--fasam-gold);
    border: 1px solid var(--fasam-gold);
    color: var(--fasam-text);
}
.btn-gold:hover { background: #efae45; border-color: #efae45; color: var(--fasam-text); transform: translateY(-1px); }
.btn-light-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff;
}
.btn-light-outline:hover { background: #fff; color: var(--fasam-primary-ink); }
.btn-whatsapp {
    background: var(--fasam-primary);
    border-color: var(--fasam-primary);
    color: #052a2d;
}
.btn-whatsapp:hover { background: var(--fasam-secondary); border-color: var(--fasam-secondary); color: #052a2d; }
.btn-link-fasam {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--fasam-primary-ink);
    font-weight: 600;
    text-decoration: none;
}
.btn-link-fasam i { transition: transform .18s ease; }
.btn-link-fasam:hover i { transform: translateX(4px); }

/* Header */
.topbar {
    background: #12a9b0;
    color: #052a2d;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 40px;
    font: 500 13px/1 var(--cond);
    letter-spacing: .05em;
}
.topbar-tagline { display: inline-flex; align-items: center; gap: 7px; }
.topbar-tagline i { color: #052a2d; font-size: 14px; }
.topbar-links { display: flex; align-items: center; gap: 26px; }
.topbar a { color: #052a2d; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #000; }
.topbar a i { color: #052a2d; font-size: 14px; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-follow { color: #052a2d; }
.topbar-social a { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(5,42,45,.4); display: inline-flex; align-items: center; justify-content: center; }
.topbar-social a i { color: #052a2d; font-size: 12px; }

.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1030;
    border-bottom: 1px solid #e3eceb;
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(8, 43, 56, .08); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 112px;
}

.brand { display: flex; align-items: center; gap: 16px; margin-right: auto; text-decoration: none; color: var(--fasam-text); flex-shrink: 0; }
.brand-logo { display: block; width: 108px; height: 108px; object-fit: contain; }
.brand-slogan {
    font: 500 16px/1.34 var(--sans);
    letter-spacing: .002em;
    color: #12a9b0;
    white-space: nowrap;
}
.brand-slogan em { display: block; font-style: normal; color: #f97803; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-short {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--fasam-primary-ink);
}
.brand-full {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--fasam-muted);
    max-width: 22ch;
    margin-top: .25rem;
}
.brand-divider { width: 2px; height: 42px; background: var(--fasam-gold); border-radius: 2px; }

.main-nav {
    display: flex;
    align-items: center;
    color: #12a9b0;
    font: 600 16px/1 var(--cond);
    letter-spacing: .035em;
}
.main-nav > .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 27px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav > .navbar-nav > .nav-item > .nav-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 9px 2px;
    border-radius: 999px;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}
.main-nav > .navbar-nav > .nav-item > .nav-link:hover,
.main-nav > .navbar-nav > .nav-item > .nav-link:focus-visible { color: #f97803; }
.main-nav > .navbar-nav > .nav-item > .nav-link.active {
    color: #fff;
    padding: 10px 19px;
    background: linear-gradient(180deg, #ffc04e 0%, #fa7904 58%, #e86400 100%);
    box-shadow: inset 0 2px 2px rgba(255,255,255,.7), 0 4px 12px rgba(250,121,4,.35);
}
.main-nav > .navbar-nav > .nav-item > .nav-link.active:hover { color: #fff; }
.main-nav .dropdown-menu {
    margin-top: 8px;
    border: 1px solid #e3eceb;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(8, 43, 56, .12);
    padding: .4rem;
}
.main-nav .dropdown-item {
    border-radius: 10px;
    padding: .55rem .8rem;
    font: 500 15px/1.2 var(--sans);
    color: #052a2d;
}
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus { background: #eafaf9; color: #12a9b0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .home-only { display: none; }
.header-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #12a9b0;
    border: 1px solid #d7e8e6;
    text-decoration: none;
    background: transparent;
}
.header-icon:hover { background: #eafaf9; color: #0b8d94; }
.header-actions .btn-collaborate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font: 700 16px/1 var(--cond);
    letter-spacing: .045em;
    color: #fff;
    background: linear-gradient(180deg, #ffb43e 0%, #f97803 62%, #e86400 100%);
    box-shadow: inset 0 2px 2px rgba(255,255,255,.55), 0 10px 24px rgba(249,120,3,.32);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.header-actions .btn-collaborate:hover,
.header-actions .btn-collaborate:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 2px 2px rgba(255,255,255,.55), 0 14px 28px rgba(249,120,3,.4);
}
.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1.5px solid #d7e8e6;
    background: #fff;
    color: #12a9b0;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-menu { border-top: 1px solid #e3eceb; background: #fffdf8; padding: 1rem 1.25rem 1.5rem; }
.mobile-menu .nav-link { padding: .65rem .25rem; font-weight: 500; border-bottom: 1px solid rgba(229, 223, 210, .6); }
.mobile-menu .btn { margin-top: .8rem; }
.mobile-menu .submenu { padding-left: 1rem; }
.mobile-menu .submenu .nav-link { font-size: .9rem; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(184, 220, 235, .45), transparent 24rem),
        radial-gradient(circle at 90% 88%, rgba(243, 189, 98, .16), transparent 22rem),
        var(--fasam-cream-soft);
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(8, 43, 56, .12) .8px, transparent .8px);
    background-size: 22px 22px;
    opacity: .35;
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { max-width: 660px; }
.hero .display-title {
    font-size: clamp(2.8rem, 5.4vw, 4.9rem);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 1.4rem;
}
.hero .display-title em { font-style: italic; color: var(--fasam-primary-ink); }
.hero-subtitle { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fasam-muted); max-width: 52ch; margin-bottom: 1rem; }
.hero-text { font-size: .98rem; color: var(--fasam-muted); max-width: 50ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--fasam-muted); font-size: .82rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust i { color: var(--fasam-primary-ink); }

.hero-visual { position: relative; }
.hero-media {
    position: relative;
    aspect-ratio: 4 / 4.6;
    border-radius: 12rem 12rem 1.6rem 1.6rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--fasam-secondary);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media picture, .hero-media picture img { width: 100%; height: 100%; display: block; }
.hero-media-badge {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: .9rem 1rem;
    display: flex;
    gap: .8rem;
    align-items: center;
    font-size: .82rem;
    color: var(--fasam-text);
    box-shadow: var(--shadow-sm);
}
.hero-media-badge i { color: var(--fasam-primary-ink); font-size: 1.3rem; }
.hero-sun {
    position: absolute;
    top: -1.6rem;
    right: -1.2rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--fasam-gold);
    opacity: .9;
    z-index: -1;
}
.hero-dots {
    position: absolute;
    left: -1.5rem;
    bottom: 3rem;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--fasam-primary) 1.2px, transparent 1.2px);
    background-size: 14px 14px;
    opacity: .22;
    z-index: -1;
}

/* Valores */
.values-band { position: relative; z-index: 3; margin-top: -3.2rem; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.value-item { padding: 1.7rem 1.5rem; border-right: 1px solid var(--fasam-line); display: flex; gap: 1rem; align-items: flex-start; }
.value-item:last-child { border-right: 0; }
.value-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--fasam-primary-soft);
    color: var(--fasam-primary-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.value-item h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.value-item p { font-size: .82rem; color: var(--fasam-muted); margin: 0; line-height: 1.5; }

/* Quiénes somos */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-media-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.about-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media-frame .hero-fallback { width: 100%; height: 100%; object-fit: cover; }
.about-media::before {
    content: "";
    position: absolute;
    inset: 1.1rem -1.1rem -1.1rem 1.1rem;
    border: 2px solid var(--fasam-gold);
    border-radius: var(--radius-xl);
    z-index: -1;
}
.about-quote {
    position: absolute;
    right: -1.2rem;
    bottom: 1.4rem;
    max-width: 320px;
    background: var(--fasam-primary);
    color: #052a2d;
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.45;
    box-shadow: var(--shadow);
}
.about-quote i { color: var(--fasam-gold); margin-right: .35rem; }
.about-copy .section-title { max-width: 20ch; }
.about-copy p { color: var(--fasam-muted); }
.about-facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.6rem; }
.about-fact strong { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--fasam-primary-ink); line-height: 1.1; }
.about-fact span { font-size: .78rem; color: var(--fasam-muted); text-transform: uppercase; letter-spacing: .08em; }

/* Servicios / propuesta */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(229, 223, 210, .9);
    border-radius: var(--radius-lg);
    padding: 1.7rem;
    text-decoration: none;
    color: var(--fasam-text);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(8, 43, 56, .25); color: var(--fasam-text); }
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--fasam-primary-soft);
    color: var(--fasam-primary-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
}
.service-card:nth-child(3n+2) .service-icon { background: var(--fasam-cream); color: #9a6a14; }
.service-card:nth-child(3n+3) .service-icon { background: #e8f4f8; color: #12a9b0; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card p { color: var(--fasam-muted); font-size: .9rem; flex-grow: 1; }
.service-card .btn-link-fasam { margin-top: 1.1rem; font-size: .88rem; }
.service-card .media-cover { margin: -1.7rem -1.7rem 1.3rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16/9; }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.team-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--fasam-line); }
.team-photo { aspect-ratio: 4/4.4; background: var(--fasam-primary-soft); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--fasam-primary-ink);
    background: linear-gradient(145deg, var(--fasam-primary-soft), #fff);
}
.team-body { padding: 1.2rem; }
.team-body h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.team-role { font-size: .82rem; font-weight: 600; color: var(--fasam-primary-ink); }
.team-area { font-size: .75rem; color: var(--fasam-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }
.team-bio { font-size: .84rem; color: var(--fasam-muted); margin-top: .7rem; }

/* Publicaciones */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--fasam-line);
    text-decoration: none;
    color: var(--fasam-text);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--fasam-text); }
.post-cover { aspect-ratio: 16/9.6; overflow: hidden; background: var(--fasam-primary-soft); position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-cover img { transform: scale(1.03); }
.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(243, 189, 98, .35), transparent 45%),
        linear-gradient(145deg, var(--fasam-primary-soft), #dcf3f6);
    color: var(--fasam-primary-ink);
    font-size: 2rem;
}
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; font-size: .75rem; color: var(--fasam-muted); margin-bottom: .7rem; }
.badge-category {
    display: inline-flex;
    align-items: center;
    background: var(--fasam-primary-soft);
    color: var(--fasam-primary-ink);
    font-weight: 600;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .3rem .6rem;
    border-radius: 100px;
}
.post-body h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.post-body p { font-size: .88rem; color: var(--fasam-muted); flex-grow: 1; }
.post-body .btn-link-fasam { margin-top: 1rem; font-size: .85rem; }

/* Banda mapa */
.map-band { position: relative; overflow: hidden; background: #12a9b0; color: #fff; border-radius: var(--radius-xl); }
.map-band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); }
.map-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 18ch; }
.map-band p { color: rgba(255, 255, 255, .78); max-width: 50ch; }
.map-visual { position: relative; min-height: 240px; }
.map-visual svg { width: 100%; height: auto; }
.map-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--fasam-gold);
    box-shadow: 0 0 0 6px rgba(243, 189, 98, .2);
}

/* Donaciones */
.donate-section { background: linear-gradient(135deg, var(--fasam-cream) 0%, #fff 60%); }
.amounts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.amount-card {
    background: #fff;
    border: 1px solid var(--fasam-line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    align-items: center;
    transition: .2s ease;
}
.amount-card:hover { border-color: var(--fasam-gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.amount-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--fasam-primary-ink); line-height: 1; }
.amount-label { font-size: .78rem; color: var(--fasam-muted); }
.amount-card .btn { width: 100%; font-size: .85rem; padding: .6rem 1rem; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.contact-info-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--fasam-line); display: inline-flex; align-items: center; justify-content: center; color: var(--fasam-primary-ink); }
.contact-info-item strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fasam-muted); font-weight: 600; }
.contact-info-item span, .contact-info-item a { font-size: .95rem; color: var(--fasam-text); text-decoration: none; }
.contact-info-item a:hover { color: var(--fasam-primary-ink); }

/* Inicio: encabezado con canales arriba y formulario a todo el ancho */
.contact-home-top {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-home-intro .section-subtitle { margin-bottom: 0; }
.contact-home-top .contact-info-list {
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem 1.6rem;
    background: #fff;
    border: 1px solid var(--fasam-line);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.4vw, 1.9rem);
}
.contact-home-form .form-card .btn.w-100 {
    display: block;
    max-width: 420px;
    margin-inline: auto;
}

.form-card { background: #fff; border: 1px solid var(--fasam-line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.form-card h2, .form-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--fasam-text); margin-bottom: .35rem; }
.form-control, .form-select {
    border: 1px solid #d8d2c5;
    border-radius: var(--radius-sm);
    padding: .68rem .85rem;
    font-size: .92rem;
    color: var(--fasam-text);
    background-color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--fasam-primary);
    box-shadow: 0 0 0 .2rem rgba(5, 42, 45, .13);
}
.form-text { font-size: .76rem; color: var(--fasam-muted); }
.form-check-input:checked { background-color: var(--fasam-primary); border-color: var(--fasam-primary); }
.form-check-input:focus { border-color: var(--fasam-primary); box-shadow: 0 0 0 .2rem rgba(5, 42, 45, .13); }
.invalid-feedback { display: block; }
.is-invalid { border-color: var(--fasam-danger) !important; }
.fasam-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Alertas */
.alert { border-radius: var(--radius); border: 0; padding: 1rem 1.1rem; font-size: .9rem; }
.alert-success { background: #d5f7f6; color: #12a9b0; }
.alert-danger { background: #f9e9e9; color: #8a2e2e; }
.alert-warning { background: var(--fasam-gold-soft); color: #6f4a06; }
.alert-info { background: #e8f4f8; color: #052a2d; }
.alert i { margin-right: .35rem; }

/* Page hero / breadcrumbs */
.page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(184, 220, 235, .5), transparent 20rem),
        radial-gradient(circle at 10% 100%, rgba(243, 189, 98, .14), transparent 18rem),
        var(--fasam-cream-soft);
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--fasam-line);
}
.page-hero.compact { padding-block: clamp(2rem, 4vw, 3.2rem); }
.breadcrumb { font-size: .78rem; margin-bottom: 1rem; --bs-breadcrumb-divider-color: var(--fasam-muted); }
.breadcrumb a { color: var(--fasam-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--fasam-primary-ink); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.7rem); max-width: 24ch; margin-bottom: .8rem; }
.page-hero .lead { color: var(--fasam-muted); max-width: 65ch; font-size: 1.05rem; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; font-size: .82rem; color: var(--fasam-muted); margin-top: 1rem; }
.page-hero-image { aspect-ratio: 16/7; border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem; box-shadow: var(--shadow-sm); }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Prose */
.prose { font-size: 1.02rem; color: #2c4652; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 2.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.prose h4 { font-size: 1.12rem; margin-top: 1.5rem; font-family: var(--font-sans); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.prose blockquote {
    border-left: 4px solid var(--fasam-gold);
    background: var(--fasam-cream);
    padding: 1.1rem 1.4rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
}
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.8rem 0; }
.prose figcaption { font-size: .8rem; color: var(--fasam-muted); margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--fasam-line); padding: .6rem .7rem; }
.prose th { background: var(--fasam-primary-soft); text-align: left; }
.prose a { color: var(--fasam-primary-ink); }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.aside-card { background: var(--fasam-cream-soft); border: 1px solid var(--fasam-line); border-radius: var(--radius-lg); padding: 1.4rem; }
.aside-card h2, .aside-card h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.share-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn {
    display: inline-flex; align-items: center; gap: .4rem; justify-content: center;
    border: 1px solid var(--fasam-line); background: #fff; border-radius: 100px;
    padding: .45rem .8rem; font-size: .78rem; color: var(--fasam-text); text-decoration: none;
}
.share-btn:hover { border-color: var(--fasam-primary); color: var(--fasam-primary-ink); }

/* Filtros y listados */
.filter-bar { background: #fff; border: 1px solid var(--fasam-line); border-radius: var(--radius-lg); padding: 1rem; display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin-bottom: 2rem; }
.filter-bar .form-group { flex: 1 1 180px; }
.filter-bar .btn { padding-block: .65rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
    display: inline-flex; align-items: center; gap: .3rem;
    border: 1px solid var(--fasam-line); border-radius: 100px; padding: .35rem .7rem;
    font-size: .78rem; color: var(--fasam-muted); text-decoration: none; background: #fff;
}
.chip:hover, .chip.active { background: var(--fasam-primary); border-color: var(--fasam-primary); color: #052a2d; }

/* Equipo página */
.team-area-title { font-size: 1.6rem; margin: 2.5rem 0 1.2rem; padding-bottom: .6rem; border-bottom: 1px solid var(--fasam-line); }
.team-area-title:first-of-type { margin-top: 0; }

/* Post individual */
.post-hero { background: var(--fasam-cream-soft); border-bottom: 1px solid var(--fasam-line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.post-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); max-width: 26ch; }
.post-hero .lead { color: var(--fasam-muted); font-size: 1.08rem; max-width: 65ch; }
.post-cover-large { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/8; margin-top: 2rem; box-shadow: var(--shadow-sm); }
.post-cover-large img { width: 100%; height: 100%; object-fit: cover; }
.event-facts { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem; }
.event-fact { background: #fff; border: 1px solid var(--fasam-line); border-radius: var(--radius); padding: .7rem 1rem; font-size: .85rem; display: flex; align-items: center; gap: .5rem; }
.event-fact i { color: var(--fasam-primary-ink); }
.video-embed { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; margin-top: 1.6rem; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.tag { background: var(--fasam-primary-soft); color: var(--fasam-primary-ink); border-radius: 100px; padding: .3rem .7rem; font-size: .75rem; }
.adjacent-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--fasam-line); }
.adjacent-nav a { text-decoration: none; color: var(--fasam-text); font-size: .88rem; }
.adjacent-nav a:hover { color: var(--fasam-primary-ink); }
.adjacent-nav span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fasam-muted); margin-bottom: .2rem; }

/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--fasam-primary-soft); display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; padding: 1.4rem .8rem .6rem; font-size: .75rem; }

/* Mapa */
.map-layout { display: grid; grid-template-columns: 380px 1fr; gap: 1.2rem; align-items: start; }
.map-sidebar { background: #fff; border: 1px solid var(--fasam-line); border-radius: var(--radius-lg); padding: 1rem; max-height: 720px; overflow: auto; }
.map-sidebar .form-control, .map-sidebar .form-select { font-size: .85rem; }
.resource-list { display: grid; gap: .65rem; margin-top: 1rem; }
.resource-list-item { border: 1px solid var(--fasam-line); border-radius: var(--radius); padding: .85rem; text-decoration: none; color: var(--fasam-text); display: block; }
.resource-list-item:hover, .resource-list-item.active { border-color: var(--fasam-primary); background: var(--fasam-primary-soft); color: var(--fasam-text); }
.resource-list-item h3 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; margin-bottom: .15rem; }
.resource-list-item p { font-size: .76rem; color: var(--fasam-muted); margin: 0; }
.resource-cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fasam-primary-ink); font-weight: 700; }
.map-canvas { height: 720px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--fasam-line); background: var(--fasam-primary-soft); z-index: 0; }
.map-canvas.compact { height: 340px; }
.leaflet-popup-content-wrapper { border-radius: var(--radius) !important; font-family: var(--font-sans); }
.leaflet-popup-content { font-size: .85rem; line-height: 1.5; }
.leaflet-popup-content strong { color: var(--fasam-primary-ink); }
.map-result-count { font-size: .78rem; color: var(--fasam-muted); }
.resource-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.detail-list { display: grid; gap: .8rem; margin-top: 1.2rem; }
.detail-list dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fasam-muted); font-weight: 700; }
.detail-list dd { margin: 0; font-size: .93rem; }
.notice-box { background: var(--fasam-cream); border-left: 4px solid var(--fasam-gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; font-size: .86rem; }

/* Buscador */
.search-hero-form { max-width: 620px; margin-top: 1.5rem; display: flex; gap: .5rem; }
.search-group { margin-bottom: 2rem; }
.search-group h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.search-result { display: block; padding: .9rem 0; border-bottom: 1px solid var(--fasam-line); text-decoration: none; color: var(--fasam-text); }
.search-result:hover { color: var(--fasam-primary-ink); }
.search-result h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.search-result p { margin: 0; font-size: .85rem; color: var(--fasam-muted); }

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: #12a9b0;
    color: #052a2d;
    padding: 78px 0 24px;
}
.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f97803, #ffc84d 30%, #f97803 60%, #ffb43e);
}
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.45fr .8fr .8fr 1fr; gap: 44px; }
.footer-brand { max-width: 380px; }
.footer-lockup { display: flex; align-items: center; gap: 18px; text-decoration: none; color: #052a2d; }
.footer-logo { display: block; flex: 0 0 auto; width: 132px; height: 132px; }
.footer-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-slogan,
.footer-claim { font: 500 18px/1.38 var(--sans); color: #052a2d; }
.footer-brand p,
.footer-text { margin-top: 16px; font: 400 14px/1.6 var(--sans); color: #06333a; }
.footer h4,
.footer-col h2 { margin: 6px 0 16px; font: 700 11px/1 var(--cond); letter-spacing: .19em; text-transform: uppercase; color: #052a2d; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer li a,
.footer-col a { font: 500 14.5px/1.2 var(--sans); color: #052a2d; text-decoration: none; }
.footer li a:hover,
.footer-col a:hover { color: #000; text-decoration: underline; }
.footer-contact { display: grid; gap: 9px; font: 400 14px/1.45 var(--sans); color: #06333a; }
.footer-contact span { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact i { flex: 0 0 auto; margin-top: 2px; color: #052a2d; font-size: 15px; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #000; }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(5,42,45,.4); color: #052a2d; text-decoration: none; }
.footer-social a i { font-size: 14px; }
.footer-social a:hover { color: #000; background: rgba(5,42,45,.08); }
.footer-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(5,42,45,.22); font: 400 13px/1.4 var(--sans); color: #06333a; }
.footer-bottom a { color: #052a2d; text-decoration: none; }
.footer-bottom a:hover { color: #000; text-decoration: underline; }
.footer-note { margin-top: 16px; margin-bottom: 0; font-size: 12px; line-height: 1.5; color: #06333a; }
.footer-mini { display: flex; gap: 18px; }
.footer-mini a { font: 600 11.5px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: #052a2d; }

/* Utilidades */
.lead-sm { font-size: 1rem; color: var(--fasam-muted); }
.text-primary-fasam { color: var(--fasam-primary-ink) !important; }
.bg-cream { background: var(--fasam-cream); }
.bg-sage { background: var(--fasam-primary-soft); }
.rounded-fasam { border-radius: var(--radius-lg); }
.surface { background: #fff; border: 1px solid var(--fasam-line); border-radius: var(--radius-lg); }
.surface-pad { padding: clamp(1.2rem, 3vw, 2rem); }
.empty-state { text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border: 1px dashed #cfc7b8; border-radius: var(--radius-lg); color: var(--fasam-muted); background: var(--fasam-cream-soft); }
.empty-state i { font-size: 2rem; color: var(--fasam-secondary); display: block; margin-bottom: .6rem; }
.divider { height: 1px; background: var(--fasam-line); margin-block: 2rem; }
.pagination { --bs-pagination-color: var(--fasam-primary-ink); --bs-pagination-hover-color: var(--fasam-primary-dark); --bs-pagination-active-bg: var(--fasam-primary); --bs-pagination-active-border-color: var(--fasam-primary); --bs-pagination-active-color: #052a2d; --bs-pagination-border-color: var(--fasam-line); }
.page-link { border-radius: var(--radius-sm) !important; margin: 0 .15rem; }
.info-pill { display: inline-flex; gap: .4rem; align-items: center; font-size: .78rem; background: var(--fasam-cream); color: #7a5b1c; border-radius: 100px; padding: .35rem .7rem; }
.pending-note { font-size: .8rem; color: var(--fasam-muted); border: 1px dashed var(--fasam-line); border-radius: var(--radius); padding: 1rem; }

/* Lightbox */
.fasam-lightbox {
    position: fixed; inset: 0; z-index: 2000; display: none;
    align-items: center; justify-content: center; padding: 2rem;
    background: rgba(9, 27, 32, .9);
}
.fasam-lightbox.open { display: flex; }
.fasam-lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.fasam-lightbox-caption { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; }
.fasam-lightbox-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 50%; width: 44px; height: 44px; }
.fasam-lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Responsive */
/* Portátil: el menú debe caber junto al logo y al CTA. */
@media (max-width: 1279.98px) {
    .brand-slogan { display: none; }
    .header-inner { gap: 24px; }
    .main-nav { font-size: 15px; }
    .main-nav > .navbar-nav { gap: 18px; }
    .header-actions .btn-collaborate { height: 46px; padding: 0 20px; font-size: 14.5px; }
}

@media (max-width: 1199.98px) {
    :root { --header-height: 96px; }
    .header-inner { height: 96px; }
    .brand-logo { width: 88px; height: 88px; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .topbar > .container-fasam,
    .site-header > .header-inner,
    .site-footer > .container-fasam { width: calc(100% - 48px); }
    :root { --header-height: 92px; }
    .header-inner { height: 92px; gap: 18px; }
    .brand-logo { width: 70px; height: 70px; }
    .brand-slogan { display: block; font-size: 12.5px; }
    .topbar-links .topbar-social, .topbar-follow { display: none; }
    .main-nav, .header-actions .header-icon { display: none; }
    .header-actions .btn-collaborate { height: 44px; padding: 0 18px; font-size: 14.5px; }
    .mobile-toggle { display: inline-flex; margin-left: auto; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-copy { max-width: 720px; }
    .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
    .hero-media { aspect-ratio: 4/3.6; border-radius: 9rem 9rem 1.4rem 1.4rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .value-item:nth-child(2) { border-right: 0; }
    .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--fasam-line); }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 560px; margin-inline: auto; }
    .about-quote { right: 0; }
    .services-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .map-band-inner { grid-template-columns: 1fr; }
    .map-visual { max-width: 480px; }
    .donate-section .amounts-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-home-top { grid-template-columns: 1fr; align-items: start; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 34px; }
    .footer-grid > :first-child { grid-column: 1 / -1; max-width: 480px; }
    .map-layout { grid-template-columns: 1fr; }
    .map-sidebar { max-height: none; order: 2; }
    .map-canvas { height: 480px; order: 1; }
    .resource-detail-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .topbar-inner { font-size: 12px; }
    .contact-home-top .contact-info-list { grid-template-columns: 1fr; }
    .values-band { margin-top: -1.5rem; }
    .value-item { padding: 1.2rem 1rem; gap: .7rem; }
    .value-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 1rem; }
    .services-grid, .posts-grid, .team-grid { grid-template-columns: 1fr; }
    .service-card { padding: 1.4rem; }
    .service-card .media-cover { margin: -1.4rem -1.4rem 1.1rem; }
    .amounts-grid { grid-template-columns: 1fr 1fr; }
    .about-quote { position: static; margin-top: 1.5rem; max-width: none; }
    .about-media::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .footer-grid > :first-child { grid-column: 1 / -1; max-width: none; }
    .footer-grid .footer-contact-col { grid-column: 1 / -1; }
    .article-aside { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 auto; }
    .section-head { margin-bottom: 1.8rem; }
    .page-hero h1 { max-width: none; }
    .adjacent-nav { grid-template-columns: 1fr; }
    .filter-bar { padding: .8rem; }
    .search-hero-form { flex-direction: column; }
    .map-canvas { height: 380px; }
}

@media (max-width: 600px) {
    .topbar { display: none; }
    .topbar > .container-fasam,
    .site-header > .header-inner,
    .site-footer > .container-fasam { width: calc(100% - 36px); }
    .header-inner { height: 100px; gap: 8px; }
    .brand { gap: 12px; }
    .brand-logo { width: 88px; height: 88px; }
    .brand-slogan { font-size: 14px; }
    .header-actions { gap: 8px; }
    .header-actions .btn-collaborate { height: 40px; padding: 0 15px; font-size: 13.5px; }
    .header-actions .btn-collaborate i { font-size: 14px; }
    .mobile-toggle { width: 44px; height: 44px; border-radius: 12px; font-size: 23px; }
    .site-footer { padding: 52px 0 20px; }
    .footer-logo { width: 108px; height: 108px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 34px; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .value-item { border-right: 0; border-bottom: 1px solid var(--fasam-line); }
    .value-item:last-child { border-bottom: 0; }
    .amounts-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Pantallas muy angostas: el lockup sigue grande sin empujar al botón de menú. */
@media (max-width: 340px) {
    .header-inner { height: 88px; }
    .brand { gap: 9px; }
    .brand-logo { width: 72px; height: 72px; }
    .brand-slogan { font-size: 12px; }
    .mobile-toggle { width: 40px; height: 40px; border-radius: 10px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
