/* ============================================================
   AvenorSkup — iOS-style redesign
   Font: Inter — читаем на PL / UA / RU
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --blue:       #0066FF;
  --blue-d:     #0052CC;
  --blue-bg:    #EBF2FF;
  --blue-mid:   #C0D8FF;

  --bg:         #F5F5F7;
  --surface:    #FFFFFF;
  --surface-2:  #F5F5F7;
  --surface-3:  #ECEFF5;

  --text:       #1D1D1F;
  --text-2:     #3C3C43;
  --text-3:     #6E6E73;
  --text-4:     #AEAEB2;

  --border:     rgba(0,0,0,0.09);
  --border-2:   rgba(0,0,0,0.05);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --shadow:    0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-blue: 0 4px 20px rgba(0,102,255,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes float {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal.d1 { transition-delay:.08s; }
.reveal.d2 { transition-delay:.16s; }
.reveal.d3 { transition-delay:.24s; }
.reveal.d4 { transition-delay:.32s; }

/* ── LANG SYSTEM ────────────────────────────────────────────── */
[data-lang]      { display:none; }
[data-lang].active { display:block; }
.li              { display:none; }
.li.active       { display:inline; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:60px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 2rem;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--border-2);
  transition:box-shadow .3s;
}
.nav.scrolled { box-shadow:var(--shadow-sm); }

.logo { font-size:17px; font-weight:700; letter-spacing:-.3px; color:var(--text); }
.logo em { font-style:normal; color:var(--blue); }

.lang-switcher {
  display:flex; gap:3px;
  background:var(--surface-3); border-radius:9px;
  padding:3px; border:1px solid var(--border-2);
}
.lang-btn {
  border:none; background:transparent;
  font-size:12px; font-weight:600; color:var(--text-3);
  padding:5px 11px; border-radius:7px; transition:all .2s; cursor:pointer;
}
.lang-btn:hover { color:var(--text); }
.lang-btn.active { background:var(--surface); color:var(--blue); box-shadow:var(--shadow-xs); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height:100svh; padding:60px 0 0;
  display:flex; align-items:center;
  position:relative; overflow:hidden;
  background:#fff;
}
.hero::before {
  content:''; position:absolute;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, #CCE0FF 0%, transparent 68%);
  top:-120px; right:-80px; pointer-events:none;
  animation:float 10s ease-in-out infinite;
}
.hero::after {
  content:''; position:absolute;
  width:360px; height:360px; border-radius:50%;
  background:radial-gradient(circle, #E8F2FF 0%, transparent 70%);
  bottom:-60px; left:-40px; pointer-events:none;
  animation:float 13s ease-in-out infinite reverse;
}

.hero-inner {
  position:relative; z-index:1;
  max-width:1140px; margin:0 auto; padding:72px 2rem 80px; width:100%;
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
  animation:fadeUp .75s cubic-bezier(.4,0,.2,1) both;
}

.hero-tag {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; font-weight:600; color:var(--blue);
  background:var(--blue-bg); border:1px solid var(--blue-mid);
  padding:5px 13px; border-radius:100px; margin-bottom:20px;
}

.hero-title {
  font-size:clamp(40px,5.5vw,72px);
  font-weight:800; letter-spacing:-2px; line-height:1.05;
  color:var(--text); margin-bottom:20px;
}
.accent-blue { color:var(--blue); }

.hero-sub {
  font-size:17px; font-weight:400; color:var(--text-2);
  line-height:1.7; margin-bottom:32px; max-width:440px;
}

.hero-ctas { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:44px; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-main {
  display:inline-flex; align-items:center; gap:7px;
  font-size:15px; font-weight:600; color:#fff; background:var(--blue);
  padding:13px 26px; border-radius:100px; border:none;
  transition:background .2s,transform .2s,box-shadow .2s;
  box-shadow:var(--shadow-blue); white-space:nowrap; cursor:pointer;
}
.btn-main:hover { background:var(--blue-d); transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,102,255,.32); }
.btn-main:active { transform:scale(.97); }

.btn-outline {
  display:inline-flex; align-items:center; gap:7px;
  font-size:15px; font-weight:600; color:var(--blue); background:var(--surface);
  padding:13px 24px; border-radius:100px; border:1.5px solid var(--blue-mid);
  transition:all .2s; white-space:nowrap;
}
.btn-outline:hover { background:var(--blue-bg); border-color:var(--blue); transform:translateY(-2px); }

/* Hero stats */
.hero-stats {
  display:flex; gap:28px;
  padding-top:28px; border-top:1px solid var(--border-2);
}
.hero-stats > div { display:flex; flex-direction:column; gap:2px; }
.stat-num { font-size:28px; font-weight:800; letter-spacing:-1px; color:var(--blue); line-height:1; }
.stat-lbl { font-size:12px; font-weight:500; color:var(--text-3); text-transform:uppercase; letter-spacing:.3px; }

/* Hero card */
.hero-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:32px 28px;
  box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.hero-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--blue) 0%,#4BA3FF 100%);
}
.hc-title {
  font-size:15px; font-weight:700; color:var(--text);
  margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--border-2);
}
.hc-list { list-style:none; display:flex; flex-direction:column; gap:13px; }
.hc-list li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-2); line-height:1.5; }
.hc-list .ic { font-size:16px; min-width:22px; text-align:center; margin-top:1px; }

/* ── ANNOUNCE ───────────────────────────────────────────────── */
.announce-section {
  background:linear-gradient(135deg,#0A1E3D 0%,#0D3580 55%,#0052CC 100%);
  padding:88px 0; position:relative; overflow:hidden;
}
.announce-section::before {
  content:''; position:absolute;
  width:700px; height:700px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,102,255,.22) 0%,transparent 70%);
  top:-200px; right:-100px; pointer-events:none;
}
.announce-section::after {
  content:''; position:absolute;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle,rgba(75,163,255,.15) 0%,transparent 70%);
  bottom:-100px; left:-80px; pointer-events:none;
}

.announce-inner {
  max-width:1140px; margin:0 auto; padding:0 2rem;
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
  position:relative; z-index:1;
}

.announce-badge {
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  color:#7EC8FF; background:rgba(0,102,255,.2); border:1px solid rgba(0,102,255,.3);
  padding:5px 14px; border-radius:100px; margin-bottom:20px;
}
.announce-title {
  font-size:clamp(34px,4.5vw,58px); font-weight:800; letter-spacing:-1.5px;
  line-height:1.05; color:#fff; margin-bottom:20px;
}
.accent-lt { color:#7EC8FF; }
.announce-desc { font-size:16px; color:rgba(255,255,255,.68); line-height:1.72; margin-bottom:28px; }
.announce-chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip {
  font-size:13px; font-weight:600; color:#fff;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
  padding:6px 14px; border-radius:100px;
}

.announce-right { display:flex; flex-direction:column; }
.ar-row {
  display:flex; gap:16px; align-items:flex-start;
  padding:18px 0; border-bottom:1px solid rgba(255,255,255,.08);
}
.ar-row:last-child { border-bottom:none; }
.ar-icon {
  width:42px; height:42px; min-width:42px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18);
  border-radius:var(--r-sm);
}
.ar-text { display:flex; flex-direction:column; gap:3px; }
.ar-text strong { font-size:14px; font-weight:700; color:#fff; display:block; }
.ar-text span { font-size:13px; color:rgba(255,255,255,.55); line-height:1.5; }

/* ── WHY ────────────────────────────────────────────────────── */
.why-section { padding:88px 0; background:var(--bg); }

.section-head { text-align:center; margin-bottom:52px; }
.sec-label {
  display:block; font-size:12px; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase;
  color:var(--blue); margin-bottom:12px;
}
.sec-title {
  font-size:clamp(28px,4vw,44px); font-weight:800;
  letter-spacing:-1.5px; line-height:1.1; color:var(--text);
}

.features-grid {
  max-width:1140px; margin:0 auto; padding:0 2rem;
  display:grid; grid-template-columns:repeat(2,1fr); gap:16px;
}
.feat-card {
  background:var(--surface); border:1px solid var(--border-2);
  border-radius:var(--r-lg); padding:28px 24px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .25s,transform .25s,border-color .25s;
}
.feat-card:hover { box-shadow:var(--shadow); transform:translateY(-3px); border-color:var(--blue-mid); }
.feat-icon { font-size:30px; margin-bottom:14px; display:block; }
.feat-title { font-size:16px; font-weight:700; color:var(--text); margin-bottom:8px; display:block; }
.feat-desc { font-size:14px; color:var(--text-3); line-height:1.65; }

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider { height:1px; background:var(--border-2); }

/* ── FORM SECTION ───────────────────────────────────────────── */
.form-section { padding:88px 0; background:var(--surface); }
.form-wrap { max-width:720px; margin:0 auto; padding:0 2rem; }
.form-head { text-align:center; margin-bottom:40px; }

.success-box {
  display:none; text-align:center; padding:48px 32px;
  background:#ECFDF5; border:1px solid #6EE7B7; border-radius:var(--r-lg); margin-bottom:24px;
}
.success-box .ck { font-size:48px; margin-bottom:16px; display:block; }
.success-box h3 { font-size:22px; font-weight:700; color:#065F46; margin-bottom:8px; }
.success-box p { font-size:15px; color:#047857; }

.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fg { display:flex; flex-direction:column; gap:6px; }
.fg.full { grid-column:span 2; }
.fg label {
  font-size:12px; font-weight:600; letter-spacing:.3px;
  text-transform:uppercase; color:var(--text-3);
}
.fg input,.fg select,.fg textarea {
  font-family:inherit; font-size:15px; color:var(--text);
  background:var(--bg); border:1.5px solid var(--border);
  border-radius:var(--r-sm); padding:11px 14px;
  outline:none; width:100%;
  transition:border-color .2s,box-shadow .2s,background .2s;
  appearance:none; -webkit-appearance:none;
}
.fg input:focus,.fg select:focus,.fg textarea:focus {
  border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,102,255,.1); background:#fff;
}
.fg input::placeholder,.fg textarea::placeholder { color:var(--text-4); }
.fg textarea { height:110px; resize:vertical; line-height:1.55; }
.fg select option { background:#fff; color:var(--text); }

.price-row { display:flex; }
.price-row input { border-radius:var(--r-sm) 0 0 var(--r-sm); border-right:none; }
.price-currency {
  background:var(--surface-3); border:1.5px solid var(--border);
  border-left:none; border-radius:0 var(--r-sm) var(--r-sm) 0;
  padding:11px 14px; font-size:14px; font-weight:600; color:var(--text-3); white-space:nowrap;
}

.upload-zone {
  position:relative; border:2px dashed var(--blue-mid);
  border-radius:var(--r); padding:28px 20px; text-align:center;
  cursor:pointer; background:var(--blue-bg); transition:all .2s;
}
.upload-zone:hover,.upload-zone.drag-over { border-color:var(--blue); background:#E0EEFF; }
.upload-zone input[type="file"] {
  position:absolute; inset:0; opacity:0; cursor:pointer;
  width:100%; height:100%; background:transparent; border:none; padding:0;
}
.upload-icon { font-size:28px; display:block; margin-bottom:8px; }
.upload-label { display:block; font-size:14px; font-weight:600; color:var(--blue); margin-bottom:4px; }
.upload-hint { display:block; font-size:12px; color:var(--text-3); }

#photo-preview { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.photo-thumb {
  position:relative; width:80px; height:80px;
  border-radius:var(--r-sm); overflow:hidden;
  border:1px solid var(--border); box-shadow:var(--shadow-xs);
}
.photo-thumb img { width:100%; height:100%; object-fit:cover; }
.photo-size {
  position:absolute; bottom:0; left:0; right:0;
  background:rgba(0,0,0,.55); color:#fff;
  font-size:10px; font-weight:600; text-align:center; padding:2px 0;
}
.photo-status { font-size:13px; color:var(--text-3); font-style:italic; }

.submit-row { grid-column:span 2; display:flex; justify-content:center; margin-top:6px; }
.btn-submit {
  font-family:inherit; font-size:16px; font-weight:700; color:#fff;
  background:var(--blue); border:none; border-radius:100px;
  padding:15px 48px; cursor:pointer;
  transition:background .2s,transform .2s,box-shadow .2s;
  box-shadow:var(--shadow-blue);
}
.btn-submit:hover { background:var(--blue-d); transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,102,255,.32); }
.btn-submit:disabled { opacity:.6; transform:none; cursor:wait; }

.form-note { text-align:center; font-size:13px; color:var(--text-4); margin-top:20px; line-height:1.5; }

/* ── CONTACT STRIP ──────────────────────────────────────────── */
.contact-strip { background:var(--text); padding:48px 0; }
.contact-inner {
  max-width:1140px; margin:0 auto; padding:0 2rem;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.ct-text h3 { font-size:22px; font-weight:800; letter-spacing:-.5px; color:#fff; margin-bottom:4px; }
.ct-text p { font-size:14px; color:rgba(255,255,255,.5); }
.ct-links { display:flex; gap:10px; flex-wrap:wrap; }
.ct-link {
  display:inline-flex; align-items:center; gap:7px;
  font-size:14px; font-weight:600; color:#fff;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18);
  padding:10px 18px; border-radius:100px; transition:all .2s;
}
.ct-link:hover { background:rgba(255,255,255,.18); transform:translateY(-2px); }
.ct-link .ic { font-size:16px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer { background:#0A0A0F; padding:28px 2rem; text-align:center; border-top:1px solid rgba(255,255,255,.06); }
.foot-logo { font-size:18px; font-weight:700; color:#fff; margin-bottom:8px; }
.foot-logo em { font-style:normal; color:#4BA3FF; }
footer p { font-size:13px; color:rgba(255,255,255,.3); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; gap:36px; max-width:640px; }
  .hero-sub { max-width:100%; }
  .announce-inner { grid-template-columns:1fr; gap:40px; }
  .features-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .nav { padding:0 1.25rem; }
  .hero-inner { padding:56px 1.25rem 64px; }
  .hero-title { letter-spacing:-1.5px; }
  .hero-ctas { flex-direction:column; }
  .btn-main,.btn-outline { justify-content:center; text-align:center; width:100%; }
  .hero-stats { gap:20px; }
  .hero-card { padding:22px 18px; }
  .announce-inner { padding:0 1.25rem; }
  .announce-title { letter-spacing:-1px; }
  .features-grid { grid-template-columns:1fr; padding:0 1.25rem; }
  .why-section .section-head { padding:0 1.25rem; }
  .form-wrap { padding:0 1.25rem; }
  .form-grid { grid-template-columns:1fr; }
  .fg.full,.submit-row { grid-column:span 1; }
  .btn-submit { width:100%; }
  .contact-inner { flex-direction:column; text-align:center; }
  .ct-links { justify-content:center; }
}
