:root {
  --bg: #F6F4EF;          /* тёплый «мраморный» белый */
  --surface: #FFFFFF;
  --ink: #1E2428;
  --muted: #5B6369;
  --line: #E4E0D7;
  --stone: #9A9EA1;       /* серый из логотипа */
  --sea: #1D5B87;         /* эгейский синий — цвет действия */
  --sea-dark: #154566;
  --sea-soft: #E3EDF4;
  --ph-bg: #FFF1B8;
  --ph-line: #C79A10;
  --ph-ink: #5C4600;
  --radius: 22px;
  --shadow: 0 24px 60px -32px rgba(30, 36, 40, .45);
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }

.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: min(860px, 100%); }

/* Заметные заглушки */
.ph {
  display: inline;
  background: var(--ph-bg);
  color: var(--ph-ink);
  border: 1px dashed var(--ph-line);
  border-radius: 6px;
  padding: .05em .4em;
  font-weight: 600;
  font-family: var(--sans);
  font-size: .92em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--sea); color: #fff;
  text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: .8em 1.4em;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--sea-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .lang button:focus-visible, summary:focus-visible, .link-more:focus-visible {
  outline: 3px solid #8FB8D6; outline-offset: 3px;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-sm { padding: .55em 1.05em; font-size: .95rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-num { font-weight: 500; opacity: .85; padding-left: .7em; border-left: 1px solid rgba(255,255,255,.35); }
.btn-light { background: #fff; color: var(--sea-dark); }
.btn-light:hover { background: var(--sea-soft); }
.ico { width: 20px; height: 20px; flex: none; }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 244, 239, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 54px; height: 54px; border-radius: 50%; filter: drop-shadow(0 4px 8px rgba(30,36,40,.12)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.brand-word small { font-size: .62rem; font-weight: 600; letter-spacing: .42em; color: #7A7F83; margin-top: 4px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font: 700 .78rem/1 var(--sans); letter-spacing: .04em; color: var(--muted);
  padding: .55em .7em; border-radius: 999px; min-width: 36px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Первый экран */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.veins { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.veins path { fill: none; stroke: #D9D4C9; stroke-width: 1.2; opacity: .7; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sea);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; flex: none; border-top: 2px solid var(--stone); }
.eyebrow-light { color: #CFE1EE; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h1 em { font-style: italic; color: var(--sea); }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.link-more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--stone); padding-bottom: 2px; }
.link-more:hover { border-color: var(--sea); color: var(--sea); }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .ico { color: var(--stone); }

.hero-art { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 460px; width: 100%; justify-self: center; }
.hero-disc { position: relative; width: 100%; aspect-ratio: 1; }
.orbit { position: absolute; inset: -4%; width: 108%; height: 108%; color: var(--sea); opacity: .9; }
.logo-big {
  position: absolute; inset: 9%; width: 82%; height: 82%;
  filter: drop-shadow(0 30px 40px rgba(30, 36, 40, .16));
}
.hero-card {
  position: relative; align-self: flex-start; /* в потоке под кругом: не перекрывает логотип ни на какой ширине */
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; max-width: 260px; box-shadow: var(--shadow);
}
.hero-card b { display: block; font-size: .98rem; }
.hero-card p { font-size: .88rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.hero-card-ico { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; }
.hero-card-ico svg { width: 26px; height: 26px; }

/* Секции */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 44px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.note { margin-top: 28px; color: var(--muted); }
.note-draft { margin: -16px 0 24px; }

/* Услуги */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; margin-bottom: 8px; }
.card-ico svg { width: 30px; height: 30px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink); font-weight: 600; }

/* Преимущества */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why li { padding: 26px 24px 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.why h3 { margin: 18px 0 8px; }
.why p { color: var(--muted); font-size: .97rem; }
.dots { display: inline-flex; gap: 6px; align-items: flex-end; height: 14px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.dots i:nth-child(2) { background: var(--sea); transform: translateY(-4px); }

/* Команда */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.doc-pic { width: 112px; height: 112px; margin: 0 auto 18px; }
.doc h3 { margin-bottom: 8px; }
.doc p { color: var(--muted); font-size: .95rem; }
.doc-exp { margin-top: 8px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.trust-item { border: 1px dashed var(--stone); border-radius: var(--radius); padding: 24px 28px; }
.trust-item h3 { margin-bottom: 10px; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-top: 20px; }
.shot {
  margin: 0; min-height: 200px; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #EFECE5 0 14px, #E8E4DB 14px 28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--stone); padding: 16px; text-align: center;
}
.shot .ico { width: 34px; height: 34px; }

/* Первый визит */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px;
  border-top: 2px dashed #C9CDD0;
}
.steps li { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sea); color: #fff; font: 600 1.35rem/1 var(--serif);
  box-shadow: 0 0 0 8px var(--surface);
}
.steps h3 { margin: 20px 0 8px; }
.steps p { color: var(--muted); font-size: .97rem; }
.bring { margin-top: 48px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; }
.bring ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); }
.bring li { display: flex; gap: 10px; align-items: center; }
.bring li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); flex: none; }

/* Вопросы */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 20px 36px 20px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }
.faq a { color: var(--sea); font-weight: 600; }

/* Контакты */
.contacts { padding-top: 24px; }
.ct { display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.ct-call { background: var(--sea); color: #fff; padding: 52px 48px; position: relative; overflow: hidden; }
.ct-call::after {
  content: ""; position: absolute; right: -90px; bottom: -150px; width: 320px; height: 320px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.18);
}
.ct-call h2 { color: #fff; }
.ct-who { margin-top: 22px; color: #D5E4EF; }
.ct-who b { color: #fff; }
.ct-phone { display: block; margin: 6px 0 28px; font: 600 clamp(2rem, 4.6vw, 3rem)/1.1 var(--serif); text-decoration: none; letter-spacing: .01em; }
.ct-info { padding: 40px 40px; display: grid; gap: 22px; align-content: start; }
.ct-row { display: flex; gap: 14px; }
.ct-row .ico { color: var(--sea); margin-top: 3px; }
.ct-row p { color: var(--muted); margin-top: 2px; }
.map { position: relative; border-radius: 18px; overflow: hidden; min-height: 190px; border: 1px solid var(--line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label { position: absolute; left: 14px; bottom: 14px; }

/* Подвал */
.foot { padding: 56px 0 48px; margin-top: 72px; border-top: 1px solid var(--line); }
.foot-in { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.foot-in > div { max-width: 560px; }
.foot-note { margin-top: 6px; font-size: .84rem; }

/* Нижняя кнопка звонка на телефоне */
.callbar { display: none; }

/* Адаптив */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 44px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 380px; gap: 22px; }
  .hero-art .orbit { display: none; }
  .hero-disc { width: 74%; }
  .hero-disc .logo-big { inset: 0; width: 100%; height: 100%; }
  .hero-card { align-self: center; }
  /* касания на телефоне и планшете: кнопки не меньше 44×44, зазор 6px */
  .lang { gap: 6px; padding: 0; border: 0; background: none; }
  .lang button { min-width: 44px; min-height: 44px; padding: 0 .6em; border: 1px solid var(--line); background: var(--surface); }
  .top .btn-sm { min-height: 44px; }
  .cards, .team { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .ct { grid-template-columns: 1fr; }
  .bring { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .top-in { min-height: 64px; gap: 10px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-word { display: none; }
  .top .btn-sm span { display: none; }
  .top .btn-sm { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .section { padding: 68px 0; }
  .cards, .team, .why, .trust, .gallery, .steps { grid-template-columns: 1fr; }
  .shot { min-height: 150px; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-actions .link-more { margin: 0 auto; }
  .ct-call { padding: 40px 24px; }
  .ct-info { padding: 28px 24px; }
  .faq details { padding: 0 18px; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: .6em;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    background: var(--sea); color: #fff; text-decoration: none; font-weight: 700;
    border-radius: 999px; padding: 15px 18px; box-shadow: 0 12px 30px -10px rgba(21, 69, 102, .6);
  }
  .callbar .btn-num { white-space: nowrap; }
}
@media (max-width: 380px) {
  .callbar .btn-num { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
