/* axios estate — design tokens (from style-guide.md) */

:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #f2f2f2;
  --text: #1e1e1e;
  --text-2: #737373;
  --text-3: #a8a8a8;
  --border: #ebebeb;
  --border-strong: #1e1e1e;
  --interactive: #000000;
  --interactive-hover: #737373;

  --success-bg: #e8efe9;
  --success-text: #0f5132;
  --warning-bg: #fdf3e1;
  --warning-text: #7a4e00;
  --danger-bg: #f8e4e6;
  --danger-text: #842029;

  --container: 1440px;
  --pad-x: 32px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Type scale */
.t-display { font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.t-h1 { font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; }
.t-h2 { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.t-h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.t-h4 { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.t-body { font-size: 14px; line-height: 1.5; }
.t-body-lg { font-size: 16px; line-height: 1.55; }
.t-caption { font-size: 12px; line-height: 1.35; color: var(--text-2); }
.t-overline { font-size: 11px; line-height: 1.3; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.t-label { font-size: 11px; line-height: 1.3; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.t-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-variant-numeric: tabular-nums; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
  white-space: nowrap;
}
.btn--primary { background: var(--interactive); color: #fff; }
.btn--primary:hover { background: var(--interactive-hover); }
.btn--secondary { border-color: var(--text); color: var(--text); }
.btn--secondary:hover { background: var(--bg-3); }
.btn--ghost { color: var(--text-2); }
.btn--ghost:hover { background: var(--bg-3); color: var(--text); }
.btn--sm { padding: 6px 12px; font-size: 12px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }

/* Inputs */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.field__input {
  font-family: inherit; font-size: 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  color: var(--text);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease-out;
}
.field__input::placeholder { color: var(--text-3); }
.field__input:focus { border-bottom-color: var(--text); }
.field__input--block {
  border: 1px solid var(--border);
  padding: 12px;
}
.field__input--block:focus { border-color: var(--text); }
textarea.field__input { resize: vertical; min-height: 80px; }
select.field__input { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='none' stroke='%231e1e1e' stroke-width='1.5' d='M3 5l3 3 3-3'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 18px; }

/* Checkbox */
.checkbox { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 12px; color: var(--text-2); line-height: 1.45; }
.checkbox input { display: none; }
.checkbox__box { flex: 0 0 16px; width: 16px; height: 16px; border: 1px solid var(--text); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checkbox__box svg { opacity: 0; }
.checkbox input:checked + .checkbox__box { background: var(--text); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; }

/* Card */
.card { background: #fff; border: 1px solid var(--border); transition: border-color 0.15s ease-out; }
.card:hover { border-color: var(--text); }

/* Divider */
.hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Section */
section { padding: 96px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
.section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.section-eyebrow__num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--text-2); }
.section-eyebrow__line { flex: 1; height: 1px; background: var(--border); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__nav { display: flex; gap: 28px; justify-content: center; }
.header__nav a { font-size: 13px; color: var(--text-2); transition: color 0.15s ease-out; }
.header__nav a:hover { color: var(--text); }
.header__right { display: flex; gap: 16px; justify-content: flex-end; align-items: center; }
.header__phone { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--text); white-space: nowrap; }

/* Logo */
.logo { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--text); display: inline-flex; align-items: baseline; }
.logo::after { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--text); margin-left: 0px; transform: translateY(-1px); }

/* Hero */
.hero {
  padding: 80px 0 96px;
  border-top: 0;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  min-height: 540px;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 16px; }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--text-2); letter-spacing: 0.04em; }
.hero__eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--text); }
.hero__h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; margin: 0; max-width: 620px; text-wrap: balance; }
.hero__h1 .accent { font-style: normal; color: var(--text-2); }
.hero__sub { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 480px; margin: 0; }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Advantages strip */
.adv {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.adv__cell {
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adv__cell:last-child { border-right: 0; }
.adv__num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.adv__label { font-size: 12px; color: var(--text-2); line-height: 1.4; }

/* Projects */
.projects__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.projects__intro { max-width: 480px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.projects__filters { display: flex; gap: 4px; }
.chip { padding: 6px 12px; font-size: 12px; border: 1px solid var(--border); background: #fff; color: var(--text-2); cursor: pointer; transition: all 0.15s ease-out; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip--active { background: var(--text); color: #fff; border-color: var(--text); }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.proj-card {
  background: #fff;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: background 0.15s ease-out;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.proj-card:hover { background: var(--bg-2); }
.proj-card__visual {
  aspect-ratio: 4/3;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.proj-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.proj-card__title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.proj-card__title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.proj-card__city { font-size: 11px; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.proj-card__meta { display: flex; gap: 24px; padding-top: 12px; border-top: 1px solid var(--border); }
.proj-card__meta-item { display: flex; flex-direction: column; gap: 4px; }
.proj-card__meta-label { font-size: 10px; color: var(--text-2); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.proj-card__meta-value { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 500; }
.proj-card__price-row { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.proj-card__price { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px; font-weight: 500; }
.proj-card__price-from { font-size: 10px; color: var(--text-2); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-right: 4px; }

/* Variant: editorial card */
.proj-grid--editorial { grid-template-columns: 1fr; gap: 0; background: transparent; border: 0; }
.proj-grid--editorial .proj-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); border-top: 1px solid var(--border); padding: 0; min-height: 320px; }
.proj-grid--editorial .proj-card:last-child { border-bottom: 1px solid var(--border); }
.proj-grid--editorial .proj-card__visual { aspect-ratio: auto; }
.proj-grid--editorial .proj-card__body { padding: 32px 32px 32px 40px; justify-content: center; gap: 16px; }
.proj-grid--editorial .proj-card__title { font-size: 32px; }

/* Variant: minimal card */
.proj-grid--minimal .proj-card__body { padding: 16px 20px; gap: 8px; }
.proj-grid--minimal .proj-card__meta, .proj-grid--minimal .proj-card__price-row { padding-top: 8px; }
.proj-grid--minimal .proj-card__meta { display: none; }
.proj-grid--minimal .proj-card__title { font-size: 18px; }

/* Map */
.map { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.map__svg-wrap { position: relative; background: var(--bg-2); border: 1px solid var(--border); aspect-ratio: 16/9; overflow: hidden; }
.map__svg-wrap svg { width: 100%; height: 100%; display: block; }
.map__pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.map__pin-dot { width: 10px; height: 10px; background: var(--text); }
.map__pin-label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; background: #fff; border: 1px solid var(--border); padding: 2px 6px; white-space: nowrap; transition: border-color 0.15s ease-out; }
.map__pin:hover .map__pin-label { border-color: var(--text); }
.map__pin--city .map__pin-dot { width: 6px; height: 6px; background: var(--text-3); }
.map__pin--city .map__pin-label { font-size: 11px; background: transparent; border: 0; color: var(--text-2); padding: 0; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.map__pin--airport .map__pin-dot { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid var(--text-2); background: transparent; transform: translateY(-1px); }

.map__side { display: flex; flex-direction: column; gap: 32px; }
.map__cities { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.map__city { background: #fff; padding: 16px 20px; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; }
.map__city-name { font-size: 14px; font-weight: 600; }
.map__city-count { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--text-2); }

/* About / counters */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about__text { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.about__text strong { color: var(--text); font-weight: 500; }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.counter { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.counter__num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 36px; font-weight: 500; letter-spacing: -0.02em; }
.counter__label { font-size: 12px; color: var(--text-2); line-height: 1.4; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; background: transparent; border: 0; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.faq__q-icon { width: 16px; height: 16px; flex-shrink: 0; position: relative; }
.faq__q-icon::before, .faq__q-icon::after { content: ''; position: absolute; background: var(--text); }
.faq__q-icon::before { left: 0; right: 0; top: 7.5px; height: 1px; }
.faq__q-icon::after { top: 0; bottom: 0; left: 7.5px; width: 1px; transition: transform 0.2s ease-out; }
.faq__item--open .faq__q-icon::after { transform: scaleY(0); }
.faq__a { padding: 0 32px 24px 0; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 740px; display: none; }
.faq__item--open .faq__a { display: block; }

/* Contact form */
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 72px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 32px; }
.contact__channels { display: flex; flex-direction: column; gap: 20px; }
.contact__channel { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.contact__channel:last-child { border-bottom: 0; }
.contact__channel-label { font-size: 11px; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.contact__channel-value { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.form-grid__full { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.form-meta { font-size: 11px; color: var(--text-2); }

/* Footer */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 11px; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin: 0 0 4px; }
.footer__col a { font-size: 13px; color: var(--text-2); transition: color 0.15s ease-out; }
.footer__col a:hover { color: var(--text); }
.footer__legal { font-size: 11px; color: var(--text-3); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; gap: 32px; flex-wrap: wrap; }

/* FAB */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; }
.fab__btn { background: var(--text); color: #fff; border: 0; padding: 14px 22px; font-size: 13px; font-weight: 500; letter-spacing: -0.005em; display: inline-flex; align-items: center; gap: 8px; transition: background 0.15s ease-out; }
.fab__btn:hover { background: var(--text-2); }
.fab__pop { position: absolute; bottom: calc(100% + 12px); right: 0; background: #fff; border: 1px solid var(--text); min-width: 240px; }
.fab__pop a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); transition: background 0.15s ease-out; }
.fab__pop a:last-child { border-bottom: 0; }
.fab__pop a:hover { background: var(--bg-2); }
.fab__pop a span:last-child { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: var(--text-2); }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(30,30,30,0.2); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.25s ease-out; }
.drawer-backdrop--open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 720px; max-width: 95vw; background: #fff; border-left: 1px solid var(--border); z-index: 61; transform: translateX(100%); transition: transform 0.3s ease-out; display: flex; flex-direction: column; }
.drawer--open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 1; }
.drawer__close { background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
.drawer__body { flex: 1; overflow-y: auto; }
.drawer__hero { aspect-ratio: 16/9; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.drawer__section { padding: 32px; border-bottom: 1px solid var(--border); }
.drawer__section h3 { margin: 0 0 12px; font-size: 11px; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.drawer__params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.drawer__param { background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.drawer__param-label { font-size: 10px; color: var(--text-2); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.drawer__param-value { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; }
.drawer__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drawer__gallery > div { aspect-ratio: 4/3; background: var(--bg-2); border: 1px solid var(--border); }
.drawer__cta-row { display: flex; gap: 12px; padding: 20px 32px; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: #fff; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(30,30,30,0.35); z-index: 70; display: flex; align-items: flex-start; justify-content: center; padding: 80px 24px 24px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease-out; }
.modal-backdrop--open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border: 1px solid var(--text); width: 560px; max-width: 100%; max-height: 80vh; overflow-y: auto; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--border); }
.modal__body { padding: 28px; }

/* Toast */
.toast { position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: #fff; padding: 14px 22px; font-size: 13px; z-index: 80; opacity: 0; pointer-events: none; transition: opacity 0.25s ease-out, transform 0.25s ease-out; display: flex; align-items: center; gap: 10px; }
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Cookie banner */
.cookie { position: fixed; bottom: 24px; left: 24px; max-width: 480px; background: #fff; border: 1px solid var(--text); padding: 20px 24px; z-index: 30; font-size: 13px; color: var(--text-2); line-height: 1.55; display: flex; flex-direction: column; gap: 14px; }
.cookie__actions { display: flex; gap: 8px; }

/* Misc */
.dot { display: inline-block; width: 4px; height: 4px; background: currentColor; border-radius: 50%; vertical-align: middle; margin: 0 8px; }

/* Responsive — keep simple */
@media (max-width: 1100px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
  .adv { grid-template-columns: repeat(3, 1fr); }
  .adv__cell:nth-child(3n) { border-right: 0; }
  .adv__cell:nth-child(n+4) { border-top: 1px solid var(--border); }
  .map, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --pad-x: 20px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__h1 { font-size: 36px; }
  .proj-grid { grid-template-columns: 1fr; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .header__nav { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
