/* MASTER LIMASSOL — light conversion layout (himchistka77-inspired) */

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

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --text: #1a2332;
  --text-muted: #5c6b7f;
  --border: #dde5ef;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #ff9500;
  --accent-soft: #fff7ed;
  --success: #16a34a;
  --wa: #25d366;
  --tg: #229ed9;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.12);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

/* ── Promo bar ── */
.promo-bar {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

.promo-bar strong { color: #fde047; }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.logo__text {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.logo__text small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--primary);
}

.nav a.is-active {
  font-weight: 700;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.header__socials {
  display: flex;
  gap: 8px;
}

.header__socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: 0.2s;
}

.header__socials a:hover { background: var(--primary-soft); color: var(--primary); }

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.mobile-nav a:hover { background: var(--surface-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover { background: var(--primary-dark); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.35);
}

.btn--wa { background: var(--wa); color: #fff; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--outline {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn--outline:hover { border-color: var(--primary); }
.btn--ghost { background: var(--surface-2); color: var(--text); }
.btn--sm { padding: 8px 16px; font-size: 0.82rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn__arrow { opacity: 0.8; }

.hide-mobile { display: none; }

/* ── Hero ── */
.hero {
  padding: 32px 0 24px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 20px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__feat svg { color: var(--success); flex-shrink: 0; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__visual-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

.hero__visual-badge strong { display: block; color: var(--primary); }

/* ── Promo banner ── */
.promo-banner {
  padding: 16px 0 32px;
}

.promo-card {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid #fdba74;
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  gap: 12px;
}

.promo-card__label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.promo-card__title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
}

.promo-card__text { color: var(--text-muted); font-size: 0.95rem; }

.promo-card__meta {
  font-size: 0.8rem;
  color: #9a3412;
}

/* ── Sections ── */
.section { padding: 48px 0; }
.section--white { background: var(--surface); }
.section__head { margin-bottom: 28px; }
.section__head--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 32px; }

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__desc {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── Stats strip ── */
.stats-strip {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: 20px 0;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}

.stats-strip__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stats-strip__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Price list ── */
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.price-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.price-tab.active,
.price-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 8px;
  transition: 0.2s;
  cursor: pointer;
}

.price-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.price-card.hidden { display: none; }

.price-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.price-card__title {
  font-weight: 700;
  font-size: 1.05rem;
}

.price-card__price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  white-space: nowrap;
}

.price-card__price small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-card__badge {
  display: inline-block;
  background: var(--accent-soft);
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.price-banner {
  background: var(--primary-soft);
  border: 1px dashed var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--primary);
}

.price-ad-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.price-ad-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.price-ad-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 8px;
}

.price-ad-card__price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.price-ad-card__sub {
  font-size: 0.88rem;
  opacity: 0.9;
}

.price-photo-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.price-photo-note strong {
  color: var(--text);
}

.price-full-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.calc-price-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.45;
  text-align: center;
}

@media (min-width: 640px) {
  .price-ad-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Works / compare ── */
.compare-grid {
  display: grid;
  gap: 20px;
}

.compare-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.compare {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare__after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.compare__handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.compare__badges {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.compare__badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.compare__badge--before { background: rgba(0,0,0,0.6); color: #fff; }
.compare__badge--after { background: var(--success); color: #fff; }

.compare-card__footer {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.compare-card__title { font-weight: 700; }
.compare-card__hint { color: var(--text-muted); font-size: 0.82rem; }

.works-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scroll-snap-type: x mandatory;
}

.works-scroll__item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.works-scroll__item img {
  width: 200px;
  height: 140px;
  object-fit: cover;
}

/* ── Reviews ── */
.reviews-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.reviews-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.reviews-stat__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.reviews-stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.review-card__name { font-weight: 700; font-size: 0.95rem; }
.review-card__date { font-size: 0.78rem; color: var(--text-muted); }
.review-card__stars { color: #fbbf24; font-size: 0.9rem; }
.review-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.review-card__tag {
  display: inline-block;
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Benefits / steps ── */
.benefits-grid {
  display: grid;
  gap: 16px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.benefit-card__title { font-weight: 700; margin-bottom: 4px; }
.benefit-card__text { font-size: 0.88rem; color: var(--text-muted); }

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.step-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-soft);
  line-height: 1;
  margin-bottom: 8px;
}

.step-card__title { font-weight: 700; margin-bottom: 6px; }
.step-card__text { font-size: 0.88rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { display: grid; gap: 10px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item__q::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.open .faq-item__q::after { content: "−"; }

.faq-item__a {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.faq-item.open .faq-item__a { display: block; }

/* ── Form ── */
.form-section { background: var(--surface); }

.form-grid {
  display: grid;
  gap: 32px;
}

.form-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

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

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: 0.2s;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form__textarea { min-height: 90px; resize: vertical; }

.form__status {
  display: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.form__status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}

.form__status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

.form-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.form-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.footer {
  background: #1a2332;
  color: #cbd5e1;
  padding: 40px 0 24px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer .logo__text { color: #fff; }
.footer .logo__text small { color: #94a3b8; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer__links a:hover { color: #fff; }

.footer__copy {
  font-size: 0.82rem;
  color: #64748b;
  padding-top: 20px;
  border-top: 1px solid #334155;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── Responsive ── */
@media (min-width: 640px) {
  .stats-strip__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-stats { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .hide-mobile { display: inline-flex; }
  .nav { display: flex; }
  .header__phone { display: block; }
  .burger { display: none; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .compare-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1024px) {
  .nav { gap: 20px; font-size: 0.88rem; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}
