*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #CBA95D;
  --gold-light: #DDC6A4;
  --navy: #1C2F45;
  --navy-2: #162438;
  --paper: #F1F1F1;
  --paper-2: #E9E9E7;
  --ink: #1A1A18;
  --muted: #6B6460;
  --line: rgba(203,169,93,0.22);
  --solid-line: #D5D0C8;
}
html { scroll-behavior: smooth; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: "DM Sans", Inter, sans-serif; line-height: 1.1; font-weight: 600; letter-spacing: 0; }
em { color: var(--gold); font-style: italic; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 64px; }
.site-nav { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 72px; padding: 0 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(35,58,100,.62); transition: .35s ease; }
.site-nav.nav-scrolled { top: 3px; left: 10%; width: 80%; background: rgba(35,58,100,.72); backdrop-filter: blur(18px); border-radius: 14px; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 500; transition: color .2s ease; }
.nav-links a:hover, .current-menu-item > a { color: var(--gold); }
.nav-cta, .btn-outline { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 10px; font-weight: 600; border: 1px solid var(--gold); transition: .25s ease; }
.nav-cta { background: var(--gold); color: #1C2F45; padding: 10px 24px; }
.nav-cta:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { color: #F5F3EE; padding: 14px 30px; }
.btn-outline::after { content: "->"; }
.btn-outline:hover { color: var(--gold); background: rgba(203,169,93,.1); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); background: transparent; }
.nav-toggle span { display: block; width: 18px; height: 1px; background: #fff; margin: 5px auto; }
.hero, .page-hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; }
.page-hero { min-height: 430px; height: 52vh; }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero-overlay, .page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(14,24,42,.95), rgba(20,38,72,.70) 55%, rgba(44,74,130,.15)); }
.hero-content, .page-hero-content { position: relative; z-index: 2; padding-top: 72px; }
.hero h1 { max-width: 980px; color: #F5F3EE; font-size: clamp(40px, 5.5vw, 82px); margin-bottom: 24px; }
.hero p:not(.section-kicker), .page-hero p:not(.breadcrumb) { max-width: 560px; color: rgba(245,243,238,.72); font-size: 16px; font-weight: 300; margin-bottom: 32px; }
.page-hero h1 { color: #F5F3EE; font-size: clamp(44px, 5.2vw, 78px); margin-bottom: 16px; }
.breadcrumb { color: rgba(207,200,188,.62); text-transform: uppercase; letter-spacing: 2px; font-size: 10px; margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; }
.section-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: 10px; font-weight: 600; margin-bottom: 20px; display: flex; gap: 14px; align-items: center; }
.section-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.centered .section-kicker { justify-content: center; }
.centered .section-kicker::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.stats-bar strong { display: block; font-family: "DM Sans"; font-size: 42px; font-weight: 300; }
.stats-bar span { display: block; color: rgba(60,50,45,.56); text-transform: uppercase; letter-spacing: 2px; font-size: 10px; margin-top: 8px; }
.split-section, .content-section { padding: 110px 0; }
.light { background: var(--paper-2); }
.dark { background: var(--navy); color: #F5F3EE; }
.dark p { color: #CFC8BC; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 90px; align-items: center; }
.split-grid h2, .section-head h2, .prose h2 { font-size: clamp(32px, 3.2vw, 50px); margin-bottom: 28px; }
.split-grid p, .prose p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 16px; font-weight: 300; }
.dark .split-grid p { color: #CFC8BC; }
.image-frame { position: relative; border: 1px solid rgba(203,169,93,.28); padding: 16px; }
.image-frame::before, .image-frame::after { content: ""; position: absolute; width: 58px; height: 58px; pointer-events: none; }
.image-frame::before { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.image-frame::after { right: -1px; bottom: -1px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.image-frame img { width: 100%; }
.section-head { margin-bottom: 62px; }
.section-head.centered { text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(203,169,93,.25); }
.service-card { background: rgba(10,26,16,.28); padding: 34px 30px; border-top: 2px solid transparent; min-height: 220px; transition: .25s ease; }
.light-grid .service-card { background: #fff; }
.service-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.service-card span { display: block; color: rgba(203,169,93,.45); font-family: "DM Sans"; font-size: 34px; font-weight: 300; margin-bottom: 28px; }
.service-card h3 { font-size: 18px; margin-bottom: 14px; }
.service-card p { font-size: 13px; line-height: 1.75; color: inherit; opacity: .72; }
.award-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.award-item { flex: 1 1 96px; min-height: 82px; display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid rgba(203,169,93,.25); background: rgba(255,255,255,.45); }
.dark .award-item { background: rgba(255,255,255,.06); }
.award-item img { max-height: 58px; width: auto; object-fit: contain; }
.references-section { padding: 100px 0; background: var(--paper); overflow: hidden; }
.logo-marquee { display: flex; gap: 1px; width: max-content; animation: marquee 36s linear infinite; }
.logo-item { width: 170px; height: 96px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--solid-line); padding: 18px; }
.logo-item img { max-height: 58px; object-fit: contain; filter: grayscale(100%); opacity: .78; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member-card { background: rgba(10,26,16,.45); border: 1px solid rgba(203,169,93,.14); overflow: hidden; }
.member-img-wrap { aspect-ratio: 3/4; overflow: hidden; background: rgba(0,0,0,.12); }
.member-img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(100%); transition: .35s ease; }
.member-card:hover .member-img { filter: grayscale(0); transform: scale(1.04); }
.member-info { padding: 22px; }
.member-info span, .post-card span { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 9px; font-weight: 700; }
.member-info h3 { font-size: 18px; margin: 10px 0 8px; }
.support-grid, .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card, .post-card, .contact-panel, .stats-panel { background: #fff; border: 1px solid var(--solid-line); padding: 28px; }
.support-card { display: flex; gap: 20px; align-items: center; }
.support-card img { width: 96px; height: 96px; object-fit: cover; object-position: top; filter: grayscale(100%); }
.stats-panel div { padding: 22px 0; border-bottom: 1px solid var(--solid-line); }
.stats-panel div:last-child { border-bottom: 0; }
.stats-panel strong { display: block; font-family: "DM Sans"; font-size: 40px; font-weight: 300; }
.stats-panel span { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 10px; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: -28px -28px 24px; max-width: calc(100% + 56px); }
.post-card h2, .post-card h3 { font-size: 20px; margin: 12px 0; }
.post-card a { text-decoration: none; }
.text-link { color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 10px; font-weight: 700; }
.prose { max-width: 840px; }
.prose ul, .prose ol { margin: 0 0 24px 22px; }
.gesica-card { display: flex; gap: 22px; align-items: center; border: 1px solid rgba(203,169,93,.25); padding: 20px; margin: 28px 0; background: rgba(203,169,93,.06); }
.gesica-card img { width: 92px; background: #fff; padding: 8px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.site-footer { background: #101b2b; color: rgba(245,243,238,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #F5F3EE; font-size: 14px; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links a, .site-footer a { color: rgba(245,243,238,.72); text-decoration: none; font-size: 13px; }
.footer-bottom { margin-top: 54px; padding: 22px 64px; border-top: 1px solid rgba(203,169,93,.16); text-align: center; font-size: 12px; }
@media (max-width: 1100px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(28,47,69,.96); padding: 24px; flex-direction: column; align-items: flex-start; }
  .site-nav.menu-open .nav-links { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .container { padding: 0 28px; }
  .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid, .team-grid, .support-grid, .cards-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero, .page-hero { min-height: 620px; }
  .hero h1, .page-hero h1 { font-size: 40px; }
  .stats-bar, .service-grid, .team-grid, .support-grid, .cards-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-section, .content-section { padding: 72px 0; }
  .site-nav.nav-scrolled { left: 12px; width: calc(100% - 24px); }
  .footer-bottom { padding: 20px; }
}

/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switcher { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(203,169,93,.5); color: #fff; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 600; padding: 8px 12px; cursor: pointer; transition: .25s ease; font-family: inherit; }
.lang-current:hover, .lang-switcher:focus-within .lang-current { border-color: var(--gold); color: var(--gold); }
.lang-caret { font-size: 9px; transition: transform .25s ease; }
.lang-switcher:hover .lang-caret, .lang-switcher:focus-within .lang-caret, .lang-switcher.open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; list-style: none; margin: 0; padding: 6px 0; background: rgba(28,47,69,.98); border: 1px solid rgba(203,169,93,.28); border-radius: 8px; box-shadow: 0 12px 34px rgba(0,0,0,.32); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .22s ease; z-index: 1001; }
.lang-switcher:hover .lang-menu, .lang-switcher:focus-within .lang-menu, .lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 9px 18px; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 500; transition: .18s ease; }
.lang-menu a:hover { color: var(--gold); background: rgba(203,169,93,.1); }
.lang-menu a.is-active { color: var(--gold); }
@media (max-width: 1100px) {
  .lang-switcher { margin-top: 16px; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; padding: 6px 0 0; min-width: 0; }
}
