:root {
  --blue: #2A67C5;
  --blue-dark: #1F56AA;
  --navy: #1F2D5C;
  --navy-deep: #161F42;
  --peri: #9AACD6;
  --sand: #F6F3EE;
  --ink: #141B33;
  --muted: #5E6680;
  --line: #E2DED6;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9C3DD;
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --bg: #FFFFFF;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* spacing: tight inside a group, open between groups */
  --s1: 8px; --s2: 16px; --s3: 32px; --s4: 64px; --s5: 128px;
  --dur: 150ms;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; transition: color var(--dur), background-color var(--dur), border-color var(--dur); }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--s3); }

/* Header — on the photo */
.top { position: absolute; inset: 0 0 auto; z-index: 2; color: var(--on-dark); }
.top-row { display: flex; align-items: center; gap: var(--s3); height: 88px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; line-height: 1; }
.logo-tag { font: 700 0.55rem/1 Georgia, "Times New Roman", serif; letter-spacing: 0.05em; margin-top: 5px; color: var(--on-dark-muted); }
.bars { display: flex; gap: 3px; height: 30px; }
.bars i { width: 7px; border-radius: 1px; }
.bars i:nth-child(1) { background: var(--on-dark); }
.bars i:nth-child(2) { background: var(--peri); }
.bars i:nth-child(3) { background: var(--blue); }
.nav { display: flex; gap: var(--s3); margin-left: auto; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--on-dark-muted); }
.nav a:hover { color: var(--on-dark); }
.lang { display: flex; gap: var(--s1); font-size: 0.85rem; font-weight: 600; color: var(--on-dark-muted); }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--on-dark); }
.lang span { color: var(--on-dark); }
.lang > * + *::before { content: "/"; margin-right: var(--s1); color: var(--on-dark-muted); font-weight: 400; }

/* Hero — one photo, edge to edge */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh; color: var(--on-dark); background: var(--navy-deep);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* scrim over the photo, for legible text */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 31, 66, 0.55) 0%, rgba(22, 31, 66, 0) 22%, rgba(22, 31, 66, 0) 45%, rgba(22, 31, 66, 0.85) 100%);
}
.hero-body { position: relative; z-index: 1; width: 100%; padding-bottom: var(--s4); }
.hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.75rem); max-width: 11em; text-wrap: balance; }
.hero .lead { margin-top: var(--s2); max-width: 30em; font-size: 1.15rem; color: rgba(255, 255, 255, 0.86); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s3); }
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
  border-radius: 999px; background: var(--on-dark); color: var(--navy);
  font-weight: 650; text-decoration: none;
}
.btn:hover { background: var(--sand); }
.tel { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; border-bottom: 1px solid var(--on-dark-line); }
.tel:hover { border-color: var(--on-dark); }

/* Sections */
.section { padding: var(--s5) 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s4); align-items: start; }
.split-head { position: sticky; top: var(--s3); }
.split-head p { margin-top: var(--s2); max-width: 22em; color: var(--muted); }

.services { border-top: 1px solid var(--ink); }
.services li {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s3); align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.services h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.services p { color: var(--muted); }

.how { background: var(--sand); }
.how-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: center; }
.how-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.steps { margin-top: var(--s3); counter-reset: step; }
.steps li { position: relative; padding: var(--s2) 0 var(--s2) 56px; border-top: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 10px;
  font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--blue);
}
.steps p { max-width: 28em; color: var(--muted); }
.steps strong { color: var(--ink); font-weight: 600; }

/* Contact */
.contact { padding: var(--s5) 0; background: var(--navy); color: var(--on-dark); }
.contact .split-head p { color: var(--on-dark-muted); }
.contacts { border-top: 1px solid var(--on-dark-line); }
.contacts > div {
  display: grid; grid-template-columns: 7em 1fr; gap: var(--s2); align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--on-dark-line);
}
.contacts dt { font-size: 0.9rem; color: var(--on-dark-muted); }
.phone { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; text-decoration: none; }
.phone:hover { color: var(--peri); }
.contacts .email { width: 220px; height: auto; }
.social { display: flex; gap: var(--s3); font-size: 1.1rem; }
.social a { text-decoration: none; border-bottom: 1px solid var(--on-dark-line); }
.social a:hover { border-color: var(--on-dark); }

.foot { background: var(--navy-deep); color: var(--on-dark-muted); font-size: 0.85rem; }
.foot-row { display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; padding-top: var(--s3); padding-bottom: var(--s3); }

/* Tablet */
@media (max-width: 960px) {
  .split, .how-row { grid-template-columns: 1fr; gap: var(--s3); }
  .split-head { position: static; }
  .how-row img { aspect-ratio: 16 / 9; }
}

/* Phone */
@media (max-width: 680px) {
  .wrap { padding: 0 var(--s2); }
  .top-row { height: 72px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .logo-name { font-size: 1.08rem; }
  .bars { height: 26px; }
  .hero { min-height: 88svh; }
  .hero-body { padding-bottom: var(--s3); }
  .hero .lead { font-size: 1.05rem; }
  .section, .contact { padding: var(--s4) 0; }
  .services li { grid-template-columns: 1fr; gap: 2px; padding: var(--s2) 0; }
  .services h3 { font-size: 1.3rem; }
  .steps li { padding-left: 44px; }
  .contacts > div { grid-template-columns: 1fr; gap: 2px; padding: var(--s2) 0; }
}
