:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #4B7A96;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 2px 8px -4px rgba(12, 74, 110, 0.2);
  --shadow-md: 0 20px 40px -24px rgba(12, 74, 110, 0.28);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 0; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

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

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.9rem; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    border: none;
    gap: 2rem;
    background: transparent;
  }
}

/* === Hero (centered) === */
.hero {
  padding-block: 3.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-neutral-light), #ffffff);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 { max-width: 22ch; }
.hero__sub {
  max-width: 52ch;
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}
.hero__figure {
  margin-top: 2.5rem;
}
.hero__figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .hero { padding-block: 6rem 3rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--alt { background: var(--color-neutral-light); }
.section__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
}
.section__head p { color: var(--color-muted); font-size: 1.1rem; }

/* === Intro two-column === */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.intro__figure img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .intro { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .intro--reverse .intro__text { order: 2; }
  .intro--reverse .intro__figure { order: 1; }
}

/* === Prose === */
.prose { max-width: 68ch; margin-inline: auto; }
.prose p { font-size: 1.075rem; }

/* === Grid & cards === */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin: 0 0 .5rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.98rem; }

/* === Testimonial === */
.section--testimonial { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.section--testimonial h2, .section--testimonial p, .section--testimonial cite { color: var(--color-neutral-light); }
.testimonial {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
}
.testimonial p { margin-bottom: 1.25rem; }
.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-secondary);
  letter-spacing: 0.03em;
}

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band__inner { text-align: center; max-width: 60ch; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card, .contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px dashed var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); }

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}
.contact-form label span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-neutral-dark);
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem !important;
}
.form-consent input { width: auto !important; margin-top: 4px; }
.form-consent span { display: inline; font-weight: 400 !important; margin: 0 !important; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.tagline { color: rgba(240, 249, 255, 0.8); font-style: italic; margin-top: 0.75rem; }
.footer__title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.footer__legal { margin-top: 1rem !important; font-size: 0.88rem; }
.footer__legal a { color: rgba(240, 249, 255, 0.75); }
.site-footer__base {
  border-top: 1px solid rgba(240, 249, 255, 0.15);
  padding-block: 1.25rem;
  font-size: 0.88rem;
  color: rgba(240, 249, 255, 0.7);
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  max-width: 640px;
  margin-inline: auto;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(240,249,255,0.35); }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 249, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }
