/* =============================================
   PEREVIZNYK UA — Landing Page Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --blue-light:  #EFF6FF;
  --green:       #16A34A;
  --text-dark:   #0F172A;
  --text-mid:    #475569;
  --text-light:  #94A3B8;
  --white:       #FFFFFF;
  --border:      #E2E8F0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --radius:      14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── HERO (header photo) ───────────────────── */
.hero {
  position: relative;
  width: 100%;
  /* зменшено висоту */
  height: clamp(160px, 26vw, 360px);
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.0)  40%,
    rgba(255,255,255,0) 55%,
    rgba(255,255,255,1) 100%
  );
}

/* ── MAIN CONTENT ──────────────────────────── */
.content-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 24px 56px;
  text-align: center;
}

/* ── LOGO / TITLE ──────────────────────────── */
.brand {
  margin-bottom: 8px;
}

.brand h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1.1;
}

.brand .tagline {
  margin-top: 10px;
  font-size: clamp(.95rem, 2.5vw, 1.05rem);
  color: var(--text-mid);
  font-weight: 400;
}

/* ── DIVIDER ───────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 99px;
  margin: 28px auto;
}

/* ── FEATURES LIST ─────────────────────────── */
.features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 44px;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: clamp(.97rem, 2.5vw, 1.07rem);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
}

.features li .icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.features li .icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--green);
  stroke-width: 2.5;
  fill: none;
}

/* ── CTA SECTION ───────────────────────────── */
.cta-section {
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.cta-section .cta-label {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.15rem);
  padding: 18px 36px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
  transition: background .2s, transform .15s, box-shadow .2s;
  width: 100%;
  max-width: 400px;
  justify-content: center;
}

.tg-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,.45);
}

.tg-btn:active {
  transform: translateY(0);
}

.tg-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
  flex-shrink: 0;
}

/* ── FOOTER (footer photo) ─────────────────── */
.footer-photo {
  position: relative;
  width: 100%;
  height: clamp(130px, 20vw, 280px);
  overflow: hidden;
}

.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.footer-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0) 45%
  );
  z-index: 1;
}

/* ── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand        { animation: fadeUp .6s ease both; }
.divider      { animation: fadeUp .6s .1s ease both; }
.features     { animation: fadeUp .6s .2s ease both; }
.cta-section  { animation: fadeUp .6s .3s ease both; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 480px) {
  .content-wrap { padding: 28px 20px 44px; }
  .tg-btn       { padding: 16px 24px; }
}