/*
Theme Name:   EAF — Ethiopia Academy of Finance
Theme URI:    https://eaf.nbe.gov.et
Description:  Custom child theme of Hello Elementor for the Ethiopia Academy of Finance. Provides the global shell (trust bar, sticky header, footer), brand tokens, typography and utility classes. Page content is built in Elementor.
Author:       EAF / NBE SWIFT Program — Technology
Author URI:   https://nbe.gov.et
Template:     hello-elementor
Version:      1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  eaf-hello-child
*/

/* =====================================================================
   1. DESIGN TOKENS  (lifted 1:1 from the Figma export `T` object)
   ===================================================================== */
:root {
  /* Brand — primary */
  --eaf-navy:        #1B2A48;
  --eaf-navy-dark:   #0F1E35;
  --eaf-navy-mid:    #243659;
  --eaf-ink:         #0F1E35;
  --eaf-hero-base:   #0A1628;   /* hero / page-hero gradient base */
  --eaf-footer-bg:   #060D1A;

  /* Brand — accent */
  --eaf-gold:        #C09A45;
  --eaf-gold-light:  #D4AE5A;
  --eaf-gold-xlight: #F5E8C4;
  --eaf-teal:        #2D6B50;
  --eaf-teal-light:  #5CC4A0;
  --eaf-status-live: #4ADE80;

  /* Neutrals */
  --eaf-white:       #FFFFFF;
  --eaf-ivory:       #FDFBF7;   /* page background */
  --eaf-cream:       #F4EBD8;
  --eaf-smoke:       #EDE6D8;
  --eaf-iron:        #D4CCBA;   /* hairline borders */
  --eaf-slate:       #8A9099;   /* muted text */
  --eaf-body:        #2E3A4A;   /* body text */

  /* Alpha helpers */
  --eaf-gold-a10:    rgba(192,154,69,0.10);
  --eaf-gold-a16:    rgba(192,154,69,0.16);
  --eaf-gold-a22:    rgba(192,154,69,0.22);
  --eaf-gold-a35:    rgba(192,154,69,0.35);
  --eaf-white-a06:   rgba(255,255,255,0.06);
  --eaf-white-a28:   rgba(255,255,255,0.28);
  --eaf-white-a50:   rgba(255,255,255,0.50);
  --eaf-white-a72:   rgba(255,255,255,0.72);

  /* Typography */
  --eaf-font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --eaf-font-sans:   'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing / layout */
  --eaf-container:   1440px;
  --eaf-gutter:      80px;      /* section side padding */
  --eaf-gutter-hdr:  56px;      /* header + trust bar */
  --eaf-gutter-hero: 88px;      /* hero copy inset */
  --eaf-section-pt:  80px;
  --eaf-section-pb:  56px;
  --eaf-card-pad:    48px 44px;
  --eaf-hairline:    1px solid var(--eaf-iron);
  --eaf-hairline-dk: 1px solid rgba(255,255,255,0.07);
  --eaf-radius:      0px;       /* design is deliberately square */

  /* Motion */
  --eaf-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --eaf-t-fast:      0.18s;
  --eaf-t-base:      0.25s;
  --eaf-t-slow:      0.32s;
}

/* =====================================================================
   2. BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--eaf-ivory);
  color: var(--eaf-body);
  font-family: var(--eaf-font-sans);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--eaf-gold-a22); color: var(--eaf-ink); }
* { scrollbar-width: thin; scrollbar-color: rgba(192,154,69,0.18) transparent; }
*::-webkit-scrollbar { width: 4px; }
*::-webkit-scrollbar-thumb { background: var(--eaf-gold-a22); border-radius: 2px; }

h1, h2, h3, h4, .eaf-serif {
  font-family: var(--eaf-font-serif);
  color: var(--eaf-navy-dark);
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(44px, 5.2vw, 74px); font-weight: 800; line-height: 1.07; letter-spacing: -0.024em; }
h2 { font-size: clamp(36px, 3.8vw, 56px); font-weight: 800; line-height: 1.06; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.18; }
h4 { font-size: 20px; font-weight: 700; line-height: 1.24; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--eaf-gold); }
h2 em.teal, h3 em.teal { color: var(--eaf-teal); }
p { margin: 0 0 1em; }
a { color: var(--eaf-navy-dark); text-decoration: none; transition: color var(--eaf-t-fast); }
a:hover { color: var(--eaf-gold); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* Accessibility */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); margin: -1px; }
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; left: 8px; top: 8px; z-index: 1000; padding: 12px 18px; background: var(--eaf-gold); color: var(--eaf-navy-dark); font-weight: 700; }
html, body { overflow-x: clip; }
[hidden] { display: none !important; }

/* Let Elementor own the content canvas — no padding, no max-width */
.site-main, #content.site-main, .eaf-content { padding: 0; margin: 0; max-width: none; width: 100%; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--eaf-container); }

/* =====================================================================
   3. UTILITY / PATTERN CLASSES  (apply via Elementor "CSS Classes")
   ===================================================================== */
/* Eyebrow label with rule */
.eaf-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eaf-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--eaf-gold); flex-shrink: 0; }
.eaf-eyebrow, .eaf-eyebrow span {
  font-family: var(--eaf-font-sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--eaf-gold);
}
.eaf-eyebrow--teal, .eaf-eyebrow--teal span { color: var(--eaf-teal); }
.eaf-eyebrow--teal::before { background: var(--eaf-teal); }
.eaf-eyebrow--light, .eaf-eyebrow--light span { color: rgba(255,255,255,0.55); }

/* Section header row (eyebrow + H2 left, intro right) */
.eaf-section-head {
  padding: var(--eaf-section-pt) var(--eaf-gutter) var(--eaf-section-pb);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  border-bottom: var(--eaf-hairline);
}
.eaf-section-head__intro { max-width: 380px; padding-bottom: 6px; font-size: 14px; color: var(--eaf-slate); line-height: 1.82; }
.eaf-dark .eaf-section-head { border-bottom: var(--eaf-hairline-dk); }
.eaf-dark .eaf-section-head__intro { color: rgba(255,255,255,0.36); }

/* Dark section background helpers */
.eaf-dark { background: var(--eaf-navy-dark); color: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.eaf-dark h1, .eaf-dark h2, .eaf-dark h3, .eaf-dark h4 { color: var(--eaf-white); }
.eaf-ivory { background: var(--eaf-ivory); }
.eaf-white { background: var(--eaf-white); }

/* Buttons */
.eaf-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--eaf-font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  padding: 16px 36px; border: 1.5px solid transparent; border-radius: var(--eaf-radius);
  cursor: pointer; text-decoration: none; line-height: 1; transition: all 0.22s;
}
.eaf-btn--gold { background: var(--eaf-gold); color: var(--eaf-navy-dark); }
.eaf-btn--gold:hover { background: var(--eaf-gold-light); color: var(--eaf-navy-dark); }
.eaf-btn--navy { background: var(--eaf-navy-dark); color: var(--eaf-white); }
.eaf-btn--navy:hover { opacity: 0.85; color: var(--eaf-white); }
.eaf-btn--outline { background: transparent; color: var(--eaf-navy); border-color: var(--eaf-navy); font-weight: 600; }
.eaf-btn--outline:hover { background: var(--eaf-navy); color: var(--eaf-white); }
.eaf-btn--ghost { background: transparent; color: rgba(255,255,255,0.62); border-color: rgba(255,255,255,0.2); font-weight: 600; }
.eaf-btn--ghost:hover { color: var(--eaf-white); border-color: rgba(255,255,255,0.5); }
.eaf-btn--sm { font-size: 12px; padding: 10px 20px; }
.eaf-btn svg { transition: transform 0.22s; }
.eaf-btn:hover svg { transform: translateX(3px); }

/* Text link with underline rule */
.eaf-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--eaf-navy-dark);
  border-bottom: 1.5px solid var(--eaf-navy-dark); padding-bottom: 3px;
}
.eaf-link--gold { color: var(--eaf-gold); border-bottom-color: var(--eaf-gold-a35); letter-spacing: 0.06em; }

/* Bordered grid (no gutters — hairlines between cells) */
.eaf-grid { display: grid; }
.eaf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.eaf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.eaf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.eaf-grid--6 { grid-template-columns: repeat(6, 1fr); }
.eaf-grid--6 > * { padding: 52px 24px; text-align: center; }
.eaf-grid > * { padding: var(--eaf-card-pad); border-right: var(--eaf-hairline); position: relative; overflow: hidden; }
.eaf-grid > *:last-child { border-right: none; }
.eaf-grid--3 > *:nth-child(3n), .eaf-grid--4 > *:nth-child(4n), .eaf-grid--2 > *:nth-child(2n) { border-right: none; }
.eaf-dark .eaf-grid > * { border-right: var(--eaf-hairline-dk); }

/* Ghost numeral ("01", "02") */
.eaf-ghost-num {
  font-family: var(--eaf-font-serif); font-size: 64px; font-weight: 800; line-height: 1;
  color: rgba(27,42,72,0.05); margin-bottom: 4px;
}
.eaf-dark .eaf-ghost-num { color: rgba(192,154,69,0.10); }
.eaf-index { font-family: var(--eaf-font-serif); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--eaf-iron); margin-bottom: 28px; }

/* Short gold rule */
.eaf-rule { width: 20px; height: 2px; background: var(--eaf-gold); opacity: 0.45; margin-bottom: 20px; transition: width var(--eaf-t-slow) ease, opacity var(--eaf-t-slow); }
.eaf-card:hover .eaf-rule { width: 36px; opacity: 0.9; }

/* Tag / chip */
.eaf-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--eaf-teal); }
.eaf-chip {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  padding: 5px 14px; color: var(--eaf-navy-dark); background: var(--eaf-smoke); border: var(--eaf-hairline);
}
.eaf-dark .eaf-chip { color: var(--eaf-gold); background: var(--eaf-gold-a10); border-color: rgba(192,154,69,0.2); }

/* Bullet list with square gold marker + hairlines */
.eaf-list { list-style: none; margin: 0; padding: 0; }
.eaf-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: var(--eaf-hairline); font-size: 13px; color: var(--eaf-body); }
.eaf-list li::before { content: ""; width: 5px; height: 5px; background: var(--eaf-gold); opacity: 0.8; flex-shrink: 0; }
.eaf-dark .eaf-list li { border-bottom-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }

/* Hover-to-navy card (Six Academies) */
.eaf-card--flip { background: var(--eaf-ivory); transition: background var(--eaf-t-slow) ease; cursor: pointer; }
.eaf-card--flip:hover { background: var(--eaf-navy-dark); }
.eaf-card--flip:hover h3, .eaf-card--flip:hover h4 { color: var(--eaf-white); }
.eaf-card--flip:hover p { color: rgba(253,251,247,0.48); }
.eaf-card--flip:hover .eaf-tag { color: var(--eaf-gold); }
.eaf-card--flip .eaf-card__cta { opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.eaf-card--flip:hover .eaf-card__cta { opacity: 1; transform: none; }

/* Gold gradient hairline (top of footer / bottom of metrics) */
.eaf-gold-rule { height: 2px; background: linear-gradient(to right, transparent, var(--eaf-gold) 20%, var(--eaf-gold-light) 50%, var(--eaf-gold) 80%, transparent); opacity: 0.35; }
.eaf-gold-rule--top { height: 3px; background: linear-gradient(to right, var(--eaf-gold), var(--eaf-gold-light) 40%, rgba(192,154,69,0.1) 100%); opacity: 1; }

/* Hero overlay stack (apply to a container with a background image) */
.eaf-hero-overlay { position: relative; }
.eaf-hero-overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(to top, rgba(7,13,27,0.82) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(10,22,40,0.4) 0%, transparent 20%, transparent 68%, rgba(10,22,40,0.72) 100%),
    radial-gradient(ellipse 28% 90% at 44% 50%, rgba(10,22,40,0.38) 0%, transparent 100%),
    linear-gradient(to right, #0A1628 0%, #0A1628 42%, rgba(10,22,40,0.82) 54%, rgba(10,22,40,0.3) 70%, rgba(10,22,40,0) 86%);
}
.eaf-hero-overlay--page::before {
  background:
    linear-gradient(to bottom, rgba(10,22,40,0.3) 0%, transparent 25%, transparent 65%, rgba(10,22,40,0.6) 100%),
    linear-gradient(to right, #0A1628 0%, #0A1628 38%, rgba(10,22,40,0.78) 55%, rgba(10,22,40,0.25) 80%, rgba(10,22,40,0) 100%);
}
.eaf-hero-overlay > * { position: relative; z-index: 1; }

/* Lattice pattern (output by eaf_lattice() / [eaf_lattice] shortcode) */
.eaf-lattice { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* Glass stats strip (hero bottom) */
.eaf-glass { background: rgba(7,13,27,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--eaf-gold-a16); }

/* Stat / metric */
.eaf-stat__num { white-space: nowrap; font-family: var(--eaf-font-serif); font-size: clamp(36px, 3.2vw, 52px); font-weight: 700; color: var(--eaf-gold); line-height: 1; letter-spacing: -0.03em; }
.eaf-stat__rule { width: 24px; height: 1.5px; background: var(--eaf-gold-a35); margin: 14px auto 12px; }
.eaf-stat__label { font-size: 11.5px; font-weight: 700; color: var(--eaf-white); letter-spacing: 0.02em; }
.eaf-stat__sub { font-size: 9.5px; color: rgba(255,255,255,0.3); margin-top: 5px; letter-spacing: 0.07em; }

/* Motion (JS adds .is-visible via IntersectionObserver) */
@keyframes eafHeroText { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes eafPulse { 0%,100% { transform: scale(1); opacity: .65; } 50% { transform: scale(2.5); opacity: 0; } }
@keyframes eafFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.eaf-anim-hero > * { animation: eafHeroText 0.9s var(--eaf-ease-out) both; }
.eaf-anim-hero > *:nth-child(1) { animation-delay: 0.10s; }
.eaf-anim-hero > *:nth-child(2) { animation-delay: 0.20s; }
.eaf-anim-hero > *:nth-child(3) { animation-delay: 0.30s; }
.eaf-anim-hero > *:nth-child(4) { animation-delay: 0.38s; }
.eaf-anim-hero > *:nth-child(5) { animation-delay: 0.46s; }
.eaf-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--eaf-ease-out), transform 0.7s var(--eaf-ease-out); }
.eaf-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .eaf-anim-hero > *, .eaf-reveal { animation: none; opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   4. TRUST BAR
   ===================================================================== */
.eaf-trust {
  background: var(--eaf-navy-dark); height: 38px; font-size: 11px; user-select: none;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--eaf-gutter-hdr);
  color: rgba(255,255,255,0.48);
}
.eaf-trust__left { display: flex; align-items: center; gap: 10px; }
.eaf-trust__dot { position: relative; display: inline-flex; width: 7px; height: 7px; }
.eaf-trust__dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--eaf-status-live); opacity: .4; animation: eafPulse 2.2s ease infinite; }
.eaf-trust__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--eaf-status-live); position: relative; }
.eaf-trust strong { color: var(--eaf-gold); font-weight: 600; }
.eaf-trust__sep { margin: 0 9px; color: rgba(255,255,255,0.14); }
.eaf-trust__sub { color: var(--eaf-white-a72); }
.eaf-trust__right { display: flex; align-items: center; color: rgba(255,255,255,0.38); }
.eaf-trust__right a { color: inherit; }
.eaf-trust__right a:hover, .eaf-trust__right a.is-accent { color: var(--eaf-gold); }
.eaf-trust__pipe { margin: 0 12px; color: rgba(255,255,255,0.1); }
.eaf-trust__lang a { padding: 0 4px; color: rgba(255,255,255,0.32); }
.eaf-trust__lang a.is-active { color: rgba(255,255,255,0.85); font-weight: 700; }
.eaf-trust__lang span { color: rgba(255,255,255,0.16); }

/* =====================================================================
   5. HEADER
   ===================================================================== */
.eaf-header {
  position: sticky; top: 0; z-index: 300; background: var(--eaf-white);
  border-bottom: 1px solid rgba(212,204,186,0.5); transition: box-shadow 0.3s, border-color 0.3s;
}
.eaf-header.is-scrolled { border-bottom-color: var(--eaf-iron); box-shadow: 0 2px 20px rgba(15,30,53,0.1); }
.admin-bar .eaf-header { top: 32px; }
.eaf-header__inner {
  max-width: var(--eaf-container); margin: 0 auto; padding: 0 var(--eaf-gutter-hdr); height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.eaf-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none; }
.eaf-brand img { height: 58px; width: auto; object-fit: contain; }
.eaf-brand__text { border-left: 1px solid var(--eaf-iron); padding-left: 16px; max-width: 262px; }
.eaf-brand__name { white-space: nowrap; font-size: 13px; font-weight: 800; color: var(--eaf-navy); letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.2; }
.eaf-brand__sub { font-size: 9.5px; color: var(--eaf-slate); letter-spacing: 0.04em; margin-top: 4px; }
.eaf-brand__sub span { color: var(--eaf-iron); }

.eaf-nav { min-width: 0; }
.eaf-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; }
.eaf-nav li { position: relative; }
.eaf-nav a {
  font-size: 12.5px; font-weight: 500; color: var(--eaf-body); padding: 0 13px; height: 76px;
  display: flex; align-items: center; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--eaf-t-fast), border-color var(--eaf-t-fast); white-space: nowrap;
}
.eaf-nav a:hover, .eaf-nav .current-menu-item > a, .eaf-nav .current-menu-ancestor > a, .eaf-nav .current_page_item > a {
  color: var(--eaf-navy); border-bottom-color: var(--eaf-gold);
}
.eaf-nav .current-menu-item > a, .eaf-nav .current_page_item > a { font-weight: 700; }
/* dropdowns */
.eaf-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--eaf-white); flex-direction: column;
  border: var(--eaf-hairline); border-top: 2px solid var(--eaf-gold); box-shadow: 0 12px 32px rgba(15,30,53,0.12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s;
}
.eaf-nav li:hover > .sub-menu, .eaf-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.eaf-nav .sub-menu a { height: auto; padding: 12px 18px; border-bottom: var(--eaf-hairline); margin: 0; }
.eaf-nav .sub-menu li:last-child a { border-bottom: none; }

.eaf-header__actions { display: flex; gap: 10px; flex-shrink: 0; }
.eaf-header__actions .eaf-btn { font-size: 12px; padding: 10px 20px; }
.eaf-header__actions .eaf-btn--outline { padding: 9px 18px; }

/* Mobile toggle */
.eaf-burger { display: none; width: 44px; height: 44px; background: none; border: var(--eaf-hairline); cursor: pointer; padding: 0; position: relative; }
.eaf-burger span, .eaf-burger span::before, .eaf-burger span::after {
  content: ""; position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--eaf-navy); transition: transform .25s, opacity .25s;
}
.eaf-burger span { top: 21px; }
.eaf-burger span::before { left: 0; top: -6px; }
.eaf-burger span::after { left: 0; top: 6px; }
.eaf-header.is-open .eaf-burger span { background: transparent; }
.eaf-header.is-open .eaf-burger span::before { transform: translateY(6px) rotate(45deg); }
.eaf-header.is-open .eaf-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   6. FOOTER
   ===================================================================== */
.eaf-footer { background: var(--eaf-footer-bg); position: relative; overflow: hidden; color: rgba(255,255,255,0.3); font-size: 12.5px; }
.eaf-footer__inner { position: relative; z-index: 1; padding: 72px var(--eaf-gutter) 0; max-width: var(--eaf-container); margin: 0 auto; }
.eaf-footer__top { display: grid; grid-template-columns: 280px 1fr; gap: 88px; margin-bottom: 64px; }
.eaf-footer__brand img { height: 56px; width: auto; object-fit: contain; margin-bottom: 24px; opacity: .88; }
.eaf-footer__blurb { line-height: 1.9; margin-bottom: 24px; color: rgba(255,255,255,0.3); }
.eaf-footer__addr { font-size: 11.5px; color: rgba(255,255,255,0.22); line-height: 2; }
.eaf-footer__addr a { color: var(--eaf-gold); opacity: .6; display: block; margin-top: 6px; }
.eaf-footer__addr a:hover { opacity: 1; }
.eaf-footer__social { margin-top: 24px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,0.28); }
.eaf-footer__social::before { content: ""; width: 16px; height: 1px; background: var(--eaf-gold); opacity: .4; }
.eaf-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.eaf-footer__col h4 { font-family: var(--eaf-font-sans); font-size: 8.5px; font-weight: 800; color: var(--eaf-gold); letter-spacing: .26em; text-transform: uppercase; margin-bottom: 22px; opacity: .75; }
.eaf-footer__col ul { list-style: none; margin: 0; padding: 0; }
.eaf-footer__col li { margin-bottom: 11px; }
.eaf-footer__col a { color: rgba(255,255,255,0.26); }
.eaf-footer__col a:hover { color: var(--eaf-white-a72); }
.eaf-footer__bottom { border-top: 1px solid rgba(255,255,255,0.055); padding: 22px 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 10.5px; color: rgba(255,255,255,0.18); }
.eaf-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.eaf-footer__legal a { color: rgba(255,255,255,0.18); }
.eaf-footer__legal a:hover { color: rgba(255,255,255,0.52); }

/* =====================================================================
   7. RESPONSIVE  (breakpoints chosen to match Elementor's defaults:
      tablet ≤1024, mobile ≤767 — the Figma comp is desktop-only)
   ===================================================================== */
@media (max-width: 1400px) {
  .eaf-brand__text { display: none; }
  .eaf-nav a { padding: 0 10px; }
}
@media (max-width: 1200px) {
  :root { --eaf-gutter: 48px; --eaf-gutter-hdr: 32px; --eaf-gutter-hero: 56px; --eaf-card-pad: 40px 32px; }
  .eaf-nav a { padding: 0 9px; font-size: 12px; }
  .eaf-footer__top { grid-template-columns: 240px 1fr; gap: 48px; }
}
@media (max-width: 1024px) {
  .eaf-trust__right { display: none; }
  .eaf-nav { display: none; }
  .eaf-header.is-open .eaf-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--eaf-white);
    border-bottom: var(--eaf-hairline); box-shadow: 0 16px 32px rgba(15,30,53,0.12); padding: 8px 0 16px;
    max-height: calc(100vh - 114px); overflow-y: auto;
  }
  .eaf-header.is-open .eaf-nav ul { flex-direction: column; }
  .eaf-header.is-open .eaf-nav a { height: auto; padding: 14px var(--eaf-gutter-hdr); border-bottom: var(--eaf-hairline); border-left: 2px solid transparent; margin: 0; }
  .eaf-header.is-open .eaf-nav .current-menu-item > a { border-left-color: var(--eaf-gold); }
  .eaf-header.is-open .eaf-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--eaf-ivory); }
  .eaf-header.is-open .eaf-nav .sub-menu a { padding-left: calc(var(--eaf-gutter-hdr) + 20px); }
  .eaf-burger { display: block; }
  .eaf-header__actions .eaf-btn--outline { display: none; }
  .eaf-header.is-open .eaf-header__actions-mobile { display: flex; gap: 10px; padding: 16px var(--eaf-gutter-hdr) 8px; }
  .eaf-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .eaf-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .eaf-grid--4, .eaf-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .eaf-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .eaf-grid--3 > *:nth-child(3n) { border-right: var(--eaf-hairline); }
  .eaf-grid--3 > *:nth-child(2n) { border-right: none; }
  .eaf-grid > * { border-bottom: var(--eaf-hairline); }
  .eaf-section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .eaf-section-head__intro { max-width: 560px; }
}
@media (max-width: 767px) {
  :root { --eaf-gutter: 24px; --eaf-gutter-hdr: 20px; --eaf-gutter-hero: 24px; --eaf-section-pt: 56px; --eaf-section-pb: 36px; --eaf-card-pad: 32px 24px; }
  .eaf-trust { height: auto; padding: 8px var(--eaf-gutter-hdr); font-size: 10px; }
  .eaf-trust__sub { display: none; }
  .eaf-header__inner { height: 64px; }
  .eaf-brand img { height: 44px; }
  .eaf-header__actions .eaf-btn--gold { display: none; }
  .eaf-header.is-open .eaf-nav { max-height: calc(100vh - 102px); }
  .eaf-grid--2, .eaf-grid--3, .eaf-grid--4, .eaf-grid--6 { grid-template-columns: 1fr; }
  .eaf-grid > * { border-right: none !important; }
  .eaf-footer__cols { grid-template-columns: 1fr; }
  .eaf-footer__inner { padding-top: 48px; }
  .eaf-footer__bottom { flex-direction: column; align-items: flex-start; }
  .eaf-footer__legal ul { flex-wrap: wrap; gap: 12px 20px; }
  h1 { font-size: clamp(34px, 9vw, 44px); }
  h2 { font-size: clamp(30px, 7.5vw, 36px); }
}
