/* ── Fonts ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/raleway-v37-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-v51-latin.woff2') format('woff2');
}

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --teal:  #004F4D;
  --gray:  #79717A;
  --mauve: #A68F97;
  --plum:  #4B4952;
  --white: #FFFFFF;

  /* Spacing scale — multiples of 8 */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-7:  64px;
  --sp-8:  80px;
  --sp-9:  96px;
  --sp-10: 120px;

  /* Layout */
  --container:        1100px;
  --container-narrow: 660px;
  --container-header: 1200px;
  --radius:           16px;
  --gap:              48px;
}

/* ── Reset & base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: var(--plum);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

/* ── Layout: containers ────────────────────────────────────────────── */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.section-inner.narrow { max-width: var(--container-narrow); }

/* ── Layout: sections ──────────────────────────────────────────────── */
.section { padding: var(--sp-9) 0; }

.section.alt {
  background: var(--mauve);
  color: var(--white);
}

.section.alt h1,
.section.alt h2,
.section.alt h3 { color: var(--white); }

.section.alt a { color: var(--white); text-decoration: underline; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gray);
  height: 72px;
}

.header-inner {
  max-width: var(--container-header);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
  align-items: center;
}

.site-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.site-nav a:hover { color: rgba(255,255,255,0.65); text-decoration: none; }
.site-nav a.active { text-decoration: underline; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Home hero ─────────────────────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: var(--sp-10) 0 var(--sp-8);
}

.home-hero img {
  max-width: 160px;
  margin: 0 auto var(--sp-6);
}

.home-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: 0.02em;
  max-width: 680px;
  margin: 0 auto var(--sp-3);
}

.home-hero .lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Page hero ─────────────────────────────────────────────────────── */
.page-hero {
  padding: var(--sp-8) 0 var(--sp-6);
  border-bottom: 1px solid rgba(75,73,82,0.1);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: 0.02em;
  max-width: var(--container-narrow);
}

/* ── Typography ────────────────────────────────────────────────────── */
h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: var(--sp-3);
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.03em;
}

p { margin-bottom: var(--sp-2); }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); }

/* ── Two-column grid ───────────────────────────────────────────────── */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.page-grid-text h2 { margin-top: 0; }

/* ── Media blocks ──────────────────────────────────────────────────── */
.media-block img {
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Lists ─────────────────────────────────────────────────────────── */
.bullet-list li {
  position: relative;
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-1);
  line-height: 1.6;
}

.bullet-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--teal);
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.82; }

.section.alt .btn {
  background: var(--white);
  color: var(--teal) !important;
}

/* ── Price ─────────────────────────────────────────────────────────── */
.price {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--teal);
  margin-bottom: var(--sp-1);
  line-height: 1;
}

.section.alt .price { color: var(--white); }

/* ── Offer cards ───────────────────────────────────────────────────── */
.offer-card {
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(75,73,82,0.1);
}

.offer-card:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.offer-meta {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: var(--sp-2);
}

/* ── Contact ───────────────────────────────────────────────────────── */
.contact-block p { margin-bottom: var(--sp-1); }

/* ── Legal ─────────────────────────────────────────────────────────── */
.legal-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: var(--sp-3);
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: var(--sp-7) 0;
  background: var(--plum);
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
  text-align: center;
}

.footer-brand {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: var(--sp-1);
}

.footer-inner a { color: rgba(255,255,255,0.75); }
.footer-inner a:hover { color: var(--white); }

.footer-legal {
  margin-top: var(--sp-2);
  font-size: 0.8rem;
}

.footer-legal .sep {
  margin: 0 var(--sp-1);
  color: rgba(255,255,255,0.3);
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --gap: 40px; }
  .section-inner,
  .header-inner,
  .footer-inner { padding-left: var(--sp-3); padding-right: var(--sp-3); }
}

@media (max-width: 768px) {
  :root { --sp-9: 72px; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--gray);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-2) var(--sp-3) var(--sp-4);
    gap: var(--sp-2);
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .site-header.nav-open .site-nav { display: flex; }
}

@media (max-width: 600px) {
  :root {
    --sp-9:  64px;
    --sp-10: 80px;
    --gap:   32px;
  }

  .home-hero { padding: var(--sp-7) 0 var(--sp-5); }
  .home-hero img { max-width: 120px; margin-bottom: var(--sp-4); }
  .page-grid { grid-template-columns: 1fr; }
}
