:root {
  --navy: #0b1730;
  --navy-2: #102341;
  --blue: #0f2575;
  --orange: #f88400;
  --orange-dark: #d96800;
  --orange-soft: #fff2e2;
  --green: #079455;
  --ink: #0b1730;
  --muted: #657087;
  --line: #dbe2ec;
  --soft: #f4f7fa;
  --white: #fff;
  --shadow: 0 18px 50px rgba(16, 35, 65, .11);
  --radius: 8px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(11,23,48,.08); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 230px; }
.brand img { border-radius: 50%; box-shadow: 0 5px 18px rgba(11,23,48,.16); }
.brand span { display: grid; }
.brand strong { font-size: 18px; line-height: 1.15; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding-block: 26px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--orange); transition: right .18s ease; }
.main-nav a:hover::after { right: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 800; white-space: nowrap; }
.header-phone svg { width: 18px; color: var(--orange); }
.header-tools { display: flex; align-items: center; gap: 17px; }
.language-switcher { display: inline-flex; align-items: center; overflow: hidden; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.language-switcher a { min-width: 34px; min-height: 31px; display: grid; place-items: center; color: var(--muted); border-radius: 4px; font-size: 11px; font-weight: 900; }
.language-switcher a.active { color: #fff; background: var(--blue); }

.hero { position: relative; min-height: 650px; overflow: hidden; background: var(--navy); color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(5,15,33,.98) 0%, rgba(5,15,33,.88) 38%, rgba(5,15,33,.25) 69%, rgba(5,15,33,.06) 100%); }
.hero-content { position: relative; z-index: 2; min-height: 650px; display: flex; align-items: center; padding-block: 76px; }
.hero-copy { width: min(610px, 60%); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #ffc166; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 3px; background: var(--orange); }
.eyebrow.dark { color: var(--orange-dark); }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.02; }
.hero-lead { max-width: 570px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 900; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button svg { width: 20px; }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 28px rgba(248,132,0,.24); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.08); }
.button-ghost:hover { background: rgba(255,255,255,.14); }
.button-outline { color: var(--blue); border-color: #ccd6e4; background: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 700; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; color: #ffc166; }

.service-band { position: relative; z-index: 3; margin-top: -40px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-grid article { min-height: 120px; display: flex; align-items: center; gap: 16px; padding: 25px 28px; }
.service-grid article + article { border-left: 1px solid var(--line); }
.service-grid svg { flex: 0 0 auto; width: 30px; height: 30px; color: var(--orange); }
.service-grid div { display: grid; gap: 4px; }
.service-grid strong { font-size: 17px; }
.service-grid span { color: var(--muted); font-size: 13px; }

.section { padding-block: 100px; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 690px; margin-bottom: 38px; }
.section h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.section-heading > p:last-child, .process-copy > p, .estimate-copy > p { color: var(--muted); font-size: 17px; }
.condition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.condition-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.condition-card:hover { transform: translateY(-4px); border-color: #ffc078; box-shadow: var(--shadow); }
.condition-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); border-radius: 7px; }
.condition-icon svg { width: 27px; }
.condition-card h3 { margin: 25px 0 10px; font-size: 20px; line-height: 1.25; }
.condition-card p { margin: 0; color: var(--muted); font-size: 14px; }

.process-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.process-copy { position: sticky; top: 110px; }
.notice { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding: 18px; border-left: 3px solid var(--orange); background: #fff7ed; }
.notice svg { flex: 0 0 auto; width: 20px; color: var(--orange-dark); }
.notice p { margin: 0; color: #4c5566; font-size: 14px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--orange); font-size: 22px; font-weight: 900; }
.steps strong { font-size: 22px; }
.steps p { margin: 7px 0 0; color: var(--muted); }

.estimate-section { color: #fff; background: var(--navy); }
.estimate-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: center; }
.estimate-copy h2 { color: #fff; }
.estimate-copy > p { color: rgba(255,255,255,.66); }
.contact-points { display: grid; gap: 12px; margin-top: 30px; }
.contact-points a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-weight: 800; }
.contact-points svg { width: 23px; color: #ffad3d; }
.contact-points span { display: grid; }
.contact-points small { color: rgba(255,255,255,.52); font-size: 11px; text-transform: uppercase; }
.estimate-form { display: grid; gap: 16px; padding: 30px; color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: 0 25px 60px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.estimate-form label { display: grid; gap: 7px; }
.estimate-form label > span { font-size: 13px; font-weight: 900; }
.estimate-form input, .estimate-form select, .estimate-form textarea { width: 100%; min-height: 51px; padding: 12px 14px; color: var(--ink); border: 1px solid #ced7e4; border-radius: 6px; outline: none; background: #fff; }
.estimate-form textarea { resize: vertical; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(248,132,0,.12); }
.form-submit { width: 100%; border: 0; }
.form-note { margin: -3px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-response { padding: 12px 14px; color: #087443; border: 1px solid #9fe0bd; border-radius: 6px; background: #edfbf3; font-size: 13px; font-weight: 800; }
.form-response[hidden] { display: none; }
.form-response.error { color: #9b2727; border-color: #efb1b1; background: #fff4f4; }

.location-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.location-photo { overflow: hidden; height: 440px; border-radius: var(--radius); box-shadow: var(--shadow); }
.location-photo img { width: 100%; height: 100%; object-fit: cover; }
.location-list { display: grid; margin: 27px 0; }
.location-list p { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.location-list svg { width: 22px; color: var(--orange); }
.location-list span { display: block; }
.location-list small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; text-transform: uppercase; }

.site-footer { color: #fff; background: #071225; }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand small { color: rgba(255,255,255,.54); }
.footer-inner > p { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-links { display: flex; gap: 9px; }
.footer-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; }
.footer-links a:hover { color: #fff; border-color: var(--orange); background: var(--orange); }
.footer-links svg { width: 19px; }
.mobile-actions { display: none; }

.banknote-bot-launcher {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  box-shadow: 0 16px 38px rgba(248,132,0,.3);
  cursor: pointer;
  font-weight: 900;
}
.banknote-bot-launcher:hover { background: var(--orange-dark); }
.banknote-bot-launcher:active { transform: scale(.98); }
.banknote-bot-launcher svg { width: 21px; }
.banknote-bot-launcher[aria-expanded="true"] { opacity: 0; pointer-events: none; }

.banknote-bot {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  width: min(420px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 44px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7,18,37,.3);
}
.banknote-bot[hidden] { display: none; }
.bot-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px 1fr 42px;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  color: #fff;
  background: var(--navy);
}
.bot-avatar { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; border-radius: 7px; background: var(--orange); }
.bot-avatar svg { width: 23px; }
.bot-header > div { display: grid; }
.bot-header strong { font-size: 16px; }
.bot-header small { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.62); font-size: 11px; }
.bot-header small span { width: 7px; height: 7px; border-radius: 50%; background: #20c875; }
.bot-header button { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border: 0; border-radius: 6px; background: rgba(255,255,255,.08); cursor: pointer; }
.bot-header button:hover { background: rgba(255,255,255,.14); }
.bot-header svg { width: 21px; }
.bot-conversation { max-height: calc(min(720px, 100vh - 44px) - 78px); overflow-y: auto; padding: 18px; background: #f6f8fb; }
.bot-message { width: 92%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px 8px 8px 8px; background: #fff; }
.bot-message p, .bot-disclaimer p { margin: 0; font-size: 13px; }
.bot-disclaimer { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 12px; color: #5a6475; border-left: 3px solid var(--orange); background: #fff7ed; }
.bot-disclaimer svg { flex: 0 0 auto; width: 18px; color: var(--orange-dark); }
.bot-upload { margin-top: 16px; }
.bot-upload-button { width: 100%; min-height: 94px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 15px; color: var(--blue); border: 1px dashed #aebbd0; border-radius: 7px; background: #fff; cursor: pointer; text-align: left; }
.bot-upload-button:hover { border-color: var(--orange); background: #fffaf4; }
.bot-upload-button[hidden] { display: none; }
.bot-upload-button svg { width: 28px; color: var(--orange); }
.bot-upload-button span { display: grid; }
.bot-upload-button small { color: var(--muted); font-size: 11px; font-weight: 500; }
.bot-preview { overflow: hidden; display: grid; grid-template-columns: 92px 1fr; gap: 13px; align-items: center; min-height: 92px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.bot-preview[hidden] { display: none; }
.bot-preview img { width: 92px; height: 72px; object-fit: cover; border-radius: 5px; background: var(--soft); }
.bot-preview > div { min-width: 0; display: grid; gap: 6px; }
.bot-preview strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bot-preview button { width: max-content; padding: 0; color: var(--orange-dark); border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 800; }
.bot-privacy-note { margin: 9px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.bot-analyze { width: 100%; margin-top: 12px; border: 0; }
.bot-analyze:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.bot-loading { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 22px 10px 5px; color: var(--muted); }
.bot-loading[hidden] { display: none; }
.bot-loading p { margin: 0; font-size: 13px; font-weight: 700; }
.bot-spinner { width: 20px; height: 20px; border: 2px solid #d9e0e9; border-top-color: var(--orange); border-radius: 50%; animation: bot-spin .8s linear infinite; }
@keyframes bot-spin { to { transform: rotate(360deg); } }
.bot-result { margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.bot-result[hidden] { display: none; }
.bot-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bot-result-header div { display: grid; }
.bot-result-header small { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.bot-result-header strong { font-size: 20px; }
.bot-result-badge { padding: 5px 8px; color: #087443; border-radius: 999px; background: #dcf8e9; font-size: 10px; font-weight: 900; }
.bot-result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 15px 0; }
.bot-result dl div { display: grid; }
.bot-result dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.bot-result dd { margin: 2px 0 0; font-size: 13px; font-weight: 900; }
.bot-result h4 { margin: 14px 0 7px; font-size: 13px; }
.bot-result ul { margin: 0; padding-left: 18px; color: #4d5769; font-size: 12px; }
.bot-result-summary { margin: 12px 0 0; padding: 11px; color: #4d5769; background: var(--soft); font-size: 12px; }
.bot-result-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 13px; }
.bot-result-actions a, .bot-result-actions button { min-height: 43px; display: flex; align-items: center; justify-content: center; padding: 9px; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 900; }
.bot-result-actions a { color: #fff; background: var(--orange); }
.bot-result-actions button { color: var(--blue); border: 1px solid var(--line); background: #fff; }
.bot-request-form { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bot-request-form h4 { margin: 0; }
.bot-request-form input { width: 100%; min-height: 43px; padding: 10px 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; outline: none; }
.bot-request-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(248,132,0,.12); }
.bot-request-form button { min-height: 44px; color: #fff; border: 0; border-radius: 6px; background: var(--orange); cursor: pointer; font-weight: 900; }
.bot-request-form button:disabled { opacity: .5; cursor: not-allowed; }
.bot-request-status { margin: 0; color: var(--muted); font-size: 11px; }
.bot-request-status.success { color: #087443; }
.bot-request-status.error { color: #9b2727; }
.bot-error { color: #8d2626; border-color: #f0b8b8; background: #fff5f5; }
.bot-error h4 { margin: 0 0 6px; font-size: 14px; }
.bot-error p { margin: 0; font-size: 12px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-copy { width: min(620px, 76%); }
  .condition-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 95px; }
  .service-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .process-layout, .estimate-layout, .location-layout { grid-template-columns: 1fr; gap: 44px; }
  .process-copy { position: static; }
  .estimate-copy { max-width: 650px; }
  .location-photo { height: 360px; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; }
  .brand { min-width: 0; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 7px; }
  .header-phone span { display: none; }
  .header-tools { gap: 7px; }
  .language-switcher a { min-width: 29px; }
  .hero { min-height: 680px; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,15,33,.66) 0%, rgba(5,15,33,.78) 38%, rgba(5,15,33,.98) 73%); }
  .hero-content { min-height: 680px; align-items: flex-end; padding: 48px 0 70px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: 11px; display: grid; }
  .service-band { margin-top: -26px; }
  .service-grid article { padding: 20px; }
  .section { padding-block: 72px; }
  .section h2 { font-size: 35px; }
  .condition-grid { grid-template-columns: 1fr; }
  .condition-card { min-height: 0; }
  .steps li { grid-template-columns: 50px 1fr; gap: 14px; }
  .steps strong { font-size: 19px; }
  .estimate-form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .location-photo { height: 300px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 34px 110px; }
  .footer-inner > p { margin: 0; }
  .mobile-actions { position: fixed; z-index: 60; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(7,18,37,.94); box-shadow: 0 16px 34px rgba(0,0,0,.26); backdrop-filter: blur(14px); }
  .mobile-actions a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; border-radius: 6px; font-size: 13px; font-weight: 900; }
  .mobile-actions a.primary { background: var(--orange); }
  .mobile-actions svg { width: 19px; }
  .banknote-bot-launcher { right: 10px; bottom: calc(82px + env(safe-area-inset-bottom)); left: auto; min-height: 48px; padding: 10px 14px; }
  .banknote-bot-launcher span { display: none; }
  .banknote-bot { inset: auto 8px calc(8px + env(safe-area-inset-bottom)) 8px; width: auto; max-height: calc(100dvh - 16px - env(safe-area-inset-bottom)); }
  .bot-conversation { max-height: calc(100dvh - 94px - env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
