@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  --font-main: 'IBM Plex Sans Arabic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --primary: #0c6b82;
  --primary-dark: #0f2d3d;
  --accent: #e8b86a;
  --accent-soft: #fdf6ea;
  --mint: #2a9d8f;
  --rose: #b85c6a;
  --rose-soft: #fdf5f6;

  --bg: #f6fafb;
  --bg-warm: linear-gradient(180deg, #fdfcfb 0%, #f0f8fa 45%, #f6fafb 100%);
  --card: #ffffff;
  --text: #163044;
  --muted: #5d6e7a;
  --border: #e2eef2;

  --shadow: 0 18px 50px rgba(18, 50, 74, .10);
  --shadow-soft: 0 12px 40px rgba(15, 45, 61, .08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 254, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 234, 242, .85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 8px 28px rgba(15, 45, 61, .06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-lockup {
  gap: 14px;
}

.logo-lockup__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  text-align: right;
}

.logo-lockup__name {
  font-weight: 800;
  font-size: 15px;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.logo-lockup__en {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .05em;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 52px;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2.2vw, 26px);
  color: var(--muted);
  font-weight: 600;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 7px;
  background: linear-gradient(180deg, #fff 0%, #f4fafb 100%);
  border: 1px solid rgba(214, 232, 238, .95);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 4px 14px rgba(15, 45, 61, .06);
}

.nav-pill__sep {
  width: 1px;
  height: 22px;
  align-self: center;
  background: linear-gradient(180deg, transparent 10%, #c5dce6 50%, transparent 90%);
  flex-shrink: 0;
  opacity: .85;
}

.nav-pill__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}

.nav-pill__link:hover {
  color: var(--primary);
  background: rgba(232, 246, 249, .9);
}

.nav-pill__link--quiet {
  font-weight: 500;
  font-size: 13px;
  color: #6a7d89;
}

.nav-pill__link--quiet:hover {
  color: var(--primary);
}

.nav-ctas {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-ctas .btn {
  min-height: 44px;
  padding-top: 11px;
  padding-bottom: 11px;
  padding-inline: 20px;
  font-size: 14px;
}

.nav-store {
  box-shadow: 0 4px 14px rgba(15, 45, 61, .07);
}

.nav-cta {
  box-shadow: 0 8px 22px rgba(12, 107, 130, .24);
}

.program-lead {
  padding-top: 44px;
}

.header .nav {
  position: relative;
}

.nav-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--primary-dark);
  transition: .2s ease;
  flex-shrink: 0;
}

.nav-burger:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
  font-size: 15px;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 24px rgba(14, 116, 144, .22);
}

.btn-primary:hover {
  background: #0b627b;
  transform: translateY(-1px);
}

.btn-soft {
  background: #e8f8fb;
  color: var(--primary);
}

.btn-soft:hover {
  background: #d7f2f7;
}

.btn-nav-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid rgba(12, 107, 130, .32);
  box-shadow: 0 2px 10px rgba(15, 45, 61, .06);
}

.btn-nav-secondary:hover {
  background: #f2fafc;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Hero */

.hero {
  padding: 44px 0 36px;
}

.hero .badge {
  background: var(--accent-soft);
  color: #6b4a12;
  border-color: #f0dcc0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 36px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7df;
  color: #8c6200;
  border: 1px solid #ffe4a5;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  margin: 18px 0 16px;
  color: var(--primary-dark);
  letter-spacing: -.8px;
  font-weight: 700;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.trust span {
  background: white;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -70px auto auto -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(43, 179, 163, .14);
}

.video-box {
  height: 230px;
  border-radius: 24px;
  background: linear-gradient(145deg, #e8f8fb, #fff8e5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}

.play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 14px 38px rgba(18, 50, 74, .18);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 30px;
  padding-right: 4px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  border-radius: 14px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f8fb;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
}

/* Sections */

.section {
  padding: 52px 0;
}

.section-title {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 780px;
}

.section-title h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--primary-dark);
  margin: 0 0 10px;
  font-weight: 700;
}

.section-title p {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(18, 50, 74, .06);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.22s ease;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e8f8fb;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 14px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  max-width: 840px;
  margin: auto;
}

.step {
  counter-increment: step;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 8px 22px rgba(18, 50, 74, .05);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease,
    border-color 0.22s ease;
}

.step::before {
  content: counter(step);
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.step strong {
  color: var(--primary-dark);
}

.step p {
  margin: 2px 0 0;
  color: var(--muted);
}

/* CTA */

.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 32px;
  padding: 36px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 700;
}

.cta p {
  margin: 0;
  color: #d9f4fa;
}

.cta .btn {
  background: white;
  color: var(--primary-dark);
}

/* Form Page */

.form-page {
  padding: 44px 0 70px;
}

.form-shell {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 22px;
  align-items: start;
}

.side-panel,
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.side-panel h2,
.form-card h1 {
  margin-top: 0;
  color: var(--primary-dark);
}

.notice {
  background: #fff7df;
  border: 1px solid #ffe4a5;
  border-radius: 18px;
  padding: 14px;
  color: #775100;
  font-weight: 600;
  margin: 16px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--primary-dark);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: #fbfeff;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, .10);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f7fbfd;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  margin: 18px 0;
}

.consent input {
  width: 18px;
  margin-top: 7px;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.loading {
  display: none;
  color: var(--muted);
  font-weight: 700;
}

/* Footer */

.footer {
  padding: 40px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fafcfd 0%, #fff 55%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 17px;
}

.footer-en {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .06em;
}

.footer-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-divider {
  width: min(320px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.footer-credit {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-design-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #7a8b96;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.footer-design-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Scroll reveal (يتطلب html.js-scroll-reveal من السكربت) */

@media (prefers-reduced-motion: no-preference) {
  html.js-scroll-reveal .reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.js-scroll-reveal .reveal--delay {
    transition-delay: 0.14s;
  }

  html.js-scroll-reveal .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.success-box {
  text-align: center;
  max-width: 720px;
  margin: 70px auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.success-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #e8f8fb;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 42px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 920px) {
  .logo-lockup__text {
    display: none;
  }
}

/* Mobile */

@media (max-width: 860px) {
  .hero-grid,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cta {
    display: block;
  }

  .cta .btn {
    margin-top: 18px;
  }

  .nav-burger {
    display: inline-flex;
    z-index: 25;
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    z-index: 40;
  }

  .nav-pill__link:hover {
    background: #e8f6f9;
  }

  .nav-links .btn {
    justify-content: center;
    margin-top: 6px;
  }

  .nav-ctas {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 4px;
  }

  .nav-ctas .btn {
    width: 100%;
    margin-top: 0;
  }

  .nav-pill {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px;
    gap: 4px;
    border-radius: 18px;
    background: rgba(246, 251, 253, .85);
    box-shadow: none;
  }

  .nav-pill__sep {
    display: none;
  }

  .nav-pill__link {
    text-align: center;
    padding: 12px 14px;
    font-size: 15px;
    white-space: normal;
  }

  .nav-pill__link--quiet {
    font-size: 14px;
  }

  #nav-drawer:checked ~ .nav-links {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .logo img {
    height: 48px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -.4px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-card,
  .side-panel,
  .form-card,
  .success-box {
    border-radius: 24px;
    padding: 22px;
  }

  .video-box {
    height: 190px;
  }

  .split-cards {
    grid-template-columns: 1fr;
  }

  .section-anchor {
    scroll-margin-top: 76px;
  }

  .prose-block {
    font-size: 17px;
  }

  .final-banner {
    padding: 32px 18px;
  }

  .final-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-banner .btn-final {
    width: 100%;
  }
}

/* Payment Section */

.payment-section {
  margin-top: 40px;
}

.payment-card {
  background: linear-gradient(145deg,#ffffff,#f7fcff);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 15px 40px rgba(18,50,74,.08);
}

.payment-header {
  text-align: center;
  margin-bottom: 26px;
}

.payment-badge {
  display: inline-block;
  background: #fff4d6;
  color: #8a6200;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.payment-header h2 {
  margin: 0;
  font-size: 42px;
  color: var(--primary-dark);
}

.payment-header p {
  margin-top: 12px;
  color: var(--muted);
}

.bank-details {
  display: grid;
  gap: 18px;
}

.bank-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.bank-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 14px;
}

.bank-item strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.iban-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.iban-box input {
  flex: 1;
  background: #f7fbfd;
  font-weight: 700;
  letter-spacing: .5px;
}

.copy-btn {
  border: 0;
  background: var(--primary);
  color: white;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.copy-btn:hover {
  background: #0b627b;
}

.transfer-note {
  margin-top: 22px;
  background: #fff8e7;
  border: 1px solid #ffe0a3;
  color: #805b00;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 600;
}

/* WhatsApp Floating Button */

/* Footer WhatsApp */

.footer-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.footer-wa-btn{
  background:#25D366;
  color:#fff !important;

  text-decoration:none;

  padding:14px 26px;

  border-radius:999px;

  font-weight:700;

  box-shadow:
    0 10px 30px rgba(37,211,102,.25);

  transition:.2s ease;
}

.footer-wa-btn:hover{
  background:#1ebe5d;
  transform:translateY(-2px);
}
.secure-note{
  margin-top:16px;
  text-align:center;
  color:#0b627b;
  font-weight:600;
  background:#eef9fc;
  border:1px solid #d5eef5;
  padding:12px;
  border-radius:14px;
}

.form-heading{
  margin-bottom:32px;
}

.form-badge{
  display:inline-block;
  background:#eef8fb;
  color:#0b627b;
  padding:10px 18px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  margin-bottom:16px;
}

.form-card .section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 42px 0 24px;
  text-align: right;
  max-width: none;
}

.upload-field{
  margin-top:20px;
}

.upload-field input[type=file]{
  padding:18px;
  background:#f8fcfe;
}

.submit-row{
  margin-top:34px;
}

.submit-row .btn{
  min-width:220px;
}

/* —— Homepage: brand strip, program, store, plan —— */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-strip {
  background: var(--bg-warm);
  border-bottom: 1px solid rgba(226, 238, 242, .9);
  padding: 28px 0 32px;
}

.brand-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  background: white;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.brand-logo-wrap img {
  height: clamp(88px, 18vw, 120px);
  width: auto;
  display: block;
}

.brand-tagline {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
  font-weight: 600;
  max-width: 560px;
  line-height: 1.75;
}

.brand-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

.section--soft {
  background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}

.section--rose {
  background: linear-gradient(165deg, #fff 0%, var(--rose-soft) 55%, #fff 100%);
}

.section--store {
  background: linear-gradient(180deg, #f0faf8 0%, #fff 40%, #faf8f5 100%);
}

.prose-block {
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 2;
}

.prose-block p {
  margin: 0 0 1.1em;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 28px auto 0;
}

.vm-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(18, 50, 74, .06);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.25s ease;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--mint), var(--primary));
  opacity: .85;
}

.vm-card--mission::before {
  background: linear-gradient(90deg, var(--rose), var(--accent));
}

.vm-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--primary-dark);
}

.vm-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 24px auto 0;
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(18, 50, 74, .04);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease,
    border-color 0.22s ease;
}

.offer-item .dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  margin-top: 9px;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.offer-item span {
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.65;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: white !important;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(12, 107, 130, .25);
  transition: .2s ease;
}

.link-pill:hover {
  background: #095a6e;
  transform: translateY(-1px);
}

.link-pill--outline {
  background: white;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  box-shadow: none;
}

.link-pill--outline:hover {
  background: #e8f6f9;
}

.store-packages {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 28px auto 0;
}

.pkg-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(18, 50, 74, .05);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease;
}

.pkg-card h4 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 19px;
}

.pkg-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.final-banner {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #134a5c 50%, var(--primary) 100%);
  border-radius: var(--radius);
  color: white;
  margin-top: 8px;
  box-shadow: var(--shadow);
}

.final-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
}

.final-banner p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.75;
}

.final-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.final-banner .btn-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-main);
  transition: transform 0.22s ease, filter 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.final-banner .btn-final--accent {
  background: var(--accent);
  color: #3d2a0a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.final-banner .btn-final--accent:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.02);
}

.final-banner .btn-final--ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.final-banner .btn-final--ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .65);
  transform: translateY(-2px) scale(1.02);
}

.section-anchor {
  scroll-margin-top: 88px;
}

/* —— Footer: social —— */

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-social-label {
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8a9aa5;
  margin: 0 0 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #f0f7fa 100%);
  border: 1px solid rgba(214, 232, 238, .95);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(15, 45, 61, .08);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(12, 107, 130, .18);
  border-color: rgba(12, 107, 130, .35);
  color: var(--primary);
}

.social-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.social-link--tiktok:hover {
  color: #000;
}

.social-link--youtube:hover {
  color: #c00;
}

.social-link--telegram:hover {
  color: #229ed9;
}

/* —— Premium: voices (testimonials) —— */

.section--voices {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(232, 184, 106, .22) 0%, transparent 55%),
    linear-gradient(165deg, #0f2430 0%, #123a4a 42%, #0c4a5c 100%);
  color: #e8f2f6;
}

.section--voices::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(42, 157, 143, .12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(232, 184, 106, .08) 0%, transparent 40%);
  pointer-events: none;
}

.section--voices .container {
  position: relative;
  z-index: 1;
}

.voices-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(232, 184, 106, .95);
  margin-bottom: 10px;
}

.voices-title-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.voices-title-block h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  background: linear-gradient(120deg, #fff 0%, #e8d4b0 45%, #c5e8ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.voices-title-block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(220, 235, 240, .88);
}

.voices-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}

.voice-card {
  flex: 1 1 260px;
  max-width: min(400px, 100%);
  box-sizing: border-box;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 26px 24px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .voice-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 184, 106, .35);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .28);
  }
}

.voice-card__quote {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(248, 252, 254, .94);
}

.voice-card__quote::before {
  content: '«';
  color: var(--accent);
  font-weight: 800;
  margin-left: 4px;
}

.voice-card__quote::after {
  content: '»';
  color: var(--accent);
  font-weight: 800;
  margin-right: 4px;
}

.voice-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.voice-card__name {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}

.voice-card__role {
  font-size: 13px;
  color: rgba(200, 220, 228, .85);
}

/* —— Certificates showcase —— */

.section--certs {
  padding: clamp(44px, 7vw, 80px) 0;
  background: linear-gradient(180deg, #fdfcfb 0%, #f4fafc 50%, #eef6f9 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.certs-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.certs-head .certs-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 8px;
}

.certs-head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary-dark);
}

.certs-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.cert-frame {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .95), #f0f6f9);
  box-shadow: 0 16px 44px rgba(18, 50, 74, .1);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .cert-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 56px rgba(18, 50, 74, .16);
  }
}

.cert-frame--gold .cert-inner {
  border: 3px double rgba(180, 140, 60, .55);
  background:
    linear-gradient(180deg, #fffef8 0%, #faf6ee 100%);
}

.cert-frame--teal .cert-inner {
  border: 2px solid rgba(12, 107, 130, .35);
  background: linear-gradient(160deg, #fff 0%, #f0fafc 100%);
}

.cert-frame--noir .cert-inner {
  border: 1px solid rgba(15, 45, 61, .2);
  background: linear-gradient(165deg, #0f2d3d 0%, #153d50 100%);
  color: #f2f8fa;
}

.cert-inner {
  border-radius: 12px;
  padding: 22px 18px 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cert-frame--gold .cert-seal {
  background: linear-gradient(135deg, #e8b86a, #d4a054);
  color: #3d2a0a;
  box-shadow: 0 4px 14px rgba(180, 130, 50, .35);
}

.cert-frame--teal .cert-seal {
  background: linear-gradient(135deg, var(--primary), #0a5568);
  color: #fff;
}

.cert-frame--noir .cert-seal {
  background: linear-gradient(135deg, var(--accent), #c9a060);
  color: #2a1f08;
}

.cert-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  opacity: 0.75;
  margin-bottom: 6px;
}

.cert-frame--noir .cert-label {
  color: rgba(232, 184, 106, .95);
}

.cert-title {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.4;
}

.cert-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  opacity: 0.9;
}

.cert-frame--noir .cert-name {
  color: #e8f4f8;
}

.cert-body {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  flex: 1;
  color: var(--muted);
}

.cert-frame--noir .cert-body {
  color: rgba(220, 235, 240, .85);
}

.cert-sign {
  margin-top: 14px;
  font-size: 12px;
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .certs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* —— FAQ page —— */

.faq-hero {
  padding: 36px 0 8px;
  text-align: center;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.faq-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  color: var(--primary-dark);
}

.faq-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0 56px;
}

.faq-item {
  margin-bottom: 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 8px 28px rgba(18, 50, 74, .06);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  padding-inline-end: 48px;
  font-weight: 800;
  font-size: 17px;
  color: var(--primary-dark);
  position: relative;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-inline-start: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-60%) rotate(-45deg);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(135deg);
}

.faq-item summary:hover {
  background: #f7fbfd;
}

.faq-item .faq-answer {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  border-top: 1px solid rgba(226, 238, 242, .8);
  padding-top: 16px;
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(226, 238, 242, .8);
}

.faq-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 700;
  color: var(--primary);
}

.faq-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes voicesGlow {
  0%,
  100% {
    opacity: 0.88;
    letter-spacing: 0.1em;
  }
  50% {
    opacity: 1;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .voices-kicker {
    animation: voicesGlow 5s ease-in-out infinite;
  }
}

/* —— Announce strip: hero slider —— */

.announce-strip {
  position: relative;
  padding: 22px 0 26px;
  background: linear-gradient(100deg, #0a1f28 0%, #0f3a4a 38%, #124458 62%, #0c2f3d 100%);
  border-block: 1px solid rgba(232, 184, 106, .22);
  overflow: hidden;
}

.announce-strip .container {
  position: relative;
  z-index: 1;
}

.hero-slider {
  position: relative;
  min-height: 188px;
}

.hero-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 12px 52px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-slide.is-active {
  display: flex;
}

.hero-slide__kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e8b86a;
}

.hero-slide__title {
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  color: #fffef8;
  line-height: 1.35;
}

.hero-slide__text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232, 244, 248, .88);
  max-width: 560px;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.hero-slide__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #0a2430;
  background: linear-gradient(135deg, #e8b86a, #d4a04a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slide__actions .hero-slide__cta {
  margin-top: 0;
}

.hero-slide__cta--soft {
  color: #fffef8;
  background: transparent;
  border: 2px solid rgba(232, 184, 106, .65);
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    a.hero-slide.is-active:hover {
      background: rgba(255, 255, 255, .04);
      transform: translateY(-2px);
    }

    .hero-slide__cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
    }

    .hero-slide__cta--soft:hover {
      background: rgba(255, 255, 255, .08);
      box-shadow: none;
    }
  }
}

.hero-slider__controls {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-slider__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hero-slider__dots {
  display: flex;
  gap: 8px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
}

.hero-slider__dot.is-active {
  background: #e8b86a;
  transform: scale(1.15);
}

.announce-strip__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(232, 184, 106, .12) 0%, transparent 45%),
    radial-gradient(ellipse 70% 100% at 100% 30%, rgba(42, 157, 143, .1) 0%, transparent 42%);
  pointer-events: none;
}

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 7px 0;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee__track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding-inline: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee--slow .marquee__track {
    animation: marquee-slide 48s linear infinite;
  }

  .marquee--fast .marquee__track {
    animation: marquee-slide 32s linear infinite;
  }

  .marquee--reverse .marquee__track {
    animation-direction: reverse;
  }
}

@keyframes marquee-slide {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    row-gap: 10px;
  }
}

.marquee__pill {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(240, 248, 250, .95);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
}

.marquee__pill--gold {
  background: linear-gradient(135deg, rgba(232, 184, 106, .35), rgba(200, 150, 70, .2));
  border-color: rgba(232, 184, 106, .45);
  color: #fff8e7;
}

.marquee__pill--accent {
  background: rgba(42, 157, 143, .22);
  border-color: rgba(64, 180, 165, .45);
}

.marquee__pill--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
}

.voices-cta,
.certs-cta {
  text-align: center;
  margin-top: 28px;
}

.link-pill--on-dark {
  background: rgba(255, 255, 255, .1);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
}

.link-pill--on-dark:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(232, 184, 106, .55);
  color: #fffef6 !important;
}

/* —— Certificate photos + face privacy mask —— */

.certs-grid--photos {
  align-items: stretch;
}

.cert-photo-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-photo-card__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #dfe8ec;
  box-shadow: 0 14px 42px rgba(18, 50, 74, .12);
  border: 1px solid rgba(214, 232, 238, .9);
}

.cert-photo-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}

.cert-photo-card__frame img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.cert-face-mask {
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(252, 254, 255, .9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .5),
    inset 0 0 24px rgba(255, 255, 255, .35);
  pointer-events: none;
}

.cert-photo-card[data-face="tr"] .cert-face-mask {
  top: 19%;
  right: 4%;
}

.cert-photo-card[data-face="tl"] .cert-face-mask {
  top: 20%;
  left: 5%;
}

.cert-photo-card[data-face="br"] .cert-face-mask {
  bottom: 22%;
  right: 6%;
}

.cert-photo-card[data-face="bl"] .cert-face-mask {
  bottom: 24%;
  left: 6%;
}

.cert-photo-card--wide .cert-face-mask {
  width: 36%;
  aspect-ratio: 1.12;
}

.cert-photo-card__cap {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin: 0;
  padding-inline: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .cert-photo-card__frame {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  }

  .cert-photo-card:hover .cert-photo-card__frame {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(18, 50, 74, .18);
  }
}

/* Inner pages: testimonials + certificate gallery */

.subpage-hero {
  padding: 36px 0 20px;
  text-align: center;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.subpage-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--primary-dark);
}

.subpage-hero p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.testimonials-page-grid {
  display: grid;
  gap: 20px;
  padding: 32px 0 48px;
}

@media (min-width: 720px) {
  .testimonials-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.t-quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 32px rgba(18, 50, 74, .07);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.25s ease;
}

.t-quote-card p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.t-quote-card footer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.t-quote-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 15px;
  margin-bottom: 4px;
}

.cert-gallery-page {
  display: grid;
  gap: 28px;
  padding: 32px 0 56px;
}

@media (min-width: 640px) {
  .cert-gallery-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cert-gallery-page {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-gallery-page .cert-photo-card__frame {
  aspect-ratio: 1754 / 1240;
  background: #0a2430;
}

.cert-gallery-page .cert-photo-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-photo-card__zoom {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #0a2430;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .cert-photo-card__link:hover .cert-photo-card__zoom {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.cert-photo-card__link:focus-visible .cert-photo-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cert-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cert-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 36, .88);
}

.cert-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-lightbox__img {
  width: 100%;
  max-height: calc(92vh - 56px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  background: #0a2430;
}

.cert-lightbox__cap {
  margin: 0;
  text-align: center;
  color: #f4fafc;
  font-size: 15px;
  font-weight: 700;
}

.cert-lightbox__close {
  position: absolute;
  top: -8px;
  inset-inline-end: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* —— Hover & touch: subtle lift, glow, and tap feedback —— */

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .video-box:hover .play {
      transform: scale(1.08);
      box-shadow: 0 18px 46px rgba(12, 107, 130, .24);
    }

    .hero-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 28px 64px rgba(18, 50, 74, .14);
      border-color: rgba(12, 107, 130, .22);
    }

    .offer-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(18, 50, 74, .1);
      border-color: rgba(12, 107, 130, .26);
    }

    .offer-item:hover .dot {
      transform: scale(1.2);
      box-shadow: 0 0 0 8px rgba(42, 157, 143, .2);
    }

    .vm-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 52px rgba(18, 50, 74, .11);
      border-color: rgba(12, 107, 130, .24);
    }

    .pkg-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 44px rgba(18, 50, 74, .1);
      border-color: rgba(12, 107, 130, .22);
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 52px rgba(18, 50, 74, .12);
      border-color: rgba(12, 107, 130, .25);
    }

    .card:hover .icon {
      transform: scale(1.12) rotate(-5deg);
      background: #dff6fa;
    }

    .step:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 38px rgba(18, 50, 74, .1);
      border-color: rgba(12, 107, 130, .22);
    }

    .step:hover::before {
      transform: scale(1.08);
      box-shadow: 0 8px 22px rgba(12, 107, 130, .32);
    }

    .mini-item:hover {
      background: rgba(232, 248, 251, .72);
    }

    .trust span:hover {
      transform: translateY(-2px);
      border-color: rgba(12, 107, 130, .32);
      box-shadow: 0 8px 24px rgba(18, 50, 74, .09);
    }

    .t-quote-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 52px rgba(18, 50, 74, .12);
      border-color: rgba(12, 107, 130, .26);
    }

    .badge:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 26px rgba(140, 98, 0, .12);
    }
  }
}

/* لمسة ضغط خفيفة للجوال ولكل المستخدمين (لا تعتمد على تفضيل تقليل الحركة) */

.hero-card:active,
.offer-item:active,
.vm-card:active,
.pkg-card:active,
.card:active,
.step:active {
  transform: scale(0.99);
  transition-duration: 0.1s;
}

.t-quote-card:active {
  transform: scale(0.985);
  transition-duration: 0.1s;
}

.section--voices .voice-card:active {
  transform: scale(0.99);
  transition-duration: 0.1s;
}

.trust span:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}

.mini-item:active {
  transform: scale(0.99);
  background: rgba(232, 248, 251, .95);
}

.video-box:active .play {
  transform: scale(0.94);
  transition-duration: 0.1s;
}

.cert-photo-card:active .cert-photo-card__frame {
  transform: scale(0.985);
  transition-duration: 0.1s;
}

.btn:active,
.btn-primary:active,
.btn-soft:active,
.btn-nav-secondary:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}