:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --maxw: 1200px;
  --radius: 4px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); letter-spacing: -0.01em; margin: 0 0 1rem; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(9, 9, 11, 0.08);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid rgba(9,9,11,0.15);
  border-radius: var(--radius);
  padding: 0.5rem;
  color: var(--color-primary);
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 1rem 0;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.site-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    gap: 2rem;
  }
  .site-nav a { padding: 0; }
}

/* === Hero (fullscreen) === */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-neutral-light);
  padding: 6rem 1.25rem;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(9,9,11,0.55), rgba(9,9,11,0.75));
  z-index: 1;
}
.hero-fullscreen--plain {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  min-height: 60vh;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}
.hero__content h1 {
  color: var(--color-neutral-light);
  max-width: 22ch;
  margin-inline: auto;
}
.hero__sub {
  color: rgba(250,250,250,0.85);
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 1.25rem auto 2rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(250,250,250,0.7);
  margin: 0 0 1rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.btn--primary:hover { background: var(--color-accent); color: var(--color-neutral-light); text-decoration: none; }
.btn--accent {
  background: var(--color-accent);
  color: var(--color-neutral-light);
}
.btn--accent:hover { background: var(--color-primary); text-decoration: none; }

/* === Sections === */
.section {
  padding: 5rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--narrow {
  max-width: 780px;
}
.section--narrow .eyebrow { color: var(--color-secondary); }
.section .eyebrow { color: var(--color-secondary); }
.section--tint {
  background: #F4F4F5;
  max-width: none;
  padding-inline: 1.25rem;
}
.section--tint > * { max-width: var(--maxw); margin-inline: auto; }
.section__header { text-align: center; margin-bottom: 3rem; max-width: 720px; margin-inline: auto; }
.section__sub { color: var(--color-secondary); font-size: 1.05rem; }
.section__figure { max-width: 900px; margin: 0 auto 3rem; }
.section__figure img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .section { padding: 7rem 2rem; }
}

/* === Grid === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* === Cards === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(9,9,11,0.08);
  border-radius: var(--radius);
  padding: 2rem;
}
.card .icon { color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card--listing { padding: 0; overflow: hidden; }
.card--listing figure { margin: 0; }
.card--listing figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card--listing h3 { padding: 1.5rem 1.5rem 0.5rem; }
.card--listing p { padding: 0 1.5rem 1.5rem; }

/* === Stats === */
.stat { text-align: left; padding: 2rem; border-left: 3px solid var(--color-accent); }
.stat__figure {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin: 0 0 0.75rem;
}
.stat h3 { margin-bottom: 0.5rem; }
.stat p { color: var(--color-secondary); margin: 0; font-size: 0.95rem; }

/* === Testimonial === */
.testimonial { text-align: center; max-width: 820px; }
.testimonial blockquote { margin: 0; padding: 0; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 5rem 1.25rem;
}
.cta-band__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.75); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band__address { font-style: normal; color: rgba(250,250,250,0.85); margin: 1.5rem 0 2rem; line-height: 1.9; }
.cta-band__address a { color: var(--color-neutral-light); text-decoration: underline; }

/* === Contact form === */
.section--form { max-width: 720px; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
  text-transform: uppercase;
}
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(9,9,11,0.15);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-primary);
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-secondary);
  line-height: 1.5;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; background: var(--color-primary); color: var(--color-neutral-light); }
.contact-form .btn:hover { background: var(--color-accent); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250,250,250,0.8);
  padding: 4rem 1.25rem 2rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer h3 {
  color: var(--color-neutral-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(250,250,250,0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.logo--footer img { height: 60px; margin-bottom: 1rem; }
.tagline { font-family: var(--font-heading); font-style: italic; color: rgba(250,250,250,0.7); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.95rem; }
.site-footer address { font-style: normal; font-size: 0.9rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-links { font-size: 0.85rem; color: rgba(250,250,250,0.6); }
.copyright {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,250,0.1);
  font-size: 0.85rem;
  color: rgba(250,250,250,0.55);
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
}

/* === 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.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  max-width: 560px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(250,250,250,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  font-size: 0.85rem;
  font-weight: 500;
}
.cookie-banner__actions button:hover { background: rgba(250,250,250,0.08); }
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner__actions [data-cookie-accept]:hover { background: var(--color-accent); opacity: 0.9; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,250,0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-neutral-light);
  border: 0;
  border-radius: var(--radius);
  font-size: 0.85rem;
  cursor: pointer;
}
