@font-face {
  font-family: "Familjen Grotesk";
  src: url("assets/fonts/familjen.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f6f3ee;
  --ink: #1c1e24;
  --muted: #5c6170;
  --line: #ddd6cc;
  --card: #fffdfb;
  --blue: #3d64ad;
  --deep: #243056;
  --band: #2a4478;
  --red: #ca404a;
  --red-fill: #ca404a;
  --red-press: #9e3038;
  color-scheme: light;
  font-family: "Familjen Grotesk", "Avenir Next", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  --bg: #12151c;
  --ink: #f4efe6;
  --muted: #c5c0b4;
  --line: #314056;
  --card: #1b2230;
  --blue: #8eaddf;
  --deep: #d5deee;
  --band: #2a4478;
  --red: #e06b74;
  --red-fill: #ca404a;
  --red-press: #9e3038;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.045em; line-height: 0.94; }
h1 { font-size: clamp(56px, 6.2vw, 96px); }
h2 { font-size: clamp(40px, 4.6vw, 68px); }
h2 span { color: var(--red); }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 50;
  background: var(--card);
  color: var(--ink);
  padding: 12px 14px;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.ribbon { background: var(--deep); color: #f6f3ee; font-size: 14px; }
:root[data-theme="dark"] .ribbon { background: #0c1018; color: #f4efe6; }
.ribbon .wrap { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 8px; }
.ribbon a { color: inherit; }

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; }
.brand-name {
  font-weight: 700;
  font-size: 28px;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--red);
}
.brand-name span {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav nav { display: flex; align-items: center; gap: 28px; font-weight: 650; font-size: 16px; }
.nav nav > a:not(.button) { text-decoration: none; }
.nav nav > a:not(.button):hover { text-decoration: underline; }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 12px 0 12px 12px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--red-fill);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 1px 0 color-mix(in srgb, #000 25%, var(--red-fill));
}
.button:hover { background: var(--red-press); text-decoration: none; }
.button:active { transform: translateY(1px); box-shadow: inset 0 2px 5px #5c1c22; }
.button:focus-visible { outline-color: var(--ink); }
.button.compact { min-height: 44px; padding: 10px 16px; }
.button.light { background: #f6f3ee; color: #1c1e24; box-shadow: 0 1px 0 #c9bfb2; }
.button.light:hover { background: #fff; }
.button.light:active { box-shadow: inset 0 2px 4px #cfc6ba; }
.button.pillow {
  background: var(--bg);
  color: var(--ink);
  box-shadow:
    inset 3px 3px 6px color-mix(in srgb, var(--blue) 35%, var(--bg)),
    inset -3px -3px 6px #fff,
    0 1px 0 var(--line),
    5px 5px 14px color-mix(in srgb, var(--ink) 14%, var(--bg));
}
.button.pillow:hover { background: var(--bg); }
.button.pillow:active {
  transform: translateY(1px);
  box-shadow: inset 3px 3px 8px color-mix(in srgb, var(--ink) 24%, var(--bg));
}
:root[data-theme="dark"] .button.pillow {
  box-shadow:
    inset 3px 3px 6px #07090e,
    inset -3px -3px 7px #2a3348,
    5px 5px 14px #07090e;
}
.button:disabled { opacity: 0.45; cursor: default; transform: none; }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  padding-block: 18px 54px;
}
.where {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lede { max-width: 16em; margin-top: 22px; font-size: 22px; line-height: 1.35; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 28px; }
.cta .phone { font-weight: 700; font-size: 18px; text-decoration: none; }
.cta .phone:hover { text-decoration: underline; }
.hero-art {
  position: relative;
  margin: 0;
  height: 560px;
  border-radius: 148px 16px 16px 16px;
  overflow: hidden;
}
.hero-art picture, .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.hero-art figcaption, .shot figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  max-width: calc(100% - 36px);
  padding: 6px 10px;
  border-radius: 8px;
  background: #f6f3eef2;
  color: #1c1e24;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.3;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.facts a, .facts span { display: block; }
.facts strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.facts em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 14px; font-weight: 500; }

.strip { background: var(--band); color: #f6f3ee; }
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding-block: 18px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.strip a { color: inherit; text-decoration: none; padding: 6px 2px; }
.strip a:hover { text-decoration: underline; text-underline-offset: 5px; }
.strip a:focus-visible { outline-color: #f6f3ee; }
.strip [aria-hidden] { color: #e7a0a4; }

.process { position: relative; padding-block: 88px 28px; overflow: hidden; }
.process-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.psi {
  margin: 0;
  color: color-mix(in srgb, var(--blue) 28%, transparent);
  font-size: clamp(96px, 14vw, 180px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.75;
}
.psi span { color: inherit; margin-left: 6px; font-size: 0.28em; letter-spacing: 0; }
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}
.steps { list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 12px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { color: var(--blue); font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; height: 460px; object-fit: cover; object-position: 32% 40%; border-radius: 16px; }

.rule { color: var(--blue); margin: 10px 0 0; }
.rule svg { display: block; width: min(1180px, calc(100% - 48px)); height: 48px; margin-inline: auto; }
.rule .joint { fill: var(--red); }

.pair { padding-block: 72px 20px; }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: auto; border-radius: 16px; background: #d9d3c8; }
.pair figcaption { margin-top: 10px; font-weight: 700; letter-spacing: -0.03em; }

.promise { padding-block: 72px; }
.plus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; list-style: none; }
.plus li {
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.promise .price-line { max-width: 36em; margin-top: 22px; color: var(--muted); }

.area { padding-bottom: 80px; }
.cities { display: flex; flex-wrap: wrap; list-style: none; margin-top: 26px; }
.cities li { font-weight: 700; letter-spacing: -0.03em; font-size: 20px; }
.cities li:not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--red); font-weight: 400; }
.area p { margin-top: 18px; color: var(--muted); }

.contact-band { background: var(--band); color: #f6f3ee; padding-block: 42px; }
.contact-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 36px; }
.contact-band h2 { font-size: clamp(40px, 5vw, 64px); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.contact-actions a:not(.button) { color: inherit; font-weight: 700; font-size: 20px; text-decoration: none; }
.contact-actions a:not(.button):hover { text-decoration: underline; }

.footer { background: #1a2130; color: #f4efe6; padding-top: 48px; }
:root[data-theme="dark"] .footer { background: #0c1018; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.footer .brand-name span { color: #f4efe6; }
.footer p, .footer a { color: #d9d3c8; }
.footer-grid a { text-decoration: none; font-weight: 650; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-block: 18px 22px;
  border-top: 1px solid #314056;
  font-size: 14px;
}
.footer-bottom div { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.theme-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.js .theme-toggle { display: inline; }

.page-head { padding-block: 42px 10px; }
.page-head p { max-width: 38em; margin-top: 18px; font-size: 20px; }

.service {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 22px 28px;
  align-items: start;
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.service > div { grid-column: 2 / -1; }
.service:has(.shot) > div { grid-column: 2; }
.service:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.service-no { color: var(--blue); font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.service h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 16px; }
.service p { max-width: 40em; }
.service p + p { margin-top: 12px; }
.service-list { margin-top: 18px; list-style: none; }
.service-list li { padding-block: 8px; border-bottom: 1px solid var(--line); }
.text-link { display: inline-block; margin-top: 18px; font-weight: 700; }
.service .shot img { height: 320px; }

.qa { padding-bottom: 72px; }
.qa div { padding-block: 26px; border-top: 1px solid var(--line); }
.qa div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-size: clamp(28px, 3vw, 40px); font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; }
.qa dd { max-width: 42em; margin-top: 10px; }
.qa + .wrap, .end-cta { padding-bottom: 72px; }

.book { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr); gap: 48px; align-items: start; padding-bottom: 80px; }
.book form { display: grid; gap: 4px; }
.book form > .button { margin-top: 16px; justify-self: start; }
.book-step { display: grid; gap: 14px; margin-top: 18px; padding: 22px; border-radius: 16px; background: color-mix(in srgb, var(--card) 70%, var(--bg)); }
.book-step h2 { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.book-step h2 span { color: var(--blue); font-size: 14px; letter-spacing: 0.14em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
address-search {
  --as-bg: var(--card);
  --as-ink: var(--ink);
  --as-line: var(--line);
  --as-shadow: color-mix(in srgb, var(--ink) 14%, transparent);
  --as-hover: color-mix(in srgb, var(--blue) 16%, var(--card));
  --as-hover-ink: var(--ink);
  --as-muted: var(--muted);
  --as-scroll-top: 16px;
}
.address-coverage, .address-credits { font-size: 14px; line-height: 1.4; margin: 8px 0 0; color: var(--muted); font-weight: 500; }
.address-credits summary { cursor: pointer; color: var(--blue); }
.address-credits p { margin: 10px 0; }
.address-credits a { overflow-wrap: anywhere; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 12px 14px;
  min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -10000px; }
.confirm-line { margin: 8px 0 0; }
.form-error { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--red); border-radius: 12px; color: var(--red); }

.calendar { background: var(--card); border-radius: 16px; padding: 16px; }
.month-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.month-bar h3 { font-size: 22px; letter-spacing: -0.03em; }
.month-bar button, .slots button, .days button {
  border: 0;
  background: var(--bg);
  border-radius: 12px;
  min-height: 44px;
}
.month-bar button { min-width: 44px; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.weekdays { margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.days { margin-top: 6px; }
.days span, .days button { padding: 8px 0; border-radius: 10px; }
.days span { color: var(--muted); }
.days button[aria-pressed="true"], .slots button[aria-pressed="true"] { background: var(--red-fill); color: #fff; }
.slot-date { margin: 16px 0 8px; font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slots button:disabled { opacity: 0.35; }
.picker-on .native-when { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.summary {
  position: sticky;
  top: 20px;
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.summary h2 { font-size: 36px; margin: 8px 0 16px; }
.summary p + p { margin-top: 12px; }
.summary a { font-weight: 700; }

.thanks { max-width: 760px; padding-bottom: 90px; }
.thanks p { margin-top: 16px; font-size: 20px; }
.thanks .button { margin-top: 28px; }

@media (max-width: 980px) {
  .facts { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); }
  .service { grid-template-columns: 48px minmax(0, 1fr); }
  .service .shot { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .shot img, .service .shot img { height: 360px; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .menu-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; min-height: 76px; padding-block: 8px; }
  .js .nav nav { display: none; }
  .js .nav nav.open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 4px 0 16px; gap: 14px; }
  .hero .wrap, .book, .pair-grid, .plus, .footer-grid, .contact-band .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 8px; }
  .hero-art { height: 420px; order: -1; border-radius: 96px 16px 16px 16px; }
  .psi { display: none; }
  .contact-band .wrap, .footer-grid { display: grid; }
  .book { gap: 28px; }
  .summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 56px; }
  .hero-art { height: 280px; border-radius: 64px 16px 16px 16px; }
  .facts { grid-template-columns: 1fr; gap: 14px; width: calc(100% - 32px); }
  .facts strong { font-size: 18px; }
  .strip .wrap { font-size: 18px; justify-content: flex-start; }
  .steps li { grid-template-columns: 42px minmax(0, 1fr); }
  .cities li { font-size: 17px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 24px; }
  .page-head { padding-top: 28px; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .service > div, .service:has(.shot) > div, .service .shot { grid-column: 1; }
  .shot img, .service .shot img { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
