/* Happy Face Foundation frontend - theme-independent visual layer */
body.hff-owned-site{margin:0;background:var(--hff-surface);color:var(--hff-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.hff-owned-site *{box-sizing:border-box}
body.hff-owned-site img{max-width:100%;height:auto}
body.hff-owned-site a{color:inherit;text-decoration:none}
body.hff-owned-site button,body.hff-owned-site input,body.hff-owned-site textarea,body.hff-owned-site select{font:inherit}
body.hff-owned-site h1,body.hff-owned-site h2,body.hff-owned-site h3,body.hff-owned-site p{margin-top:0}
body.hff-owned-site h1,body.hff-owned-site h2,body.hff-owned-site h3{line-height:1.12;letter-spacing:-.025em;color:var(--hff-text)}
body.hff-owned-site h1{font-size:clamp(2.55rem,6vw,5.6rem);font-weight:760}
body.hff-owned-site h2{font-size:clamp(1.9rem,3.4vw,3.25rem);font-weight:730}
body.hff-owned-site h3{font-size:1.25rem;font-weight:700}
.hff-site{min-height:100vh;overflow:hidden;background:var(--hff-surface)}
.hff-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.hff-narrow{width:min(780px,calc(100% - 40px))}.hff-section{padding:clamp(72px,9vw,128px) 0}.hff-section-soft{background:linear-gradient(180deg,#fbfdfe 0%,var(--hff-bg) 100%)}
.hff-eyebrow{margin:0 0 14px;color:var(--hff-secondary);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hff-lead{font-size:clamp(1.08rem,1.6vw,1.32rem);color:#536776;max-width:720px}.hff-lead p:last-child,.hff-prose p:last-child{margin-bottom:0}.hff-prose{color:#536776}.hff-prose p,.hff-prose ul,.hff-prose ol{margin-bottom:1.25em}.hff-prose a{color:var(--hff-primary-dark);text-decoration:underline;text-underline-offset:3px}.hff-prose img{border-radius:18px}.hff-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:38px}.hff-section-head h2{margin-bottom:0}.hff-text-link{color:var(--hff-primary-dark);font-weight:750;white-space:nowrap}.hff-text-link:hover{color:var(--hff-secondary)}
.hff-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border:1px solid var(--hff-secondary);border-radius:999px;background:var(--hff-secondary);color:#fff!important;font-weight:760;letter-spacing:-.01em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.hff-btn:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(223,113,57,.22)}.hff-btn:focus-visible,.hff-nav a:focus-visible,.hff-menu-toggle:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid color-mix(in srgb,var(--hff-primary) 65%,white);outline-offset:3px}.hff-btn-small{min-height:40px;padding:0 16px;font-size:.92rem}.hff-btn-ghost{background:transparent;color:var(--hff-primary-dark)!important;border-color:#bfd0db}.hff-btn-light{background:#fff;color:var(--hff-primary-dark)!important;border-color:#fff}.hff-actions{display:flex;gap:12px;flex-wrap:wrap}.hff-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eef5f8;color:var(--hff-primary-dark);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.hff-skip-link{position:fixed;left:14px;top:-100px;z-index:10000;background:#fff;color:#000;padding:10px 14px;border-radius:8px}.hff-skip-link:focus{top:14px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hff-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(40,88,122,.09)}.admin-bar .hff-header{top:32px}.hff-header-inner{height:82px;display:flex;align-items:center;gap:28px}.hff-brand{display:flex;align-items:center;flex:0 0 auto}.hff-brand img{width:190px;max-height:58px;object-fit:contain;object-position:left center}.hff-nav{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:.91rem;font-weight:680;color:#466171}.hff-nav>a{position:relative;padding:30px 0}.hff-nav>a:after{content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;background:var(--hff-secondary);transition:right .2s ease}.hff-nav>a:hover,.hff-nav>a.is-active{color:var(--hff-primary-dark)}.hff-nav>a:hover:after,.hff-nav>a.is-active:after{right:0}.hff-nav-actions{display:flex;align-items:center;gap:10px;margin-left:8px}.hff-lang{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d9e4ea;border-radius:999px;font-weight:800;color:var(--hff-primary-dark)}.hff-menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid #d9e4ea;border-radius:12px;background:#fff;padding:10px;cursor:pointer}.hff-menu-toggle>span:not(.screen-reader-text){display:block;height:2px;background:var(--hff-text);margin:5px 0;border-radius:2px}
.hff-hero{position:relative;padding:clamp(64px,9vw,120px) 0 clamp(70px,8vw,110px);background:radial-gradient(circle at 82% 18%,rgba(99,140,166,.15),transparent 30%),linear-gradient(135deg,#fff 0%,var(--hff-bg) 100%)}.hff-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);align-items:center;gap:clamp(34px,6vw,88px)}.hff-hero-copy h1{max-width:760px;margin-bottom:24px}.hff-hero-copy .hff-lead{margin-bottom:30px}.hff-hero-visual{min-height:500px;position:relative;display:grid;place-items:center}.hff-hero-visual>img{width:100%;height:520px;object-fit:cover;border-radius:28px 120px 28px 28px;box-shadow:0 24px 70px rgba(40,88,122,.14)}.hff-hero-symbol{position:relative;width:min(460px,90%);aspect-ratio:1;display:grid;place-items:center}.hff-hero-symbol span{position:absolute;inset:2%;border:1px solid #dce7ec;border-radius:50%;background:radial-gradient(circle at 50% 50%,#fff 0%,#f5fafc 68%,#eef6f8 100%);box-shadow:0 24px 70px rgba(40,88,122,.12)}.hff-hero-symbol:before,.hff-hero-symbol:after{content:"";position:absolute;border-radius:50%;background:var(--hff-secondary);opacity:.14}.hff-hero-symbol:before{width:90px;height:90px;left:0;bottom:22%}.hff-hero-symbol:after{width:48px;height:48px;right:3%;top:16%}.hff-hero-symbol img{position:relative;width:64%;filter:drop-shadow(0 12px 22px rgba(40,88,122,.12))}.hff-intro{text-align:center}.hff-intro .hff-lead{margin-inline:auto}.hff-intro h2{max-width:820px;margin-inline:auto}
.hff-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hff-stat{padding:28px 24px;border:1px solid #e2ebf0;background:#fff;border-radius:20px}.hff-stat strong{display:block;font-size:clamp(2rem,4vw,3.5rem);line-height:1;color:var(--hff-secondary);margin-bottom:16px}.hff-stat h3{margin-bottom:8px}.hff-stat p{margin:0;color:#6b7e8c;font-size:.92rem}
.hff-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hff-card{min-width:0;border:1px solid #e3ebf0;background:#fff;border-radius:22px;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.hff-card:hover{transform:translateY(-3px);border-color:#c6d7e1;box-shadow:0 16px 36px rgba(40,88,122,.08)}.hff-card-media{display:block;aspect-ratio:16/10;background:#edf4f6;overflow:hidden}.hff-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.hff-card:hover .hff-card-media img{transform:scale(1.025)}.hff-card-media:empty:before{content:"";display:block;width:100%;height:100%;background:linear-gradient(135deg,#edf5f8,#fff4ee)}.hff-card-body{padding:22px}.hff-card-body time,.hff-card-body small{display:block;color:#718491;font-size:.82rem;margin-bottom:10px}.hff-card-body h2,.hff-card-body h3{font-size:1.35rem;margin:12px 0 10px}.hff-card-body p{color:#657987;margin-bottom:0}
.hff-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hff-story-card{position:relative;border-radius:24px;overflow:hidden;background:var(--hff-primary-dark);min-height:430px;color:#fff}.hff-story-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.44}.hff-story-card>div{position:absolute;inset:auto 0 0;padding:28px;background:linear-gradient(transparent,rgba(17,42,58,.95))}.hff-story-card h3{color:#fff;margin:0 0 8px}.hff-story-card p{color:#edf5f8;margin:0}.hff-quote-mark{font-size:3rem;line-height:.8;color:#ffb48c}
.hff-cta-section{padding-top:20px}.hff-cta-panel{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:clamp(30px,5vw,54px);border-radius:28px;background:linear-gradient(135deg,var(--hff-primary-dark),var(--hff-primary));color:#fff;box-shadow:0 24px 60px rgba(40,88,122,.18)}.hff-cta-panel h2{color:#fff;max-width:760px;margin-bottom:0}.hff-cta-panel .hff-eyebrow{color:#ffc5a5}
.hff-page-hero{padding:clamp(70px,9vw,118px) 0 60px}.hff-page-hero h1{font-size:clamp(2.5rem,5.5vw,4.8rem);max-width:900px;margin-bottom:20px}.hff-page-hero .hff-lead{max-width:760px}.hff-two-col{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;align-items:start}.hff-purpose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hff-purpose-grid article{padding:28px;border:1px solid #e0e9ee;background:#fff;border-radius:22px}.hff-purpose-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff4ed;color:var(--hff-secondary);font-weight:850;margin-bottom:22px}.hff-purpose-grid h2{font-size:1.7rem}.hff-values{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:9px}.hff-values li{padding:7px 11px;border-radius:999px;background:#eef5f8;color:var(--hff-primary-dark);font-weight:650}
.hff-timeline{position:relative;margin-top:20px;padding:20px 0}.hff-timeline:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:linear-gradient(var(--hff-primary),#dfe9ef)}.hff-timeline-item{position:relative;width:50%;padding:0 42px 50px}.hff-timeline-item.is-left{margin-right:auto}.hff-timeline-item.is-right{margin-left:auto}.hff-timeline-dot{position:absolute;top:34px;width:17px;height:17px;background:#fff;border:4px solid var(--hff-secondary);border-radius:50%;z-index:2}.hff-timeline-item.is-left .hff-timeline-dot{right:-9px}.hff-timeline-item.is-right .hff-timeline-dot{left:-8px}.hff-timeline-card{overflow:hidden;border:1px solid #e0e9ee;background:#fff;border-radius:22px;box-shadow:0 12px 30px rgba(40,88,122,.06)}.hff-timeline-media{aspect-ratio:16/9;background:#edf5f8}.hff-timeline-media img{width:100%;height:100%;object-fit:cover}.hff-timeline-media:empty{display:none}.hff-timeline-body{padding:22px}.hff-timeline-body h3{font-size:1.4rem;margin:12px 0 10px}.hff-timeline-body .hff-prose{font-size:.94rem}
.hff-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hff-team-card{overflow:hidden;border:1px solid #e0e9ee;border-radius:22px;background:#fff}.hff-team-card>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.hff-team-card>div{padding:22px}.hff-team-card span{color:var(--hff-secondary);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.hff-team-card h3{margin:6px 0 12px}.hff-team-card .hff-prose{font-size:.94rem}
.hff-filter-row{display:flex;gap:8px;margin-bottom:30px;flex-wrap:wrap}.hff-filter-row button{border:1px solid #d8e4ea;background:#fff;color:#526a79;border-radius:999px;padding:8px 14px;cursor:pointer;font-weight:700}.hff-filter-row button.is-active{background:var(--hff-primary-dark);color:#fff;border-color:var(--hff-primary-dark)}.hff-project-list .is-hidden{display:none!important}
.hff-project-hero{padding:64px 0 84px;background:linear-gradient(180deg,#fff,var(--hff-bg))}.hff-back-link{display:inline-flex;margin-bottom:30px;color:var(--hff-primary-dark);font-weight:700}.hff-project-hero-grid{display:grid;grid-template-columns:1fr .9fr;gap:60px;align-items:center}.hff-project-hero h1{font-size:clamp(2.4rem,5vw,4.5rem);margin:18px 0}.hff-project-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hff-project-meta span{padding:10px 12px;border:1px solid #dfe8ed;background:#fff;border-radius:12px;color:#5c7180}.hff-project-cover{aspect-ratio:4/3;border-radius:26px;overflow:hidden;background:#edf5f8}.hff-project-cover img{width:100%;height:100%;object-fit:cover}.hff-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:60px;align-items:start}.hff-article-content{font-size:1.08rem}.hff-side-card{position:sticky;top:110px;padding:26px;border-radius:22px;background:var(--hff-bg);border:1px solid #f2dccf}.hff-side-card img{width:72px;margin-bottom:18px}.hff-side-card h2{font-size:1.45rem}.hff-side-card p{color:#667986}
.hff-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hff-help-card{padding:30px;border:1px solid #e0e9ee;border-radius:24px;background:#fff}.hff-help-card>span{font-size:3rem;line-height:1;font-weight:800;color:#dbe8ee}.hff-help-card h2{font-size:1.65rem;margin:24px 0 14px}.hff-help-card p{color:#667986}
.hff-form-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:70px;align-items:start}.hff-form-intro{position:sticky;top:120px}.hff-form-number{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff2ea;color:var(--hff-secondary);font-weight:850;margin-bottom:22px}.hff-form-intro h2{font-size:2rem}.hff-form-intro p{color:#657987}.hff-form{display:flex;flex-direction:column;gap:18px;padding:28px;border:1px solid #e0e9ee;border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(40,88,122,.06)}.hff-form label{display:flex;flex-direction:column;gap:7px;color:#425b69;font-weight:680}.hff-form input,.hff-form textarea,.hff-form select,.hff-search-inline input,.hff-search-large input{width:100%;border:1px solid #cfdde5;border-radius:12px;background:#fbfdfe;color:var(--hff-text);padding:12px 13px;min-height:48px}.hff-form textarea{resize:vertical}.hff-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hff-consent{flex-direction:row!important;align-items:flex-start!important;font-weight:500!important;font-size:.91rem;color:#607581!important}.hff-consent input{width:18px!important;min-height:18px!important;margin-top:3px;flex:0 0 auto}.hff-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.hff-form-notice{grid-column:2;padding:14px 16px;border-radius:12px;margin-bottom:14px}.hff-form-notice-success{background:#edf8f1;color:#26623a;border:1px solid #cfead7}.hff-form-notice-error{background:#fff3ef;color:#8d3d24;border:1px solid #f2d3c8}
.hff-empty-state{grid-column:1/-1;text-align:center;padding:50px;border:1px dashed #cfdde5;border-radius:22px;background:#fbfdfe}.hff-empty-state img{width:86px;margin-bottom:18px}.hff-search-inline{display:flex;gap:10px;max-width:700px;margin-bottom:34px}.hff-pagination{display:flex;gap:8px;justify-content:center;margin-top:40px}.hff-pagination .page-numbers{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid #dbe5eb;border-radius:10px}.hff-pagination .current{background:var(--hff-primary-dark);color:#fff;border-color:var(--hff-primary-dark)}
.hff-article-hero{padding:70px 0 46px;background:linear-gradient(180deg,#fff,var(--hff-bg))}.hff-article-hero time{display:block;color:var(--hff-secondary);font-weight:750;margin-bottom:12px}.hff-article-hero h1{font-size:clamp(2.4rem,5vw,4.6rem);margin-bottom:20px}.hff-article-cover{margin-top:42px;aspect-ratio:16/8;border-radius:28px;overflow:hidden}.hff-article-cover img{width:100%;height:100%;object-fit:cover}
.hff-gallery-grid{columns:3 300px;column-gap:18px}.hff-gallery-item{position:relative;break-inside:avoid;margin-bottom:18px;border-radius:20px;overflow:hidden;background:#edf5f8;min-height:220px}.hff-gallery-item>img{display:block;width:100%;height:auto;min-height:220px;object-fit:cover}.hff-gallery-caption{position:absolute;left:0;right:0;bottom:0;padding:50px 20px 20px;background:linear-gradient(transparent,rgba(15,45,63,.9));color:#fff;opacity:0;transform:translateY(8px);transition:.2s ease}.hff-gallery-item:hover .hff-gallery-caption,.hff-gallery-item:focus-within .hff-gallery-caption{opacity:1;transform:none}.hff-gallery-caption span{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}.hff-gallery-caption h2{font-size:1.25rem;color:#fff;margin:4px 0}.hff-gallery-caption a{text-decoration:underline}
.hff-document-list{display:grid;gap:12px}.hff-document{display:grid;grid-template-columns:60px 1fr auto;gap:18px;align-items:center;padding:20px;border:1px solid #e0e9ee;border-radius:18px;background:#fff}.hff-document-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#fff1e9;color:var(--hff-secondary);font-size:.75rem;font-weight:850}.hff-document span{color:#718492;font-size:.82rem}.hff-document h2{font-size:1.18rem;margin:3px 0 4px}.hff-document p{color:#687b88;margin:0;font-size:.93rem}
.hff-contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:start}.hff-contact-info{display:grid;gap:14px}.hff-contact-card{padding:22px;border:1px solid #e0e9ee;border-radius:18px;background:#fff}.hff-contact-card span{display:block;color:#718492;font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;margin-bottom:6px}.hff-contact-card strong{font-size:1.05rem}.hff-map{border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:#edf5f8}.hff-map iframe{border:0;width:100%;height:100%}.hff-search-large{display:flex;gap:10px;margin-bottom:40px}.hff-search-large input{font-size:1.05rem}.hff-search-results{display:grid;gap:12px}.hff-search-results>p{color:#667986}.hff-search-results article>a,.hff-search-results article{display:block;padding:20px;border:1px solid #e0e9ee;border-radius:16px}.hff-search-results article span{color:var(--hff-secondary);font-size:.75rem;font-weight:800;text-transform:uppercase}.hff-search-results article h2{font-size:1.25rem;margin:5px 0}.hff-search-results article p{margin:0;color:#667986}
.hff-footer{background:#14384f;color:#dce8ee;margin-top:80px}.hff-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:48px;padding:64px 0}.hff-footer-brand img{width:200px;filter:brightness(0) invert(1);opacity:.95;margin-bottom:20px}.hff-footer h2{color:#fff;font-size:1rem;margin-bottom:16px}.hff-footer a,.hff-footer p{display:block;color:#c1d3dd;margin:0 0 8px;font-size:.92rem}.hff-footer a:hover{color:#fff}.hff-socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.hff-socials a{font-size:.78rem;padding:5px 8px;border:1px solid rgba(255,255,255,.16);border-radius:999px}.hff-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:20px 0 28px;border-top:1px solid rgba(255,255,255,.12);font-size:.8rem;color:#9fb7c4}
@media(max-width:1080px){.hff-nav{gap:12px;font-size:.86rem}.hff-nav>a:nth-of-type(6),.hff-nav>a:nth-of-type(7){display:none}.hff-stats{grid-template-columns:repeat(2,1fr)}.hff-card-grid,.hff-story-grid,.hff-team-grid{grid-template-columns:repeat(2,1fr)}.hff-help-grid{grid-template-columns:1fr}.hff-footer-grid{grid-template-columns:1.4fr 1fr 1fr}.hff-footer-grid>div:last-child{grid-column:1/-1}.hff-purpose-grid{grid-template-columns:1fr}.hff-content-layout{grid-template-columns:1fr}.hff-side-card{position:static}}
@media(max-width:820px){.admin-bar .hff-header{top:46px}.hff-container,.hff-narrow{width:min(100% - 28px,1180px)}.hff-header-inner{height:72px}.hff-brand img{width:164px}.hff-menu-toggle{display:block}.hff-nav{position:fixed;left:14px;right:14px;top:82px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:12px;background:#fff;border:1px solid #dde7ed;border-radius:18px;box-shadow:0 20px 60px rgba(17,48,66,.16);max-height:calc(100vh - 110px);overflow:auto}.admin-bar .hff-nav{top:128px}.hff-nav.is-open{display:flex}.hff-nav>a,.hff-nav>a:nth-of-type(6),.hff-nav>a:nth-of-type(7){display:block;padding:13px 12px;border-radius:10px}.hff-nav>a:after{display:none}.hff-nav>a.is-active{background:#f2f7f9}.hff-nav-actions{margin:8px 0 0;padding-top:10px;border-top:1px solid #edf2f5}.hff-nav-actions .hff-btn{flex:1}.hff-hero-grid,.hff-project-hero-grid,.hff-form-layout,.hff-contact-grid,.hff-two-col{grid-template-columns:1fr}.hff-hero{padding-top:52px}.hff-hero-visual{min-height:340px}.hff-hero-visual>img{height:360px;border-radius:22px 70px 22px 22px}.hff-hero-symbol{width:min(360px,86%)}.hff-form-intro{position:static}.hff-form-notice{grid-column:1}.hff-section-head{align-items:flex-start;flex-direction:column}.hff-timeline:before{left:8px}.hff-timeline-item{width:100%;padding:0 0 38px 36px}.hff-timeline-item.is-right{margin-left:0}.hff-timeline-dot,.hff-timeline-item.is-left .hff-timeline-dot,.hff-timeline-item.is-right .hff-timeline-dot{left:0;right:auto}.hff-cta-panel{align-items:flex-start;flex-direction:column}.hff-footer-grid{grid-template-columns:1fr 1fr}.hff-footer-brand{grid-column:1/-1}.hff-footer-grid>div:last-child{grid-column:1/-1}}
@media(max-width:600px){body.hff-owned-site{font-size:15px}.hff-section{padding:68px 0}.hff-page-hero{padding:58px 0 36px}.hff-card-grid,.hff-story-grid,.hff-team-grid,.hff-stats,.hff-field-row{grid-template-columns:1fr}.hff-hero-copy h1{font-size:clamp(2.45rem,12vw,3.8rem)}.hff-hero-visual{min-height:300px}.hff-hero-visual>img{height:310px}.hff-actions{width:100%}.hff-actions .hff-btn{flex:1;min-width:150px}.hff-form{padding:20px;border-radius:18px}.hff-document{grid-template-columns:48px 1fr}.hff-document-icon{width:46px;height:46px}.hff-document>.hff-btn{grid-column:1/-1;width:100%}.hff-search-inline,.hff-search-large{flex-direction:column}.hff-search-inline .hff-btn,.hff-search-large .hff-btn{width:100%}.hff-footer-grid{grid-template-columns:1fr;gap:28px}.hff-footer-brand,.hff-footer-grid>div:last-child{grid-column:auto}.hff-footer-bottom{flex-direction:column}.hff-gallery-grid{columns:1}.hff-gallery-caption{opacity:1;transform:none}.hff-project-meta{flex-direction:column}.hff-project-meta span{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

/* ================================================================
   Happy Face Foundation 1.1.0 - Home visual system
   Proposal: image slider + compact institutional sections
   ================================================================ */
.hff-icon{display:block;width:1.6em;height:1.6em}
.hff-header{background:rgba(255,255,255,.97);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 0 rgba(23,48,66,.07)}
.hff-header-inner{height:76px;gap:24px}.hff-brand img{width:150px;max-height:52px}.hff-nav{gap:17px;font-size:.83rem;font-weight:720}.hff-nav>a{padding:27px 0}.hff-nav>a:after{bottom:18px}.hff-nav-actions{gap:8px}.hff-lang{width:38px;height:38px;background:#fff}.hff-header-donate{gap:8px;min-height:42px;padding-inline:18px}.hff-header-heart{font-size:1.25rem;line-height:1}

/* Slider */
.hff-home-slider{position:relative;height:clamp(500px,42vw,610px);background:var(--hff-primary-dark);overflow:hidden;isolation:isolate}
.hff-slider-track{position:absolute;inset:0}.hff-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease;pointer-events:none}.hff-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}.hff-slide-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.01);transition:transform 7s ease}.hff-slide.is-active .hff-slide-image{transform:scale(1.04)}.hff-slide-focus-left .hff-slide-image{object-position:left center}.hff-slide-focus-right .hff-slide-image{object-position:right center}.hff-slide-focus-top .hff-slide-image{object-position:center top}.hff-slide-focus-bottom .hff-slide-image{object-position:center bottom}.hff-slide-focus-center .hff-slide-image{object-position:center center}.hff-slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,37,54,.82) 0%,rgba(10,37,54,.57) 38%,rgba(10,37,54,.14) 72%,rgba(10,37,54,.06) 100%)}.hff-slide-overlay-light .hff-slide-shade{background:linear-gradient(90deg,rgba(10,37,54,.64),rgba(10,37,54,.28) 45%,rgba(10,37,54,.05) 78%)}.hff-slide-overlay-dark .hff-slide-shade{background:linear-gradient(90deg,rgba(7,31,47,.92),rgba(7,31,47,.68) 45%,rgba(7,31,47,.18) 82%)}.hff-slide-fallback{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 76% 45%,rgba(99,140,166,.6),transparent 34%),linear-gradient(120deg,#173e58,#547f99)}.hff-slide-fallback img{width:min(340px,42vw);opacity:.23;filter:brightness(0) invert(1)}.hff-slide-inner{height:100%;position:relative;z-index:2;display:flex;align-items:center}.hff-slide-copy{width:min(620px,58%);color:#fff;padding:44px 0}.hff-slide-copy .hff-eyebrow{color:#ff8b4f;margin-bottom:12px}.hff-slide-copy h1{color:#fff;font-size:clamp(3rem,5vw,5.2rem);font-weight:800;letter-spacing:-.045em;line-height:.94;margin:0 0 22px;text-wrap:balance;text-shadow:0 2px 22px rgba(0,0,0,.16)}.hff-slide-lead{max-width:575px;color:rgba(255,255,255,.93);font-size:1.04rem;line-height:1.55;margin-bottom:26px}.hff-slide-lead p{margin:0}.hff-slide-copy .hff-actions{gap:12px}.hff-slide-copy .hff-btn{min-height:48px}.hff-slide-btn-secondary{border-color:#fff}.hff-slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(255,255,255,.9);color:var(--hff-secondary);font-size:2rem;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.12);transition:.2s ease}.hff-slider-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.05)}.hff-slider-prev{left:22px}.hff-slider-next{right:22px}.hff-slider-dots{position:absolute;z-index:5;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:8px;padding:7px 10px;border-radius:999px;background:rgba(13,44,62,.25);backdrop-filter:blur(6px)}.hff-slider-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#fff;opacity:.85;cursor:pointer}.hff-slider-dots button.is-active{width:23px;border-radius:999px;background:var(--hff-secondary);opacity:1}

/* Impact band */
.hff-home-impact{position:relative;z-index:8;background:#fff;border-bottom:1px solid #eef2f4;box-shadow:0 10px 30px rgba(30,70,93,.05)}.hff-home-impact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:116px}.hff-home-stat{display:flex;align-items:center;justify-content:center;gap:18px;padding:24px;border-right:1px solid #e6edf1}.hff-home-stat:last-child{border-right:0}.hff-home-stat-icon{display:grid;place-items:center;color:var(--hff-secondary);font-size:1.55rem}.hff-home-stat:nth-child(3n+1) .hff-home-stat-icon,.hff-home-stat:nth-child(3n) .hff-home-stat-icon{color:#2180bd}.hff-home-stat strong{display:block;color:var(--hff-text);font-size:1.75rem;line-height:1;font-weight:820;margin-bottom:5px}.hff-home-stat span:not(.hff-home-stat-icon){display:block;color:#627987;font-size:.8rem;line-height:1.25}

/* Shared home sections */
.hff-home-essence,.hff-home-projects,.hff-home-news{background:#fff}.hff-home-essence.hff-section,.hff-home-timeline.hff-section,.hff-home-projects.hff-section,.hff-home-news.hff-section{padding:74px 0}.hff-home-section-head{margin-bottom:26px}.hff-home-section-head h2{font-size:clamp(2rem,3.2vw,3rem)}

/* Essence */
.hff-home-essence-grid{display:grid;grid-template-columns:.92fr .86fr .82fr;gap:54px;align-items:center}.hff-home-essence-copy h2{font-size:clamp(2.15rem,3.8vw,3.45rem);max-width:470px;margin-bottom:18px}.hff-home-essence-copy .hff-prose{max-width:500px;margin-bottom:26px}.hff-home-essence-media{display:flex;justify-content:center}.hff-essence-shape{position:relative;width:min(340px,100%);aspect-ratio:1;border-radius:44% 56% 45% 55%/51% 42% 58% 49%;overflow:hidden;background:#eaf5fa;box-shadow:0 24px 60px rgba(40,88,122,.11)}.hff-essence-shape:before{content:"";position:absolute;inset:-8%;border-radius:50%;border:26px solid rgba(86,159,198,.12);z-index:1;pointer-events:none}.hff-essence-shape img{width:100%;height:100%;object-fit:cover}.hff-essence-shape.is-logo{display:grid;place-items:center}.hff-essence-shape.is-logo img{width:62%;height:auto;object-fit:contain}.hff-home-pillars{display:grid;gap:24px}.hff-home-pillar{display:grid;grid-template-columns:52px 1fr;gap:16px;align-items:flex-start}.hff-home-pillar>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#eaf5fb;color:#1679b7;font-size:1.25rem}.hff-home-pillar:nth-child(2)>span{background:#edf7fb}.hff-home-pillar:nth-child(3)>span{background:#fff1e9;color:var(--hff-secondary)}.hff-home-pillar h3{margin:2px 0 5px;font-size:1rem}.hff-home-pillar p{margin:0;color:#617786;font-size:.86rem;line-height:1.45}

/* Compact timeline */
.hff-home-timeline{background:linear-gradient(180deg,#fbfdfe,#f2f8fb)}.hff-home-timeline-row{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;padding-top:17px}.hff-home-timeline-row:before{content:"";position:absolute;top:25px;left:0;right:0;height:1px;background:#91bcd2}.hff-home-timeline-item{position:relative;padding-top:20px}.hff-home-timeline-dot{position:absolute;top:0;left:0;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid #3187b9;z-index:2}.hff-home-timeline-period{color:#1e78ae;font-weight:800;font-size:.9rem;margin-bottom:12px}.hff-home-timeline-card{display:grid;grid-template-columns:118px 1fr;gap:16px;align-items:start}.hff-home-timeline-image{height:82px;border-radius:10px;overflow:hidden;background:#eaf3f7}.hff-home-timeline-image img{width:100%;height:100%;object-fit:cover}.hff-home-timeline-image .hff-placeholder-logo{object-fit:contain;padding:15px}.hff-home-timeline-card h3{font-size:1rem;margin:0 0 5px}.hff-home-timeline-card p{margin:0;color:#647a88;font-size:.79rem;line-height:1.42}

/* Project cards */
.hff-home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.hff-home-project-card{border:1px solid #e0e8ed;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(34,74,96,.035);transition:.2s ease}.hff-home-project-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(34,74,96,.09)}.hff-home-project-media{display:block;height:170px;background:linear-gradient(135deg,#eaf4f8,#fff0e8);overflow:hidden}.hff-home-project-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.hff-home-project-media:empty:after{content:"";display:block;height:100%;background:linear-gradient(135deg,#edf6f9,#fff3ec)}.hff-home-project-card:hover .hff-home-project-media img{transform:scale(1.03)}.hff-home-project-body{position:relative;padding:18px 20px 20px}.hff-home-project-body .hff-chip{margin-top:-32px;position:relative;background:#eaf5fb;color:#2b6687;text-transform:none;letter-spacing:0}.hff-home-project-body h3{font-size:1.12rem;margin:12px 0 6px}.hff-home-project-body p{font-size:.85rem;color:#627887;margin:0;line-height:1.45}

/* News */
.hff-home-news{background:#fcfdfd}.hff-home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hff-home-news-card{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:132px;border:1px solid #e0e8ed;border-radius:14px;overflow:hidden;background:#fff}.hff-home-news-media{background:linear-gradient(135deg,#edf6f9,#fff3ec);overflow:hidden}.hff-home-news-media img{width:100%;height:100%;object-fit:cover}.hff-home-news-media:empty:after{content:"";display:block;height:100%;min-height:132px;background:linear-gradient(135deg,#edf6f9,#fff3ec)}.hff-home-news-body{padding:15px 16px}.hff-home-news-body time{display:block;color:#7a8f9d;font-size:.68rem;margin-bottom:4px}.hff-home-news-body h3{font-size:.94rem;margin:0 0 5px}.hff-home-news-body p{font-size:.76rem;color:#647a88;line-height:1.4;margin:0}

/* CTA */
.hff-home-cta-wrap{background:#fff;padding:12px 0 26px}.hff-home-cta{display:grid;grid-template-columns:1.1fr 1fr .55fr;gap:34px;align-items:center;padding:34px 48px;border-radius:26px;background:linear-gradient(115deg,#275d7d 0%,#5c8ca7 100%);color:#fff;box-shadow:0 18px 42px rgba(40,88,122,.14)}.hff-home-cta .hff-eyebrow{color:#ffbf9b}.hff-home-cta h2{color:#fff;font-size:clamp(2rem,3vw,3rem);margin:0}.hff-home-cta-copy p{margin:0 0 16px;color:#e8f1f5;font-size:.9rem}.hff-home-cta-note{display:flex;align-items:center;gap:8px;color:#fff;font-family:"Segoe Print","Bradley Hand",cursive;font-size:1.15rem;line-height:1.25;transform:rotate(-3deg)}.hff-home-cta-note span{font-family:inherit;font-size:2.8rem;font-weight:300}.hff-home-cta .hff-btn{min-height:44px;padding-inline:18px;font-size:.86rem}

/* Footer global */
.hff-footer{margin-top:0;background:linear-gradient(115deg,#10374f,#164761);color:#dce8ee}.hff-footer-grid{grid-template-columns:1.25fr .75fr .75fr 1.15fr;gap:46px;padding:50px 0 38px}.hff-footer-brand img{width:160px;margin-bottom:17px}.hff-footer-brand p{max-width:250px;font-size:.84rem;line-height:1.55}.hff-footer h2{font-size:.95rem;margin-bottom:14px}.hff-footer a,.hff-footer p{font-size:.82rem;margin-bottom:7px}.hff-footer-contact-link{font-weight:800;color:#fff!important;margin-top:12px}.hff-socials{gap:8px;margin-top:14px}.hff-socials a{display:grid;width:30px;height:30px;place-items:center;margin:0;border-radius:50%;border:1px solid rgba(255,255,255,.2);padding:0;font-size:.72rem;font-weight:800}.hff-footer-bottom{padding:17px 0 22px;font-size:.73rem}

@media(max-width:1180px){.hff-header-inner{gap:18px}.hff-nav{gap:12px;font-size:.77rem}.hff-brand img{width:138px}.hff-home-essence-grid{gap:36px}.hff-home-cta{grid-template-columns:1fr 1fr}.hff-home-cta-note{grid-column:1/-1;justify-self:end}}
@media(max-width:980px){.hff-nav>a:nth-of-type(6),.hff-nav>a:nth-of-type(7){display:none}.hff-home-impact-grid{grid-template-columns:repeat(2,1fr)}.hff-home-stat:nth-child(2){border-right:0}.hff-home-stat:nth-child(-n+2){border-bottom:1px solid #e6edf1}.hff-home-essence-grid{grid-template-columns:1fr 1fr}.hff-home-pillars{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.hff-home-project-grid,.hff-home-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hff-home-project-card:last-child,.hff-home-news-card:last-child{grid-column:1/-1}.hff-footer-grid{grid-template-columns:1.2fr 1fr 1fr}.hff-footer-contact{grid-column:1/-1}}
@media(max-width:820px){.hff-header-inner{height:70px}.hff-brand img{width:148px}.hff-nav{top:80px}.admin-bar .hff-nav{top:126px}.hff-home-slider{height:610px}.hff-slide-copy{width:min(600px,88%);align-self:flex-end;padding:54px 0 70px}.hff-slide-copy h1{font-size:clamp(2.8rem,9vw,4.4rem)}.hff-slide-shade,.hff-slide-overlay-light .hff-slide-shade,.hff-slide-overlay-dark .hff-slide-shade{background:linear-gradient(0deg,rgba(7,31,47,.92) 0%,rgba(7,31,47,.66) 48%,rgba(7,31,47,.1) 100%)}.hff-slider-arrow{width:40px;height:40px}.hff-slider-prev{left:12px}.hff-slider-next{right:12px}.hff-home-essence-grid{grid-template-columns:1fr}.hff-home-essence-media{order:2}.hff-home-pillars{order:3;grid-column:auto;grid-template-columns:1fr}.hff-home-timeline-row{grid-template-columns:repeat(3,280px);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.hff-home-timeline-item{scroll-snap-align:start}.hff-home-timeline-row:before{right:auto;width:910px}.hff-home-cta{grid-template-columns:1fr;gap:18px;padding:32px}.hff-home-cta-note{grid-column:auto;justify-self:start}.hff-footer-grid{grid-template-columns:1fr 1fr}.hff-footer-brand{grid-column:1/-1}.hff-footer-contact{grid-column:1/-1}}
@media(max-width:600px){.hff-home-slider{height:590px}.hff-slide-copy{width:100%;padding:42px 0 72px}.hff-slide-copy h1{font-size:clamp(2.5rem,12vw,3.45rem);line-height:.98}.hff-slide-lead{font-size:.93rem;max-width:95%}.hff-slider-arrow{top:44%}.hff-slider-dots{bottom:13px}.hff-home-impact-grid{grid-template-columns:1fr 1fr;min-height:0}.hff-home-stat{justify-content:flex-start;padding:18px 14px;gap:11px}.hff-home-stat-icon{font-size:1.25rem}.hff-home-stat strong{font-size:1.35rem}.hff-home-stat span:not(.hff-home-stat-icon){font-size:.7rem}.hff-home-essence.hff-section,.hff-home-timeline.hff-section,.hff-home-projects.hff-section,.hff-home-news.hff-section{padding:56px 0}.hff-home-essence-copy h2{font-size:2.35rem}.hff-essence-shape{width:min(320px,86vw)}.hff-home-section-head{gap:12px;margin-bottom:22px}.hff-home-section-head .hff-text-link{font-size:.83rem}.hff-home-project-grid,.hff-home-news-grid{grid-template-columns:1fr}.hff-home-project-card:last-child,.hff-home-news-card:last-child{grid-column:auto}.hff-home-project-media{height:180px}.hff-home-news-card{grid-template-columns:110px 1fr}.hff-home-cta-wrap{padding:6px 0 18px}.hff-home-cta{border-radius:20px;padding:28px 22px}.hff-home-cta h2{font-size:2.15rem}.hff-home-cta .hff-actions{width:100%}.hff-home-cta .hff-actions .hff-btn{min-width:0}.hff-footer-grid{grid-template-columns:1fr;gap:26px;padding-top:42px}.hff-footer-brand,.hff-footer-contact{grid-column:auto}.hff-footer-bottom{gap:8px}.hff-socials a{width:32px;height:32px}}

/* Menú completo: desde tablet horizontal se usa navegación móvil para no ocultar enlaces. */
@media(max-width:1080px){
  .hff-header-inner{height:72px}.hff-brand img{width:154px}.hff-menu-toggle{display:block}
  .hff-nav{position:fixed;left:20px;right:20px;top:82px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:12px;background:#fff;border:1px solid #dde7ed;border-radius:18px;box-shadow:0 20px 60px rgba(17,48,66,.16);max-height:calc(100vh - 104px);overflow:auto;font-size:.91rem}
  .admin-bar .hff-nav{top:114px}.hff-nav.is-open{display:flex}
  .hff-nav>a,.hff-nav>a:nth-of-type(6),.hff-nav>a:nth-of-type(7){display:block!important;padding:13px 12px;border-radius:10px}
  .hff-nav>a:after{display:none}.hff-nav>a.is-active{background:#f2f7f9}
  .hff-nav-actions{margin:8px 0 0;padding-top:10px;border-top:1px solid #edf2f5}.hff-nav-actions .hff-btn{flex:1}
}
@media(max-width:782px){.admin-bar .hff-nav{top:118px}}
.hff-slide-note{position:absolute;right:4%;top:68px;max-width:210px;color:#fff;font-family:"Segoe Print","Bradley Hand",cursive;font-size:1.35rem;line-height:1.22;transform:rotate(-4deg);text-shadow:0 2px 12px rgba(0,0,0,.28)}.hff-slide-note span{display:block;width:58px;height:4px;border-radius:999px;background:var(--hff-secondary);margin:10px 0 0 28px;transform:rotate(-4deg)}.hff-slide-subnote{margin-top:22px;color:#fff;font-family:"Segoe Print","Bradley Hand",cursive;font-size:1.02rem;line-height:1.35;transform:rotate(-3deg);transform-origin:left center;opacity:.96}.hff-slide-subnote:after{content:"";display:block;width:54px;height:3px;border-radius:999px;background:var(--hff-secondary);margin-top:7px}
@media(max-width:980px){.hff-slide-note{right:5%;top:46px;font-size:1.1rem}}
@media(max-width:820px){.hff-slide-note{display:none}.hff-slide-subnote{font-size:.92rem;margin-top:18px}}
