/* =========================================================
   ASSER — Landing page styles
   Palette extracted from the brand logo
   ========================================================= */
:root {
  --gold: #C6A24E;
  --gold-light: #E3CB8A;
  --gold-dark: #A8863A;
  --teal: #0C6672;
  --teal-dark: #084B54;
  --teal-light: #E6F1F2;
  --navy: #22386F;
  --ink: #1C2436;
  --muted: #5F6B7A;
  --line: #E7E3DA;
  --cream: #FBF9F4;
  --white: #FFFFFF;

  --font-ar: 'Tajawal', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
  --header-h: 78px;

  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(28, 36, 54, .05);
  --shadow-md: 0 14px 40px rgba(28, 36, 54, .10);
  --shadow-lg: 0 30px 80px rgba(12, 102, 114, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  min-height: 100vh;
}
html.lang-en body, html.lang-ru body { font-family: var(--font-latin); }
html.lang-zh body { font-family: var(--font-zh); }
html.lang-en, html.lang-ru, html.lang-zh { --font-ar: var(--font-latin); }
html.lang-zh { --font-ar: var(--font-zh); }
html.lang-en h1, html.lang-ru h1, html.lang-zh h1 { font-weight: 700; letter-spacing: -.01em; }
html.lang-zh .hero__title { line-height: 1.35; }
html.lang-ru .hero__title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(80px, 9vw, 120px) 0; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  color: var(--teal); margin-bottom: 16px;
}
.eyebrow i { width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--center { justify-content: center; width: 100%; }
.eyebrow--light { color: var(--gold-light); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); }
.section__title--light { color: var(--white); }
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px rgba(12,102,114,.25); }
.btn--primary:hover { background: var(--teal-dark); box-shadow: 0 14px 30px rgba(12,102,114,.32); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(198,162,78,.3); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { color: var(--teal); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--sm { padding: 10px 22px; font-size: .95rem; }
.btn--block { width: 100%; }
.arrow { transition: transform .25s var(--ease); display: inline-block; }
.arrow::before { content: "←"; }
[dir="ltr"] .arrow::before { content: "→"; }
.btn--ghost:hover .arrow { transform: translateX(-4px); }
[dir="ltr"] .btn--ghost:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; }
.brand__name { font-family: var(--font-en); font-weight: 600; letter-spacing: .32em; color: var(--navy); font-size: 1.05rem; padding-inline-start: .32em; }
.nav { display: flex; gap: 34px; }
.nav a { font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease); border-radius: 2px;
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy);
  font-family: var(--font-en); font-weight: 600; font-size: .85rem; letter-spacing: .06em; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
  transition: border-color .25s, box-shadow .25s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(12,102,114,.1); }
.lang__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.lang__chev { width: 14px !important; height: 14px !important; transition: transform .25s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow-md); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; white-space: nowrap;
  padding: 10px 12px; border-radius: 9px; cursor: pointer; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.lang__menu li small { font-family: var(--font-en); font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.lang__menu li:hover { background: var(--teal-light); color: var(--teal); }
.lang__menu li.is-active { background: var(--teal); color: var(--white); }
.lang__menu li.is-active small { color: rgba(255,255,255,.8); }
.lang__menu li[data-lang="ar"] { font-family: 'Tajawal', sans-serif; }
.lang__menu li[data-lang="zh"] { font-family: var(--font-zh); }
.lang__menu li[data-lang="en"], .lang__menu li[data-lang="ru"] { font-family: var(--font-latin); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.burger span { height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; display: block; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 9vw, 120px);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.hero__orb--gold { width: 520px; height: 520px; background: var(--gold-light); inset-inline-start: -160px; top: -120px; }
.hero__orb--teal { width: 480px; height: 480px; background: #9ed2d8; inset-inline-end: -140px; bottom: -160px; }
.hero__wave { position: absolute; inset-inline-end: 0; top: 0; height: 100%; width: 40%; opacity: .5; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 4rem); color: var(--navy); line-height: 1.25; margin-bottom: 22px; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__trust { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { direction: ltr; font-family: var(--font-en); font-size: 1.7rem; color: var(--teal); font-weight: 600; line-height: 1.2; }
.hero__trust span { color: var(--muted); font-size: .95rem; }

.hero__visual { display: flex; justify-content: center; }
.logo-card {
  position: relative; width: min(100%, 420px); aspect-ratio: 1; min-height: 0; flex-shrink: 0;
}
.logo-card__img {
  position: absolute; inset: 14% 15%; width: 70%; height: 72%; object-fit: contain; z-index: 2;
  filter: drop-shadow(0 30px 50px rgba(12,102,114,.18));
  animation: float 6s ease-in-out infinite;
}
.logo-card__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(198,162,78,.45);
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
  animation: spin 24s linear infinite;
}
.logo-card__ring::before {
  content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); top: -6px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 0 6px rgba(198,162,78,.18);
}
.logo-card__ring--2 { inset: 9%; border-color: rgba(12,102,114,.35); animation-direction: reverse; animation-duration: 32s; }
.logo-card__ring--2::before { background: var(--teal); box-shadow: 0 0 0 6px rgba(12,102,114,.16); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--teal); border-radius: 14px; opacity: .6;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; border-radius: 2px;
  background: var(--gold); transform: translateX(-50%);
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__frame { position: relative; }
.about__media { width: 100%; min-width: 0; }
.about__frame-inner {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--teal-light), var(--cream));
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.about__frame-inner::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198,162,78,.5); border-radius: calc(var(--radius) - 6px);
}
.about__frame-inner img { position: absolute; inset: 14% 15%; width: 70%; height: 72%; object-fit: contain; }
.about__badge {
  position: absolute; bottom: -22px; inset-inline-start: -22px; white-space: nowrap;
  background: var(--navy); color: var(--white); padding: 18px 26px; border-radius: 14px;
  display: flex; flex-direction: column; line-height: 1.2; box-shadow: var(--shadow-md);
}
.about__badge strong { direction: ltr; font-family: var(--font-en); font-size: 1.8rem; color: var(--gold); font-weight: 600; }
.about__badge span { font-size: .85rem; opacity: .85; margin-top: 4px; }
.about__content p { color: var(--muted); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 24px 0 32px; }
.checklist li { position: relative; padding-inline-start: 30px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--teal-light); color: var(--teal);
  font-size: .8rem; display: grid; place-items: center; font-weight: 800;
}

/* ---------- Services ---------- */
.services { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal)); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal); margin-bottom: 22px;
  transition: background .3s, color .3s;
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--teal); color: var(--white); }
.card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; }
.card__link { color: var(--teal); font-weight: 700; font-size: .95rem; display: inline-flex; gap: 6px; align-items: center; }
.card__link .arrow { transition: transform .25s var(--ease); }
.card__link:hover .arrow { transform: translateX(-4px); }
[dir="ltr"] .card__link:hover .arrow { transform: translateX(4px); }

/* ---------- Why us ---------- */
.why { background: radial-gradient(1200px 600px at 85% 10%, rgba(198,162,78,.22), transparent 60%), linear-gradient(160deg, var(--teal-dark), var(--navy)); color: var(--white); position: relative; overflow: hidden; }
.why::after {
  content: ""; position: absolute; inset-inline-start: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); pointer-events: none;
}
.why__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.why__lead { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 520px; margin-bottom: 36px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.value { display: flex; gap: 16px; }
.value__num { font-family: var(--font-en); color: var(--gold); font-weight: 600; font-size: .95rem; letter-spacing: .05em; padding-top: 6px; flex-shrink: 0; min-width: 2.2ch; white-space: nowrap; }
.value h4 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; backdrop-filter: blur(6px);
  transition: background .3s, transform .3s var(--ease);
}
.stat:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.stat strong { direction: ltr; display: block; font-family: var(--font-en); font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1.1; }
.stat span { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
  background: var(--white); border: 2px solid var(--gold); color: var(--navy);
  font-family: var(--font-en); font-weight: 600; font-size: 1.4rem; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--white), var(--shadow-sm);
  transition: background .3s, color .3s, border-color .3s;
}
.step:hover .step__num { background: var(--teal); color: var(--white); border-color: var(--teal); }
.step h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(80px, 9vw, 120px); background: var(--white); }
.cta__inner {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 24px; padding: clamp(36px, 5vw, 60px); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.cta__inner::before {
  content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(198,162,78,.25); filter: blur(40px);
}
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 8px; position: relative; }
.cta p { margin: 0; opacity: .85; position: relative; }
.cta .btn { position: relative; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info p { color: var(--muted); }
.contact__list { display: grid; gap: 20px; margin: 32px 0; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list strong { display: block; color: var(--navy); font-size: .95rem; }
.contact__list a, .contact__list div > span { color: var(--muted); }
.contact__list a:hover { color: var(--teal); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--navy); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.form {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md); display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: max(16px, 1rem); font-weight: 400; padding: 13px 16px; border-radius: 12px;
  -webkit-appearance: none; appearance: none;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form input::placeholder, .form textarea::placeholder { color: #9AA3AF; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(12,102,114,.12);
}
.form textarea { resize: vertical; min-height: 120px; }
.form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-start: 40px;
}
[dir="ltr"] .form select { background-position: right 14px center; padding-inline-start: 16px; padding-inline-end: 40px; }
.form input.is-invalid, .form select.is-invalid, .form textarea.is-invalid { border-color: #D9534F; }
.form__note { margin: 0; text-align: center; font-size: .95rem; color: var(--teal); min-height: 1.5em; }
.form__note.is-error { color: #D9534F; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand p { margin-top: 18px; max-width: 320px; font-size: .95rem; color: rgba(255,255,255,.65); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; position: relative; padding-bottom: 10px; }
.footer__col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; background: var(--gold); }
.footer__col a, .footer__col span { color: rgba(255,255,255,.65); font-size: .95rem; transition: color .25s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .88rem; color: rgba(255,255,255,.55);
}
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--gold); }

.to-top {
  position: fixed; bottom: calc(26px + env(safe-area-inset-bottom)); inset-inline-end: calc(26px + env(safe-area-inset-right)); width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: grid; place-items: center; z-index: 40;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
/* Large desktops / 4K */
@media (min-width: 1600px) {
  .container { width: min(1320px, 88%); }
  body { font-size: 18px; }
  .hero__title { font-size: 4.4rem; }
}

/* Laptops / small desktops */
@media (max-width: 1200px) {
  .nav { gap: 24px; }
  .cards { gap: 16px; }
  .card { padding: 28px 22px; }
}
@media (max-width: 1100px) {
  .header__actions .btn { display: none; }
  .nav { gap: 20px; }
  .header__inner { gap: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}

/* Tablets landscape */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr .8fr; gap: 32px; }
  .about__grid, .why__grid, .contact__grid { gap: 40px; }
  .header__actions .btn { display: none; }
}

/* Tablets portrait & large phones */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); flex-direction: column; gap: 0;
    padding: 10px 6% calc(16px + env(safe-area-inset-bottom)); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .burger { display: flex; }

  .hero { min-height: auto; text-align: center; padding-top: 48px; }
  .hero__grid, .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .logo-card { width: min(60vw, 300px); }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__wave { display: none; }
  .scroll-hint { display: none; }
  .about__media { width: 100%; max-width: 400px; margin-inline: auto; }
  .values { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .section { padding: clamp(64px, 10vw, 90px) 0; }
}

/* Phones */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, 1180px); }
  .header__inner { height: 68px; gap: 10px; }
  :root { --header-h: 68px; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: .95rem; letter-spacing: .24em; }
  .lang__btn { height: 36px; padding: 0 8px 0 10px; font-size: .8rem; }
  .lang__btn .lang__chev { display: none; }

  .cards, .steps, .form__row, .stats, .footer__grid, .values { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .hero__lead { font-size: 1.02rem; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { gap: 18px; justify-content: space-around; }
  .hero__trust strong { font-size: 1.4rem; }
  .btn { padding: 13px 22px; font-size: .95rem; }
  .section__title { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .about__frame-inner { aspect-ratio: 1; }
  .about__badge { inset-inline-start: 8px; bottom: -16px; padding: 12px 18px; }
  .about__badge strong { font-size: 1.4rem; }
  .card { padding: 26px 20px; }
  .cta__inner { text-align: center; justify-content: center; padding: 30px 22px; border-radius: 20px; }
  .cta .btn { width: 100%; }
  .form { padding: 22px 18px; border-radius: 18px; }
  .contact__list li { align-items: flex-start; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__links { justify-content: center; }
  .to-top { width: 42px; height: 42px; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: calc(18px + env(safe-area-inset-right)); }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand__name { display: none; }
  .hero__trust { gap: 12px; }
  .hero__trust strong { font-size: 1.25rem; }
  .hero__trust span { font-size: .85rem; }
  .logo-card { width: 70vw; }
  .values { gap: 18px; }
}

/* Short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 40px 0 56px; }
  .logo-card { width: min(36vh, 260px); }
  .scroll-hint { display: none; }
}

/* Touch devices: no hover lift, bigger tap targets */
@media (hover: none) {
  .btn:hover, .card:hover, .stat:hover, .socials a:hover { transform: none; }
  .nav a, .footer__col a, .lang__menu li { min-height: 44px; display: flex; align-items: center; }
}

/* Print */
@media print {
  .header, .to-top, .scroll-hint, .hero__bg, .form button { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .why { background: #22386F !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
