/* Garhe Solutions — shared styles (v4 design: cream + yellow) */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FDFBF4;
  color: #1B2534;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #14335C; text-decoration: none; }
a:hover { color: #0E2440; }
input::placeholder, textarea::placeholder { color: #98A3B3; }
input:focus, textarea:focus { outline: 2px solid #14335C; outline-offset: -1px; }

@keyframes heroFade { 0% { opacity: 0 } 4% { opacity: 1 } 25% { opacity: 1 } 32% { opacity: 0 } 100% { opacity: 0 } }
@keyframes heroZoom { 0% { transform: scale(1) } 100% { transform: scale(1.08) } }
@keyframes wordIn { 0% { opacity: 0; transform: translateY(0.35em) rotate(-1.5deg) } 100% { opacity: 1; transform: translateY(0) rotate(-1.5deg) } }
@keyframes revealUp { 0% { opacity: 0; transform: translateY(28px) } 100% { opacity: 1; transform: translateY(0) } }
@supports (animation-timeline: view()) {
  main > section { animation: revealUp both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
}

/* Header: transparent over the hero, floating pill once scrolled */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 0; }
.site-header .bar {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  min-height: 76px; max-width: 1200px; margin: 0 auto; padding: 6px 24px;
  box-sizing: border-box; background: transparent; transition: all 0.25s ease;
}
.site-header.scrolled { top: 12px; padding: 0 12px; }
.site-header.scrolled .bar {
  min-height: 60px; max-width: 1060px; padding: 4px 12px 4px 22px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px);
  border: 1px solid rgba(20, 51, 92, 0.12); border-radius: 99px;
  box-shadow: 0 16px 44px -16px rgba(20, 51, 92, 0.35);
}
.brand { display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; }
.brand .brand-main { font-weight: 900; font-size: 21px; letter-spacing: -0.03em; color: #FFFFFF; }
.brand .brand-dot { width: 7px; height: 7px; border-radius: 99px; background: #F2C94C; align-self: center; margin-top: 7px; }
.brand .brand-sub { font-weight: 400; font-size: 16px; color: #C9D7E8; }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: 16px; font-weight: 700; flex-wrap: wrap; }
.site-nav a {
  color: #FFFFFF; transition: opacity 0.15s; padding-bottom: 2px;
  border-bottom: 2px solid rgba(242, 201, 76, 0.65);
}
.site-nav a:hover { opacity: 0.75; color: #FFFFFF; }
.site-nav a.active { color: #F2C94C; border-bottom-color: #F2C94C; }
.site-nav a.active:hover { color: #F2C94C; }
.lang-switch { display: flex; border-radius: 99px; overflow: hidden; font-size: 12.5px; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.lang-switch button {
  font-family: 'Archivo', sans-serif; border: none; cursor: pointer; padding: 7px 13px;
  font-weight: 700; background: transparent; color: rgba(255, 255, 255, 0.8);
}
.lang-switch button.active { background: #F2C94C; color: #14335C; }
.site-header.scrolled .brand-main, .site-header.on-light .brand-main { color: #14335C; }
.site-header.scrolled .brand-sub, .site-header.on-light .brand-sub { color: #8A93A3; }
.site-header.scrolled .site-nav a, .site-header.on-light .site-nav a { color: #14335C; border-bottom-color: transparent; }
.site-header.scrolled .site-nav a.active, .site-header.on-light .site-nav a.active { color: #14335C; border-bottom-color: #F2C94C; }
.site-header.scrolled .lang-switch, .site-header.on-light .lang-switch { border-color: rgba(20, 51, 92, 0.25); }
.site-header.scrolled .lang-switch button, .site-header.on-light .lang-switch button { color: #55637A; }
.site-header.scrolled .lang-switch button.active, .site-header.on-light .lang-switch button.active { color: #14335C; }
.site-header.on-light:not(.scrolled) .bar {
  background: rgba(253, 251, 244, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #ECE6D4;
}

/* Mobile burger + fullscreen menu */
.burger {
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  padding: 8px; color: #FFFFFF;
}
.site-header.scrolled .burger, .site-header.on-light .burger { color: #14335C; }
@media (max-width: 899px) {
  .site-header .site-nav, .site-header .lang-switch, .site-header .btn-support { display: none; }
  .burger { display: grid; place-items: center; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: linear-gradient(180deg, #F2C94C 0%, #F7E3A0 40%, #FDFBF4 100%);
  display: flex; flex-direction: column; padding: 0 24px 32px; overflow: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; height: 76px; flex: none; }
.mobile-menu .mm-close {
  width: 46px; height: 46px; border-radius: 99px; background: #14335C; color: #FFFFFF;
  border: none; cursor: pointer; display: grid; place-items: center;
}
.mobile-menu .mm-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 11vh; }
.mobile-menu .mm-link { background: #14335C; color: #FFFFFF; font-size: 26px; font-weight: 800; padding: 14px 26px; border-radius: 18px; }
.mobile-menu .mm-link.mm-accent { color: #F2C94C; }
.mobile-menu .mm-support {
  display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid #14335C; color: #14335C;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; padding: 13px 22px; border-radius: 12px; margin-top: 18px;
}
.mobile-menu .lang-switch { border-color: rgba(20, 51, 92, 0.35); margin-top: 6px; }
.mobile-menu .lang-switch button { color: #3A4657; padding: 8px 15px; }
.mobile-menu .lang-switch button.active { background: #14335C; color: #F2C94C; }

/* Buttons */
.btn-support {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800;
  padding: 10px 18px; border-radius: 99px; background: #F2C94C; color: #14335C;
}
.btn-support:hover { filter: brightness(0.94); color: #14335C; }
.btn-yellow { display: inline-block; background: #F2C94C; color: #14335C; font-weight: 800; border-radius: 99px; box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.5); }
.btn-yellow:hover { background: #F5DD90; color: #14335C; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255, 255, 255, 0.55); color: #FFFFFF; font-weight: 700; border-radius: 99px; }
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-navy-pill {
  display: inline-flex; align-items: center; gap: 8px; background: #14335C; color: #FFFFFF;
  font-weight: 700; border-radius: 99px; box-shadow: 0 8px 24px -8px rgba(20, 51, 92, 0.5);
}
.btn-navy-pill:hover { background: #0E2440; color: #FFFFFF; }

/* Links */
.applink { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #F2C94C; margin-top: auto; }
.applink:hover { color: #FFFFFF; }
.backlink { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #9FB3CC; }
.backlink:hover { color: #FFFFFF; }
.flink { color: #C4D0E0; }
.flink:hover { color: #FFFFFF; }

/* Cards */
.lift-card { transition: transform 0.2s, box-shadow 0.2s; }
.lift-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -20px rgba(20, 51, 92, 0.4); }

/* Hero word chip */
.hero-word-line { display: block; min-height: 1.14em; margin: 0.03em 0 0.06em; }
.hero-word {
  display: inline-block; background: #F2C94C; color: #14335C; border-radius: 0.18em;
  padding: 0 0.18em; transform: rotate(-1.5deg); animation: wordIn 0.5s ease; white-space: nowrap;
}

/* FAQ */
.faq { background: #FFFFFF; border: 1px solid #E8E2CF; border-radius: 18px; overflow: hidden; }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-size: 16.5px; font-weight: 700; color: #14335C;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mark {
  width: 28px; height: 28px; border-radius: 99px; background: #F2C94C;
  display: grid; place-items: center; font-size: 17px; color: #14335C; flex: none; font-weight: 600;
}
.faq summary .mark::before { content: '+'; }
.faq[open] summary .mark::before { content: '–'; }
.faq p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.7; color: #55637A; text-wrap: pretty; }

/* Contact form */
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 700; color: #3A4657; }
.field input, .field textarea {
  font-family: 'Archivo', sans-serif; font-size: 15px; padding: 12px 14px;
  border: 1.5px solid #C6CFD9; border-radius: 12px; background: #FDFBF4; color: #1B2534;
}
.field textarea { resize: vertical; }
.form-submit {
  align-self: flex-start; font-family: 'Archivo', sans-serif; background: #14335C; color: #FFFFFF;
  font-size: 15.5px; font-weight: 700; padding: 14px 32px; border-radius: 99px; border: none;
  cursor: pointer; box-shadow: 0 8px 24px -8px rgba(20, 51, 92, 0.5);
}
.form-submit:hover { background: #0E2440; }
.form-submit[disabled] { opacity: 0.6; cursor: default; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* Portrait placeholder (until a real photo is provided) */
.portrait-placeholder {
  width: 280px; height: 340px; border-radius: 24px;
  background: linear-gradient(150deg, #14335C, #1E4478);
  display: grid; place-items: center; color: #FFFFFF;
}
.portrait-placeholder .monogram { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; }
.portrait-photo { width: 280px; height: 340px; border-radius: 24px; object-fit: cover; display: block; }

/* Utility */
.eyebrow {
  margin: 0 0 14px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
  letter-spacing: 0.14em; color: #A5820A; text-transform: uppercase;
}
[data-hide], [hidden] { display: none !important; }
