/* =========================================================
   أكاديمية الفاتح — Fatih Academy
   Shared stylesheet (RTL, mobile-first)
   ========================================================= */

:root {
  --green-900: #0B3D26;
  --green-800: #0F5132;
  --green-700: #146C43;
  --green-600: #1A8553;
  --green-100: #E3F2EA;
  --green-50: #F1F8F4;
  --gold-600: #A98419;
  --gold-500: #C9A227;
  --gold-100: #F8F0D4;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --text: #1C2B24;
  --muted: #5B6B63;
  --line: #E4E8E3;
  --danger: #B42318;
  --success: #067647;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(28, 43, 36, 0.06), 0 2px 8px rgba(28, 43, 36, 0.05);
  --shadow: 0 6px 24px rgba(28, 43, 36, 0.08), 0 1px 3px rgba(28, 43, 36, 0.06);
  --shadow-lg: 0 18px 50px rgba(15, 81, 50, 0.16);
  --font: "Tajawal", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  text-align: right;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; color: var(--green-900); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; right: 12px; background: var(--gold-500); color: var(--green-900);
  padding: 8px 14px; border-radius: 8px; z-index: 1000; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.en { font-family: "Segoe UI", Roboto, Arial, sans-serif; direction: ltr; unicode-bidi: isolate; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; line-height: 1.2; min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(20, 108, 67, .28); }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: 0 6px 18px rgba(201, 162, 39, .32); }
.btn-gold:hover { background: #D9B33A; color: var(--green-900); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--green-50); color: var(--green-900); }
.btn-whatsapp { background: #128C4B; color: #fff; }
.btn-whatsapp:hover { background: #0E7A40; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; min-height: 40px; font-size: .95rem; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; min-height: 54px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-900); font-weight: 800; text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--green-800); }
.brand .logo-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .ar { font-size: 1.2rem; }
.brand-text .en { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav {
  display: none; position: absolute; inset-inline: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 12px 20px 20px;
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--green-50); color: var(--green-800); text-decoration: none; }
.site-nav .nav-cta { margin-top: 8px; }
.site-nav .nav-cta a { background: var(--green-700); color: #fff; text-align: center; }
.site-nav .nav-cta a:hover { background: var(--green-800); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 4px; }
  .site-nav a { padding: 10px 14px; }
  .site-nav .nav-cta { margin: 0 0 0 4px; }
  .site-nav .nav-cta a { padding: 10px 20px; border-radius: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-green { background: linear-gradient(160deg, var(--green-800), var(--green-700)); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker, .kicker {
  display: inline-block; background: var(--gold-100); color: var(--gold-600);
  font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.section-green .kicker { background: rgba(255,255,255,.14); color: #FFE9A6; }
.section-head h2 { margin-bottom: 8px; }
.section-head .sub-en { display: block; font-size: .95rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.section-green .sub-en { color: rgba(255,255,255,.75); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-green .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(201,162,39,.25), transparent 60%),
              linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  padding: 64px 0 72px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 640px; }
.hero .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero .badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .88rem; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #FFE9A6; font-size: 1.1rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.92); }
.hero-card li svg { width: 22px; height: 22px; flex: none; color: var(--gold-500); margin-top: 3px; }
.hero-card .price-hint { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.25); color: rgba(255,255,255,.9); font-weight: 700; }
.hero-card .price-hint strong { color: #FFE9A6; font-size: 1.3rem; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: -40px; position: relative; z-index: 2; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px;
  box-shadow: var(--shadow); text-align: center;
}
.stat strong { display: block; font-size: 1.15rem; color: var(--green-800); }
.stat span { color: var(--muted); font-size: .92rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards & Grids ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: 16px;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.card .tags li { background: var(--green-50); color: var(--green-800); font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 14px; }

/* ---------- Pricing ---------- */
.pricing-note {
  background: var(--gold-100); border: 1px solid #EBD98E; color: #5B4B0E; border-radius: var(--radius-sm);
  padding: 14px 18px; text-align: center; font-weight: 700; margin: 0 auto 32px; max-width: 900px;
}
.pricing-group-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pricing-group-title h3 { margin: 0; font-size: 1.3rem; }
.pricing-group-title .en { color: var(--muted); font-weight: 600; font-size: .9rem; flex-basis: 100%; }
@media (min-width: 680px) {
  .pricing-group-title { border-bottom: 0; padding-bottom: 0; flex-wrap: nowrap; }
  .pricing-group-title .en { flex-basis: auto; }
  .pricing-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
}
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--gold-500); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -14px; inset-inline-start: 20px; background: var(--gold-500); color: var(--green-900);
  font-weight: 800; font-size: .82rem; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; }
.plan .plan-sub { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.price .amount { font-size: 2.3rem; font-weight: 800; color: var(--green-800); line-height: 1; }
.price .cur { font-weight: 800; color: var(--green-800); font-size: 1.05rem; }
.price .cur-en { background: var(--green-50); color: var(--green-800); font-size: .75rem; padding: 2px 8px; border-radius: 999px; font-weight: 700; align-self: center; }
.price .per { color: var(--muted); font-size: .95rem; width: 100%; }
.price.free .amount { color: var(--gold-600); }
.plan-features { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan-features li svg { width: 20px; height: 20px; flex: none; color: var(--green-600); margin-top: 3px; }
.plan .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
table.compare th { background: var(--green-50); color: var(--green-900); font-weight: 800; }
table.compare th:first-child, table.compare td:first-child { text-align: right; font-weight: 700; position: sticky; inset-inline-start: 0; background: var(--surface); }
table.compare th:first-child { background: var(--green-50); }
table.compare tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--success); font-weight: 800; }
table.compare .no { color: #B0B8B3; }
table.compare .popular-col { background: #FFFBEB; }
table.compare .price-cell { font-weight: 800; color: var(--green-800); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  background: var(--green-700); color: #fff; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(20,108,67,.3);
}
.step h3 { font-size: 1.15rem; }

/* ---------- Testimonials ---------- */
.testimonial { position: relative; }
.testimonial .quote-mark { position: absolute; top: 14px; inset-inline-end: 20px; font-size: 4rem; line-height: 1; color: var(--gold-100); font-family: Georgia, serif; }
.testimonial blockquote { margin: 0 0 16px; font-size: 1.02rem; color: var(--text); position: relative; z-index: 1; }
.testimonial .who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; font-weight: 700; }
.testimonial .who .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); font-weight: 800; }
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; color: var(--green-900); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green-700); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--muted); }
.faq details p a { font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 24px; padding: 44px 28px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 24px; font-size: 1.08rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: #fff; padding: 52px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 80px 80px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .sub-en { color: rgba(255,255,255,.75); font-weight: 600; display: block; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 720px; margin: 0; font-size: 1.05rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }

/* ---------- Prose (policy pages) ---------- */
.policy-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .policy-layout { grid-template-columns: 260px 1fr; } .policy-toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.policy-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.policy-toc h2 { font-size: 1rem; margin-bottom: 10px; color: var(--muted); }
.policy-toc ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.policy-toc a { font-weight: 700; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .2em; border-top: 1px solid var(--line); padding-top: 1.2em; }
.prose h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose p, .prose li { color: #2B3A32; }
.prose li { margin-bottom: .4em; }
.prose .updated { display: inline-block; background: var(--green-50); color: var(--green-800); font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: .9rem; margin-bottom: 18px; }
.prose .callout { background: var(--gold-100); border-inline-start: 4px solid var(--gold-500); padding: 14px 18px; border-radius: 10px; margin: 18px 0; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 10px 12px; text-align: right; }
.prose table th { background: var(--green-50); }
.contact-box { background: var(--green-50); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 20px; }
.contact-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
@media (min-width: 700px) { .prose { padding: 40px 44px; } }

/* ---------- Contact ---------- */
.info-card { text-align: center; }
.info-card .icon { margin: 0 auto 14px; }
.info-card a { font-weight: 700; word-break: break-word; }
.info-card .en { display: block; font-size: .85rem; color: var(--muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #E9EEEA; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--green-800); box-shadow: var(--shadow-sm);
}
.social-links a:hover { background: var(--green-50); text-decoration: none; }
.social-links svg { width: 20px; height: 20px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .form-card { padding: 32px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--green-900); font-size: .97rem; }
.field label .req { color: var(--danger); }
.field .hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #D5DCD7; border-radius: 10px; background: #fff;
  min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(20,108,67,.15); }
.field input:invalid:not(:placeholder-shown) { border-color: #E0A6A0; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231C2B24' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 14px; padding-inline-start: 38px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--green-700); }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.form-msg.error { display: block; background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.form-msg.ok { display: block; background: #ECFDF3; color: var(--success); border: 1px solid #ABEFC6; }
.form-section-title { font-size: 1.15rem; margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.form-section-title:first-child { margin-top: 0; }
.form-section-title .step-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); color: #fff; font-size: .9rem; display: grid; place-items: center; }

/* Payment methods */
.pay-methods { display: grid; gap: 10px; }
@media (min-width: 640px) { .pay-methods { grid-template-columns: 1fr 1fr; } }
.pay-method { position: relative; }
.pay-method input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pay-method .pm-box {
  display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid #D5DCD7; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s;
}
.pay-method .pm-box .pm-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.pay-method .pm-box .pm-icon svg { width: 24px; height: 24px; }
.pay-method .pm-box strong { display: block; color: var(--green-900); }
.pay-method .pm-box small { color: var(--muted); }
.pay-method input:checked + .pm-box { border-color: var(--green-700); background: var(--green-50); box-shadow: 0 0 0 3px rgba(20,108,67,.14); }
.pay-method input:focus-visible + .pm-box { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: flex; flex-direction: column; gap: 28px; }
.checkout-summary { order: -1; }
@media (min-width: 980px) {
  .checkout-grid { display: grid; grid-template-columns: 1.55fr 1fr; align-items: start; }
  .checkout-summary { order: 0; position: sticky; top: calc(var(--header-h) + 20px); }
}
.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.summary-card .summary-head { background: linear-gradient(160deg, var(--green-800), var(--green-700)); color: #fff; padding: 18px 22px; }
.summary-card .summary-head h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.summary-card .summary-head .en { color: rgba(255,255,255,.75); font-size: .85rem; }
.summary-body { padding: 22px; }
.summary-plan h3 { margin: 0 0 4px; font-size: 1.2rem; }
.summary-plan .desc { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.summary-meta { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.summary-meta li { display: flex; justify-content: space-between; gap: 12px; }
.summary-meta li span:last-child { font-weight: 700; color: var(--green-900); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin: 12px 0; }
.qty-row label { font-weight: 700; }
.qty-row select { width: auto; min-width: 120px; padding-inline-start: 34px; }
.totals { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.totals li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.totals .grand { border-top: 2px solid var(--green-100); padding-top: 12px; margin-top: 4px; font-size: 1.15rem; font-weight: 800; color: var(--green-900); }
.totals .grand .amt { font-size: 1.6rem; color: var(--green-800); }
.totals .cur-en { font-size: .78rem; background: var(--green-50); color: var(--green-800); padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px; vertical-align: middle; }
.change-plan { display: inline-block; margin-top: 10px; font-size: .92rem; font-weight: 700; }
.trust-strip { display: grid; gap: 10px; margin-top: 18px; }
.trust-strip .trust { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); background: var(--green-50); border-radius: 10px; padding: 10px 12px; }
.trust-strip .trust svg { width: 20px; height: 20px; flex: none; color: var(--green-700); margin-top: 2px; }
.trust-strip .trust a { font-weight: 700; }
.success-panel { display: none; background: var(--surface); border: 2px solid var(--success); border-radius: var(--radius); padding: 32px 26px; text-align: center; box-shadow: var(--shadow); }
.success-panel.show { display: block; }
.success-panel .ok-icon { width: 72px; height: 72px; border-radius: 50%; background: #ECFDF3; color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; }
.success-panel .ok-icon svg { width: 38px; height: 38px; }
.success-panel .order-ref { display: inline-block; background: var(--green-50); color: var(--green-900); font-weight: 800; padding: 6px 14px; border-radius: 999px; margin: 8px 0 16px; }
.success-panel .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.order-summary-lines { text-align: right; background: var(--bg); border-radius: 10px; padding: 14px 18px; margin: 16px auto 0; max-width: 520px; font-size: .95rem; }
.order-summary-lines li { display: flex; justify-content: space-between; gap: 12px; }
.order-summary-lines ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.secure-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }

/* ---------- Payment pills ---------- */
.pay-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pay-pills li { font-family: "Segoe UI", Roboto, Arial, sans-serif; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.9); letter-spacing: .3px; }
.light .pay-pills li { border-color: var(--line); color: var(--green-800); background: var(--surface); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.85); margin-top: 72px; }
.footer-grid { display: grid; gap: 32px; padding: 56px 0 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #FFE9A6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-text .en { color: rgba(255,255,255,.6); }
.site-footer .about-text { font-size: .95rem; color: rgba(255,255,255,.78); }
.site-footer .contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.site-footer .contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--gold-500); }
.site-footer .social-row { display: flex; gap: 10px; margin-top: 16px; }
.site-footer .social-row a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.site-footer .social-row a:hover { background: rgba(255,255,255,.16); }
.site-footer .social-row svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px; display: flex; flex-direction: column; gap: 14px; align-items: center; font-size: .9rem; text-align: center; }
@media (min-width: 800px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: right; } }
.site-footer .pay-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-bottom .pay-pills { justify-content: center; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0; }
.notfound .code { font-size: clamp(4rem, 15vw, 8rem); font-weight: 800; color: var(--green-100); line-height: 1; }
.notfound h1 { margin-top: -10px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.icon-list li { display: flex; gap: 10px; align-items: flex-start; }
.icon-list svg { width: 22px; height: 22px; flex: none; color: var(--green-600); margin-top: 3px; }
.tag-gold { display: inline-block; background: var(--gold-100); color: var(--gold-600); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.tag-green { display: inline-block; background: var(--green-50); color: var(--green-800); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .wa-float, .hero::after, .page-hero::after { display: none !important; }
  body { background: #fff; }
}
