/* =========================================================
   Aiming High Language Center - Homepage 2026
   Toate stilurile sunt scopate sub .ah-home ca sa nu intre
   in conflict cu style.css vechi (incarcat global din header.php)
   ========================================================= */

.ah-home,
.ah-home *,
.ah-home *::before,
.ah-home *::after { box-sizing: border-box; }

.ah-home {
  /* paleta */
  --ah-purple: #3A1373;
  --ah-purple-d: #2b0f57;
  --ah-purple-l: #4B1A95;
  --ah-pink: #ED1F60;
  --ah-pink-d: #c9154f;
  --ah-green: #66B22F;
  --ah-blue: #0066CC;
  --ah-teal: #16a394;
  --ah-yellow: #FFB800;
  --ah-yellow-d: #e6a600;
  --ah-ink: #222222;
  --ah-text: #555555;
  --ah-muted: #666666;
  --ah-line: #ececf3;
  --ah-bg-soft: #F8F9FA;
  --ah-cream: #fdf4e3;
  --ah-radius: 16px;
  --ah-shadow: 0 18px 50px rgba(48, 22, 92, .12);
  --ah-shadow-sm: 0 8px 24px rgba(48, 22, 92, .08);

  font-family: 'Poppins', 'Montserrat', -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ah-text);
  font-size: 16px;
  line-height: 1.55;
  background: #fff;
  overflow-x: hidden;
}

.ah-home img { max-width: 100%; display: block; }
.ah-home a { text-decoration: none; color: inherit; }
.ah-home h1, .ah-home h2, .ah-home h3, .ah-home h4 {
  margin: 0; color: var(--ah-ink); line-height: 1.2; font-weight: 800;
  /* override la regulile globale vechi (h1{Amatic SC, 80px, center}) */
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: inherit; letter-spacing: normal;
}
.ah-home p { margin: 0; }
.ah-home button { font-family: inherit; cursor: pointer; }

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

/* ---------- helpers ---------- */
.ah-script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}
.ah-hl { color: var(--ah-yellow); }

/* ---------- buttons ---------- */
.ah-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; line-height: 1.15; text-transform: uppercase;
  padding: 15px 28px; border-radius: 10px; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.ah-btn svg { width: 18px; height: 18px; }
.ah-btn:hover { transform: translateY(-2px); }
.ah-btn--purple { background: var(--ah-purple); color: #fff; box-shadow: 0 10px 24px rgba(91, 43, 158, .35); }
.ah-btn--purple:hover { background: var(--ah-purple-l); }
.ah-btn--pink { background: var(--ah-pink); color: #fff; box-shadow: 0 10px 24px rgba(236, 72, 153, .35); }
.ah-btn--pink:hover { background: var(--ah-pink-d); }
.ah-btn--ghost { background: #fff; color: var(--ah-purple); border: 2px solid var(--ah-purple); box-shadow: none; }
.ah-btn--ghost:hover { background: #f6f2fc; }
.ah-btn--yellow { background: var(--ah-yellow); color: var(--ah-purple); box-shadow: 0 10px 24px rgba(255,184,0,.32); }
.ah-btn--yellow:hover { background: var(--ah-yellow-d); }

/* IMPORTANT: resetul `.ah-home a {color:inherit}` (0,1,1) suprascrie culoarea
   butoanelor (0,1,0). Aceste reguli (0,2,0) o aduc inapoi. */
.ah-home .ah-btn--purple, .ah-home .ah-btn--pink { color: #fff; }
.ah-home .ah-btn--ghost { color: var(--ah-purple); }
.ah-home .ah-btn--yellow { color: var(--ah-purple); }
.ah-home .ah-nav__phone { color: #fff; }
.ah-btn--block { width: 100%; justify-content: center; }

/* =========================================================
   TOP BAR + NAV
   ========================================================= */
.ah-nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff; box-shadow: 0 4px 24px rgba(20, 10, 50, .06);
}
.ah-nav__inner {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.ah-nav__logo { flex: none; display: inline-flex; align-items: center; }
.ah-nav__logo img { height: 60px; width: 60px; object-fit: cover; border-radius: 14px; max-width: none; flex: none; }
.ah-nav__menu {
  display: flex; align-items: center; gap: 18px;
  list-style: none; margin: 0 auto 0 22px; padding: 0;
}
.ah-nav__menu a {
  position: relative;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2px;
  text-transform: uppercase; color: #3a3450; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 2px 10px; transition: color .15s;
}
.ah-nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--ah-purple);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.ah-nav__menu a:hover, .ah-nav__menu a.is-active { color: var(--ah-purple); }
.ah-nav__menu a:hover::after, .ah-nav__menu a.is-active::after { transform: scaleX(1); }
.ah-nav__menu svg { width: 11px; height: 11px; opacity: .6; }
.ah-nav__phone {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ah-purple); color: #fff;
  font-weight: 700; font-size: 15px; white-space: nowrap; flex: none;
  padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(58, 19, 115, .3);
}
.ah-nav__phone span { white-space: nowrap; }
.ah-nav__phone:hover { background: var(--ah-purple-l); }
.ah-nav__phone svg { width: 17px; height: 17px; }
.ah-nav__burger { display: none; background: none; border: 0; padding: 6px; }
.ah-nav__burger svg { width: 28px; height: 28px; color: var(--ah-purple); }
/* close-ul si overlay-ul apar doar pe mobil */
.ah-nav__mclose { display: none; }
.ah-nav__overlay { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.ah-hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 86vh;
  padding: 60px 0;
  color: var(--ah-ink);
  /* imagine de fundal full-height + gradient alb spre stanga pentru lizibilitate */
  background-image:
    linear-gradient(90deg, #ffffff 26%, rgba(255,255,255,.85) 44%, rgba(255,255,255,.25) 64%, rgba(255,255,255,0) 80%),
    var(--ah-hero-bg, linear-gradient(135deg, #efe7fb, #f6eef9));
  background-repeat: no-repeat;
  background-position: center, center right;
  background-size: cover, cover;
  overflow: hidden;
}
.ah-hero__grid { position: relative; z-index: 2; width: 100%; }
.ah-hero__content { max-width: 56%; }
.ah-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ah-yellow); color: var(--ah-ink);
  font-weight: 800; font-size: 13px; letter-spacing: .3px;
  padding: 9px 16px; border-radius: 8px; text-transform: uppercase;
}
.ah-badge svg { width: 15px; height: 15px; }
.ah-hero__script { font-family: 'Caveat', cursive; font-weight: 700; font-size: 34px; color: var(--ah-purple); margin: 16px 0 2px; }
.ah-hero h1 { font-size: 48px; line-height: 1.12; letter-spacing: -.5px; color: var(--ah-purple); text-align: left; }
.ah-hero h1 .ah-hl { color: var(--ah-pink); }
.ah-hero__sub { display: inline; }
.ah-hero__bullets {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; max-width: 540px;
}
.ah-hero__bullets li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ah-ink); }
.ah-hero__bullets svg { width: 22px; height: 22px; color: var(--ah-purple); flex: none; }
.ah-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* pastile plutitoare peste imaginea de fundal (desktop) */
.ah-hero__badges {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  z-index: 2; display: flex; flex-direction: column; gap: 20px;
}
.ah-pill {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 112px; height: 112px; border-radius: 50%;
  color: #fff; font-weight: 800; text-align: center; line-height: 1.15;
  box-shadow: 0 12px 26px rgba(0,0,0,.18); border: 4px solid rgba(255,255,255,.9);
}
.ah-pill span { font-size: 11.5px; font-weight: 600; opacity: .96; }
.ah-pill b { font-size: 14px; }
.ah-pill--1 { background: var(--ah-pink); }
.ah-pill--2 { background: var(--ah-blue); }
.ah-pill--3 { background: var(--ah-green); }

/* imagine hero pe mobil (bloc separat, ascunsa pe desktop) */
.ah-hero__mobimg { display: none; }

/* =========================================================
   STATS BAR
   ========================================================= */
.ah-stats {
  background: var(--ah-purple-d);
  color: #fff;
}
.ah-stats__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 22px;
  padding: 22px 20px;
}
.ah-stat { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.ah-stat__ico { flex: none; display: grid; place-items: center; }
.ah-stat__ico svg { width: 30px; height: 30px; color: #fff; stroke-width: 1.7; }
.ah-stat b { display: block; font-size: 17px; color: #fff; line-height: 1.1; }
.ah-stat span { font-size: 13px; color: rgba(255,255,255,.78); }

/* =========================================================
   SECTION TITLES
   ========================================================= */
.ah-section { padding: 64px 0; }
.ah-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ah-head h2 { font-size: 32px; }
.ah-head h2 b { color: var(--ah-purple); }
.ah-head p { margin-top: 10px; color: var(--ah-muted); }

/* ---------- WHY (6 cards) ---------- */
.ah-why { background: #fff; }
.ah-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.ah-card {
  background: #fff; border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius); padding: 28px 24px;
  box-shadow: var(--ah-shadow-sm); transition: transform .18s, box-shadow .18s;
}
.ah-card:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow); }
.ah-card__ico {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; background: #f1ecfb; color: var(--ah-purple);
}
.ah-card__ico svg { width: 28px; height: 28px; }
.ah-card h3 { font-size: 18px; margin-bottom: 8px; }
.ah-card p { font-size: 14.5px; color: var(--ah-muted); }

/* =========================================================
   ENROLLMENT + FORM
   ========================================================= */
.ah-enroll__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch;
}
.ah-enroll-section { background: var(--ah-bg-soft); }
.ah-enroll__box { padding: 8px 0; position: relative; overflow: hidden; }
.ah-enroll__box h2 { font-size: 30px; margin-bottom: 22px; }
.ah-enroll__box h2 b { color: var(--ah-pink); }
.ah-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ah-checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ah-ink); }
.ah-checklist svg { width: 22px; height: 22px; color: var(--ah-green); flex: none; }
/* imaginea = decor jos-dreapta, in spatele textului, ca sa NU adauge inaltime coloanei */
.ah-enroll__box h2, .ah-enroll__box .ah-checklist { position: relative; z-index: 2; }
.ah-enroll__box .ah-checklist { max-width: 60%; }
.ah-enroll__img {
  position: absolute; right: -6px; bottom: -6px; z-index: 1; margin: 0;
  width: 46%; max-width: 300px; border-radius: 14px; overflow: hidden;
  opacity: .97; pointer-events: none;
}
.ah-enroll__img img { width: 100%; height: auto; display: block; }

.ah-form {
  background: #fff; border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius); padding: 34px; box-shadow: var(--ah-shadow);
}
.ah-form h2 { font-size: 24px; }
.ah-form > p { color: var(--ah-muted); margin: 8px 0 22px; font-size: 14.5px; }
.ah-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ah-form input {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--ah-line); border-radius: 10px; background: #fbfafd; color: var(--ah-ink);
  transition: border-color .15s, box-shadow .15s;
}
.ah-form input:focus {
  outline: 0; border-color: var(--ah-purple);
  box-shadow: 0 0 0 4px rgba(91, 43, 158, .12); background: #fff;
}
.ah-form input::placeholder { color: #9aa1ad; }
.ah-form__note { font-size: 12.5px; color: var(--ah-muted); text-align: center; margin-top: 12px; }
.ah-form__ok {
  background: #e7f8ee; color: #128a4f; border: 1px solid #b6e7c9;
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; font-size: 14px;
}
.ah-form__error {
  background: #fff0f0; color: #a52222; border: 1px solid #efbcbc;
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; font-size: 14px;
}

/* floating contact */
.ah-floating { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.ah-floating a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .15s;
}
.ah-floating a:hover { transform: scale(1.08); }
.ah-floating svg { width: 28px; height: 28px; }
.ah-floating .ah-wa { background: #25d366; }
.ah-floating .ah-call { background: var(--ah-purple); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.ah-tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ah-tst {
  background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-radius);
  padding: 26px; box-shadow: var(--ah-shadow-sm); position: relative;
}
.ah-tst__quote { font-size: 40px; line-height: 1; color: var(--ah-pink); font-family: Georgia, serif; }
.ah-tst p { font-size: 14.5px; color: var(--ah-text); margin: 6px 0 18px; }
.ah-tst__person { display: flex; align-items: center; gap: 12px; }
.ah-tst__person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.ah-tst__person b { display: block; color: var(--ah-ink); font-size: 14.5px; }
.ah-tst__person span { font-size: 12.5px; color: var(--ah-muted); }
.ah-stars { display: flex; gap: 2px; margin-top: 3px; }
.ah-stars svg { width: 14px; height: 14px; color: var(--ah-yellow); }
.ah-tst__center { text-align: center; margin-top: 34px; }

/* =========================================================
   INFO BAR
   ========================================================= */
.ah-info { background: var(--ah-bg-soft); border-top: 1px solid var(--ah-line); border-bottom: 1px solid var(--ah-line); }
.ah-info__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 20px; }
.ah-info__item { display: flex; align-items: center; gap: 13px; }
.ah-info__ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #fff; box-shadow: var(--ah-shadow-sm); }
.ah-info__ico svg { width: 22px; height: 22px; color: var(--ah-purple); }
.ah-info__item b { display: block; color: var(--ah-ink); font-size: 14.5px; }
.ah-info__item span { font-size: 13px; color: var(--ah-muted); }

/* =========================================================
   BOTTOM CTA + FOOTER
   ========================================================= */
.ah-cta {
  background: linear-gradient(135deg, #5e2aa8, #87309e);
  color: #fff; padding: 40px 0;
}
.ah-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ah-cta__txt { display: flex; align-items: center; gap: 16px; }
.ah-cta__txt svg { width: 40px; height: 40px; color: var(--ah-yellow); flex: none; }
.ah-cta h2 { color: #fff; font-size: 24px; }
.ah-cta p { color: rgba(255,255,255,.85); font-size: 14.5px; margin-top: 3px; }

.ah-foot { background: #241640; color: rgba(255,255,255,.72); padding: 48px 0 0; font-size: 14px; }
.ah-foot a { color: rgba(255,255,255,.8); transition: color .15s; }
.ah-foot a:hover { color: #fff; }
.ah-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 34px; padding-bottom: 36px; }
.ah-foot__logo { height: 60px; width: 60px; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.ah-foot__about p { line-height: 1.6; max-width: 340px; }
.ah-foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .4px; }
.ah-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ah-foot__contact li { display: flex; align-items: center; gap: 10px; }
.ah-foot__contact svg { width: 17px; height: 17px; color: var(--ah-yellow); flex: none; }
.ah-foot__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 13px; }

/* =========================================================
   PAGINI INTERIOARE
   ========================================================= */
/* page hero / banner */
.ah-phero { background: linear-gradient(135deg, #5e2aa8 0%, #6f2fa6 50%, #87309e 100%); color: #fff; position: relative; overflow: hidden; }
.ah-phero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 85% -20%, rgba(255,255,255,.12), transparent 60%); }
.ah-phero__inner { position: relative; z-index: 2; padding: 56px 20px 60px; text-align: center; }
.ah-phero h1 { color: #fff; font-size: 40px; }
.ah-phero__crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.8); margin-top: 12px; }
.ah-phero__crumb a { color: rgba(255,255,255,.8); }
.ah-phero__crumb a:hover { color: #fff; }
.ah-phero__lead { max-width: 680px; margin: 14px auto 0; color: rgba(255,255,255,.9); font-size: 16px; }

/* prose / continut text editabil */
.ah-prose { color: var(--ah-text); line-height: 1.7; font-size: 16px; }
.ah-prose > *:first-child { margin-top: 0; }
.ah-prose p { margin: 0 0 16px; }
.ah-prose h2 { font-size: 26px; margin: 28px 0 12px; }
.ah-prose h3 { font-size: 20px; margin: 22px 0 10px; }
.ah-prose ul, .ah-prose ol { margin: 0 0 16px; padding-left: 22px; }
.ah-prose li { margin-bottom: 8px; }
.ah-prose a { color: var(--ah-purple); font-weight: 600; }
.ah-prose img { border-radius: 14px; margin: 8px 0; }

/* two-col (text + imagine) */
.ah-split { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.ah-split__img img { width: 100%; border-radius: var(--ah-radius); box-shadow: var(--ah-shadow); }

/* echipa */
.ah-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ah-teamcard { background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-radius); overflow: hidden; box-shadow: var(--ah-shadow-sm); transition: transform .18s, box-shadow .18s; }
.ah-teamcard:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow); }
.ah-teamcard__img { aspect-ratio: 1/1; background: var(--ah-bg-soft) center/cover no-repeat; }
.ah-teamcard__b { padding: 20px; text-align: center; }
.ah-teamcard__b h3 { font-size: 18px; }
.ah-teamcard__role { display: inline-block; color: var(--ah-pink); font-weight: 700; font-size: 13px; margin: 4px 0 10px; text-transform: uppercase; letter-spacing: .3px; }
.ah-teamcard__b p { font-size: 14px; color: var(--ah-muted); }

/* contact */
.ah-contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.ah-contact__cards { display: grid; gap: 16px; }
.ah-cinfo { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-radius); padding: 20px 22px; box-shadow: var(--ah-shadow-sm); }
.ah-cinfo__ico { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: #f1ecfb; }
.ah-cinfo__ico svg { width: 24px; height: 24px; color: var(--ah-purple); }
.ah-cinfo b { display: block; color: var(--ah-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.ah-cinfo span, .ah-cinfo a { color: var(--ah-text); font-size: 15.5px; }
.ah-map { margin-top: 16px; border-radius: var(--ah-radius); overflow: hidden; box-shadow: var(--ah-shadow-sm); border: 1px solid var(--ah-line); }
.ah-map img, .ah-map iframe { width: 100%; display: block; border: 0; }
.ah-form textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit; min-height: 130px; resize: vertical;
  border: 1.5px solid var(--ah-line); border-radius: 10px; background: #fbfafd; color: var(--ah-ink); margin-bottom: 14px;
}
.ah-form textarea:focus { outline: 0; border-color: var(--ah-purple); box-shadow: 0 0 0 4px rgba(91,43,158,.12); background: #fff; }

/* faq */
.ah-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.ah-faq__item { background: #fff; border: 1px solid var(--ah-line); border-radius: 12px; box-shadow: var(--ah-shadow-sm); overflow: hidden; }
.ah-faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--ah-ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: inherit; }
.ah-faq__q svg { width: 20px; height: 20px; color: var(--ah-purple); flex: none; transition: transform .2s; }
.ah-faq__item.is-open .ah-faq__q svg { transform: rotate(45deg); }
.ah-faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.ah-faq__a > div { padding: 0 20px 18px; color: var(--ah-muted); line-height: 1.6; }
.ah-faq__item.is-open .ah-faq__a { max-height: 400px; }

/* galerie */
.ah-gallery-section { background: var(--ah-bg-soft); }
.ah-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ah-gallery__item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--ah-shadow-sm); }
.ah-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ah-gallery__item:hover img { transform: scale(1.09); }
.ah-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(58,19,115,.5), transparent 55%); opacity: 0; transition: opacity .25s; }
.ah-gallery__item:hover::after { opacity: 1; }
.ah-gallery__zoom { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.7);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ah-purple);
  opacity: 0; transition: opacity .25s, transform .25s; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.ah-gallery__zoom svg { width: 22px; height: 22px; }
.ah-gallery__item:hover .ah-gallery__zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* courses */
.ah-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ah-coursecard { background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-radius); overflow: hidden; box-shadow: var(--ah-shadow-sm); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.ah-coursecard:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow); }
.ah-coursecard__img { aspect-ratio: 16/10; background: var(--ah-bg-soft) center/cover no-repeat; }
.ah-coursecard__b { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ah-coursecard__b h3 { font-size: 19px; margin-bottom: 6px; }
.ah-coursecard__price { font-size: 24px; font-weight: 800; color: var(--ah-purple); margin: 8px 0 2px; }
.ah-coursecard__price small { font-size: 13px; font-weight: 600; color: var(--ah-muted); }
.ah-coursecard .ah-btn { margin-top: auto; }
.ah-badge-pill { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 10px; }
.ah-badge-pill.orange { background: #fff3df; color: #b25e00; }
.ah-badge-pill.green { background: #e6f7ec; color: #178a4e; }
.ah-badge-pill.red { background: #fdecec; color: #c62a2a; }

@media (max-width: 980px) {
  .ah-team { grid-template-columns: repeat(2, 1fr); }
  .ah-courses { grid-template-columns: repeat(2, 1fr); }
  .ah-gallery { grid-template-columns: repeat(3, 1fr); }
  .ah-split { grid-template-columns: 1fr; }
  .ah-contact__grid { grid-template-columns: 1fr; }
  .ah-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ah-phero h1 { font-size: 30px; }
  .ah-team { grid-template-columns: 1fr; }
  .ah-courses { grid-template-columns: 1fr; }
  .ah-gallery { grid-template-columns: 1fr 1fr; }
  .ah-foot__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .ah-hero { min-height: auto; padding: 34px 0 10px; display: block;
    background-image: none; background-color: #f4eefb; }
  .ah-hero h1 { font-size: 34px; }
  .ah-hero__content { max-width: 100%; }
  .ah-hero__mobimg { display: block; aspect-ratio: 4/3; margin-top: 24px;
    background-color: #e8def7; background-size: cover; background-position: center; background-repeat: no-repeat;
    border-radius: 16px; box-shadow: var(--ah-shadow); }
  .ah-hero__badges { position: static; transform: none; flex-direction: row;
    justify-content: center; flex-wrap: wrap; gap: 14px; margin: 18px 0 0; }
  .ah-cards { grid-template-columns: repeat(2, 1fr); }
  .ah-enroll__grid { grid-template-columns: 1fr; }
  .ah-enroll__box { overflow: visible; }
  .ah-enroll__box .ah-checklist { max-width: none; }
  .ah-enroll__img { position: static; width: 100%; max-width: 360px; margin-top: 20px; opacity: 1; }
  .ah-tst__grid { grid-template-columns: 1fr; }
  .ah-info__grid { grid-template-columns: repeat(2, 1fr); }
  .ah-stats__inner { gap: 22px 28px; }
}

@media (max-width: 760px) {
  .ah-nav__burger { display: inline-flex; order: 3; }
  .ah-nav__inner { position: relative; }
  .ah-nav__phone span { display: none; }
  /* impinge grupul telefon + burger la dreapta extrema, burger ultimul */
  .ah-nav__phone { padding: 11px 13px; margin-left: auto; order: 2; }

  /* ---- meniu off-canvas: slide din STANGA (ca tema veche) ---- */
  .ah-nav__menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 80%; max-width: 320px; margin: 0;
    background: #fff; padding: 74px 24px 28px; gap: 2px;
    transform: translateX(-100%); transition: transform .28s ease;
    box-shadow: 6px 0 40px rgba(20, 10, 40, .28);
    z-index: 80; overflow-y: auto;
  }
  .ah-nav__menu.is-open { transform: translateX(0); }
  .ah-nav__menu li { width: 100%; }
  .ah-nav__menu a {
    display: block; width: 100%; padding: 14px 2px; font-size: 15px;
    border-bottom: 1px solid var(--ah-line);
  }
  .ah-nav__menu a::after { display: none; }
  .ah-nav__menu a.is-active { color: var(--ah-purple); }

  .ah-nav__menu li.ah-nav__mclose {
    display: block; width: auto;
    position: absolute; top: 14px; right: 16px; left: auto;
    margin: 0; padding: 0; border: 0;
  }
  .ah-nav__mclose button { background: none; border: 0; padding: 6px; color: var(--ah-purple); cursor: pointer; }
  .ah-nav__mclose svg { width: 26px; height: 26px; }

  .ah-nav__overlay {
    display: block; position: fixed; inset: 0;
    background: rgba(20, 10, 40, .5);
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
    z-index: 70;
  }
  .ah-nav__overlay.is-open { opacity: 1; visibility: visible; }
  .ah-hero h1 { font-size: 30px; }
  .ah-hero__bullets { grid-template-columns: 1fr; }
  /* butoanele hero: sa incapa textul lung (ex: "Programeaza evaluarea gratuita") */
  .ah-hero__cta { flex-direction: column; align-items: stretch; }
  .ah-hero__cta .ah-btn { white-space: normal; width: 100%; justify-content: center; text-align: center; }
  .ah-pill { width: 92px; height: 92px; border-width: 3px; }
  .ah-pill b { font-size: 13px; }
  .ah-pill span { font-size: 10.5px; }
  .ah-section { padding: 48px 0; }
  .ah-head h2, .ah-tst__grid + * h2 { font-size: 26px; }
  .ah-cards { grid-template-columns: 1fr; }
  .ah-form__row { grid-template-columns: 1fr; }
  /* niciun buton sa nu dea overflow din cauza textului lung pe mobil */
  .ah-btn { white-space: normal; }
  .ah-cta__inner { flex-direction: column; text-align: center; }
  .ah-cta__txt { flex-direction: column; }
}

@media (max-width: 480px) {
  .ah-info__grid { grid-template-columns: 1fr; }
  .ah-hero__bullets { gap: 10px 16px; }
}
