/* ========== Base ========== */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --muted-surface: #f3f4f6;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --accent: #0ea5e9;
  --success: #16a34a;
  --danger: #dc2626;
  --ring: rgba(37, 99, 235, 0.25);
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.container.narrow {
  width: min(820px, 92%);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17,24,39,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  color: #111827;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.nav a {
  color: #111827;
  text-decoration: none;
  margin-left: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav a:hover { background: rgba(17,24,39,0.06); }

/* ========== Hero ========== */
.section { padding: 64px 0; }
.hero {
  padding: 120px 0 96px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('img/pexels-siarhei-neste.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}
.hero .hero-title { color: #ffffff; }
.hero-title {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}
.accent { color: #007934; }
.hero-telegram {
  margin-top: 16px;
  font-size: 18px;
}
.hero-telegram a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.hero-telegram a:hover {
  background: #ffffff;
  color: #111827;
}

.button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  border: 1px solid rgba(17,24,39,0.12);
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  border-color: rgba(37,99,235,0.6);
  color: #fff;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
}
.button.outline { background: transparent; }
.button.light { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ========== Banners ========== */
.banner-grid { padding-top: 8px; }
.banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.banner {
  position: relative;
  padding: 48px 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef2ff;
  border: 1px solid rgba(17,24,39,0.08);
}
.banner h2 { margin: 4px 0 18px; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
}
.banner-minsk::before { background-image: url('img/sergey-strashevskiy-.jpg'); }
.banner-paysages::before { background-image: url('img/pexels-siarhei-neste.jpg'); }
.banner-decouvrir::before { background-image: url('img/pexels-vitali-adutsk.jpg'); }
.banner * { position: relative; z-index: 1; }

/* ========== Intro ========== */
.intro .note { color: var(--muted); font-style: italic; }

/* ========== Reasons ========== */
.reasons .sub { color: var(--muted); }
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}
.reason {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  background: #ffffff;
  box-shadow: var(--shadow);
}

/* ========== Videos ========== */
.video-card { margin-top: 16px; }
.video-embed {
  margin-top: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========== Contact ========== */
.contact .sub { color: var(--muted); }
.contact-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-form {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; margin-bottom: 14px; }
label { font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: var(--muted-surface);
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}
.field.checkbox { display: flex; align-items: center; gap: 8px; }
.helper { color: var(--muted); margin-top: 8px; font-size: 14px; }

.contact-details { display: grid; gap: 16px; }
.contact-wide-image {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: var(--shadow);
}
.card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.list { margin: 0; padding-left: 18px; }
.muted { color: var(--muted); }
.quote { margin: 0; color: var(--accent); font-weight: 600; }

/* ========== Footer ========== */
.site-footer { padding: 28px 0; background: #f9fafb; border-top: 1px solid rgba(17,24,39,0.06); }
.site-footer p { margin: 0; color: var(--muted); text-align: center; }

/* ========== Expatriation Page ========== */
.service-header h2 {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 24px 0;
  color: var(--text);
}
.intro-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  max-width: 800px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.08);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.service-image {
  text-align: center;
}
.service-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.service-content h3 {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 20px;
}
.service-content p {
  margin: 0 0 16px 0;
  color: var(--text);
  line-height: 1.6;
}
.price {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0;
}
.service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form-section {
  background: #f9fafb;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.checkout-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
}

/* ========== Responsive ========== */
@media (min-width: 700px) {
  .banners { grid-template-columns: repeat(3, 1fr); }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact.no-form .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-template-columns: 200px 1fr; }
  .form-grid { grid-template-columns: repeat(3, 1fr); }
}


