:root {
  --blue: #7b8499;
  --blue-dark: #697389;
  --blue-pale: #eef0f4;
  --ink: #17191d;
  --muted: #6f737c;
  --line: #e1e3e8;
  --background: #f7f8fa;
  --header-height: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  color: var(--ink);
  background: #fff;
  font: 400 15px/1.65 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 90px 0; }
.section--muted { background: var(--background); }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 30px; letter-spacing: -.025em; }
.eyebrow {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading { margin-bottom: 46px; text-align: center; }
.section-heading h2 { margin-bottom: 14px; font-size: 32px; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.6; }

.header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 12px rgba(30,35,45,.04);
  backdrop-filter: blur(12px);
}
.header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.logo { display: block; width: 190px; }
.logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; color: #50545d; font-size: 12px; }
.nav a:not(.nav__cta):hover { color: var(--blue); }
.nav__cta {
  padding: 10px 16px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  font-weight: 500;
}
.nav__cta:hover, .button--primary:hover { background: var(--blue-dark); }
.nav-toggle { display: none; padding: 5px; border: 0; background: none; }
.nav-toggle span { display: block; width: 23px; height: 2px; margin: 5px; background: var(--blue); }

.hero {
  padding: 52px 0 70px;
  background: linear-gradient(155deg, #f6f7f9 0%, #fff 67%);
}
.hero h1 {
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 31px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -.02em;
}
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 65px; align-items: center; }
.hero__name {
  margin: 10px 0 14px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__name span, .hero__name small { display: block; color: var(--ink); font-size: 21px; font-weight: 500; letter-spacing: .14em; }
.hero__name small { margin-top: 5px; }
.hero__intro { max-width: 430px; color: var(--muted); font-size: 15px; }
.button-row { display: flex; gap: 14px; margin-top: 25px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--blue); border-radius: 5px; font-size: 12px; font-weight: 600; transition: .2s; }
.button--primary { color: #fff; background: var(--blue); }
.button--outline { color: var(--blue); }
.button--outline:hover { color: #fff; background: var(--blue); }
.hours-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(38,43,54,.08);
}
.icon-circle { width: 40px; height: 40px; margin-bottom: 15px; color: var(--blue); }
.icon-circle svg { width: 100%; height: 100%; }
.hours-card h2 { margin-bottom: 19px; font-size: 14px; }
.hours-card dl { display: grid; gap: 11px; margin-bottom: 10px; }
.hours-card dl div { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.hours-card dd { font-weight: 700; }
.hours-card em { color: var(--muted); font-size: 11px; }

.values { padding-top: 65px; }
.values > .container > h2 { margin-bottom: 40px; }
.values__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: start; }
.values__text { color: var(--muted); }
.values__text p + p { margin-top: 16px; }
.feature-list { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.feature { display: grid; grid-template-columns: 44px 115px 1fr; gap: 15px; align-items: center; padding: 16px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature__icon, .contact-card__icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-pale); }
.feature__icon svg, .contact-card__icon svg { width: 18px; height: 18px; }
.feature h3 { font-size: 13px; }
.feature p { color: var(--muted); font-size: 12px; }

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 215px; padding: 27px 25px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: .2s; }
.service-card:hover { border-color: #c5c9d2; box-shadow: 0 10px 28px rgba(40,45,55,.06); transform: translateY(-2px); }
.service-card span { color: #eceef2; font-size: 26px; font-weight: 700; }
.service-card h3 { margin: 8px 0 12px; font-size: 13px; }
.service-card p { color: var(--muted); font-size: 12px; line-height: 1.65; }

.about > .container > h2 { margin-bottom: 42px; }
.about__grid { display: grid; grid-template-columns: 365px 1fr; gap: 65px; align-items: center; }
.about__portrait {
  width: 365px;
  height: 487px;
  border-radius: 9px;
  background: var(--blue-pale) url("../assets/felix-rullmann.jpg") center / cover no-repeat;
}
.about__content h3 { margin-bottom: 8px; font-size: 25px; }
.about__role { margin-bottom: 17px; color: var(--ink) !important; font-weight: 500; }
.about__content p { margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.about__content ul { margin: 20px 0 0 18px; color: var(--muted); font-size: 12px; }
.about__content li { padding-left: 7px; margin-bottom: 7px; }
.about__content li::marker { color: var(--blue); }

.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { min-height: 220px; padding: 30px 16px 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.contact-card__icon { margin: 0 auto 18px; }
.contact-card h3 { margin-bottom: 12px; color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.contact-card a, .contact-card address, .contact-card p { font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.65; }
.contact-card em { color: var(--muted); font-weight: 400; }
.map { position: relative; overflow: hidden; height: 300px; margin-top: 28px; border: 1px solid var(--line); border-radius: 8px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map > a { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px #0002; color: var(--blue-dark); font-size: 10px; }

.footer { padding: 28px 0; color: #fff; background: var(--blue-dark); font-size: 11px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer nav { display: flex; gap: 24px; }

.legal-page { min-height: calc(100vh - var(--header-height)); padding: 64px 0 90px; }
.legal-page .container { max-width: 760px; }
.legal-back { display: inline-block; margin-bottom: 36px; color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.legal-page h1 { margin-bottom: 8px; font-size: 36px; }
.legal-updated { margin-bottom: 38px !important; font-size: 12px !important; }
.legal-page h2 { margin: 34px 0 12px; font-size: 20px; }
.legal-page h3 { margin: 24px 0 10px; font-size: 16px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 14px; }
.legal-page p { margin-bottom: 14px; }
.legal-page ul { margin: 0 0 16px 22px; }
.legal-page li { margin-bottom: 6px; padding-left: 4px; }
.legal-page a:not(.legal-back) { color: var(--blue-dark); text-decoration: underline; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 600px); }
  .section { padding: 68px 0; }
  .nav-toggle { display: block; cursor: pointer; }
  .nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .nav.nav--open { display: flex; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: 25px; }
  .hero__grid, .values__grid, .about__grid { grid-template-columns: 1fr; gap: 38px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .about__portrait { width: min(100%, 365px); height: auto; aspect-ratio: 3 / 4; justify-self: center; }
}

@media (max-width: 520px) {
  h2, .section-heading h2 { font-size: 25px; }
  .hero__name { font-size: 28px; }
  .hero__name span, .hero__name small { font-size: 17px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .services__grid, .contact__grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 40px 1fr; }
  .feature p { grid-column: 2; }
  .section-heading br { display: none; }
  .footer__inner { gap: 16px; align-items: flex-start; flex-direction: column; }
}
