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

:root {
  --mint: #a8f0e6;
  --mint-soft: #e6fbf7;
  --mint-deep: #58c8b5;
  --bg: #f8fafb;
  --white: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 251, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 24px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.logo span {
  color: var(--mint-deep);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-main);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 14px;
  font-weight: 500;
  background: radial-gradient(circle at top left, #c4fff3, #58c8b5);
  color: #053338;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(88, 200, 181, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(88, 200, 181, 0.45);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(88, 200, 181, 0.3);
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(88, 200, 181, 0.7);
  color: var(--text-main);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(168, 240, 230, 0.18);
  box-shadow: none;
}

.btn.small {
  padding: 8px 16px;
  font-size: 13px;
}

/* Hero */

.hero {
  padding: 48px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(168, 240, 230, 0.3);
  color: #065f46;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(17, 24, 39, 0.02);
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 11px;
  color: #065f46;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.hero-tags span {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Hero card */

.hero-card {
  position: relative;
}

.hero-card-inner {
  background: radial-gradient(circle at top left, #f4fffd, #ffffff);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 24px;
  border: 1px solid rgba(209, 250, 229, 0.4);
}

.hero-card-inner h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.hero-card-inner p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Sections */

.section {
  padding: 40px 0;
}

.section-alt {
  background: linear-gradient(to bottom, #f7fdfb, #f8fafb);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.section-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.section-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Grid */

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Methods */

.methods-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: flex-start;
}

.methods-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.method-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.method-item h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.method-item p {
  font-size: 13px;
  margin: 0;
  color: var(--text-muted);
}

.highlight-card {
  background: radial-gradient(circle at top left, #e6fbf7, #ffffff);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  border: 1px solid rgba(167, 243, 208, 0.6);
  box-shadow: var(--shadow-soft);
}

.highlight-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.highlight-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.highlight-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.highlight-card li + li {
  margin-top: 4px;
}

/* Steps */

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  background: rgba(168, 240, 230, 0.6);
  color: #064e3b;
}

.step-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.step-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Price cards */

.price-grid {
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-card ul {
  margin: 0 0 4px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.price-card li + li {
  margin-top: 3px;
}

.price {
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
}

.price-card .btn {
  margin-top: 6px;
}

.price-card-featured {
  border: 1px solid rgba(88, 200, 181, 0.7);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.price-card-featured .badge {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(24, 160, 132, 0.1);
  color: #047857;
}

/* CTA */

.cta-section {
  padding: 40px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.cta-text h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.cta-text p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-text ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-main);
}

.cta-text li + li {
  margin-top: 3px;
}

.cta-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

/* Forms */

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 12px;
  color: var(--text-muted);
}

.field input,
.field textarea {
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 9px 11px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.field textarea {
  resize: vertical;
  min-height: 70px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 1px rgba(88, 200, 181, 0.2);
  background: #ffffff;
}

.form-caption {
  font-size: 11px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.form-status {
  font-size: 12px;
  min-height: 16px;
  margin: 0;
}

.form-status.success {
  color: #047857;
}

.form-status.error {
  color: #b91c1c;
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq details {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 8px 12px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

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

.faq summary::after {
  content: "▾";
  float: right;
  font-size: 12px;
  color: var(--text-muted);
  transform-origin: center;
  transition: transform 0.12s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq p {
  margin: 6px 0 4px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Contacts */

.contacts-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.contacts-block h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.contacts-main {
  margin: 0 0 12px;
  font-size: 14px;
}

.contacts-list {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.contacts-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contacts-value {
  font-size: 14px;
  color: var(--text-main);
  text-decoration: none;
}

.contacts-map-placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(241, 245, 249, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  background: #f9fafb;
}

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

.footer-left p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 12px;
  font-size: 12px;
}

.footer-right a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--text-main);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-card {
    order: -1;
  }

  .methods-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .methods-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contacts-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 16px;
  }

  .nav {
    position: fixed;
    inset: 56px 16px auto 16px;
    padding: 12px;
    background: rgba(248, 250, 251, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    flex-direction: column;
    gap: 12px;
    transform-origin: top center;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav a {
    padding: 4px 8px;
  }

  .header-inner .btn.small {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 26px;
  }

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

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

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

/* Gallery */

.gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  border: 1px solid rgba(209, 213, 219, 0.7);
  box-shadow: var(--shadow-soft);
}

.gallery-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.gallery-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gallery-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: #111827;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

.gallery-arrow:hover {
  background: rgba(232, 252, 246, 0.95);
  border-color: var(--mint-deep);
  transform: translateY(-1px);
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.5);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, width 0.15s ease;
}

.gallery-dot.is-active {
  width: 16px;
  background: var(--mint-deep);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .gallery-slide img {
    height: 260px;
  }
}

.hero-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #065f46;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

.hero-contact-phone:hover {
  background: rgba(232, 252, 246, 0.95);
  border-color: var(--mint-deep);
  transform: translateY(-1px);
}

.hero-contact-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Специфичный стиль для WhatsApp */
.hero-contact-whatsapp {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #f9fafb;
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.4);
}

.hero-contact-whatsapp:hover {
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.5);
}

/* Специфичный стиль для Telegram */
.hero-contact-telegram {
  border-color: #3b82f6;
  color: #1d4ed8;
}

.hero-contact-telegram:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: #2563eb;
}
