/* =========================================================
   Study Gate RO — Design tokens
   ألوان مستوحاة من أختام الجامعات الرومانية الذهبية،
   وحبر الليل فوق بوخارست، وحجر شوارعها القديمة.
   ========================================================= */
:root {
  --ink:        #16233F;   /* أزرق ليلي عميق - العنوان الرئيسي */
  --ink-soft:   #2C3B5C;
  --stone:      #EFEAE0;   /* خلفية حجرية دافئة */
  --stone-dim:  #E4DDCC;
  --paper:      #FAF8F3;   /* بطاقات وأسطح فاتحة */
  --gold:       #C89B3C;   /* ذهبي الأختام الجامعية - اللون المميز */
  --gold-deep:  #A87C24;
  --garnet:     #7A2E2E;   /* أحمر غارنيت هادئ - نداء الفعل */
  --garnet-deep:#5E2222;
  --line:       #D9D2C2;
  --text:       #1B2434;
  --text-dim:   #5B6272;
  --shadow:     0 20px 50px -25px rgba(22, 35, 63, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--text);
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.eyebrow {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: .12em;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Social icons ---------- */
.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-link {
  display: flex; align-items: center; gap: 9px;
  font-size: .88rem; font-weight: 700; color: #B7BDD0;
  transition: color .2s;
  text-decoration: none;
}
.social-link:hover { color: #fff; }
.social-link .s-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-link .s-ico svg { width: 20px; height: 20px; }
.s-ico-wa  { background: #25D366; }
.s-ico-ig  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.s-ico-em  { background: #EA4335; }
.s-ico-web { background: var(--gold-deep); }

/* contact page brand icons */
.c-icon-wa  { background: rgba(37,211,102,.15) !important; }
.c-icon-wa svg { stroke: #25D366 !important; }
.c-icon-ig  { background: rgba(220,39,67,.12) !important; }
.c-icon-ig svg { stroke: #cc2366 !important; }
.c-icon-em  { background: rgba(234,67,53,.12) !important; }
.c-icon-em svg { stroke: #EA4335 !important; }
.c-icon-loc { background: rgba(200,155,60,.15) !important; }
.c-icon-loc svg { stroke: var(--gold-deep) !important; }
.c-icon-web { background: rgba(200,155,60,.15) !important; }
.c-icon-web svg { stroke: var(--gold-deep) !important; }
.lang-toggle {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.lang-toggle:hover { background: var(--gold); color: var(--ink); }

/* LTR overrides when English is active */
html[dir="ltr"] body { text-align: left; }
html[dir="ltr"] p,
html[dir="ltr"] li,
html[dir="ltr"] .desc,
html[dir="ltr"] .card p,
html[dir="ltr"] .uni-card p,
html[dir="ltr"] .service-row p,
html[dir="ltr"] .lede,
html[dir="ltr"] .hero-v2-sub { text-align: left; direction: ltr; }
html[dir="ltr"] .hero-v2-inner { text-align: center; }
html[dir="ltr"] .hero-v2-eyebrow { justify-content: center; }
html[dir="ltr"] .hero-v2-stats { flex-direction: row; }
html[dir="ltr"] .section-head { margin-right: 0; margin-left: 0; text-align: left; }
html[dir="ltr"] .eyebrow { flex-direction: row-reverse; }
html[dir="ltr"] .eyebrow::before { display: none; }
html[dir="ltr"] .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; margin-right: 10px; }
html[dir="ltr"] .footer-grid { direction: ltr; text-align: left; }
html[dir="ltr"] .main-nav ul { flex-direction: row; }
html[dir="ltr"] .site-header .wrap { flex-direction: row-reverse; }
html[dir="ltr"] .brand { flex-direction: row; }
html[dir="ltr"] .brand-text { text-align: left; }
html[dir="ltr"] .uni-card { text-align: left; direction: ltr; }
html[dir="ltr"] .uni-top { flex-direction: row; }
html[dir="ltr"] .price-card { text-align: left; }
html[dir="ltr"] .price-includes { text-align: left; direction: ltr; }
html[dir="ltr"] .docs-list { text-align: left; direction: ltr; }
html[dir="ltr"] .service-row { direction: ltr; }
html[dir="ltr"] .contact-card { direction: ltr; text-align: left; }
html[dir="ltr"] .form-card { direction: ltr; text-align: left; }
html[dir="ltr"] .field label { text-align: left; }
html[dir="ltr"] .review-card { direction: ltr; text-align: left; }
html[dir="ltr"] .value-item { direction: ltr; }
html[dir="ltr"] .team-info { text-align: left; }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] h4 { text-align: left; }
html[dir="ltr"] .hero-v2-title, html[dir="ltr"] .hero-v2-sub, html[dir="ltr"] .hero-v2-eyebrow { text-align: center; }
html[dir="ltr"] .gate-steps { direction: ltr; }
html[dir="ltr"] .gate-step { text-align: center; }
html[dir="ltr"] .cta-band { text-align: center; }
html[dir="ltr"] .cta-band h2, html[dir="ltr"] .cta-band p { text-align: center; }
html[dir="ltr"] .quote-strip p { text-align: left; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand-text span { font-size: .72rem; color: var(--text-dim); letter-spacing: .06em; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.header-cta {
  display: flex; align-items: center; gap: 14px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: .92rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--garnet); color: var(--paper); }
.btn-primary:hover { background: var(--garnet-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); color: var(--paper); transform: translateY(-2px); }

.nav-toggle { display: none; }

/* ---------- Hero v2 (full-bleed slideshow) ---------- */
.hero-v2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: var(--ink);
}
.hero-bg-stage { position: absolute; inset: 0; z-index: 0; }
.hero-bg-scene {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg-scene.active { opacity: 1; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,35,63,.3) 0%,
    rgba(22,35,63,.55) 35%,
    rgba(22,35,63,.75) 65%,
    rgba(22,35,63,.95) 100%
  );
}
.hero-v2-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 80px 24px 60px;
  max-width: 700px; margin: 0 auto;
}
.gate-badge { width: 100px; height: 90px; margin-bottom: 24px; }
.gate-badge-svg { width: 100%; height: 100%; }
.gate-badge-svg .cap-float {
  animation: cap-float-v2 4s ease-in-out infinite;
  animation-delay: 2s;
}
.gate-badge-svg .tassel-swing {
  transform-origin: 20px 0;
  animation: tassel-swing 3s ease-in-out infinite;
  animation-delay: 2.2s;
}
.gate-badge-svg .ribbon-wave {
  animation: ribbon-wave-v2 5s ease-in-out infinite;
  animation-delay: 1.8s;
}
/* مصراعا باب البوابة — ثابتان (مغلقان) */
.gate-panel-left, .gate-panel-right, .gate-center-line { /* no animation */ }
@keyframes cap-float-v2 {
  0%,100% { transform: translate(60px,4px) translateY(0); }
  50% { transform: translate(60px,4px) translateY(-5px); }
}
@keyframes ribbon-wave-v2 {
  0%,100% { transform: translate(84px,38px) rotate(15deg); }
  50% { transform: translate(84px,38px) rotate(9deg); }
}
.gate-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: gate-draw-in 1.6s ease-out forwards; }

.hero-v2-eyebrow {
  font-family: 'Cairo', sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.hero-v2-title {
  color: #fff; font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-family: 'Cairo', sans-serif; font-weight: 800;
  line-height: 1.2; margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero-v2-title em { font-style: normal; color: var(--gold); }
.hero-v2-sub {
  color: rgba(255,255,255,.85); font-size: 1.05rem;
  max-width: 46ch; margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-v2-stats {
  display: flex; align-items: center; gap: 20px; margin-bottom: 32px;
}
.hero-v2-stats div { text-align: center; }
.hero-v2-stats strong {
  display: block; font-family: 'Cairo', sans-serif;
  font-size: 1.9rem; color: var(--gold); font-weight: 800;
}
.hero-v2-stats span { font-size: .78rem; color: rgba(255,255,255,.7); }
.stat-sep { width: 1px; height: 44px; background: rgba(255,255,255,.2); }
.hero-v2-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }

/* اسم المدينة */
.hero-city-label {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 16px;
}
.city-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }
.city-name { display: none; }
.city-name.active { display: inline; }

/* نقاط التنقل */
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s;
}
.hero-dot.active { background: var(--gold); }

/* ---------- Hero ---------- */
/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center;
  padding-top: 96px; padding-bottom: 70px;
  min-height: 640px;
}
.hero-eyebrow {
  font-family: 'Cairo', sans-serif; font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede {
  color: #C9CEDD; font-size: 1.15rem; max-width: 46ch; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong {
  display: block; font-family: 'Cairo', sans-serif; font-size: 1.9rem; color: var(--gold); font-weight: 800;
}
.hero-stats div span { font-size: .82rem; color: #9AA2B8; }

.hero-arch { position: relative; height: 100%; min-height: 460px; }
.hero-arch svg { width: 100%; height: 100%; }

/* رسمة البوابة المتحركة */
.gate-illustration .gate-draw {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: gate-draw-in 1.8s ease-out forwards;
}
.gate-illustration .cap-float {
  animation: cap-float 4.5s ease-in-out infinite;
  animation-delay: 1.4s;
}
.gate-illustration .tassel-swing {
  transform-origin: 45px 0px;
  animation: tassel-swing 3.2s ease-in-out infinite;
  animation-delay: 1.6s;
}
.gate-illustration .ribbon-wave {
  animation: ribbon-wave 5s ease-in-out infinite;
  animation-delay: 1.4s;
  transform-origin: 21px 0px;
}
@keyframes gate-draw-in {
  to { stroke-dashoffset: 0; }
}
@keyframes cap-float {
  0%, 100% { transform: translate(210px, 50px) translateY(0); }
  50% { transform: translate(210px, 50px) translateY(-8px); }
}
@keyframes tassel-swing {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
@keyframes ribbon-wave {
  0%, 100% { transform: translate(292px,150px) rotate(18deg); }
  50% { transform: translate(292px,150px) rotate(12deg); }
}

/* مصراعا الباب - ينزلقان جانباً ويختفيان بالكامل بعد اكتمال رسم الإطار */
.door-left, .door-right { transform-box: fill-box; }
.door-left {
  animation: door-open-left 1.1s cubic-bezier(.5,0,.25,1) forwards;
  animation-delay: 1.7s;
}
.door-right {
  animation: door-open-right 1.1s cubic-bezier(.5,0,.25,1) forwards;
  animation-delay: 1.7s;
}
@keyframes door-open-left {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-60px); opacity: 0; }
}
@keyframes door-open-right {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(60px); opacity: 0; }
}

/* مشهد المدن المتعاقب داخل البوابة */
.city-scene { opacity: 0; }
.city-scene image { filter: saturate(1.05) contrast(1.02); }
@keyframes city-scene-1 { 0%,1%{opacity:0} 3%,14%{opacity:1} 16.6%,100%{opacity:0} }
@keyframes city-scene-2 { 0%,16.6%{opacity:0} 18.6%,31%{opacity:1} 33.3%,100%{opacity:0} }
@keyframes city-scene-3 { 0%,33.3%{opacity:0} 35.3%,47.6%{opacity:1} 50%,100%{opacity:0} }
@keyframes city-scene-4 { 0%,50%{opacity:0} 52%,64.3%{opacity:1} 66.6%,100%{opacity:0} }
@keyframes city-scene-5 { 0%,66.6%{opacity:0} 68.6%,81%{opacity:1} 83.3%,100%{opacity:0} }
@keyframes city-scene-6 { 0%,83.3%{opacity:0} 85.3%,97.6%{opacity:1} 99.6%,100%{opacity:0} }
.gate-illustration .city-1 { animation: city-scene-1 26s ease-in-out infinite; animation-delay: 1.8s; }
.gate-illustration .city-2 { animation: city-scene-2 26s ease-in-out infinite; animation-delay: 1.8s; }
.gate-illustration .city-3 { animation: city-scene-3 26s ease-in-out infinite; animation-delay: 1.8s; }
.gate-illustration .city-4 { animation: city-scene-4 26s ease-in-out infinite; animation-delay: 1.8s; }
.gate-illustration .city-5 { animation: city-scene-5 26s ease-in-out infinite; animation-delay: 1.8s; }
.gate-illustration .city-6 { animation: city-scene-6 26s ease-in-out infinite; animation-delay: 1.8s; }

@media (prefers-reduced-motion: reduce) {
  .gate-illustration .gate-draw,
  .gate-illustration .cap-float,
  .gate-illustration .tassel-swing,
  .gate-illustration .ribbon-wave,
  .door-left, .door-right { animation: none; stroke-dashoffset: 0; }
  .door-left, .door-right { opacity: 0; }
  .city-scene { animation: none !important; opacity: 0 !important; }
  .city-scene.city-1 { opacity: 1 !important; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Why cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px; position: relative; overflow: hidden;
}
.card .num {
  font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 2.4rem;
  color: var(--stone-dim); position: absolute; top: 18px; left: 26px; z-index: 0;
}
.card h3 { font-size: 1.2rem; margin-bottom: 12px; position: relative; }
.card p { color: var(--text-dim); font-size: .96rem; position: relative; margin: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--stone);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--gold-deep); }

/* ---------- University cards ---------- */
.uni-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.uni-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.uni-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.uni-card .uni-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.uni-card h3 { font-size: 1.15rem; }
.uni-city {
  font-size: .78rem; font-weight: 700; color: var(--gold-deep);
  background: rgba(200,155,60,.12); padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.uni-founded { font-size: .82rem; color: var(--text-dim); }
.uni-card p.desc { color: var(--text-dim); font-size: .94rem; margin: 0; }
.uni-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.uni-tags span {
  font-size: .78rem; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; color: var(--ink-soft);
}
.uni-note {
  border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px;
  font-size: .85rem; color: var(--gold-deep); font-weight: 700;
}
.uni-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: .88rem; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px;
}
.uni-link svg { width: 15px; height: 15px; stroke: var(--gold-deep); flex-shrink: 0; }
.uni-link:hover { color: var(--gold-deep); }
.trust-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.trust-stats div strong { display: block; font-family: 'Cairo', sans-serif; font-size: 2.1rem; color: var(--gold); font-weight: 800; }
.trust-stats div span { font-size: .85rem; color: #C9CEDD; }

/* ---------- Team ---------- */
.team-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
}
.team-photo {
  width: 110px; height: 110px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 3px solid var(--gold); box-shadow: var(--shadow);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-role { color: var(--gold-deep); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.team-info p.bio { color: var(--text-dim); font-size: .92rem; margin: 0; max-width: 46ch; }
@media (max-width: 560px) {
  .team-card { flex-direction: column; text-align: center; }
  .team-info p.bio { max-width: none; }
}

/* ---------- Process / gate steps ---------- */
.gate-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.gate-step { position: relative; padding: 0 20px; text-align: center; }
.gate-step .arch-num {
  width: 74px; height: 84px; margin: 0 auto 20px;
}
.gate-step h3 { font-size: 1.02rem; margin-bottom: 10px; }
.gate-step p { color: var(--text-dim); font-size: .9rem; }
.gate-connector {
  position: absolute; top: 40px; right: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(to left, var(--gold) 0 8px, transparent 8px 16px);
  z-index: -1;
}

/* ---------- Services list ---------- */
.service-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 34px 0; border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .s-num { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--gold); }
.service-row h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-row p { color: var(--text-dim); max-width: 62ch; margin: 0 0 14px; }
.service-row ul { display: flex; flex-wrap: wrap; gap: 10px; }
.service-row li { font-size: .84rem; color: var(--ink-soft); background: var(--stone); padding: 6px 14px; border-radius: 999px; }

/* ---------- Required documents ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.docs-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
}
.docs-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.docs-card .docs-sub { font-size: .85rem; color: var(--gold-deep); font-weight: 700; margin-bottom: 18px; }
.docs-list { display: flex; flex-direction: column; gap: 12px; }
.docs-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.docs-list li svg { width: 18px; height: 18px; stroke: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.docs-list li.extra { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.docs-note {
  background: var(--ink); color: var(--paper); border-radius: 22px; padding: 30px 32px;
  margin-top: 26px; display: flex; gap: 18px; align-items: flex-start;
}
.docs-note svg { width: 30px; height: 30px; stroke: var(--gold); flex-shrink: 0; }
.docs-note h4 { color: var(--paper); font-size: 1.02rem; margin-bottom: 8px; }
.docs-note p { color: #C9CEDD; font-size: .92rem; margin: 0; }
@media (max-width: 780px) {
  .docs-grid { grid-template-columns: 1fr; }
  .docs-note { flex-direction: column; }
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 38px; display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
}
.price-badge {
  display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 700;
  background: var(--gold); color: var(--ink); padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.price-card.featured .price-badge { background: var(--gold); color: var(--ink); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-card.featured h3 { color: var(--paper); }
.price-card .price-tag { font-family: 'Cairo', sans-serif; font-weight: 800; margin: 14px 0 6px; }
.price-card .price-tag strong { font-size: 2.6rem; color: var(--gold-deep); }
.price-card.featured .price-tag strong { color: var(--gold); }
.price-card .price-tag span { font-size: .95rem; color: var(--text-dim); }
.price-card.featured .price-tag span { color: #C9CEDD; }
.price-card .price-desc { font-size: .9rem; color: var(--text-dim); margin-bottom: 22px; }
.price-card.featured .price-desc { color: #C9CEDD; }
.price-includes { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex-grow: 1; }
.price-includes li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.price-includes li svg { width: 17px; height: 17px; stroke: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.price-card.featured .price-includes li svg { stroke: var(--gold); }
.price-note { font-size: .8rem; color: var(--text-dim); margin-top: -10px; margin-bottom: 20px; }
.price-card.featured .price-note { color: #9AA2B8; }
@media (max-width: 780px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-stars { display: flex; gap: 3px; }
.review-stars svg { width: 16px; height: 16px; fill: var(--gold); stroke: var(--gold); }
.review-text { font-size: .93rem; color: var(--ink-soft); flex-grow: 1; }
.review-author { font-size: .85rem; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.review-author span { display: block; font-weight: 500; color: var(--text-dim); font-size: .8rem; margin-top: 2px; }
.review-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: 22px;
  color: var(--text-dim);
}
.review-empty svg { width: 40px; height: 40px; stroke: var(--gold-deep); margin-bottom: 14px; }
.review-empty h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 8px; }
.star-select { display: flex; gap: 8px; flex-direction: row-reverse; justify-content: flex-end; }
.star-select input { display: none; }
.star-select label {
  cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
}
.star-select label svg { width: 26px; height: 26px; stroke: var(--gold-deep); fill: none; transition: fill .15s ease; }
.star-select input:checked ~ label svg,
.star-select label:hover svg,
.star-select label:hover ~ label svg { fill: var(--gold); }
.moderation-note {
  background: var(--stone); border: 1px dashed var(--line); border-radius: 16px; padding: 18px 20px;
  font-size: .85rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; margin-top: 20px;
}
.moderation-note svg { width: 18px; height: 18px; stroke: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 780px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonial / quote strip ---------- */
.quote-strip {
  background: var(--ink); color: var(--paper); border-radius: 28px;
  padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.quote-strip p { font-size: 1.3rem; font-family: 'Cairo', sans-serif; font-weight: 600; max-width: 60ch; margin: 0; }
.quote-strip span { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--garnet), var(--garnet-deep));
  color: var(--paper); border-radius: 28px; padding: 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.cta-band p { color: #EBD9D9; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B7BDD0; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand strong { color: var(--paper); font-family: 'Cairo', sans-serif; font-size: 1.2rem; }
.footer-brand p { font-size: .9rem; margin-top: 14px; max-width: 32ch; }
.site-footer h4 { color: var(--paper); font-size: .95rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #2A3757; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #838AA0;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--paper); font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 24ch; }
.page-hero p { color: #C9CEDD; max-width: 55ch; margin-top: 16px; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: var(--gold); margin-bottom: 18px; }
.breadcrumb a { color: #9AA2B8; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: flex-start; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px;
  display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px;
}
.contact-card .c-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--stone);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card .c-icon svg { width: 22px; height: 22px; stroke: var(--gold-deep); }
.contact-card h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--text-dim); font-size: .95rem; }
.contact-card a { color: var(--ink); font-weight: 700; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  font-family: inherit; font-size: .95rem; background: var(--stone); color: var(--text);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; background: var(--paper);
}
.form-note { font-size: .82rem; color: var(--text-dim); margin-top: 14px; }

/* ---------- About page ---------- */
.about-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.value-list { display: flex; flex-direction: column; gap: 22px; }
.value-item { display: flex; gap: 18px; }
.value-item .v-mark {
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold);
  color: var(--ink); font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Utility ---------- */
.mt-lg { margin-top: 56px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-arch { min-height: 260px; order: -1; opacity: .5; }
  .grid-3, .grid-2, .uni-grid, .about-lead, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .gate-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .gate-connector { display: none; }

  .main-nav { display: none; }
  .main-nav.nav-open {
    display: block;
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 12px 20px 20px;
  }
  .main-nav.nav-open ul { flex-direction: column; gap: 4px; }
  .main-nav.nav-open a { display: block; padding: 12px 16px; }

  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: none; flex-shrink: 0;
  }
  .quote-strip { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero-stats { gap: 22px; }
}
@media (max-width: 480px) {
  .site-header { position: sticky; }
  .site-header .wrap {
    height: auto; padding-top: 14px; padding-bottom: 14px;
    flex-wrap: wrap; row-gap: 12px; position: relative;
  }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 1rem; }
  .header-cta { gap: 10px; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: .82rem; }
}
