/* Стили сайта. Для текстов и цен удобнее сначала править data.js */


:root {
  --bg: #f3eee4;
  --bg-deep: #0c3a40;
  --sand: #f7f2e9;
  --foam: #ffffff;
  --ink: #132327;
  --ink-soft: #3e555b;
  --muted: #5b7076;
  --line: rgba(19, 35, 39, 0.1);
  --sea: #0e5c63;
  --sea-mid: #18747c;
  --sea-soft: #dceeed;
  --palm: #1f7a6b;
  --sunset: #e25a15;
  --sunset-dark: #c44b0d;
  --gold: #e7bf62;
  --whatsapp: #128c4a;
  --whatsapp-dark: #0e743d;
  --shadow: 0 16px 40px rgba(19, 35, 39, 0.08);
  --radius: 22px;
  --header-h: 72px;
  --font-display: "Geologica", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
a {
  font: inherit;
}

a {
  color: var(--sea);
}

h1,
h2,
h3,
.logo-name,
.btn,
.nav a,
.price-value,
.faq-item summary {
  font-family: var(--font-display);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--foam);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--sea);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lede,
.hero-copy p,
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(243, 238, 228, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.logo-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 0.95rem;
  line-height: 1.15;
}

.logo-city {
  display: block;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--foam);
  cursor: pointer;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

.btn.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 14px;
}

.nav {
  position: fixed;
  inset: var(--header-h) 16px auto;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  flex-direction: column;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--sea-soft);
}

.nav-toggle:checked ~ .nav {
  display: flex;
}

.nav-toggle:checked + .nav-burger span {
  background: transparent;
}

.nav-toggle:checked + .nav-burger span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-tg {
  background: var(--sunset);
  color: #fff;
  box-shadow: 0 10px 24px rgba(226, 90, 21, 0.28);
}

.btn-tg:hover,
.btn-tg:focus-visible {
  background: var(--sunset-dark);
  color: #fff;
}

.btn-wa {
  background: var(--foam);
  color: var(--whatsapp-dark);
  border-color: rgba(18, 140, 74, 0.28);
}

.btn-wa:hover,
.btn-wa:focus-visible {
  background: #e8f6ee;
  color: var(--whatsapp-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-actions,
.contact-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-actions .btn {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 20px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px 6px 6px;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-badge i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sea-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sea);
}

.hero-copy p {
  max-width: 38rem;
  margin-bottom: 24px;
  font-size: 1.12rem;
}

.hero-art {
  position: relative;
  min-height: 240px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(231, 191, 98, 0.55), transparent 28%),
    linear-gradient(180deg, #4ea4ad 0%, #1b6d74 42%, #0d4450 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art svg {
  width: 100%;
  height: auto;
}

/* Steps */

.steps {
  padding: 8px 0 36px;
}

.steps-grid {
  display: grid;
  gap: 12px;
}

.step {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Cards / rental */

.rental,
.sale,
.reviews {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 80%);
}

.notice {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff4df;
  color: #7a4a00;
  font-size: 0.86rem;
  font-weight: 650;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(19, 35, 39, 0.04);
  display: flex;
  flex-direction: column;
}

.card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sea-soft);
}

.card-visual svg {
  width: 100%;
  height: 100%;
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.meta,
.card-note,
.review-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}

.price-box {
  background: var(--sand);
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
  min-width: 0;
}

.price-box span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.price-value {
  margin-top: 2px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(0.78rem, 2.6vw, 0.95rem);
  white-space: nowrap;
}

.price-unit {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
}

.sale-price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sale-price .price-unit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a4a00;
  background: #fff4df;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Repair / terms */

.icon-grid,
.terms-grid {
  display: grid;
  gap: 12px;
}

.service,
.term {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.service-icon,
.term-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sea-soft);
  color: var(--sea);
}

.service p,
.term p,
.review p,
.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* Reviews */

.review {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stars {
  color: #c98812;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.example-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff4df;
  color: #7a4a00;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: none;
  flex: 0 0 auto;
  color: var(--sea);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 16px;
}

/* Contacts */

.contacts {
  padding-bottom: 48px;
}

.contacts-grid {
  display: grid;
  gap: 16px;
}

.contact-card,
.map-wrap {
  background: var(--bg-deep);
  color: #e7f2f2;
  border-radius: 24px;
  padding: 24px;
}

.map-wrap {
  position: relative;
  padding: 10px;
  min-height: 320px;
  background: #d8ecec;
  overflow: hidden;
}

.map-fallback {
  position: absolute;
  inset: 10px;
  z-index: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bg-deep);
  text-align: center;
  background:
    radial-gradient(circle at 70% 30%, #f2d37a 0 18px, transparent 19px),
    linear-gradient(180deg, #8ec8cc 0%, #3e8a91 42%, #1b5860 100%);
  color: #f4fbfb;
}

.map-fallback strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.map-fallback span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.map-wrap iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

.contact-card h2,
.contact-card p,
.contact-list {
  color: inherit;
}

.contact-card .lede {
  color: rgba(231, 242, 242, 0.78);
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.contact-list .hint {
  display: block;
  color: rgba(231, 242, 242, 0.62);
  font-size: 0.86rem;
}

/* Footer */

.footer {
  padding: 28px 0 110px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

/* Floating Telegram button */

.float-tg {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 16px 0 8px;
  border-radius: 999px;
  background: var(--sunset);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(226, 90, 21, 0.38);
}

.float-tg:hover,
.float-tg:focus-visible {
  background: var(--sunset-dark);
  color: #fff;
}

.float-tg .icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
}

.float-tg svg {
  width: 22px;
  height: 22px;
}

/* Focus and motion */

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .float-tg { transition: none; }
  .btn:hover { transform: none; }
}

/* Desktop */

@media (min-width: 760px) {
  .wrap { width: min(1120px, calc(100% - 48px)); }

  .nav-burger { display: none; }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    inset: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 4px;
  }

  .nav a { padding: 8px 10px; font-size: 0.92rem; }

  .btn.header-cta { min-height: 42px; padding: 8px 14px; }
  .card-actions .btn { width: auto; }

  .hero { padding: 36px 0 28px; }
  .hero-grid,
  .contacts-grid { grid-template-columns: 1.05fr 0.95fr; gap: 36px; }
  .hero-art { min-height: 420px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .icon-grid,
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .float-tg span.label { display: none; }
  .float-tg { padding: 0; width: 58px; height: 58px; justify-content: center; }
  .float-tg .icon-bubble { background: transparent; }
}

@media (min-width: 1020px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .sale .cards { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(4, 1fr); }
  .terms-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}


/* Daily rental price */
.day-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.day-price .price-value {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.day-price .price-unit {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

/* 50cc mopeds — same cards, a bit wider on desktop */
.moped-block,
#moped-block {
  margin-top: 16px;
}

@media (min-width: 760px) {
  .moped-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
    align-items: stretch;
  }
  .moped-card .card-visual {
    aspect-ratio: auto;
    min-height: 220px;
  }
  .moped-card .card-body {
    padding: 22px 24px;
  }
}

/* Modest repair mention */
.repair-note {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Sales service pitch */
.sale-pitch {
  max-width: 740px;
}

.sale-lead {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.sale-benefits {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.sale-benefits li {
  position: relative;
  padding: 10px 14px 10px 40px;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.sale-benefits li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--sea);
  font-weight: 700;
}

@media (min-width: 760px) {
  .sale-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

/* Modest contacts */
.contacts-simple {
  max-width: 480px;
}

.contacts-simple .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.contacts-simple .contact-actions .btn {
  margin-bottom: 0;
}

.contacts-simple h2 {
  margin-bottom: 8px;
}

.contacts-simple p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.contacts-simple .btn {
  margin-bottom: 12px;
}

.contacts-simple .contact-nick {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--ink);
}

.contacts-simple .contact-place {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
