/* ==========================================================
   KIZILELMA · ANA SAYFA (index.php)
   Renkler temadan gelir: rgb(var(--a500)) vurgu, --bg*, --t*
   Ön kayıt formunun stilleri style.css içinde (tüm sayfalarda ortak).
========================================================== */

.hm-wrap { width:min(1240px, 92%); margin:0 auto; }
.hm-section { padding:84px 0; }
.hm-center { display:flex; justify-content:center; margin-top:36px; }

/* ---------- Başlıklar ---------- */
.hm-head { max-width:760px; margin:0 auto 44px; text-align:center; }
.hm-head h2 { margin:12px 0 0; font-size:clamp(28px, 3.6vw, 42px); line-height:1.2; font-weight:700; color:#fff; }
.hm-head h2 em, .hm-hero h1 em { font-style:normal; background:linear-gradient(90deg, rgb(var(--a400)), rgb(var(--b500))); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hm-head p { margin:16px auto 0; color:var(--text-light); font-size:15.5px; line-height:1.8; }
.hm-head-row { max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:20px; text-align:left; }

/* ---------- Butonlar ---------- */
.hm-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:0 22px; border-radius:13px; font-size:15px; font-weight:600; border:1px solid transparent; transition:transform .25s, background .25s, border-color .25s, box-shadow .25s; white-space:nowrap; }
.hm-btn:hover { transform:translateY(-2px); }
.hm-btn-primary { background:linear-gradient(135deg, rgb(var(--a500)), rgb(var(--a600))); color:#fff; box-shadow:0 12px 28px rgba(var(--a500),.3); }
.hm-btn-light { background:#fff; color:rgb(var(--bg1)); }
.hm-btn-light i { color:rgb(var(--a500)); }
.hm-btn-wa { background:rgba(37,211,102,.12); border-color:rgba(37,211,102,.4); color:#fff; }
.hm-btn-wa i { color:#25d366; font-size:18px; }
.hm-btn-wa:hover { background:rgba(37,211,102,.2); }
.hm-btn-ghost { border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.04); color:#fff; }
.hm-btn-ghost:hover { border-color:rgba(var(--a400),.6); background:rgba(var(--a500),.1); }
.hm-only-mobile { display:none; }

/* ---------- 1 · Giriş ---------- */
.hm-hero { position:relative; padding:150px 0 76px; overflow:hidden; isolation:isolate; }
.hm-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:
    radial-gradient(700px 420px at 12% 20%, rgba(var(--a500),.16), transparent 70%),
    radial-gradient(600px 500px at 90% 70%, rgba(var(--c500),.12), transparent 70%); }
.hm-hero .kg-pattern { z-index:-1; }
.hm-hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.hm-hero h1 { margin:18px 0 18px; font-size:clamp(34px, 5vw, 60px); line-height:1.08; font-weight:800; letter-spacing:-.5px; color:#fff; }
.hm-h1-kicker { display:block; margin-bottom:12px; font-size:clamp(15px, 1.6vw, 19px); font-weight:600; letter-spacing:.3px; color:rgb(var(--t400)); }
.hm-lead { max-width:600px; margin:0 0 26px; color:var(--text-light); font-size:16.5px; line-height:1.75; }

.hm-exam { display:flex; align-items:center; gap:16px; max-width:600px; margin:0 0 26px; padding:14px 18px 14px 14px; border-radius:16px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04); }
.hm-exam.is-open { border-color:rgba(var(--a500),.45); background:linear-gradient(120deg, rgba(var(--a500),.14), rgba(var(--a500),.03)); }
.hm-exam-count { flex:none; display:grid; place-items:center; width:72px; height:72px; border-radius:14px; background:rgb(var(--a500)); color:#fff; text-align:center; line-height:1; box-shadow:0 10px 24px rgba(var(--a500),.35); }
.hm-exam-count b { display:block; font-size:28px; font-weight:800; }
.hm-exam-count span { display:block; margin-top:2px; font-size:12px; font-weight:600; opacity:.9; }
.hm-exam-count.is-text i { font-size:28px; }
.hm-exam-info { display:grid; gap:3px; min-width:0; }
.hm-exam-info small { font-size:11.5px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:rgb(var(--a300)); }
.hm-exam-info strong { font-size:17px; color:#fff; line-height:1.35; }
.hm-exam-info span { font-size:13.5px; color:var(--text-light); line-height:1.5; }
.hm-exam-info span b { color:#fff; }
.hm-exam-campaign { color:#fde68a !important; font-weight:600; }

.hm-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:26px; }
.hm-hero-trust { display:flex; flex-wrap:wrap; gap:10px 22px; font-size:13.5px; color:rgb(var(--t500)); }
.hm-hero-trust li { display:flex; align-items:center; gap:8px; }
.hm-hero-trust i { color:rgb(var(--a400)); }
.hm-hero-trust .fa-star { color:#fbbc05; }
.hm-hero-trust b { color:#fff; }
.hm-hero-form { scroll-margin-top:100px; }
.hm-hero-form .kg-prereg { scroll-margin-top:100px; }

/* ---------- 2 · Güven şeridi ---------- */
.hm-trust { border-block:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.22); }
.hm-trust-grid { display:grid; grid-template-columns:repeat(4, 1fr); }
.hm-stat { display:grid; gap:4px; padding:28px 12px; text-align:center; }
.hm-stat + .hm-stat { border-left:1px solid rgba(255,255,255,.08); }
.hm-stat b { font-size:clamp(26px, 3vw, 36px); font-weight:800; color:#fff; line-height:1.1; }
.hm-stat span { font-size:13px; color:rgb(var(--t500)); }

/* ---------- 3 · Size uygun eğitim ---------- */
.hm-chooser { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-bottom:40px; }
.hm-choice { display:grid; grid-template-columns:48px minmax(0, 1fr); column-gap:14px; align-content:start; align-items:center; padding:22px; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); }
.hm-choice > div { display:contents; }
.hm-choice-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:rgba(var(--a500),.14); color:rgb(var(--a400)); font-size:19px; }
.hm-choice strong { display:block; margin:0; font-size:15.5px; line-height:1.4; color:#fff; text-align:left; }
.hm-choice strong + a { margin-top:16px; }
.hm-choice a { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; padding:10px 10px 10px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.03); font-size:14px; line-height:1.35; color:var(--text-light); text-align:left; transition:color .2s, border-color .2s, background .2s; }
.hm-choice a i { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:rgba(var(--a500),.14); color:rgb(var(--a400)); font-size:12px; line-height:1; transition:transform .2s, background .2s, color .2s; }
.hm-choice a:hover { color:#fff; border-color:rgba(var(--a500),.4); background:rgba(var(--a500),.08); }
.hm-choice a:hover i { transform:translateX(3px); background:rgb(var(--a500)); color:#fff; }
@media (min-width: 761px) { .hm-choice strong { display:flex; align-items:center; min-height:2.8em; } }

/* ---------- 4 · Kayıt adımları ---------- */
.hm-steps-section { background:linear-gradient(180deg, transparent, rgba(var(--a500),.04) 50%, transparent); }
.hm-steps { display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; counter-reset:none; }
.hm-step { position:relative; display:flex; flex-direction:column; padding:26px 22px 22px; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:rgba(var(--bg2),.75); }
.hm-step-no { display:grid; place-items:center; width:40px; height:40px; margin-bottom:16px; border-radius:50%; background:rgb(var(--a500)); color:#fff; font-weight:800; font-size:16px; box-shadow:0 0 0 6px rgba(var(--a500),.14); }
.hm-step h3 { margin:0 0 10px; font-size:17px; color:#fff; }
.hm-step p { flex:1; margin:0 0 16px; font-size:14px; line-height:1.7; color:var(--text-light); }
.hm-step a { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:rgb(var(--a300)); }
.hm-step a:hover { color:#fff; }

/* ---------- Önceki bölümler: daha sıkı boşluk ---------- */
.kg-exam-actions, .kg-reviews-section { padding-top:72px; padding-bottom:72px; }

/* ---------- 7 · Duyurular ---------- */
.hm-news { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.hm-news-card { display:flex; flex-direction:column; padding:22px; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.hm-news-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; font-size:12.5px; color:rgb(var(--t500)); }
.hm-news-tag { display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; background:rgba(var(--a500),.12); color:rgb(var(--a300)); font-weight:600; }
.hm-news-card h3 { margin:0 0 10px; font-size:17px; line-height:1.4; color:#fff; }
.hm-news-card p { flex:1; margin:0 0 16px; font-size:14px; line-height:1.7; color:var(--text-light); }
.hm-news-card > a { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:rgb(var(--a300)); }

/* ---------- 8 · SSS ---------- */
.hm-faq.faq { padding:84px 0 96px; }
.hm-faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:start; }
.hm-faq-head { margin:0; text-align:left; position:sticky; top:110px; }
.hm-faq-head p { margin-left:0; }
.hm-faq-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
    .hm-steps { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .hm-hero { padding:122px 0 48px; }
    .hm-hero-grid { grid-template-columns:1fr; gap:32px; }
    .hm-chooser, .hm-news { grid-template-columns:1fr; }
    .hm-faq-grid { grid-template-columns:1fr; gap:28px; }
    .hm-faq-head { position:static; }
    .hm-section { padding:60px 0; }
    .hm-head-row { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 640px) {
    .hm-trust-grid { grid-template-columns:repeat(2, 1fr); }
    .hm-stat { padding:20px 8px; }
    .hm-stat:nth-child(3) { border-left:0; }
    .hm-stat:nth-child(n+3) { border-top:1px solid rgba(255,255,255,.08); }
    .hm-steps { grid-template-columns:1fr; }
    .hm-hero-actions .hm-btn { flex:1 1 calc(50% - 6px); padding:0 14px; }
    .hm-only-mobile { display:inline-flex; flex-basis:100%; }
    .hm-exam { padding:12px; gap:12px; }
    .hm-exam-count { width:62px; height:62px; }
    .hm-exam-count b { font-size:24px; }
    .hm-head { text-align:left; margin-bottom:30px; }
}

/* ---------- Giriş: öne çıkan avantajlar ---------- */
.hm-offers { display:flex; flex-wrap:wrap; gap:8px; margin:-8px 0 22px; }
.hm-offers li { display:inline-flex; align-items:center; gap:8px; padding:8px 13px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04); font-size:13px; font-weight:600; color:#fff; }
.hm-offers li:first-child { border-color:rgba(250,204,21,.45); background:rgba(250,204,21,.1); color:#fde68a; }
.hm-offers i { color:rgb(var(--a400)); }
.hm-offers li:first-child i { color:#facc15; }

/* ---------- Eğitim sistemi ---------- */
.hm-system { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.hm-sys { position:relative; padding:24px 22px 22px; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); overflow:hidden; }
.hm-sys-no { position:absolute; top:14px; right:18px; font-size:44px; font-weight:800; line-height:1; color:rgba(255,255,255,.06); }
.hm-sys-ico { display:grid; place-items:center; width:46px; height:46px; margin-bottom:14px; border-radius:14px; background:rgba(var(--a500),.14); color:rgb(var(--a400)); font-size:19px; }
.hm-sys h3 { margin:0 0 8px; font-size:17px; color:#fff; }
.hm-sys p { margin:0; font-size:14px; line-height:1.7; color:var(--text-light); }

/* ---------- Instagram ---------- */
.hm-insta { display:grid; grid-template-columns:.9fr 1.4fr; gap:36px; align-items:center; padding:34px; border-radius:24px; border:1px solid rgba(255,255,255,.09);
    background:radial-gradient(600px 300px at 0 0, rgba(214,41,118,.16), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(250,126,30,.12), transparent 70%), rgba(var(--bg2),.8); }
.hm-insta:not(:has(.hm-insta-posts)) { grid-template-columns:1fr; text-align:center; }
.hm-insta:not(:has(.hm-insta-posts)) .hm-insta-text p { margin-left:auto; margin-right:auto; }
.hm-insta-text h2 { margin:12px 0 12px; font-size:clamp(26px, 3.2vw, 36px); line-height:1.2; color:#fff; }
.hm-insta-text h2 em { font-style:normal; background:linear-gradient(90deg, #f58529, #dd2a7b, #8134af); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hm-insta-text p { max-width:460px; margin:0 0 22px; color:var(--text-light); font-size:15px; line-height:1.7; }
.hm-btn-insta { background:linear-gradient(90deg, #f58529, #dd2a7b 55%, #8134af); color:#fff; box-shadow:0 12px 28px rgba(221,42,123,.3); }
.hm-insta-posts { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.hm-insta-post { display:flex; flex-direction:column; gap:6px; color:#fff; }
.hm-insta-cover { position:relative; display:block; aspect-ratio:9/12; margin-bottom:6px; border-radius:16px; background:linear-gradient(160deg, rgba(221,42,123,.35), rgba(129,52,175,.35)) center/cover no-repeat; border:1px solid rgba(255,255,255,.1); overflow:hidden; transition:transform .3s; }
.hm-insta-post:hover .hm-insta-cover { transform:translateY(-3px); }
.hm-insta-play { position:absolute; left:10px; top:10px; display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; background:rgba(0,0,0,.55); font-size:11.5px; font-weight:700; }
.hm-insta-post strong { font-size:14.5px; }
.hm-insta-post small { font-size:12.5px; line-height:1.5; color:var(--text-light); }
.hm-insta-more { margin-top:auto; font-size:12.5px; font-weight:600; color:#f9a8d4; }

@media (max-width: 991px) {
    .hm-system { grid-template-columns:repeat(2, 1fr); }
    .hm-insta { grid-template-columns:1fr; padding:24px; }
}
@media (max-width: 640px) {
    .hm-system { grid-template-columns:1fr; }
    .hm-insta-posts { grid-template-columns:repeat(3, minmax(140px, 1fr)); overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px; }
    .hm-insta-post { scroll-snap-align:start; }
}

/* ---------- Soru Çöz ---------- */
.hm-quiz { display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; padding:40px; border-radius:24px; border:1px solid rgba(var(--a500),.25);
    background:radial-gradient(700px 360px at 0 0, rgba(var(--a500),.14), transparent 70%), rgba(var(--bg2),.85); }
.hm-quiz-text h2 { margin:12px 0 14px; font-size:clamp(26px, 3.2vw, 38px); line-height:1.2; color:#fff; }
.hm-quiz-text h2 em { font-style:normal; background:linear-gradient(90deg, rgb(var(--a400)), rgb(var(--b500))); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hm-quiz-text > p { margin:0 0 22px; font-size:15.5px; line-height:1.75; color:var(--text-light); }
.hm-quiz-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.hm-quiz-link { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:rgb(var(--a300)); }
.hm-quiz-link:hover { color:#fff; }
.hm-quiz-note { display:flex; gap:8px; align-items:center; margin:16px 0 0; font-size:12.5px; color:rgb(var(--t600)); }
.hm-quiz-feats { display:grid; gap:12px; }
.hm-quiz-feats li { display:flex; gap:14px; align-items:flex-start; padding:16px; border-radius:16px; border:1px solid rgba(255,255,255,.08); background:rgba(0,0,0,.18); }
.hm-quiz-feats li > span { flex:none; display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:rgba(var(--a500),.14); color:rgb(var(--a400)); font-size:17px; }
.hm-quiz-feats strong { display:block; font-size:15px; color:#fff; margin-bottom:3px; }
.hm-quiz-feats small { font-size:13.5px; line-height:1.55; color:var(--text-light); }

/* ---------- Başarı karşılaştırması ---------- */
.hm-compare { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.hm-compare-text h2 { margin:12px 0 14px; font-size:clamp(26px, 3.2vw, 38px); line-height:1.2; color:#fff; }
.hm-compare-text h2 em { font-style:normal; color:rgb(var(--a400)); }
.hm-compare-text p { margin:0 0 12px; font-size:15.5px; line-height:1.75; color:var(--text-light); }
.hm-compare-note { font-size:14px !important; color:rgb(var(--t500)) !important; }
.hm-bars { display:grid; gap:22px; padding:28px; border-radius:22px; border:1px solid rgba(255,255,255,.09); background:rgba(var(--bg2),.8); }
.hm-bar-top { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; font-size:15px; color:var(--text-light); }
.hm-bar-top b { font-size:28px; font-weight:800; color:#fff; }
.hm-bar.is-ours .hm-bar-top b { color:rgb(var(--a400)); }
.hm-bar-track { height:14px; border-radius:999px; background:rgba(255,255,255,.07); overflow:hidden; }
.hm-bar-track i { display:block; height:100%; border-radius:inherit; background:rgba(255,255,255,.35); }
.hm-bar.is-ours .hm-bar-track i { background:linear-gradient(90deg, rgb(var(--a600)), rgb(var(--a400))); box-shadow:0 0 18px rgba(var(--a500),.5); }
.hm-bar small { display:block; margin-top:8px; font-size:12px; color:rgb(var(--t600)); }

/* ---------- Kayıt adımları sonrası çağrı · Sınav işlemleri (3 kart) ---------- */
.hm-steps-cta { gap:12px; flex-wrap:wrap; }
@media (min-width: 992px) {
    .hm-exam-actions .kg-exam-actions-grid { grid-template-columns:repeat(3, 1fr); max-width:1000px; margin:0 auto; }
}

@media (max-width: 991px) {
    .hm-quiz, .hm-compare { grid-template-columns:1fr; gap:28px; }
    .hm-quiz { padding:24px; }
}

/* ---------- Yorumlar: başlık rozeti üst bölümün altında kalmasın ---------- */
.kg-reviews-section { padding-top:84px; padding-bottom:64px; }
.kg-reviews-container .section-title { transform:none; margin-bottom:44px; }
.kg-reviews-grid { transform:none; }

/* ---------- Blog ---------- */
.hm-blog { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.hm-blog-card { display:flex; flex-direction:column; border-radius:18px; border:1px solid rgba(255,255,255,.09); background:linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); overflow:hidden; transition:transform .3s, border-color .3s; }
.hm-blog-card:hover { transform:translateY(-3px); border-color:rgba(var(--a500),.35); }
.hm-blog-media { position:relative; display:block; aspect-ratio:16/9; background:rgba(var(--a500),.12); overflow:hidden; }
.hm-blog-media img { width:100%; height:100%; object-fit:cover; }
.hm-blog-media .hm-news-tag { position:absolute; right:12px; top:12px; background:rgba(0,0,0,.6); }
.hm-blog-body { display:flex; flex-direction:column; flex:1; padding:18px 20px 20px; }
.hm-blog-body small { font-size:12.5px; color:rgb(var(--t500)); }
.hm-blog-body h3 { margin:8px 0 10px; font-size:17px; line-height:1.4; }
.hm-blog-body h3 a { color:#fff; }
.hm-blog-body p { flex:1; margin:0 0 14px; font-size:14px; line-height:1.7; color:var(--text-light); }
.hm-blog-more { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:rgb(var(--a300)); }
@media (max-width: 991px) {
    .hm-blog { grid-template-columns:1fr; }
    .kg-reviews-section { padding-top:60px; padding-bottom:30px; }
    .kg-reviews-container .section-title { margin-bottom:28px; }
}
.hm-blog-body small b { color:rgb(var(--a300)); font-weight:600; }

.hm-compare-cta { margin-top:8px; }
.hm-bar-points { display:grid; gap:8px; margin:4px 0 0; padding-top:16px; border-top:1px solid rgba(255,255,255,.08); }
.hm-bar-points li { display:flex; gap:10px; font-size:13.5px; line-height:1.5; color:var(--text-light); }
.hm-bar-points i { margin-top:4px; color:rgb(var(--a400)); font-size:12px; }
/* Blog kapakları 3:2; kırpılmadan tamamı görünsün */
.hm-blog-media { aspect-ratio:3 / 2; background:rgb(var(--bg0)); }
.hm-blog-media img { object-fit:contain; }

/* ---------- Mobil: başlıklar ve giriş ortalı (kartların içi sola hizalı kalır) ---------- */
@media (max-width: 760px) {
    .hm-hero-text, .hm-head, .hm-quiz-text, .hm-compare-text, .hm-insta-text, .hm-faq-head { text-align:center; }
    .hm-head-row { align-items:center; }
    .hm-hero-text .hm-lead, .hm-head p { margin-left:auto; margin-right:auto; }
    .hm-offers, .hm-hero-actions { justify-content:center; }
    .hm-hero-text .hm-exam { margin-left:auto; margin-right:auto; text-align:left; }
    .hm-quiz-text ul, .hm-compare-text ul, .hm-quiz-text li, .hm-compare-text li { text-align:left; }
    .hm-quiz-actions, .hm-quiz-text .hm-hero-actions, .hm-compare-text .hm-hero-actions, .hm-insta-text .hm-hero-actions { justify-content:center; }
    .hm-quiz-feats, .hm-quiz-note { text-align:left; }
}
