@font-face {
  font-family: "Anastasia";
  src: url("./fonts/Anastasia.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Honfleur-Heavy";
  src: url("./fonts/Honfleur-Heavy.otf") format("truetype");
  font-display: swap;
}

:root {
  --color-text: #1a1a1a;
  --color-muted: #666;
  --color-bg: #fff;
  --color-soft: #f9f9fb;
  --color-dark: #080f1b;
  --color-black: #000;
  --color-yellow: #ffd118;
  --color-yellow-hover: #e8bc00;
  --color-border: #e8e8e8;
  --color-telegram: #29b6f6;
  --container: 1440px;
  --page-gutter: clamp(20px, 5.5vw, 80px);
  --section-y: clamp(56px, 6vw, 88px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 8px 32px rgb(0 0 0 / 8%);
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Noto Sans Georgian", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgb(255 209 24 / 75%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: 100%;
}

.sec {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: var(--section-y) var(--page-gutter);
}

.sec-center {
  text-align: center;
}

.sec-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.sec-sub {
  max-width: 760px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  color: #6b6b6b;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  width: 100%;
  background: var(--color-black);
}

.nav-inner {
  position: relative;
  width: min(100%, var(--container));
  min-height: 104px;
  margin-inline: auto;
  padding: 16px var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
}

.nav-menu {
  display: contents;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
  font-family: "Anastasia", "Noto Sans Georgian", sans-serif;
}

.nav-left {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.nav-right {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.nav-link {
  color: rgb(255 255 255 / 85%);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-yellow);
}

.nav-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  color: var(--color-yellow);
  font-family: "Honfleur-Heavy", "Noto Sans Georgian", sans-serif;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}


.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 10px;
  background: rgb(255 255 255 / 6%);
  color: #fff;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover {
  border-color: rgb(255 209 24 / 65%);
  background: rgb(255 209 24 / 10%);
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-toggle-line + .nav-toggle-line {
  margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn-outline-nav {
  min-height: 44px;
  padding: 9px 24px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 700;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-outline-nav:hover {
  background: #fff;
  color: #000;
}

/* Hero */
.hero {
  overflow: hidden;
  min-height: 480px;
  background: var(--color-soft);
}

.hero-inner {
  width: min(100%, var(--container));
  min-height: 480px;
  margin-inline: auto;
  padding: clamp(54px, 5vw, 76px) var(--page-gutter) clamp(42px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.hero-badge {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b6b6b;
  font-size: 14px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--color-yellow);
}

.hero h1 {
  max-width: 800px;
  margin: 0 0 20px;
  color: var(--color-text);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 34px;
  color: #555;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.75;
}

.btn-yellow {
  min-height: 52px;
  padding: 14px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-yellow);
  color: #000;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-yellow:hover {
  background: var(--color-yellow-hover);
  box-shadow: 0 10px 24px rgb(255 209 24 / 24%);
  transform: translateY(-2px);
}

.btn-yellow svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.hero-car {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  transform: translateX(
    calc(max(0px, (100vw - var(--container)) / 2) + var(--page-gutter))
  );
}

.hero-car img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 480 / 340;
  object-fit: cover;
}

/* Features */
.features {
  background: #fff;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feat-card {
  min-width: 0;
  padding: clamp(24px, 2.5vw, 32px) clamp(20px, 2vw, 28px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feat-card:hover {
  border-color: var(--color-yellow);
  box-shadow: 0 8px 28px rgb(255 209 24 / 14%);
  transform: translateY(-2px);
}

.feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.feat-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.feat-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.feat-desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Benefits */
.benefits-wrap {
  background: var(--color-soft);
}

.benefits .sec-title {
  margin-bottom: 40px;
}

.ben-list {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ben-item {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 34px);
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ben-item:hover {
  border-color: var(--color-yellow);
  box-shadow: 0 8px 28px rgb(255 209 24 / 12%);
  transform: translateY(-2px);
}

.ben-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgb(255 209 24 / 12%);
  color: var(--color-yellow);
}

.ben-icon svg {
  width: 24px;
  height: 24px;
}

.ben-body {
  min-width: 0;
  text-align: left;
}

.ben-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.ben-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* How it works */
.how-wrap {
  background: var(--color-dark);
}

.how {
  color: #fff;
}

.how .sec-title {
  color: #fff;
}

.how .sec-title span {
  color: var(--color-yellow);
}

.how .sec-sub {
  color: rgb(255 255 255 / 60%);
}

.steps-wrap {
  position: relative;
  margin-top: 16px;
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.step {
  position: relative;
  min-width: 0;
  padding: 36px 28px 32px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  background: rgb(255 255 255 / 5%);
  text-align: center;
  transition: opacity 550ms cubic-bezier(.22, 1, .36, 1), transform 550ms cubic-bezier(.22, 1, .36, 1), background 300ms ease, border-color 300ms ease;
}

.step:hover {
  border-color: rgb(255 209 24 / 30%);
  background: rgb(255 209 24 / 8%);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-yellow);
  color: #000;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 4px 16px rgb(255 209 24 / 40%);
  transform: translateX(-50%);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 2px solid rgb(255 209 24 / 30%);
  border-radius: 16px;
  background: rgb(255 209 24 / 8%);
  color: var(--color-yellow);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: rgb(255 255 255 / 60%);
  font-size: 14px;
  line-height: 1.7;
}

.steps-connector-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.steps-connector-svg line {
  stroke: var(--color-yellow);
  stroke-width: 2;
  stroke-dasharray: 6 3;
  opacity: .55;
}

/* Telegram */
.tg-sec {
  padding: clamp(42px, 5vw, 64px) var(--page-gutter);
}

.telegram {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 46px) clamp(24px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: var(--radius-lg);
  background: #f3f5fb;
}

.telegram::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #e9ecf3;
}

.tg-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.tg-icon {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-telegram);
}

.tg-icon svg {
  width: 48px;
  height: 48px;
  fill: #fff;
}

.tg-text {
  min-width: 0;
}

.tg-text h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.3;
}

.tg-text p {
  margin: 0 0 18px;
  color: #666;
  font-size: clamp(15px, 1.4vw, 18px);
}

.tg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tg-pill {
  padding: 9px 16px;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.tg-pill span {
  margin-right: 6px;
  color: #c99f00;
}

.tg-right {
  flex: 0 1 340px;
}

.btn-tg {
  width: min(100%, 340px);
  min-height: 60px;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 10px 24px rgb(0 0 0 / 8%);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-tg svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.btn-tg:hover {
  background: var(--color-telegram);
  color: #fff;
  box-shadow: 0 16px 32px rgb(0 0 0 / 12%);
  transform: translateY(-2px);
}

/* Map and CTA */
.office-section {
  padding-top: clamp(50px, 6vw, 84px);
  padding-bottom: clamp(50px, 6vw, 84px);
}

.map-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.map-box h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.map-placeholder {
  position: relative;
  overflow: hidden;
  height: clamp(260px, 30vw, 340px);
  border-radius: var(--radius-md);
  background: #e8eaed;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-box address {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6b6b6b;
  font-size: 14px;
  font-style: normal;
}

.map-box address svg {
  flex: 0 0 16px;
  color: #999;
}

.cta-box {
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

.cta-box p {
  max-width: 520px;
  margin: 0 auto 30px;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.7;
}

/* FAQ */
.faq-wrap {
  background: var(--color-soft);
}

.faq-wrap .sec-title {
  margin-bottom: 36px;
}

.faq-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.faq-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
}

.faq-item h3 {
  margin: 0;
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  transition: color var(--transition);
}

.faq-q:hover {
  color: #b78f00;
}

.faq-arrow {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.faq-arrow svg {
  width: 12px;
  height: 12px;
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-a[hidden] {
  display: none;
}

.faq-item.open .faq-arrow {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: #000;
  transform: rotate(45deg);
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.article-card:hover {
  border-color: #ddd;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.article-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.article-img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #aaa;
}

.article-img-placeholder--warm {
  background: linear-gradient(135deg, #f5f0e0, #ede8d5);
}

.article-img-placeholder--blue {
  background: linear-gradient(135deg, #e8f4f8, #d5edf5);
}

.article-img-placeholder--sand {
  background: linear-gradient(135deg, #f0ede8, #e8e0d5);
}

.article-img-placeholder svg {
  width: 48px;
  height: 48px;
}

.article-body {
  padding: 22px 24px;
}

.article-tag {
  margin-bottom: 8px;
  color: #b78f00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-body h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.article-body p {
  margin: 0 0 16px;
  color: #777;
  font-size: 13px;
  line-height: 1.65;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-date {
  color: #999;
  font-size: 12px;
}

.article-btn {
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.article-btn:hover {
  border-color: var(--color-yellow);
  background: rgb(255 209 24 / 8%);
  color: #8a6b00;
}

/* Footer */
.footer-wrap {
  background: #000;
}

.footer {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: 60px var(--page-gutter) 0;
}

.footer-top {
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
  color: var(--color-yellow);
  font-family: "Honfleur-Heavy", "Noto Sans Georgian", sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand p {
  max-width: 340px;
  margin: 0;
  color: rgb(255 255 255 / 55%);
  font-size: 14px;
  line-height: 1.75;
}

.footer-contact {
  margin-top: 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-contact span {
  margin-bottom: 4px;
  display: block;
  color: rgb(255 255 255 / 40%);
  font-size: 12px;
  font-weight: 400;
}

.footer-contact a {
  text-decoration: none;
}

.footer-col h2 {
  margin: 0 0 20px;
  color: rgb(255 255 255 / 45%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-col a {
  margin-bottom: 12px;
  display: block;
  color: rgb(255 255 255 / 75%);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover,
.footer-contact a:hover {
  color: var(--color-yellow);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  margin: 0;
  color: rgb(255 255 255 / 38%);
  font-size: 13px;
}

.footer-copy a {
  color: inherit;
}

/* Modal */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgb(0 0 0 / 55%);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: opacity 250ms ease, visibility 250ms ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: min(100%, 390px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
  opacity: 0;
  transform: scale(.94) translateY(12px);
  transition: transform 280ms cubic-bezier(.34, 1.56, .64, 1), opacity 250ms ease;
}

.overlay.active .modal {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal-head {
  padding: 22px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.modal-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.modal-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  color: #666;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: #eee;
  color: #222;
}

.modal-section {
  padding: 18px 24px 4px;
}

.modal-section--compact {
  padding-bottom: 0;
}

.modal-section--no-bottom {
  padding-bottom: 0;
}

.modal-section-label {
  margin-bottom: 12px;
  color: #999;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.modal-option {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition);
}

.modal-option:hover {
  background: #f7f7f7;
}

.modal-option-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.modal-option-icon svg {
  width: 22px;
  height: 22px;
}

.modal-option-icon--phone {
  background: rgb(52 199 89 / 12%);
  color: #34c759;
}

.modal-option-icon--telegram {
  background: rgb(41 182 246 / 12%);
  fill: #29b6f6;
}

.modal-option-text {
  min-width: 0;
}

.modal-option-text strong {
  display: block;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}

.modal-option-text span {
  display: block;
  color: #888;
  font-size: 13px;
  line-height: 1.45;
}

.modal-row {
  padding: 12px 24px 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.modal-row-btn {
  min-width: 0;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.modal-row-btn:hover {
  border-color: #ddd;
  background: #f9f9f9;
  transform: translateY(-2px);
}

.ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.ico svg {
  width: 26px;
  height: 26px;
}

.ico--whatsapp {
  background: rgb(37 211 102 / 8%);
}

.ico--viber {
  background: rgb(115 96 242 / 8%);
}

.modal-row-btn > span {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.modal-phone {
  padding: 14px 24px 4px;
  color: var(--color-text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}

.modal-phone a {
  text-decoration: none;
}

.modal-note {
  padding: 4px 24px 24px;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Scroll reveal */
.fade-up,
.step.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
}

.fade-up,
.step.reveal-ready {
  transition-delay: var(--reveal-delay, 0ms);
}

.fade-up.in-view,
.step.reveal-ready.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-inner {
    gap: 24px;
  }

  .nav-left,
  .nav-right {
    gap: 18px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  }

  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telegram {
    align-items: flex-start;
  }

  .tg-left {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }

  .nav-inner {
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .nav-logo {
    order: 1;
    justify-self: auto;
    font-size: clamp(38px, 9vw, 48px);
  }

  .nav-toggle {
    order: 2;
    display: block;
    flex: 0 0 46px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--page-gutter);
    right: var(--page-gutter);
    z-index: 110;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 16px;
    background: #0c0c0c;
    box-shadow: 0 18px 44px rgb(0 0 0 / 38%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top right;
    transition: opacity 180ms ease, visibility 180ms ease, transform 220ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-left,
  .nav-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-right {
    padding-top: 8px;
    border-top: 1px solid rgb(255 255 255 / 10%);
  }

  .nav-link {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.3;
    transition: color var(--transition), background var(--transition);
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    background: rgb(255 209 24 / 10%);
  }

  .btn-outline-nav {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps-connector-svg {
    display: none;
  }

  .telegram {
    flex-direction: column;
    align-items: stretch;
  }

  .tg-right {
    flex-basis: auto;
  }

  .btn-tg {
    width: 100%;
    max-width: 420px;
  }

  .map-cta,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  

  .hero-car {
    justify-content: flex-end;
  }

  .hero-car img {
    max-width: 560px;
  }

  .feat-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .tg-left {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 20px;
  }

  html {
    scroll-padding-top: 82px;
  }

  .nav-inner {
    min-height: 72px;
  }

  .nav-logo {
    font-size: 40px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .nav-menu {
    left: 12px;
    right: 12px;
    padding: 12px;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(30px, 10vw, 38px);
  }

  .btn-yellow {
    width: 100%;
  }

  .ben-item {
    flex-direction: column;
    gap: 16px;
  }

  .tg-sec {
    padding-inline: 16px;
  }

  .telegram {
    padding: 28px 20px;
  }

  .tg-icon {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .tg-icon svg {
    width: 40px;
    height: 40px;
  }

  .tg-pills {
    gap: 8px;
  }

  .tg-pill {
    padding: 8px 12px;
    font-size: 12px;
  }

  .btn-tg {
    padding-inline: 18px;
    font-size: 14px;
  }

  .faq-q {
    padding: 18px;
    font-size: 14px;
  }

  .faq-a {
    padding: 0 18px 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .overlay {
    padding: 12px;
  }

  .modal {
    max-height: calc(100dvh - 24px);
  }

  .modal-head,
  .modal-section,
  .modal-row {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 14px;
  }

  .nav-logo {
    font-size: 36px;
  }

  .nav-menu {
    left: 8px;
    right: 8px;
  }

  .modal-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1800px) {
  :root {
    --container: 1560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .fade-up,
  .step.reveal-ready {
    opacity: 1;
    transform: none;
  }
}