/* ==========================================================================
   Jettco static site
   Colours, sizes and breakpoints taken from the original Elementor build.
   ========================================================================== */

:root {
  --blue: #006db8;        /* brand blue (section backgrounds, accents) */
  --blue-dark: #0b58a9;   /* mobile menu toggle */
  --red: #e62237;         /* logo chevron, submit button */
  --ink: #313131;         /* headings, nav */
  --muted: #898989;       /* body copy on white */
  --quote: #54595f;       /* partnership quote */
  --white: #ffffff;

  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --w-default: 1140px;
  --w-wide: 1350px;
  --w-narrow: 970px;
  --gutter: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* Offset anchor jumps so headings aren't hidden under the sticky header */
section[id] { scroll-margin-top: 70px; }

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: calc(var(--w-default) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide   { max-width: calc(var(--w-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }

@media (max-width: 1366px) {
  .container--wide { max-width: calc(1030px + var(--gutter) * 2); }
}

.section-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-title--light  { color: var(--white); }
.section-title--center { text-align: center; }
.accent { color: var(--blue); }

.body-text,
.body-text p {
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  padding-block: 15px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo img { width: 190px; }

.site-nav ul { display: flex; gap: 10px; }

.site-nav a {
  display: block;
  padding: 13px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active { color: var(--blue); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--blue-dark);
}
.menu-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open  { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1024px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.11);
    display: none;
  }
  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; gap: 0; }

  .site-nav a { padding: 15px var(--gutter); }
  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--blue);
    color: var(--white);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  align-items: center;
  gap: 20px;
  padding-block: 20px 30px;
}

.hero-title {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
}
.hero-title span { display: block; }
.hero-title .line-1 { color: var(--ink); }
.hero-title .line-2 { color: var(--blue); }

.hero-lead {
  text-align: right;
  font-size: 16px;
  line-height: 30px;
  color: var(--ink);
}

/* The photo straddles the white hero and the blue section below it */
.hero-image {
  background: linear-gradient(to bottom, var(--white) 50%, var(--blue) 50%);
}
.hero-image img { width: 100%; }

/* ==========================================================================
   Scope of the activity
   ========================================================================== */

.scope {
  background: var(--blue);
  color: var(--white);
  padding-block: 25px 5vw;
}

.scope p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 20px;
}

.scope-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
}

.card-icon {
  width: 30%;
  margin: 0 auto 15px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--ink);
  margin-bottom: 20px;
}

.scope .card p {
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   About
   ========================================================================== */

.about { padding-block: 70px; }

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 90px;
}

.about-collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 23px;
  max-width: 573px;
}
.about-collage img { width: 100%; }
.about-collage-stack img + img { margin-top: -2.5px; }
.about-collage-tall { margin-top: 10px; }

.about-text p {
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Partnership
   ========================================================================== */

.partnership { padding-block: 50px 70px; }

.partner-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.partner-quote blockquote { margin: 0; }

.partner-quote blockquote p {
  padding-inline: 50px;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  line-height: 24px;
  color: var(--quote);
}

.quote-mark { width: 40px; }
.quote-mark--close { margin: -20px 0 0 auto; }

.partner-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}
.partner-more p + p { margin-top: 15px; }
.partner-more img { width: 100%; }

/* ==========================================================================
   Historical highlights
   ========================================================================== */

.highlights {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  padding-block: 70px 5vw;
}

.highlights .section-title { margin-bottom: 50px; position: relative; z-index: 2; }

.dots { position: absolute; pointer-events: none; }
.dots--left  { top: 60px; left: 8%; }
.dots--right { bottom: 30px; right: 8%; }

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 32px;
  color: var(--white);
  background: url("../images/stat-line.png") no-repeat left top / 12px 100%;
  min-height: 120px;
}

.stat strong {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.stat span {
  font-size: 16px;
  line-height: 24px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { padding-block: 70px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 30px;
  align-items: center;
}

.contact-details {
  display: grid;
  gap: 28px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; fill: var(--white); }

.contact-details h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-details a,
.contact-details address {
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.contact-details a { transition: color 0.2s; }
.contact-details a:hover,
.contact-details a:focus-visible { color: var(--blue); }

.contact-map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-main {
  background: var(--blue);
  color: var(--white);
  padding-block: 4vw;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-brand img { width: 190px; margin-bottom: 20px; }

.footer-brand p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 20px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(18px + 1.2em * 18 / 16);
  height: calc(18px + 1.2em * 18 / 16);
  border-radius: 50%;
  background: var(--white);
  transition: opacity 0.2s;
}
.social:hover { opacity: 0.85; }
.social svg { width: 18px; height: 18px; fill: var(--blue); }

.footer-col h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col li { font-size: 16px; padding-block: 3px; }
.footer-col a:hover { text-decoration: underline; }

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.contact-list svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: var(--white);
  transform: translateY(2px);
}

.footer-bottom p {
  text-align: center;
  font-size: 14px;
  line-height: 30px;
  color: var(--ink);
  padding-block: 10px;
}

/* ==========================================================================
   Tablet (≤1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .about-inner { gap: 40px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .dots--left { left: 2%; }
  .dots--right { right: 2%; }
}

/* ==========================================================================
   Mobile (≤767px)
   ========================================================================== */

@media (max-width: 767px) {
  .section-title,
  .hero-title { font-size: 30px; }

  .hero-intro { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-lead { text-align: center; }

  .scope { text-align: center; }
  .scope p { font-size: 14px; }
  .scope-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 30px; }
  .card h3 { text-align: center; }
  .card p { text-align: center; }

  .about-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .about-collage { margin-inline: auto; }
  .about-text { text-align: center; }

  .partnership { padding-top: 0; }
  .partnership .section-title,
  .partnership .body-text { text-align: center; }
  .partner-quote,
  .partner-more { grid-template-columns: minmax(0, 1fr); }
  .partner-logo img { max-width: 220px; margin-inline: auto; }
  .partner-quote blockquote p { padding-inline: 24px; text-align: center; }
  .quote-mark { width: 24px; }
  .quote-mark--close { margin-top: -15px; }

  .highlights .section-title { margin-bottom: 40px; }
  .stats { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .stat strong { font-size: 30px; }
  .stat { min-height: 0; padding-block: 4px; }
  .dots { width: 70px; }
  .dots--left { top: 30px; }

  .contact .section-title,
  .contact .body-text { text-align: center; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .contact-details { max-width: 360px; margin-inline: auto; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 30px; }
  .footer-brand img { margin-inline: auto; }
  .contact-list li { justify-content: center; }
}

