:root {
  --color-primary: #1E3A5F;
  --color-secondary: #F2EDE3;
  --color-accent: #C97B3D;
  --color-neutral-dark: #0D1A2A;
  --color-neutral-light: #FAF6EE;
  --font-heading: 'Lora', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --container: 1100px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; font-weight: 600; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

/* === Layout (sidebar + content) === */
.layout { display: block; }

.sidebar {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.sidebar-nav { margin-top: 1.25rem; }
.nav-toggle {
  background: transparent;
  color: var(--color-neutral-light);
  border: 1px solid rgba(250,246,238,0.4);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.nav-list {
  display: none;
  margin-top: 1rem;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-list.is-open { display: flex; }
.nav-list a {
  color: var(--color-neutral-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(250,246,238,0.12);
  display: block;
}
.nav-list a:hover { color: var(--color-accent); }
.sidebar-foot {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.content { padding: 0; }

@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
  }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .nav-list {
    display: flex !important;
    margin-top: 2.5rem;
    gap: 0.25rem;
  }
  .sidebar-foot { margin-top: auto; }
  .content { padding: 0; }
}

/* === Sections shared === */
section { padding: 3.5rem 1.25rem; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}
.sub {
  font-size: 1.1rem;
  color: rgba(13,26,42,0.75);
  max-width: 56ch;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); transform: translateY(-1px); }
.btn-accent  { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: #b06a30; color: var(--color-neutral-light); transform: translateY(-1px); }
.cta-row { margin-top: 1.5rem; }

/* === Hero === */
.hero {
  padding: 4rem 1.25rem 3rem;
  max-width: var(--container);
  margin: 0 auto;
}
.hero h1 { max-width: 18ch; }
.hero .sub { font-size: 1.2rem; max-width: 52ch; }
.hero-figure { margin: 2.5rem 0 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .hero { padding: 5.5rem 2rem 4rem; }
}

/* === Intro === */
.intro { background: var(--color-secondary); }
.intro-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.intro-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.intro-text p { font-size: 1.05rem; }
@media (min-width: 800px) {
  .intro { padding: 5rem 2rem; }
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .intro-grid-reverse > .intro-figure { order: 2; }
  .intro-grid-reverse > .intro-text   { order: 1; }
}

/* === Highlights / cards === */
.highlights { max-width: var(--container); margin: 0 auto; }
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.card {
  background: #fff;
  border: 1px solid rgba(30,58,95,0.08);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(13,26,42,0.04);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.card h3 { color: var(--color-primary); }
.card p { margin: 0; color: rgba(13,26,42,0.8); }
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* === Testimonial === */
.testimonial {
  background: var(--color-neutral-light);
  text-align: center;
}
.testimonial blockquote {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.45;
  color: var(--color-primary);
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--color-neutral-dark);
}
.testimonial-alt { background: var(--color-secondary); }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,246,238,0.85); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 0;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.footer-h {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--color-neutral-light);
}
.footer-brand { font-family: var(--font-heading); font-size: 1.4rem; margin: 0 0 0.25rem; }
.footer-tag   { color: var(--color-accent); font-weight: 600; margin: 0 0 1rem; }
.footer-pitch { font-size: 0.95rem; opacity: 0.85; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col a { color: var(--color-neutral-light); text-decoration: none; }
.footer-col a:hover { color: var(--color-accent); text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; }
.footer-copy {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250,246,238,0.15);
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: center;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
  font-size: 0.95rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner button {
  background: var(--color-accent);
  color: var(--color-neutral-light);
  border: 0;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: flex-start;
}
.cookie-banner button:hover { background: #b06a30; }
body.cookies-accepted .cookie-banner { display: none; }
@media (min-width: 700px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 420px;
    flex-direction: row;
    align-items: center;
  }
  .cookie-banner button { align-self: center; flex-shrink: 0; }
}
