/* ============================================================
   SHARED SITE STYLES — used by every page.
   Change a colour, font or button here and it changes everywhere.
   Page-specific styles stay in each page's own <style> block.

   Sage + white are the two main colours. Forest green is the
   accent: button text, links, small highlights. Pale sage is the
   contrast background for light sections, with charcoal text.
   Flat colour only: no gradients, no drop shadows.

   Anton      = headlines (H1, H2) and buttons, always uppercase
   Montserrat = small eyebrow labels (bold) and the wordmark (regular)
   Inter      = body copy and nav links
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-label: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* mains */
  --sage: #A1AFAE;          /* primary background (a touch darker than the #A9B7B6 spec) */
  --sage-pale: #E6EBEA;     /* light contrast sections */
  --white: #FFFFFF;
  --charcoal: #2F3130;      /* text on light sections, header, footer */

  /* accent */
  --green: #2D6A4F;
  --green-dark: #24563F;    /* hover */

  /* borders & text */
  --border-light: rgba(255,255,255,0.45);   /* on sage */
  --border-dark: rgba(47,49,48,0.18);       /* on pale sage / white */
  --text-muted-dark: rgba(47,49,48,0.62);   /* on pale sage / white */
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  background: var(--sage-pale);
  color: var(--charcoal);
}

/* ============================================================
   TYPE — eyebrow labels and section headings
============================================================ */
.info-label, .contact-strip p, .banner-sub {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.info-label {
  font-size: 0.7rem;
  color: var(--green);
  margin-bottom: 1.1rem;
}

.info-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BUTTONS — Anton uppercase, square corners, generous padding
     .btn--light    on sage: white fill, green text (hover inverts)
     .btn--outline  on sage: white outline (secondary)
     .btn--green    on light backgrounds: green fill, white text
============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  line-height: 1;
  padding: 1.15rem 2.75rem;
  border: 2px solid var(--white);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--light { background: var(--white); color: var(--green); }
.btn--light:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.btn--outline { background: transparent; color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--green); }

.btn--green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* ============================================================
   HEADER BAR — wordmark left, nav right, charcoal text on sage
============================================================ */
.banner {
  padding: 36px 6vw;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

/* Wordmark: Montserrat Regular (Anton only comes in one heavy weight) */
.banner-title {
  font-family: var(--font-label);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.banner-sub {
  font-size: 0.62rem;
  color: var(--charcoal);
}

.banner-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.banner-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.banner-nav a:hover { color: var(--green); }

/* ============================================================
   LISTS — ruled rows, name left, detail right
============================================================ */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.info-list li:first-child { border-top: 1px solid var(--border-dark); }
.info-list li span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted-dark);
  text-align: right;
}

/* Drop-down list: click the row or the arrow to open.
   Uses <details>, so it works with no script. */
.dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 14px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary .info-label { margin-bottom: 0; }
.dropdown-arrow {
  width: 36px;
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border-radius: 2px;
  transition: background 0.2s;
}
.dropdown summary:hover .dropdown-arrow { background: var(--green-dark); }
.dropdown-arrow svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--white); stroke-width: 2.5;
  transition: transform 0.2s;
}
.dropdown[open] .dropdown-arrow svg { transform: rotate(180deg); }
.dropdown .info-list li:first-child { border-top: 0; }

/* ============================================================
   CONTACT STRIP + FOOTER
============================================================ */
.contact-strip {
  background: var(--sage);
  padding: 88px 6vw;
  text-align: center;
}

.contact-strip p {
  font-size: 0.75rem;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.whatsapp-cta svg { width: 18px; height: 18px; fill: currentColor; }

footer {
  background: var(--charcoal);
  padding: 22px 6vw;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  justify-content: space-between;
}

/* ============================================================
   PHONES
============================================================ */
@media (max-width: 700px) {
  .banner { padding: 24px 6vw; gap: 1rem; }
  .banner-title { font-size: 1.05rem; }
  .banner-title, .banner-sub { white-space: nowrap; }
  .banner-nav { gap: 1.25rem; }
  .info-list li span { flex: none; }
  /* stacked lists (exam boards): name above detail, so long lines don't squash */
  .info-list--stack li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .info-list--stack li span { flex: initial; text-align: left; }
  .btn { font-size: 1rem; padding: 1rem 2rem; }
  .contact-strip { padding: 64px 6vw; }
}
