/* ═══════════════════════════════════════════════
   LEXILY ENGLISH — STYLESHEET
   Color base: #470811 (deep crimson/maroon)
   ═══════════════════════════════════════════════ */

:root {
  /* ── Crimson palette ── */
  --primary:       #470811;
  --primary-dark:  #2e0509;
  --primary-darker:#180205;
  --primary-mid:   #6b1020;
  --primary-light: #9b1a30;
  --secondary:     #8e1a30;

  /* ── Gold accent (matches logo) ── */
  --accent:        #d4a017;
  --accent-light:  #e8c55a;
  --accent-dark:   #a87c10;

  /* ── Neutrals (crimson-tinted) ── */
  --dark:          #180205;
  --dark2:         #2e0509;
  --dark3:         #5a1020;
  --mid:           #7a3040;
  --light:         #b87080;
  --border:        #f0cdd0;
  --bg-white:      #ffffff;
  --bg-light:      #fdf5f5;
  --bg-lighter:    #fff8f8;
  --success:       #15803d;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(71,8,17,.08), 0 1px 2px rgba(71,8,17,.05);
  --shadow:     0 4px 24px rgba(71,8,17,.12);
  --shadow-lg:  0 10px 40px rgba(71,8,17,.18);
  --shadow-xl:  0 20px 60px rgba(71,8,17,.25);

  /* ── Misc ── */
  --radius:     14px;
  --radius-lg:  20px;
  --radius-pill:999px;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:  'Poppins', 'Inter', sans-serif;
  --nav-h:      68px;
  --lang-h:     44px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark2);
  background: var(--bg-white);
  overflow-x: hidden;
  padding-top: calc(var(--lang-h) + var(--nav-h));
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════
   LANGUAGE BAR
   ═══════════════════════════════════════════════ */
.lang-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--lang-h);
  background: var(--primary-darker);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-bar-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.lang-bar-label { font-size: 1.1rem; margin-right: .25rem; opacity: .6; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(212,160,23,.15);
}
.lang-btn.active {
  background: var(--primary);
  border-color: var(--accent);
  color: var(--accent-light);
  box-shadow: 0 0 0 2px rgba(212,160,23,.3);
}
.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-code { font-weight: 700; }
.lang-name { font-weight: 500; opacity: .9; }

/* ═══════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════ */
#header {
  position: fixed;
  top: var(--lang-h); left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(24,2,5,.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,160,23,.12);
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(24,2,5,.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.nav-container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo image */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
}

/* Keep these for any fallback text usage */
.logo-text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: #fff; }
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .45rem .8rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent-light); background: rgba(212,160,23,.1); }
.nav-link.nav-cta {
  background: var(--primary);
  color: var(--accent-light);
  padding: .45rem 1.1rem;
  font-weight: 600;
  border: 1px solid rgba(212,160,23,.35);
}
.nav-link.nav-cta:hover {
  background: var(--primary-mid);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  top: calc(var(--lang-h) + var(--nav-h));
  left: 0; right: 0; bottom: 0;
  background: var(--primary-darker);
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mobile-link {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: .7rem 2rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.mobile-link:hover { color: var(--accent-light); background: rgba(212,160,23,.1); }
.mobile-cta {
  margin-top: .5rem;
  background: var(--primary);
  color: var(--accent-light) !important;
  font-size: 1.1rem;
  padding: .75rem 2.5rem;
  border: 1px solid rgba(212,160,23,.4);
}
.mobile-cta:hover { background: var(--primary-mid) !important; }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #180205 0%, #2e0509 45%, #470811 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Animated blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #470811, #8e1a30);
  top: -15%; left: -10%;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6b1020, #2e0509);
  bottom: -10%; right: -8%;
  animation-delay: -3s;
}
.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212,160,23,.45), rgba(71,8,17,.3));
  top: 40%; left: 35%;
  animation-delay: -5s;
}
@keyframes blobFloat {
  0%   { transform: scale(1)   translate(0, 0); }
  100% { transform: scale(1.1) translate(30px, -20px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,160,23,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 5rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212,160,23,.3);
  background: rgba(212,160,23,.08);
  backdrop-filter: blur(8px);
  color: var(--accent-light);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

/* Hero title */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  min-height: 1.3em;
  margin-bottom: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
}
.cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  animation: blink .75s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.68);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: var(--accent-light);
  border-color: rgba(212,160,23,.4);
  box-shadow: 0 4px 20px rgba(71,8,17,.5);
}
.btn-primary:hover {
  background: var(--primary-mid);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(71,8,17,.55);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.65);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-white:hover {
  background: var(--bg-lighter);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Trust bar */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,160,23,.18);
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 1.5rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-icon { font-size: 1.2rem; }
.trust-sep {
  width: 1px; height: 32px;
  background: rgba(212,160,23,.25);
  flex-shrink: 0;
}

/* Scroll arrow */
.hero-scroll-arrow {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2.5px solid rgba(212,160,23,.5);
  border-bottom: 2.5px solid rgba(212,160,23,.5);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s infinite;
  margin-inline: auto;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: .5; }
}

/* ═══════════════════════════════════════════════
   SECTIONS — shared
   ═══════════════════════════════════════════════ */
.section { padding-block: 100px; }
.section-light { background: var(--bg-light); }
.section-dark  { background: linear-gradient(135deg, #180205 0%, #2e0509 100%); }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-pill {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(71,8,17,.08);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(71,8,17,.18);
}
.section-pill.light {
  background: rgba(212,160,23,.12);
  color: var(--accent-light);
  border-color: rgba(212,160,23,.25);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark2);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71,8,17,.2);
}
.feature-card:hover::before { transform: scaleX(1); }

.feat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(71,8,17,.1), rgba(142,26,48,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.feat-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark2);
  margin-bottom: .6rem;
}
.feature-card p { font-size: .95rem; color: var(--mid); line-height: 1.65; }

/* ── AI Callout ── */
.ai-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%);
  border: 1px solid rgba(212,160,23,.35);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.ai-callout::after {
  content: 'AI';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(212,160,23,.06);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -.05em;
}
.ai-callout-icon {
  font-size: 3.2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(212,160,23,.4));
}
.ai-callout-body { flex: 1; min-width: 200px; }
.ai-callout-body h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: .45rem;
}
.ai-callout-body p {
  font-size: .97rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}
.ai-callout-langs {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.ai-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  background: rgba(212,160,23,.15);
  border: 1px solid rgba(212,160,23,.35);
  color: var(--accent-light);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.step-card {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(212,160,23,.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.step-card:hover {
  background: rgba(212,160,23,.08);
  border-color: rgba(212,160,23,.35);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.step-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(212,160,23,.15);
  line-height: 1;
  margin-bottom: .5rem;
}
.step-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: .6rem;
}
.step-card p { font-size: .9rem; color: rgba(255,255,255,.58); line-height: 1.65; }
.step-connector {
  font-size: 2rem;
  color: rgba(212,160,23,.3);
  align-self: center;
  padding-top: 1rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.section-cta {
  background: linear-gradient(135deg, #470811 0%, #8e1a30 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
}
.cta-blob-1 { width: 500px; height: 500px; background: #fff;           top: -20%; left: -10%; }
.cta-blob-2 { width: 400px; height: 400px; background: var(--accent);  bottom: -15%; right: -8%; }
.cta-inner { position: relative; z-index: 2; }

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-inline: auto;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.cta-email svg { width: 18px; height: 18px; }
.cta-email:hover { color: #fff; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--primary-darker);
  color: rgba(255,255,255,.6);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(212,160,23,.1);
}
.footer-logo { margin-bottom: 1rem; }
.footer-tagline {
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer-socials { display: flex; gap: .75rem; }
.fsocial {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,160,23,.2);
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.fsocial svg { width: 20px; height: 20px; }
.fsocial.telegram:hover  { background: #229ED9; border-color: #229ED9; color: #fff; }
.fsocial.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .85rem;
  flex-wrap: wrap;
}
.footer-site { color: rgba(212,160,23,.35); }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .6s cubic-bezier(.4,0,.2,1),
    transform .6s cubic-bezier(.4,0,.2,1);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps-row { gap: .75rem; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; --lang-h: 44px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-trust { padding: .75rem 1rem; }
  .trust-item { padding: 0 .85rem; font-size: .82rem; }
  .trust-icon { font-size: 1rem; }

  .lang-name { display: none; }
  .lang-btn  { padding: .3rem .65rem; }

  .section       { padding-block: 70px; }
  .section-header{ margin-bottom: 2.5rem; }
  .logo-img      { height: 44px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: unset; }
  .hero-trust {
    flex-direction: column;
    gap: .5rem;
    background: none;
    border: none;
    backdrop-filter: none;
    padding: 0;
  }
  .trust-item { padding: 0; }
  .trust-sep  { width: 40px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-buttons   { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
}

@media (max-width: 380px) {
  .lang-code { display: none; }
  .lang-btn  { padding: .3rem .5rem; }
}
