/* Horizon Consulting website 2.0.0 (2026-12-02): own design, no framework.
   Colours: the company's navy #37517e and accent #47b2e4, with the staff
   portal's tokens, so the website and the portal look like one company.
   Font: Plus Jakarta Sans from this site (assets/fonts, SIL OFL). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --navy: #37517e;
  --navy-deep: #293b5c;
  --ink: #0f2343;
  --accent: #47b2e4;
  --accent-light: #74c8f0;
  --soft: #d7e3ff;
  --page: #ffffff;
  --tint: #f3f5fa;
  --text: #191c20;
  --muted: #44474e;
  --line: #e2e2e9;
  --line-strong: #c4c6d0;
  --ok: #006c53;
  --ok-soft: #d6f5ea;
  --error: #ba1a1a;
  --error-soft: #ffdad6;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--page); }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sprite { display: none; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 15px; height: 15px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; border-radius: 8px; }
.brand span { font: 700 19px/1 var(--font); color: var(--ink); letter-spacing: -.2px; }
.brand.light span { color: #fff; }
.menu ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 20px; color: var(--text); font: 500 15px/1 var(--font); text-decoration: none; }
.menu a:hover { background: var(--tint); }
.menu a.btn-login { margin-left: 10px; padding: 0 24px; background: var(--navy); color: #fff; font-weight: 600; }
.menu a.btn-login:hover { background: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 22px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 28px; border-radius: 25px; border: 0; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ink); }
.btn:disabled { opacity: .7; cursor: wait; }

/* banner */
.hero { position: relative; overflow: hidden; color: #fff; padding: 76px 0 92px; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, #3f6ba0 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.2px); background-size: 24px 24px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 7px 16px; border-radius: 20px; background: rgba(71, 178, 228, .18); color: #c4e8fa; font: 600 13px/1.2 var(--font); letter-spacing: .6px; text-transform: uppercase; }
.hero h1 { margin: 20px 0 18px; font: 700 58px/1.06 var(--font); letter-spacing: -1.4px; }
.hero h1 span { display: block; color: var(--accent-light); }
.lead { margin: 0; max-width: 32em; color: #d9e2f2; font-size: 18px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #c9d6ea; font-size: 14.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; }
.hero-art img { width: 100%; height: auto; }

/* sections */
.section { padding: 92px 0; }
.section.tint { background: var(--tint); }
.h2 { margin: 0 0 12px; font: 700 38px/1.15 var(--font); letter-spacing: -.6px; color: var(--ink); }
.h2::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 18px; border-radius: 2px; background: var(--accent); }
.head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.head .h2::before { margin-left: auto; margin-right: auto; }
.head p { margin: 0; color: var(--muted); font-size: 17px; }

/* about: why choose us */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about-grid p { color: var(--muted); }
.about-grid .sub { margin: 0 0 18px; font: 600 20px/1.4 var(--font); color: var(--navy); }
.about-grid .btn { margin-top: 10px; }
.reasons { margin: 0; padding: 10px 30px; list-style: none; border-radius: 24px; background: linear-gradient(150deg, var(--navy-deep), var(--navy)); }
.reasons li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.reasons li:last-child { border-bottom: 0; }
.reasons .no { min-width: 44px; font: 700 28px/1 var(--font); color: var(--accent-light); }
.reasons b { display: block; font: 700 17px/1.3 var(--font); color: #fff; }
.reasons .why { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: #c9d6ea; }

/* services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 30px 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--soft); color: var(--navy); }
.tile .ic { width: 28px; height: 28px; }
.card h3 { margin: 20px 0 8px; font: 700 19px/1.3 var(--font); color: var(--ink); }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.list { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.list li { display: flex; gap: 9px; padding: 4px 0; font-size: 14.5px; line-height: 1.45; }
.list .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--ok); stroke-width: 2.4; }

/* partners */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.logos li { display: flex; align-items: center; justify-content: center; height: 116px; padding: 18px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.logos img { width: auto; height: auto; max-height: 50px; max-width: min(200px, 100%); object-fit: contain; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.info { display: flex; gap: 16px; padding-bottom: 20px; }
.info b { display: block; margin-bottom: 3px; font: 600 15px/1.3 var(--font); color: var(--ink); }
.info .val { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.info a.val { text-decoration: none; }
.info a.val:hover { color: var(--navy); text-decoration: underline; }
.dot { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 23px; background: var(--soft); color: var(--navy); flex: none; }
.map { display: block; width: 100%; height: 260px; margin-top: 6px; border: 0; border-radius: 16px; background: var(--tint); }
.form { display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 7px; font: 600 14px/1.3 var(--font); color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff; font: 400 15px/1.5 var(--font); color: var(--text); }
.field input { height: 50px; }
.field textarea { padding: 13px 16px; min-height: 190px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(55, 81, 126, .18); }
.form .btn { align-self: flex-start; }

/* footer */
.site-footer { background: var(--navy-deep); color: #c9d3e6; padding-top: 60px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 48px; padding-bottom: 40px; }
.site-footer p { margin: 14px 0 0; line-height: 1.6; }
.site-footer h2 { margin: 4px 0 0; font: 700 15px/1.3 var(--font); color: #fff; letter-spacing: .3px; }
.site-footer ul { margin: 12px 0 0; padding: 0; list-style: none; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #c9d3e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { padding-top: 20px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #aab4c9; }

/* the contact form's answer (status and msg from send_email.php; custom.js) */
.result { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 35, 67, .55); }
.result[hidden] { display: none; }
.result-box { width: 100%; max-width: 440px; padding: 34px 32px 30px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(15, 35, 67, .35); }
.result-icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 33px; background: var(--ok-soft); color: var(--ok); }
.result-error .result-icon { background: var(--error-soft); color: var(--error); }
.result-icon .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.result-box h2 { margin: 18px 0 8px; font: 700 22px/1.3 var(--font); color: var(--ink); }
.result-box p { margin: 0 0 24px; color: var(--muted); }
.result-box .btn { min-width: 150px; height: 46px; }

/* tablet and phone */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15, 35, 67, .12); }
  .site-header.open .menu { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; }
  .menu a { height: 50px; padding: 0 14px; font-size: 16px; border-radius: 14px; }
  .menu a.btn-login { display: flex; justify-content: center; margin: 10px 0 0; border-radius: 25px; }
  .hero { padding: 48px 0 60px; }
  .hero-grid, .about-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: 42px; letter-spacing: -1px; }
  .lead { font-size: 17px; }
  .hero-art { max-width: 440px; margin: 0 auto; }
  .section { padding: 64px 0; }
  .h2 { font-size: 30px; }
  .about-grid { gap: 32px; }
  .foot-grid { gap: 28px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .brand span { font-size: 17px; }
  .brand img { height: 36px; }
  .actions .btn { flex: 1 1 100%; }
  .cards, .row2 { grid-template-columns: 1fr; }
  .logos { gap: 10px; }
  .logos li { height: 78px; padding: 10px 12px; border-radius: 14px; }
  .logos img { max-height: 30px; }
  .panel { padding: 22px 20px; }
  .form .btn { align-self: stretch; }
  .reasons { padding: 4px 22px; }
  .reasons li { gap: 14px; padding: 18px 0; }
  .map { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
