/* Shared styles for the standalone Figma replica pages (/figma-home, /figma-about, /figma-memberships).
   Page-specific section styles live inline in each view. */

:root {
    --blue: #0042DD;
    --blue-light: #3D6FE5;
    --off: #F5F2F1;
    --ink: #1D1E1F;
    --line: rgba(0,0,0,.10);
    --maxw: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
    font-family: 'Youth', -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Youth', sans-serif; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
a { text-decoration: none; }

.fh-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.fh-arrow { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---- buttons ---- */
.fh-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--blue); color: #fff;
    font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
    padding: 15px 24px; border-radius: 8px; border: 0; cursor: pointer;
}
.fh-btn.is-white { background: #fff; color: var(--blue); }
.fh-btn .fh-arrow path { stroke: currentColor; }

/* ================= HEADER ================= */
.fh-strap {
    background: var(--blue); color: #fff;
    text-align: center; font-size: 12px; font-weight: 500;
    padding: 9px 40px; line-height: 1.3;
}
.fh-nav {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; background: #fff;
    border-bottom: 1px solid var(--line);
}
.fh-nav__cell { display: flex; align-items: center; padding: 20px 40px; min-height: 76px; }
.fh-nav__cell--left { justify-content: flex-start; }
.fh-nav__cell--center { justify-content: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 20px 90px; }
.fh-nav__cell--right { justify-content: flex-end; }
.fh-nav__logo { height: 30px; width: auto; display: block; }
.fh-nav__link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; }
.fh-nav__link img { height: 24px; width: auto; }
.fh-burger { display: inline-flex; flex-direction: column; gap: 4px; }
.fh-burger span { display: block; width: 26px; height: 3px; background: var(--blue); border-radius: 2px; }

/* ================= SECTION HEADER (row style, heading + button) ================= */
.fh-sec { padding: 80px 0; }
.fh-sec--off { background: var(--off); }
.fh-sec__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.fh-sec__head h2 { color: var(--blue); font-size: 46px; }

/* ================= CARD GRID ================= */
.fh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fh-card { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.fh-card__img { aspect-ratio: 16/11; background: var(--blue) center/cover no-repeat; }
.fh-card__body { padding: 22px 24px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 1; }
.fh-card__body h3 { font-size: 22px; color: var(--ink); }
.fh-card__body .fh-arrow path { stroke: var(--blue); }

.fh-dots { display: flex; gap: 10px; justify-content: center; margin-top: 44px; }
.fh-dots span { height: 5px; width: 46px; border-radius: 4px; background: #d9d5d3; }
.fh-dots span.is-active { background: var(--blue); }

/* ================= FOOTER ================= */
.fh-social { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; }
.fh-social a { display: flex; align-items: center; justify-content: center; padding: 26px; color: var(--blue); border-left: 1px solid var(--line); }
.fh-social a:first-child { border-left: 0; }
.fh-social svg { width: 26px; height: 26px; fill: currentColor; }
.fh-foot { background: var(--blue); color: #fff; }
.fh-foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0 40px; }
.fh-foot__cols ul { list-style: none; margin: 0; padding: 0; }
.fh-foot__cols li a { display: block; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.fh-foot__lockup { padding: 10px 0 0; }
.fh-foot__lockup img { width: 100%; display: block; }
.fh-foot__charity { text-align: center; font-size: 12px; color: rgba(255,255,255,.85); padding: 26px 40px 40px; }

/* ================= INTERACTIONS ================= */
/* card hover lift */
.fh-card { transition: transform .2s ease, box-shadow .2s ease; }
.fh-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,.13); }

/* scroll reveal (class applied in markup so there is no flash) */
.fh-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fh-reveal.fh-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fh-reveal { opacity: 1; transform: none; transition: none; } }

/* menu overlay (faithful to WLL-17 nav: white header, dimmed image left, white nav panel right) */
.fh-menu { position: fixed; inset: 0; z-index: 1000; background: #fff; color: var(--ink); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
.fh-menu.is-open { opacity: 1; visibility: visible; }
.fh-menu__strap { background: var(--blue); color: #fff; text-align: center; font-size: 12px; font-weight: 500; padding: 9px 40px; line-height: 1.3; flex: 0 0 auto; }
.fh-menu__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 44px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.fh-menu__link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.fh-menu__smiley { height: 24px; }
.fh-menu__logo { justify-self: center; }
.fh-menu__logo img { height: 30px; display: block; }
.fh-menu__close { justify-self: end; cursor: pointer; }
.fh-menu__close svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 3; fill: none; }
.fh-menu__body { flex: 1 1 auto; display: grid; grid-template-columns: 58% 42%; min-height: 0; }
.fh-menu__promo { position: relative; background: var(--blue) center/cover no-repeat; overflow: hidden; }
.fh-menu__promo::after { content: ""; position: absolute; inset: 0; background: rgba(0,10,45,.5); }
.fh-menu__promo-inner { position: absolute; left: 60px; right: 60px; bottom: 56px; z-index: 1; color: #fff; }
.fh-menu__promo-inner h3 { color: #fff; font-size: 40px; line-height: 1.08; max-width: 16ch; margin: 0 0 24px; }
.fh-menu__nav { background: #fff; overflow-y: auto; }
.fh-menu__nav > a, .fh-menu__item { display: flex; align-items: center; min-height: 88px; padding: 0 50px; color: var(--blue); font-family: 'Youth', sans-serif; font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; box-sizing: border-box; }
.fh-menu__nav > a:hover, .fh-menu__item:hover { background: #f2f2f2; }
/* toggle button shares the link look but spans full width with a chevron */
.fh-menu__item--toggle { width: 100%; justify-content: space-between; gap: 16px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; line-height: 1.1; }
.fh-menu__chev { width: 26px; height: 26px; flex: 0 0 auto; stroke: var(--blue); transition: transform .24s ease; }
.fh-menu__group.is-open .fh-menu__chev { transform: rotate(180deg); }
.fh-menu__group.is-open > .fh-menu__item--toggle { background: #f2f2f2; }
/* collapsible second tier */
.fh-submenu { list-style: none; margin: 0; padding: 0; background: #f6f8ff; max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.fh-menu__group.is-open .fh-submenu { max-height: 760px; }
.fh-submenu a { display: flex; align-items: center; min-height: 56px; padding: 0 50px 0 74px; color: var(--ink); font-family: 'Youth', sans-serif; font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s, color .15s; }
.fh-submenu a:hover { background: #e9f0ff; color: var(--blue); }
@media (max-width: 900px) {
    .fh-menu__body { grid-template-columns: 1fr; }
    .fh-menu__promo { display: none; }
    .fh-menu__nav > a, .fh-menu__item { font-size: 26px; min-height: 68px; padding: 0 32px; }
    .fh-menu__item--toggle { padding: 0 32px; }
    .fh-submenu a { padding: 0 32px 0 52px; min-height: 52px; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .fh-cards { grid-template-columns: 1fr; }
    .fh-nav__cell--center { padding: 20px 40px; }
    .fh-sec__head h2 { font-size: 34px; }
    .fh-foot__cols { grid-template-columns: 1fr; gap: 0; }
}
