:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-ink: #0C4A6E;
  --color-muted: #4b6b81;
  --color-line: rgba(12, 74, 110, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-card: 0 30px 60px -30px rgba(12, 74, 110, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }

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

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Header === */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.primary-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}
.primary-nav__list a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-neutral-dark);
  text-decoration: none;
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
  border-bottom-color: var(--color-accent);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); margin: 5px 0; }

@media (max-width: 767px) {
  .nav-toggle { display: inline-block; }
  .primary-nav__list {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 20px 40px -20px rgba(12,74,110,.2);
  }
  .primary-nav__list.is-open { display: flex; }
  .primary-nav__list li { padding: .5rem 0; border-bottom: 1px solid var(--color-line); }
  .primary-nav__list li:last-child { border-bottom: 0; }
  .site-header { position: relative; }
  .primary-nav { position: static; }
}

/* === Hero (card archetype) === */
.hero {
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
  padding: 3rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at top right, rgba(56,189,248,.18), transparent 60%);
  pointer-events: none;
}
.hero-card__card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
}
@media (min-width: 768px) {
  .hero { padding: 5rem 1.5rem 6rem; }
  .hero-card__card { padding: 4rem; }
}
.hero-card__card--slim { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 55ch;
  margin-bottom: 1.75rem;
}
.hero__cta { margin-bottom: 2rem; }
.hero-card__image {
  margin: 2rem 0 0;
}
.hero-card__image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}
.btn--primary:hover { background: var(--color-neutral-dark); color: #ffffff; }
.btn--accent {
  background: var(--color-accent);
  color: #ffffff;
}
.btn--accent:hover { background: #d95a08; color: #ffffff; }

/* === Sections === */
.section {
  padding: 3.5rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section { padding: 5rem 1.5rem; }
}
.section--narrow {
  max-width: 760px;
  text-align: left;
}
.section--tinted {
  max-width: none;
  background: var(--color-neutral-light);
}
.section--tinted > .section__head,
.section--tinted > .cards,
.section--tinted > .contact-card,
.section--tinted > .contact-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }

.section--split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .section--split { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 4rem; }
}
.section__col--media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* === Cards === */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards--three { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards--three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  box-shadow: 0 10px 30px -20px rgba(12,74,110,.2);
}
.card__icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
  width: 32px;
  height: 32px;
}
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.section--quote { max-width: 900px; }
.testimonial {
  text-align: center;
  margin: 0;
  padding: 2rem 1rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: .95rem;
  color: var(--color-muted);
  margin-top: 1rem;
}
.testimonial-figure {
  display: grid;
  gap: 2rem;
  margin: 0;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .testimonial-figure { grid-template-columns: 1fr 1.4fr; }
}
.testimonial-figure__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* === CTA band === */
.cta-band {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(240,249,255,.85); font-size: 1.1rem; }
.cta-band__inner { max-width: 720px; margin: 0 auto; }

/* === Contact grid / hours === */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid__col address { font-style: normal; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .35rem 0; font-weight: 400; border-bottom: 1px dashed var(--color-line); }
.hours th { color: var(--color-neutral-dark); font-weight: 600; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.contact-card { max-width: 800px; margin: 0 auto; text-align: center; }

/* === Contact form === */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-ink);
}
.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: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .3rem; }

/* === FAQ === */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--color-line);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 1.05rem;
  padding-right: 1rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-light);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-line);
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer__heading { font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: .2rem 0; }
.site-footer a { color: var(--color-neutral-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__tagline { color: var(--color-muted); margin-top: .75rem; }
.site-footer__legal { margin-top: 1rem; }
.site-footer__copy {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
  font-size: .85rem;
  color: var(--color-muted);
}
address { font-style: normal; line-height: 1.7; }

/* === 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;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240,249,255,.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.cookie-banner [data-cookie-accept]:hover { background: #d95a08; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240,249,255,.2);
  display: grid;
  gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  margin-top: .5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  justify-self: start;
}
