:root {
  --ink: #10231f;
  --ink-soft: #29433c;
  --muted: #61736c;
  --paper: #f6f0e4;
  --paper-deep: #ece2d0;
  --white: #ffffff;
  --green: #0d604a;
  --green-2: #074338;
  --green-3: #052c27;
  --mint: #dff2e7;
  --gold: #c99a45;
  --gold-light: #f0d18d;
  --rose: #8f4d3f;
  --line: rgba(16, 35, 31, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 22px 70px rgba(9, 37, 31, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 240, 228, 0.78)),
    var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(30deg, rgba(13, 96, 74, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(13, 96, 74, 0.06) 87.5%, rgba(13, 96, 74, 0.06)),
    linear-gradient(150deg, rgba(13, 96, 74, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(13, 96, 74, 0.06) 87.5%, rgba(13, 96, 74, 0.06));
  background-size: 56px 98px;
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  padding: 10px 12px 10px 14px;
  color: var(--white);
  background: rgba(5, 34, 29, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, top 180ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(5, 34, 29, 0.92);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.logo-plate {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  padding: 5px;
  border: 1px solid rgba(240, 209, 141, 0.65);
  border-radius: var(--radius);
  background: #fff7e6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.brand-text strong {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.05;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer-logo-plate {
  width: 72px;
  height: 72px;
}

.footer-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(240, 209, 141, 0.45);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(240, 209, 141, 0.2), rgba(255, 255, 255, 0.06));
  color: var(--gold-light);
  font-family: "Scheherazade New", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  margin-left: 4px;
  color: #211600;
  background: var(--gold-light);
}

.site-nav .nav-cta:hover {
  color: #211600;
  background: #f7d990;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 80px) 66px;
  color: var(--white);
  background: var(--green-3);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(0.9) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 20, 17, 0.96) 0%, rgba(5, 43, 35, 0.84) 42%, rgba(5, 43, 35, 0.38) 72%, rgba(5, 43, 35, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 28, 24, 0.1) 0%, rgba(5, 28, 24, 0.34) 68%, var(--paper) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.48fr);
  align-items: end;
  gap: clamp(30px, 6vw, 78px);
  width: min(1180px, 100%);
  min-height: calc(100vh - 194px);
  margin: 0 auto;
}

.hero-copy-block {
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.button-primary {
  color: #1f1605;
  background: var(--gold-light);
  box-shadow: 0 16px 42px rgba(201, 154, 69, 0.34);
}

.button-primary:hover {
  background: #f8d887;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  width: 100%;
  color: var(--white);
  background: var(--green-3);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 54px;
}

.hero-proof div,
.enroll-card,
.course-card,
.teacher-grid article,
.schedule-board,
.price-card,
.faq details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.hero-proof span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.enroll-card {
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.enroll-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.7vw, 2.4rem);
}

.enroll-card p,
.enroll-card li {
  color: var(--muted);
}

.enroll-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.enroll-card li {
  position: relative;
  padding-left: 24px;
}

.enroll-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39c27c;
  box-shadow: 0 0 0 7px rgba(57, 194, 124, 0.14);
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip span,
.trust-strip strong {
  display: block;
}

.trust-strip span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-strip strong {
  margin-top: 5px;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 126px) 0;
}

.intro {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(58px, 7vw, 90px);
}

.intro-grid,
.schedule,
.faq,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.intro-grid {
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
}

.intro-grid h2 {
  max-width: 620px;
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
  line-height: 1.02;
}

.intro p,
.schedule-copy p,
.contact-copy p,
.faq p,
.course-card p,
.teacher-grid p,
.price-card p,
.steps p {
  color: var(--muted);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.mini-metrics div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(9, 37, 31, 0.08);
}

.mini-metrics strong,
.mini-metrics span {
  display: block;
}

.mini-metrics strong {
  color: var(--green);
  font-size: 1.65rem;
  line-height: 1;
}

.mini-metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.course-card {
  min-height: 430px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.featured-course {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(13, 96, 74, 0.96), rgba(5, 44, 39, 0.96)),
    var(--green);
}

.featured-course p,
.featured-course li {
  color: rgba(255, 255, 255, 0.72);
}

.course-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  border-radius: var(--radius);
  background: rgba(201, 154, 69, 0.16);
  color: var(--gold);
  font-family: "Scheherazade New", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.featured-course .course-icon {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.course-level {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.course-card li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-3);
  box-shadow: var(--shadow);
}

.experience-image {
  min-height: 650px;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-panel {
  padding: clamp(44px, 7vw, 84px);
  color: var(--white);
}

.experience-panel h2 {
  max-width: 650px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.steps div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.steps span,
.steps strong {
  display: block;
}

.steps span {
  color: var(--gold-light);
  font-weight: 900;
}

.steps strong {
  margin-top: 22px;
  font-size: 1.18rem;
}

.steps p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.teacher-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.teacher-grid article,
.price-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.teacher-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 52px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--rose));
  font-weight: 900;
}

.schedule {
  align-items: center;
}

.schedule-board {
  overflow: hidden;
  background: var(--white);
}

.board-row {
  display: grid;
  grid-template-columns: 0.8fr 0.85fr 1.35fr;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row span {
  min-width: 0;
}

.board-row span:first-child {
  font-weight: 900;
}

.board-head {
  color: var(--white);
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card {
  min-height: 300px;
}

.price-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.price-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.price-card.premium {
  color: var(--white);
  background: linear-gradient(145deg, var(--green), var(--green-3));
}

.price-card.premium p {
  color: rgba(255, 255, 255, 0.7);
}

.price-card.premium a,
.price-card.premium span {
  color: var(--gold-light);
}

.ayah-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 44, 39, 0.96), rgba(13, 96, 74, 0.9)),
    var(--green);
  box-shadow: var(--shadow);
}

.arabic {
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: "Scheherazade New", serif;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 1.15;
}

.translation {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.faq {
  align-items: start;
}

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

.faq details {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
}

.contact {
  width: min(1180px, calc(100% - 36px));
  margin-bottom: 70px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-3);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  max-width: 600px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-methods a {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-methods strong {
  color: var(--gold-light);
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  color: var(--ink);
}

.contact-form .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(16, 35, 31, 0.16);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--ink);
  background: #fbfaf5;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 154, 69, 0.28);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

.site-footer {
  position: relative;
  margin-top: 90px;
  padding-top: 96px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 209, 141, 0.16), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(13, 96, 74, 0.5), transparent 34%),
    linear-gradient(135deg, rgba(3, 20, 17, 0.99), rgba(5, 44, 39, 0.99)),
    #061b17;
  border-top: 1px solid rgba(240, 209, 141, 0.38);
}

.footer-cta {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(240, 209, 141, 0.34);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 96, 74, 0.98), rgba(5, 44, 39, 0.98)),
    var(--green);
  box-shadow: 0 28px 90px rgba(3, 20, 17, 0.34);
  transform: translate(-50%, -50%);
}

.footer-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.footer-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(140px, 0.55fr) minmax(160px, 0.68fr) minmax(260px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 8vw, 108px) 0 44px;
}

.footer-about p {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.footer-badges span {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid rgba(240, 209, 141, 0.2);
  border-radius: var(--radius);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 11px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-contact-card {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.footer-contact-card span {
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-contact-card strong {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.58);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: #21b35b;
  box-shadow: 0 16px 36px rgba(8, 57, 47, 0.32);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

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

  .enroll-card {
    align-self: stretch;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(330px, 100%);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(5, 34, 29, 0.98);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid,
  .intro-grid,
  .experience,
  .schedule,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    min-height: auto;
  }

  .hero-copy-block {
    padding-top: 44px;
  }

  .experience-image {
    min-height: 340px;
  }

  .teacher-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .ayah-band {
    display: grid;
  }

  .footer-cta {
    display: grid;
    position: relative;
    top: auto;
    left: auto;
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
    transform: translateY(-50%);
  }

  .site-footer {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .logo-plate {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 20, 17, 0.94), rgba(6, 38, 33, 0.78)),
      linear-gradient(180deg, rgba(5, 28, 24, 0.06), var(--paper) 100%);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-proof,
  .mini-metrics,
  .course-grid,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .trust-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .section-head {
    display: block;
  }

  .text-link {
    display: inline-flex;
    margin-top: 18px;
  }

  .course-card {
    min-height: auto;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact {
    padding: 28px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
  }
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 560px;
  padding: 148px clamp(18px, 5vw, 80px) 82px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 20, 17, 0.96), rgba(7, 67, 56, 0.86) 54%, rgba(7, 67, 56, 0.42)),
    url("https://images.unsplash.com/photo-1609599006353-e629aaabfeae?auto=format&fit=crop&w=1800&q=82") center right / cover;
}

.page-hero > div {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5.6vw, 5.5rem);
}

.page-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.rich-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.rich-copy p {
  margin-bottom: 0;
}

.value-grid,
.teacher-detail-grid,
.admission-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-grid article,
.teacher-detail-grid article,
.admission-flow article,
.program-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.value-grid article,
.teacher-detail-grid article,
.admission-flow article {
  padding: 26px;
}

.value-grid span,
.admission-flow span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--gold);
  font-weight: 900;
}

.value-grid p,
.teacher-detail-grid p,
.admission-flow p {
  color: var(--muted);
}

.story-panel,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-3), var(--green));
  box-shadow: var(--shadow);
}

.story-panel {
  margin-bottom: 76px;
}

.story-panel .arabic {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.cta-panel p,
.story-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.program-list {
  display: grid;
  gap: 16px;
}

.program-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
}

.program-list h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.program-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.program-list ul,
.page-pricing ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-list li,
.page-pricing li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-weight: 700;
}

.program-list li::before,
.page-pricing li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.teacher-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teacher-detail-grid .teacher-avatar {
  margin-bottom: 34px;
}

.page-pricing .price-card {
  min-height: 390px;
}

.page-pricing .price-card ul {
  margin-top: 24px;
}

.page-pricing .premium li {
  color: rgba(255, 255, 255, 0.78);
}

.admission-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admission-contact,
.contact-page {
  margin-top: 0;
}

.faq-page {
  padding-bottom: 110px;
}

@media (max-width: 980px) {
  .value-grid,
  .admission-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-list article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .program-list ul {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .page-hero {
    min-height: 480px;
    padding-top: 130px;
  }

  .split-section,
  .teacher-detail-grid {
    grid-template-columns: 1fr;
  }

  .story-panel,
  .cta-panel {
    display: grid;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 430px;
    padding-bottom: 54px;
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .value-grid,
  .admission-flow,
  .program-list article {
    grid-template-columns: 1fr;
  }

  .program-list .course-icon {
    margin-bottom: 0;
  }
}
