/* Afaq Global Resources — landing page styles (tokens mirror the Figma "Afaq Brand" collection) */
:root {
    --teal-950: #032F38; --teal-900: #054F5F; --teal-700: #0B6B7D; --teal-100: #E3EEF0;
    --green-700: #186A30; --green-600: #1F7F3B; --green-500: #4A9A35; --green-100: #E7F2E3;
    --charcoal-950: #0F1112; --charcoal-900: #181B1D; --charcoal-800: #24292C; --charcoal-700: #353B3F;
    --slate-500: #5E6A70; --slate-400: #8A959A;
    --stone-300: #D5D6D2; --stone-200: #E6E6E2; --stone-100: #EFEFEC; --stone-50: #F7F7F5;
    --white: #FFFFFF;
    --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;
    --container: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; font-size: 16px; line-height: 1.625; color: var(--charcoal-900); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { max-width: calc(var(--container) + 80px); padding: 0 40px; } }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Type */
.overline { display: inline-block; font-size: 13px; font-weight: 600; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 16px; }
.overline--light { color: #8CCB7A; }
.h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; font-weight: 700; color: var(--charcoal-950); margin-bottom: 16px; }
.h2--light { color: var(--white); }
.lead { font-size: 18px; line-height: 30px; color: var(--slate-500); max-width: 720px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--r-md); font: 500 15px/20px 'Poppins', sans-serif; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-600); color: var(--white); }
.btn--primary:hover { background: var(--green-700); }
.btn--teal { background: var(--teal-900); color: var(--white); }
.btn--teal:hover { background: var(--teal-950); }
.btn--light { background: var(--white); color: var(--teal-950); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--outline-dark { border-color: var(--teal-900); color: var(--teal-900); }
.btn--outline-dark:hover { background: var(--teal-100); }
.btn--block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--stone-200); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__logo img { height: 43px; width: auto; }
.nav__links { display: none; gap: 32px; font-size: 15px; font-weight: 500; color: var(--charcoal-800); }
.nav__links a:hover { color: var(--green-600); }
.nav__cta { padding: 11px 18px; }
@media (min-width: 1024px) { .nav__links { display: flex; } }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--charcoal-950); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,17,18,.96) 0%, rgba(15,17,18,.86) 45%, rgba(3,47,56,.55) 100%), var(--hero-img) center/cover no-repeat; }
.hero__inner { position: relative; padding-top: 96px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--dark { background: rgba(74,154,53,.16); border: 1px solid rgba(74,154,53,.45); color: #A9DB98; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(74,154,53,.25); }
.hero__title { font-size: clamp(36px, 6vw, 60px); line-height: 1.17; font-weight: 700; max-width: 900px; margin: 24px 0; }
.hero__lead { font-size: 18px; line-height: 30px; color: rgba(255,255,255,.75); max-width: 680px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 72px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 32px; }
.stat { border-left: 2px solid var(--green-500); padding-left: 16px; }
.stat dt { font-size: clamp(30px, 4vw, 40px); font-weight: 700; line-height: 1.2; }
.stat dd { margin: 6px 0 0; font-size: 14px; line-height: 22px; color: rgba(255,255,255,.6); max-width: 240px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Sections */
.section { padding: 80px 0; }
.section--light { background: var(--stone-50); }
.section--dark { background: var(--charcoal-950); color: var(--white); }
.section--tight { padding: 0 0 80px; }
@media (min-width: 900px) { .section { padding: 120px 0; } .section--tight { padding: 0 0 120px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head > div { max-width: 720px; }
.center-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }

/* About */
.about { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: 20px; bottom: 20px; background: var(--white); border-radius: var(--r-md); padding: 14px 18px; display: grid; gap: 2px; box-shadow: 0 12px 30px rgba(0,0,0,.18); font-size: 13px; color: var(--slate-500); }
.about__badge .overline { margin: 0; font-size: 11px; }
.about__badge strong { color: var(--charcoal-950); font-size: 14px; }
.about__copy p { color: var(--slate-500); margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--charcoal-800); }
.checklist .icon { color: var(--green-600); background: var(--green-100); border-radius: var(--r-full); padding: 4px; width: 26px; height: 26px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* Featured spotlight */
.featured { display: grid; background: var(--teal-950); border-radius: var(--r-xl); overflow: hidden; color: var(--white); margin-bottom: 48px; box-shadow: 0 24px 60px rgba(3,47,56,.25); }
.featured__media { min-height: 280px; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: 40px 24px; display: flex; flex-direction: column; gap: 20px; }
.badge-featured { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--green-500); padding: 6px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.badge-featured span { width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.featured__title { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; font-weight: 700; }
.featured__summary { font-size: 17px; line-height: 28px; color: rgba(255,255,255,.75); }
.featured__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.featured__specs div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 14px 16px; }
.featured__specs dt { font-size: 13px; color: rgba(255,255,255,.6); }
.featured__specs dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.featured__uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; font-size: 14px; color: rgba(255,255,255,.85); }
.featured__uses li { display: flex; align-items: center; gap: 8px; }
.featured__uses .icon { color: #8CCB7A; width: 16px; height: 16px; }
.featured__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
@media (min-width: 900px) {
    .featured { grid-template-columns: 1fr 1.05fr; }
    .featured__body { padding: 56px; }
}
@media (max-width: 480px) { .featured__uses { grid-template-columns: 1fr; } .featured__ctas .btn { width: 100%; } }

/* Chips & grid */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { font: 500 15px/20px 'Poppins', sans-serif; padding: 9px 18px; border-radius: var(--r-full); border: 1px solid var(--stone-300); background: var(--white); color: var(--charcoal-800); cursor: pointer; }
.chip:hover { border-color: var(--teal-700); }
.chip.is-active { background: var(--teal-900); border-color: var(--teal-900); color: var(--white); }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 18px 40px rgba(15,17,18,.08); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card--featured { border: 2px solid var(--green-600); box-shadow: 0 12px 32px rgba(31,127,59,.15); }
.card__media { position: relative; aspect-ratio: 3/2; background: var(--teal-900); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__ribbon { position: absolute; top: 14px; left: 14px; background: var(--green-600); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-full); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); padding: 4px 10px; border-radius: var(--r-full); margin-bottom: 12px; }
.card__title { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--charcoal-950); margin-bottom: 10px; }
.card__desc { font-size: 14px; line-height: 22px; color: var(--slate-500); margin-bottom: 16px; }
.card__specs { margin: auto 0 20px; }
.card__specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--stone-200); font-size: 14px; }
.card__specs dt { color: var(--slate-500); }
.card__specs dd { margin: 0; font-weight: 600; color: var(--charcoal-950); text-align: right; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--teal-900); }
.card__link:hover { color: var(--green-600); }

/* Spec table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--stone-200); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.spec-table th { background: var(--teal-950); color: var(--white); text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 16px 20px; }
.spec-table td { padding: 16px 20px; border-top: 1px solid var(--stone-200); color: var(--charcoal-800); }
.spec-table td.strong { font-weight: 600; color: var(--charcoal-950); }
.spec-table tbody tr:nth-child(even) { background: var(--stone-50); }
.note { font-size: 13px; color: var(--slate-400); margin-top: 16px; }

/* Certification */
.cert { display: grid; gap: 40px; background: linear-gradient(135deg, var(--teal-950), var(--teal-900)); border-radius: var(--r-xl); padding: 40px 24px; color: var(--white); }
.cert__copy p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.cert__icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-bottom: 24px; }
.cert__icon .icon { width: 24px; height: 24px; }
.cert__details { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 8px 24px; }
.cert__details div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cert__details div:last-child { border-bottom: 0; }
.cert__details dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cert__details dd { margin: 4px 0 0; font-weight: 600; }
@media (min-width: 900px) { .cert { grid-template-columns: 1.1fr 1fr; padding: 64px; align-items: center; } }

/* Features */
.features { display: grid; gap: 24px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 32px; }
.feature__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-bottom: 24px; }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 14px; line-height: 22px; color: rgba(255,255,255,.6); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 32px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 2px solid var(--stone-200); padding-top: 24px; }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full); background: var(--teal-900); color: var(--white); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.steps p { font-size: 14px; line-height: 22px; color: var(--slate-500); }

/* CTA */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(110deg, var(--teal-950) 0%, var(--teal-900) 45%, var(--green-700) 100%); border-radius: var(--r-xl); padding: 40px 24px; color: var(--white); }
.cta > div:first-child { max-width: 640px; }
.cta p { color: rgba(255,255,255,.78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta { padding: 64px; } }

/* Contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 80px; } }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; }
.contact__list li { display: flex; gap: 16px; }
.contact__list .icon { width: 44px; height: 44px; padding: 12px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-600); }
.contact__list span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); }
.contact__list a, .contact__list p { display: block; font-weight: 500; color: var(--charcoal-900); }
.contact__list a:hover { color: var(--green-600); }
.form { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--r-xl); padding: 28px 20px; box-shadow: 0 20px 50px rgba(15,17,18,.06); }
@media (min-width: 600px) { .form { padding: 40px; } }
.form h3 { font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: 24px; }
.form__grid { display: grid; gap: 18px; margin-bottom: 24px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--charcoal-800); }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/22px 'Poppins', sans-serif; padding: 12px 14px; border: 1px solid var(--stone-300); border-radius: var(--r-md); background: var(--white); color: var(--charcoal-900); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(31,127,59,.15); }
.field em { font-style: normal; font-size: 13px; color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--r-md); padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.alert--success { background: var(--green-100); color: var(--green-700); border: 1px solid #BFDDB5; }
.alert--error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* Footer */
.footer { background: var(--charcoal-950); color: rgba(255,255,255,.6); padding: 72px 0 32px; font-size: 14px; }
.footer__inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__logo { display: inline-block; background: var(--white); padding: 10px 14px; border-radius: var(--r-md); margin-bottom: 20px; }
.footer__logo img { height: 40px; width: auto; }
.footer__brand p { max-width: 320px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: 13px; }
.turnstile { min-height: 65px; }
