:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 45px -25px rgba(30, 41, 59, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #1d4fd8; color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #ea6a11; color: #fff; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.98rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a:hover { color: var(--color-primary); text-decoration: none; }

.nav-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--color-neutral-dark);
}

@media (min-width: 820px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
  gap: 0.75rem;
}

/* === Hero split === */
.hero { padding-block: 3rem; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__text h1 { margin-bottom: 1rem; }
.hero__sub {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 1.75rem;
  max-width: 52ch;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

.hero-thankyou { text-align: center; padding-block: 4rem 2rem; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { text-align: left; }
.section-intro.alt { background: #fff; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head p { color: #475569; max-width: 60ch; margin-inline: auto; }

/* === Cards === */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid--articles { grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid--articles { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card h3 { margin-top: 0.75rem; }
.card p { color: #475569; margin: 0; }
.card__icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
}
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.card-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* === Testimonial === */
.section-testimonial { background: #fff; }
.testimonial {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.testimonial p { margin-bottom: 1.25rem; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: #64748b;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding-block: 3rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3rem;
}
.article-detail__head { margin-bottom: 1.75rem; }
.article-detail__sub {
  font-size: 1.2rem;
  color: #475569;
  margin-top: 0.5rem;
}
.article-detail__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin: 1.5rem 0 2rem;
}
.article-detail p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.back-link-wrap { margin-top: 2.5rem; }
.back-link { font-weight: 600; }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}
.contact-info h2 { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
}
.hours th { color: var(--color-neutral-dark); font-weight: 600; }
.hours td { color: #475569; }

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.contact-form h2 { margin-top: 0; }
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-neutral-dark);
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #475569;
  margin: 1rem 0 1.25rem;
  line-height: 1.5;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.section-faq details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  background: #fff;
  margin-bottom: 0.75rem;
}
.section-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-neutral-dark);
  list-style: none;
}
.section-faq summary::-webkit-details-marker { display: none; }
.section-faq summary::after { content: '+'; float: right; color: var(--color-primary); font-weight: 700; }
.section-faq details[open] summary::after { content: '−'; }
.section-faq details p { margin-top: 0.75rem; color: #475569; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #cbd5e1;
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.9rem;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 780px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
}
.footer-tagline { color: #94a3b8; margin-top: 0.75rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact address { font-style: normal; line-height: 1.6; }
.footer-legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; font-size: 0.9rem; }
.site-footer__base {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.site-footer__base p { margin: 0; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
  max-width: 620px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-banner__actions button {
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  font-weight: 600;
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a11; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
}
