/* Higher Horizons Ltd — site styles
   Brand tokens from ../HHBrand/HH_Brand_Guide.html */

:root {
  --blue:        #035C8F;
  --navy:        #012A45;
  --sky-tint:    #E8F4FD;
  --amber:       #D8820D;
  --amber-light: #F5A523;
  --ink:         #0D1F2D;
  --slate:       #5A6E80;
  --mist:        #EEF3F7;
  --white:       #FFFFFF;

  --font-head: 'Century Gothic', 'Futura', 'Nunito', 'Trebuchet MS', sans-serif;
  --font-body: Calibri, 'Segoe UI', system-ui, -apple-system, sans-serif;

  --maxw: 1080px;
  --pad:  24px;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--mist);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  justify-self: start;
  display: block;
  text-decoration: none;
}
.brand-logo { height: 56px; width: auto; display: block; }
.brand-sub {
  justify-self: center;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.site-nav a:hover { color: var(--blue); background: var(--sky-tint); }
.site-nav a.nav-cta {
  background: var(--blue);
  color: var(--white);
}
.site-nav a.nav-cta:hover { background: var(--navy); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-secondary { background: var(--amber); color: var(--white); }
.btn-secondary:hover { background: var(--amber-light); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: rgba(3, 92, 143, 0.45);
}
.hero::after {
  right: 80px; top: 40px;
  width: 220px; height: 220px;
  background: rgba(216, 130, 13, 0.30);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  padding-bottom: 96px;
  max-width: 760px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}

/* ── Sections ──────────────────────────────────────── */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-tint { background: var(--mist); }
.section-dark { background: var(--navy); color: var(--white); }

.section-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 6px;
}
.section-title.on-dark { color: var(--amber-light); }

.section-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--sky-tint);
}
.section-heading.on-dark {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.section-intro {
  color: var(--slate);
  max-width: 620px;
  margin-bottom: 40px;
  font-size: 1.02rem;
}
.section-dark .section-intro { color: rgba(255, 255, 255, 0.8); }

/* ── Service cards ─────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  padding: 30px 28px;
  box-shadow: 0 2px 14px rgba(1, 42, 69, 0.06);
}
.card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.card p { color: var(--slate); font-size: 0.98rem; }

/* ── Approach ──────────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.approach-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--amber);
  display: block;
  margin-bottom: 8px;
}
.approach-item h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.approach-item p { color: var(--slate); font-size: 0.98rem; }

/* ── About ─────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-inner p { margin-bottom: 16px; color: var(--ink); }
.about-aside {
  background: var(--sky-tint);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.about-aside img { height: 84px; width: auto; margin: 0 auto 16px; }
.about-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.15rem;
  margin-bottom: 0 !important;
}

/* ── Contact ───────────────────────────────────────── */
.contact-lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 0 0 32px;
}
.footer-brandband {
  background: var(--mist);
  padding: 22px 0;
  margin-bottom: 36px;
}
.footer-brandband-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.footer-logo { height: 44px; width: auto; }
.footer-domain {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.footer-domain:hover { text-decoration: underline; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.footer-wordmark span {
  color: var(--amber-light);
  margin-left: 6px;
  font-weight: 700;
}
.footer-inner p { font-size: 0.9rem; }
.footer-inner a { color: var(--amber-light); }

/* ── Header: stack on narrow screens ──────────────── */
@media (max-width: 720px) {
  .header-inner { grid-template-columns: auto 1fr; row-gap: 10px; }
  .brand { grid-row: 1; grid-column: 1; }
  .site-nav { grid-row: 1; grid-column: 2; }
  .brand-sub {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

/* ── Blue outline button (light backgrounds) ───────── */
.btn-outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--sky-tint); }

/* ── Dark CTA section ──────────────────────────────── */
.contact-inner { max-width: 620px; }

/* ── Experience: assignments ──────────────────────── */
.assignment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.assignment {
  border-left: 3px solid var(--sky-tint);
  padding-left: 20px;
}
.assignment h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.assignment-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 8px;
}
.assignment p:last-child { color: var(--slate); font-size: 0.96rem; }

/* ── Experience: industry / platform strips ────────── */
.strips {
  margin-top: 44px;
  display: grid;
  gap: 20px;
}
.strip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  min-width: 110px;
}
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.strip li {
  background: var(--sky-tint);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Testimonials ─────────────────────────────────── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.quote {
  background: var(--white);
  border-radius: 12px;
  border-top: 4px solid var(--amber);
  padding: 26px 24px;
  box-shadow: 0 2px 14px rgba(1, 42, 69, 0.06);
}
.quote p {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.quote cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ── Contact page ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.contact-form { display: grid; gap: 18px; max-width: 520px; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.contact-form .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 2px solid #C1CFDA;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--mist);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--slate); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(3, 92, 143, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
  max-width: 520px;
}
.form-status:empty { display: none; }
.form-status.is-error { color: #C0392B; }

.privacy-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--slate);
  max-width: 520px;
}

.contact-aside { display: grid; gap: 22px; align-content: start; }
.aside-block .ib-label,
.next {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 8px;
}
.next { text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 600; }
.phone-svg {
  height: 26px;
  width: auto;
  display: block;
}
.aside-block.trading { font-size: 0.85rem; color: var(--slate); line-height: 1.5; }
.trading-name { font-weight: 700; color: var(--ink); }

/* ── Footer (restructured) ────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 24px;
}
.footer-id .footer-wordmark { display: block; margin-bottom: 4px; }
.footer-id p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-id a { color: var(--amber-light); font-size: 0.88rem; font-weight: 600; }
.trading p { font-size: 0.85rem; line-height: 1.55; }
.trading .trading-name { color: rgba(255, 255, 255, 0.85); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}
.footer-legal p { font-size: 0.82rem; }

/* ── Responsive ────────────────────────────────────── */
@media (min-width: 780px) {
  .about-inner { grid-template-columns: 1.6fr 1fr; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}
@media (max-width: 560px) {
  .site-nav a { padding: 6px 9px; font-size: 14px; }
  .brand-logo { height: 44px; }
  .brand-sub { font-size: 0.66rem; letter-spacing: 0.1em; }
  .hero-brand img { height: 38px; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .strip-label { min-width: 0; width: 100%; }
}
