/* ================================================================
   HISTORY & AWARDS PAGE TEMPLATE
   Figma: node 1700:13063 (desktop) · 1700:12815 (mobile)
   Depends on: ../../style.css (design tokens + layout utilities)
   ================================================================ */


/* ================================================================
   S1 — HERO BANNER
   ================================================================ */

/* ── Section ─────────────────────────────────────────────────── */

/* Small vertical gap above/below the inset card (desktop) */
.ha-hero {
  padding-top: 20px;
  background: #fff;
}

/* ── Card ────────────────────────────────────────────────────── */

.ha-hero__card {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-1, 0 0 12px rgba(0, 0, 0, 0.09));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 115px 118px 135px;
}

/* ── Background layers ───────────────────────────────────────── */

.ha-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Full-cover photo */
.ha-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Subtle dark veil for base contrast */
.ha-hero__overlay {
  position: absolute;
  inset: 0;
}

/* Navy gradient — transparent at top, opaque at bottom */
.ha-hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
}

/* ── Content ─────────────────────────────────────────────────── */

.ha-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 778px;
  width: 100%;
  padding: 0 24px;
}

.ha-hero__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Eyebrow pill */
.ha-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--color-teal, #4FBEBE);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  color: var(--color-primary, #071D49);
  text-transform: uppercase;
  white-space: nowrap;
}

/* H1 */
.ha-hero__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h1, 54px);
  font-weight: var(--fw-h1, 600);
  line-height: var(--lh-h1, 1.16);
  letter-spacing: var(--ls-h1, 0.02em);
  color: #fff;
  margin: 0;
}

/* Body */
.ha-hero__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-hero-body, 20px);
  font-weight: var(--fw-hero-body, 500);
  line-height: var(--lh-hero-body, 1.40);
  letter-spacing: var(--ls-hero-body, 0.2px);
  color: #fff;
  margin: 0;
  max-width: 564px;
}

/* ── Responsive — laptop ≤1366px ─────────────────────────────── */

@media (max-width: 1366px) {
  .ha-hero__card    { min-height: 420px;  }
 
}

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ha-hero {padding: 0;}
  .ha-hero__card    { min-height: 380px; border-radius: 0; padding: 64px 40px 88px;}
}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  /* Remove inset gap — hero goes full-bleed on mobile */
  .ha-hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Card becomes a full-width section, height driven by content */
  .ha-hero__card {
    height: auto;
    border-radius: 0;
    box-shadow: none;
    padding: 80px 20px;
    align-items: flex-start;
    min-height: 0;
  }

  .ha-hero__content {
    max-width: 100%;
    padding: 0;
    gap: 24px;
  }
}


/* ================================================================
   S2 — HISTORY INTRO
   Figma: node 1700:13264
   ================================================================ */

/* ── Section ─────────────────────────────────────────────────── */

.ha-intro { 
  padding-bottom: var(--site-py-flush);
  position: relative;
  padding-left: var(--site-px);
  padding-right: var(--site-px);
}

/* ── Tinted card ─────────────────────────────────────────────── */

.ha-intro__card {
  background: #E8EDF6;
  border-radius: 32px;
  padding: 64px;
  max-width: 1440px;
  margin: 0 auto;
  margin-top: -60px;
}

/* ── Two-column layout ───────────────────────────────────────── */

.ha-intro__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Left: text column ───────────────────────────────────────── */

.ha-intro__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ha-intro__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ha-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-teal, #4FBEBE);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.03em;
  color: var(--color-primary, #071D49);
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
}

.ha-intro__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--color-text);
  margin: 0;
}

.ha-intro__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--color-text);
}

.ha-intro__body p { margin: 0 0 1em; }
.ha-intro__body p:last-child { margin-bottom: 0; }

.ha-intro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--color-primary, #071D49);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
  align-self: flex-start;
  white-space: nowrap;
  gap: 8px;
}

.ha-intro__btn:hover { opacity: 0.80; color: #fff; }

/* ── Right: alternating feature rows ────────────────────────── */

.ha-intro__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.ha-intro__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
}

/* Odd rows: swap order — photo first, feature card second */
.ha-intro__row--odd .ha-intro__feature-card { order: 2; }
.ha-intro__row--odd .ha-intro__photo-wrap   { order: 1; }

/* White feature card */
.ha-intro__feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  position: relative;
  aspect-ratio: 1 / 1;
}

/* Navy icon circle */
.ha-intro__icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary, #071D49);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.ha-intro__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ha-intro__card-heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h4);
    font-weight: var(--fw-h4);
    line-height: var(--lh-h4);
  color: var(--color-primary, #071D49);
  margin: 0;
}

.ha-intro__card-body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body);
  color: var(--color-text);
  margin: 0;
}

/* Photo tile */
.ha-intro__photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  position: relative;

}

.ha-intro__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1366px)
{
 
}
/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ha-intro {padding: 0;}
  .ha-intro__card   {
    padding: var(--site-py) var(--site-px);
    border-radius: 32px 32px 0 0;
    margin-top: -30px;
    position: relative;
  }
  .ha-intro__layout { grid-template-columns: 1fr; gap: 48px; position: relative;}
  .ha-intro__heading { font-size: 36px; }
}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  .ha-intro {
    padding-top: 0;
    padding-bottom: 0;
  }

   .ha-intro__icon-circle{
    width: 32px;
    height: 32px;
  }

  .ha-intro__icon {
    width: 16px;
    height: 16px;
  }

  .ha-intro__btn {width: 100%;}
  .ha-intro__layout  { gap: 40px; }
  .ha-intro__heading { font-size: 30px; }

  /* Stack each row vertically on mobile */
  .ha-intro__row { grid-template-columns: 1fr; gap: 0px; }
  
  .ha-intro__row--odd .ha-intro__photo-wrap   { order: unset; }

  .ha-intro__photo-wrap { border-radius: 20px 20px 0 0; }
  .ha-intro__feature-card {
    height: auto;
    order: 2;
    border-radius: 0 0 20px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .ha-intro__card-heading {
    flex: 1;
    margin: 0;
  }

  .ha-intro__card-body {
    width: 100%;
  }

}


/* ================================================================
   S3 — AWARDS GRID
   Figma: node 1700:13073
   ================================================================ */

/* ── Section ─────────────────────────────────────────────────── */

.ha-awards {
  background: #fff;
  padding-top: var(--site-py-flush);
  padding-bottom: var(--site-py-flush);
}

/* ── Centered section header ─────────────────────────────────── */

.ha-awards__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin: 0 auto var(--site-py-flush);
}

.ha-awards__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-teal, #4FBEBE);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-primary, #071D49);
  text-transform: uppercase;
  white-space: nowrap;
}

.ha-awards__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--color-primary, #071D49);
  margin: 0;
}

.ha-awards__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body-s);
  color: var(--color-text);
  margin: 0;
}

/* ── 3-column logo grid ──────────────────────────────────────── */

.ha-awards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--site-py-flush);
}

/* Award card */
.ha-awards__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}


.ha-awards__logo {
  height: 84px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.ha-awards__caption {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-h5);
  font-weight: var(--fw-h5);
  line-height: var(--lh-h5);
  color: var(--color-text);
  margin: 0;
}

/* Read More — text + arrow row with 96px underline below, revealed on card hover */
.ha-awards__read-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-text, #1E153D);
}

.ha-awards__read-more-inner {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ha-awards__read-more-text {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ha-awards__read-more-line {
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.25s ease;
}

.ha-awards__card:hover .ha-awards__read-more-line { width: 96px; }

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ha-awards {padding-top: var(--site-py);}
  .ha-awards__grid    { grid-template-columns: repeat(2, 1fr); }
  .ha-awards__header  { margin-bottom: 40px; }
}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  .ha-awards__grid   { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ha-awards__logo   { height: 60px; }
  .ha-awards__card   { padding: 16px; }
}

/* ================================================================
   S4 — ETHOS
   Figma: node 1700:13111
   Full-width 50/50 split — no site-container
   ================================================================ */

/* ── Section ─────────────────────────────────────────────────── */

.ha-ethos {
  background: #fff;
  overflow: hidden;
  padding: var(--site-py-flush) 0;
}

.ha-ethos__inner {
  display: flex;
  min-height: 600px;
}

/* ── Left: full-height image ─────────────────────────────────── */

.ha-ethos__img-wrap {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  /* Right side only gets rounded corners */
  border-radius: 0 32px 32px 0;
  aspect-ratio: 16 / 9;
}

.ha-ethos__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Right: text content ─────────────────────────────────────── */

.ha-ethos__content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: var(--site-py) var(--site-px);
  max-width: 720px;
}

.ha-ethos__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-teal, #4FBEBE);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-primary, #071D49);
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
}

.ha-ethos__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--color-primary, #071D49);
  margin: 0;
}

.ha-ethos__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--color-text);
}

.ha-ethos__body p { margin: 0 0 1em; }
.ha-ethos__body p:last-child { margin-bottom: 0; }

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {

  .ha-ethos{
    padding-bottom: 0;
  }

  .ha-ethos__inner {
    flex-direction: column;
    min-height: auto;
  }

  .ha-ethos__img-wrap {
    flex: none;
    border-radius: 0 50px 0 0;
  }

  .ha-ethos__content {
    flex: none;
    max-width: 100%;
    padding-bottom: var(--site-py-flush);
    background: var(--color-stroke);
  }


}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  .ha-ethos__img-wrap {
    height: 260px;
  }

}


/* ================================================================
   S5 — FEATURED ARTICLES
   Figma: node 1700:13119
   ================================================================ */

/* ── Section ─────────────────────────────────────────────────── */

.ha-articles {
  background: #fff;
  padding-top: var(--site-py-flush);
  padding-bottom: var(--site-py);
}

/* ── 3-column card grid ──────────────────────────────────────── */

.ha-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Article card */
.ha-articles__card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-1, 0 0 12px rgba(0, 0, 0, 0.09));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Photo */
.ha-articles__photo-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.ha-articles__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Content */
.ha-articles__content {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ha-articles__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h4);
  font-weight: var(--fw-h4);
  line-height: var(--lh-h4);
  color: var(--color-primary, #071D49);
  margin: 0;
}

.ha-articles__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s);
    font-weight: var(--fw-body-s);
    line-height: var(--lh-body-s);
    color: var(--color-text);
  margin: 0;
}

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ha-articles__grid  { grid-template-columns: repeat(2, 1fr); }

  section.ha-articles.site-band {
    background: var(--color-stroke);
}

}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  .ha-articles__grid  { grid-template-columns: 1fr; }
  .ha-articles__content { padding: 20px 20px 24px; }
}



/* ================================================================
   S6 — CTA BANNER
   Figma: node 1700:13250
   Dark card with gradient — matches sp-cta pattern
   ================================================================ */

/* ── Section ─────────────────────────────────────────────────── */

.ha-cta {
  background: var(--color-stroke);
  padding-top: var(--site-py);
  padding-bottom: var(--site-py-flush);
}

/* ── Dark card ───────────────────────────────────────────────── */

.ha-cta__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 380px;
}

/* ── Background layers ───────────────────────────────────────── */

.ha-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Deep dark base */
.ha-cta__bg-dark {
  position: absolute;
  inset: 0;
  background: #060f20;
  opacity: 0.89;
}

/* Soft teal-to-navy glow */
.ha-cta__bg-gradient {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    129deg,
    #4fbebe 24%,
    #071D49 70%,
    #1E153D 94%
  );
  opacity: 0.35;
  filter: blur(37px);
}

/* ── Content ─────────────────────────────────────────────────── */

.ha-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  width: 100%;
}

.ha-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-teal, #4FBEBE);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-primary, #071D49);
  text-transform: uppercase;
  white-space: nowrap;
}

.ha-cta__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

.ha-cta__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body-s);
  color: #fff;
  margin: 0;
  max-width: 540px;
}

.ha-btn-container {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.ha-cta__btn {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #fff;
    border-radius: 99px;
    font-family: var(--font-body);
    font-size: var(--fs-action);
    font-weight: var(--fw-action);
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    gap: 6px;
}

.ha-cta__btn:hover { opacity: 0.88; color: var(--color-text); }

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ha-cta { padding: 0; }
  .ha-cta__card    { padding: 60px 40px; border-radius: 0; }
  .ha-cta__heading { font-size: 36px; }
}

/* ── Responsive — mobile ≤767px ──────────────────────────────── */

@media (max-width: 767px) {
  .ha-cta {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ha-cta__card {
    border-radius: 0;
    padding: 60px 20px;
    min-height: auto;
  }

  .ha-btn-container {flex-direction: column;}

  .ha-cta__heading { font-size: 30px; }
  .ha-cta__body    { font-size: 16px; }
}


/* ================================================================
   S7 — GOOGLE REVIEWS
   Figma: node 1700:13196
   ================================================================ */

.ha-reviews {
  background: #E8EDF6;
  padding: var(--site-py-flush) 0 var(--site-py);
}

.ha-reviews .review-box {
    background: #fff;
    border-radius: 16px;
}

/* ── Responsive — tablet ≤1024px ─────────────────────────────── */

@media (max-width: 1024px) {
  .ha-reviews {
    padding-top: var(--site-py);
  }
}