/* ════════════════════════════════════════════════════════════
   hero.css — Standalone module for the homepage hero section
   Loaded AFTER style.css so it inherits CSS variables (Inter,
   Poppins, --ease, etc.) defined there.

   Modules in this file:
   1. Navbar logo + tagline
   2. Hero v2 — light gradient bg, 50/55 split, image bleeds right
   3. 6-step journey band (dark navy, full-width sibling)
   4. Limited Seats alert bar
   5. Responsive breakpoints (1100, 900, 768, 480)
   ════════════════════════════════════════════════════════════ */

/* ───── 1. LANGUAGE SWITCHER moved to style.css so it works on every page ───── */
.lang-btn{background:transparent;border:none;padding:6px 10px;font-size:.74rem;font-weight:700;color:#64748b;cursor:pointer;border-radius:6px;transition:all .25s;letter-spacing:.5px;font-family:inherit;line-height:1}
.lang-btn.active{background:#E63946;color:#fff}
.lang-btn:hover:not(.active){color:#0f172a;background:#f4f7fb}
@media(max-width:768px){
  .lang-switch{margin-left:auto;margin-right:8px;padding:1px;order:2}
  .lang-btn{padding:4px 8px;font-size:.66rem}
  /* Push hamburger after lang switch on mobile */
  .mobile-toggle{order:3}
}

/* ───── 2. HERO V2 — ONE big image filling the entire hero
   - <img> element (NOT background-image)
   - object-fit: cover → fills whole hero, no empty gradient space
   - object-position: right top → head/face NEVER crops; only the bottom (book/feet)
     trims slightly when the hero is shorter than the photo
   - The scenery (German flag, Berlin) extends behind the text on the left side
   - Subtle left-side fade keeps text readable without hiding the scenery
   - No gap between navbar and hero (margin-top:-1px just absorbs subpixel) */
.hero-v2{position:relative;overflow:hidden;padding:0;min-height:560px;background:#f7f9fc;margin-top:-1px}

/* Photo wrap fills the WHOLE hero */
.hv2-photo-wrap{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}

/* Single image, fills the whole hero, head anchored at top-right (never cropped) */
.hv2-photo{width:100%;height:100%;object-fit:cover;object-position:right top;display:block}

/* Subtle left-side fade so the headline is readable over the photo's busy area
   while keeping the scenery clearly visible behind the text */
.hv2-overlay{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(247,249,252,.78) 0%,rgba(247,249,252,.55) 30%,rgba(247,249,252,.2) 50%,transparent 65%)}

/* Inner container — text on the left over the photo */
.hero-v2-inner{max-width:1280px;margin:0 auto;padding:43px 40px;position:relative;z-index:5;min-height:560px;display:flex;align-items:center}
.hv2-left{width:50%;max-width:540px;display:flex;flex-direction:column;justify-content:center;color:#0f172a}

/* Badge — solid white pill, no blur effects */
.hv2-badge{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:600;color:#0f172a;letter-spacing:1.4px;margin-bottom:20px;padding:8px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:50px;align-self:flex-start;box-shadow:0 4px 14px rgba(15,23,42,.08)}

/* Headline — bigger, bolder, refined typography. No backdrop panel, just strong text. */
.hv2-title{font-family:var(--font-display);font-weight:900;font-size:clamp(2rem,3.8vw,3.2rem);line-height:1.04;color:#0a1633;letter-spacing:-.025em;margin-bottom:18px}
.hv2-title .red{color:#E63946;text-shadow:0 2px 8px rgba(230,57,70,.18)}
.hv2-title .yellow{color:#F4A261;position:relative;display:inline-block;text-shadow:0 2px 8px rgba(244,162,97,.22)}
.hv2-title .yellow::after{content:"";position:absolute;left:0;right:8%;bottom:2px;height:4px;background:#F4A261;opacity:.55;border-radius:3px}
.hv2-desc{color:#475569;font-size:.98rem;line-height:1.65;margin-bottom:22px;max-width:440px;font-weight:500}

/* 3 pill stats — slightly more compact */
.hv2-pills{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.hv2-pill{display:flex;align-items:center;gap:8px;padding:5px 11px 5px 5px;background:#fff;border-radius:50px;border:1px solid #e2e8f0;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.hv2-pill-ico{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0;color:#fff;box-shadow:0 4px 12px rgba(15,23,42,.14)}
.hv2-pill-ico.navy{background:#0f172a}
.hv2-pill-ico.yellow{background:#F4A261;color:#fff}
.hv2-pill-ico.red{background:#E63946}
.hv2-pill-txt strong{display:block;font-family:var(--font-display);font-weight:800;font-size:.92rem;color:#0f172a;line-height:1.05}
.hv2-pill-txt span{display:block;font-size:.72rem;color:#64748b;margin-top:1px}

/* CTA buttons — slightly smaller height to match compact hero */
.hv2-btns{display:flex;gap:12px;flex-wrap:nowrap}
.hv2-btns .btn-red{background:#E63946;color:#fff;border-radius:10px;height:44px;padding:0 22px;font-weight:600;font-size:.88rem;box-shadow:0 10px 26px rgba(230,57,70,.36);display:inline-flex;align-items:center;gap:6px;text-decoration:none;white-space:nowrap}
.hv2-btns .btn-red:hover{background:#c4222e;transform:translateY(-2px);box-shadow:0 14px 32px rgba(230,57,70,.48)}
.hv2-btns .btn-outline-d{background:#fff;color:#0f172a;border:1.5px solid #cbd5e1;border-radius:10px;height:44px;padding:0 22px;font-weight:600;font-size:.88rem;display:inline-flex;align-items:center;gap:6px;text-decoration:none;white-space:nowrap;box-shadow:0 6px 16px rgba(15,23,42,.06)}
.hv2-btns .btn-outline-d:hover{border-color:#0f172a;background:#fff}

/* Explore Programs card — pinned to BOTTOM-RIGHT with strong shadow + border so it pops over any background */
.hv2-card{position:absolute;bottom:24px;right:24px;top:auto;transform:none;width:230px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 14px 8px;box-shadow:0 24px 50px rgba(15,23,42,.22),0 4px 14px rgba(15,23,42,.10);z-index:7}
.hv2-card h4{font-family:var(--font-display);font-size:.75rem;font-weight:800;color:#0f172a;margin-bottom:5px;padding-bottom:5px;border-bottom:1px solid #eef2f7}
.hv2-prog{display:flex;align-items:center;gap:7px;padding:4px 2px;border-radius:5px;transition:background .25s;text-decoration:none}
.hv2-prog:hover{background:#f4f7fb}
.hv2-prog .ico{width:20px;height:20px;border-radius:5px;background:#eef2f7;display:flex;align-items:center;justify-content:center;font-size:.6rem;flex-shrink:0;color:#0f172a}
.hv2-prog-txt{flex:1;min-width:0}
.hv2-prog-txt strong{display:block;font-size:.62rem;font-weight:700;color:#0f172a;line-height:1.2}
.hv2-prog-txt span{display:block;font-size:.53rem;color:#7a8aa8;margin-top:1px}
.hv2-prog .arr{color:#cbd5e1;font-weight:700;font-size:.72rem}
.hv2-all{display:block;text-align:center;margin-top:2px;padding:5px 0 2px;font-size:.62rem;font-weight:700;color:#E63946;border-top:1px solid #eef2f7;text-decoration:none}
.hv2-all:hover{color:#c4222e}

/* ───── 3. JOURNEY BAND (dark navy, 6 steps) ───── */
.hv2-journey{background:linear-gradient(135deg,#0A2540 0%,#13335c 100%);padding:28px 0;position:relative;overflow:hidden}
.hv2-journey::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 80% 50%,rgba(230,57,70,.10),transparent 55%);pointer-events:none}
.hv2-journey-inner{max-width:1280px;margin:0 auto;padding:0 32px;display:grid;grid-template-columns:auto 1fr;gap:36px;align-items:center;position:relative;z-index:1}
.hv2j-title{color:#fff;font-family:var(--font-display);font-size:1.25rem;font-weight:800;line-height:1.2;flex-shrink:0;max-width:180px}
.hv2j-title .yel{color:#F5A623}
.hv2j-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:0;position:relative}
.hv2j-steps::before{content:"";position:absolute;top:27px;left:8.3%;right:8.3%;height:2px;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.4) 0,rgba(255,255,255,.4) 6px,transparent 6px,transparent 12px);z-index:0}
.hv2j-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 4px}
.hv2j-bubble{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:8px;box-shadow:0 6px 16px rgba(0,0,0,.22)}
.hv2j-bubble.red{background:#E63946;color:#fff}
.hv2j-bubble.yellow{background:#F5A623;color:#0A2540}
.hv2j-bubble.white{background:#fff;color:#0A2540}
.hv2j-num{color:#F5A623;font-size:.66rem;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:2px}
.hv2j-name{color:#fff;font-size:.78rem;font-weight:600;line-height:1.25}

/* ───── 4. LIMITED SEATS ALERT BAR ───── */
.seats-alert{background:#fff;border-bottom:1px solid #e2e8f0;padding:18px 0;box-shadow:0 4px 16px rgba(15,23,42,.04)}
.seats-alert-inner{max-width:1280px;margin:0 auto;padding:0 32px;display:flex;align-items:center;gap:24px;justify-content:space-between;flex-wrap:wrap}
.seats-alert-msg{display:flex;align-items:center;gap:14px;flex:1;min-width:280px}
.seats-alert-ico{font-size:1.5rem;color:#E63946;flex-shrink:0}
.seats-alert-txt strong{display:block;font-family:var(--font-display);font-size:1rem;font-weight:800;color:#0f172a;line-height:1.2}
.seats-alert-txt span{display:block;font-size:.84rem;color:#64748b;margin-top:2px}
.seats-alert-btn{flex-shrink:0;height:46px;padding:0 22px;border-radius:10px;background:#E63946;color:#fff;font-weight:600;font-size:.88rem;text-decoration:none;display:inline-flex;align-items:center;gap:6px;box-shadow:0 8px 20px rgba(230,57,70,.30)}
.seats-alert-btn:hover{background:#c4222e;transform:translateY(-2px);box-shadow:0 12px 26px rgba(230,57,70,.42)}

/* ───── 5. RESPONSIVE ───── */

/* IDENTICAL LAYOUT AT ALL SCREEN SIZES.
   Image is full-bleed background. Text always on the LEFT.
   Card always at BOTTOM-RIGHT of the image.
   Pills always HORIZONTAL ROW. Buttons always INLINE PAIR.
   Only sizes scale — never the structure. */

/* TABLET (1100px) */
@media(max-width:1100px){
  .hero-v2-inner{padding:32px 24px}
  .hv2-left{width:52%;max-width:none}
  .hv2-title{font-size:clamp(1.7rem,3.4vw,2.6rem);margin-bottom:14px}
  .hv2-desc{font-size:.9rem;margin-bottom:18px;max-width:none}
  .hv2-pills{gap:12px;margin-bottom:18px}
  .hv2-pill{padding:4px 10px 4px 4px;gap:7px}
  .hv2-pill-ico{width:34px;height:34px;font-size:.85rem}
  .hv2-pill-txt strong{font-size:.82rem}
  .hv2-pill-txt span{font-size:.66rem}
  .hv2-btns{gap:10px}
  .hv2-btns .btn-red,.hv2-btns .btn-outline-d{height:44px;padding:0 18px;font-size:.84rem}
  .hv2-card{width:182px;right:14px;bottom:14px}
}

/* SMALL TABLET / LARGE PHONE (768px) — same simple layout, just scaled */
@media(max-width:768px){
  .hero-v2{min-height:480px;padding-top:0}
  .hero-v2-inner{padding:20px 14px;min-height:480px}
  /* Stronger left-side fade on mobile so text stays readable over compressed scenery */
  .hv2-overlay{background:linear-gradient(90deg,rgba(247,249,252,.92) 0%,rgba(247,249,252,.75) 35%,rgba(247,249,252,.4) 60%,transparent 80%)}
  .hv2-left{width:55%}
  .hv2-badge{font-size:.55rem;padding:4px 9px;margin-bottom:10px;letter-spacing:.8px;gap:5px}
  .hv2-title{font-size:clamp(1.15rem,4vw,1.5rem);line-height:1.1;margin-bottom:9px}
  .hv2-desc{font-size:.66rem;line-height:1.45;margin-bottom:11px}
  .hv2-pills{gap:6px;margin-bottom:11px}
  .hv2-pill{padding:2px 7px 2px 2px;gap:5px;border-radius:50px}
  .hv2-pill-ico{width:22px;height:22px;font-size:.55rem}
  .hv2-pill-txt strong{font-size:.58rem}
  .hv2-pill-txt span{font-size:.5rem}
  .hv2-btns{gap:6px;flex-wrap:nowrap}
  .hv2-btns .btn-red,.hv2-btns .btn-outline-d{height:30px;padding:0 10px;font-size:.6rem;border-radius:7px}
  .hv2-card{width:122px;padding:6px;right:8px;bottom:8px;border-radius:7px}
  .hv2-card h4{font-size:.52rem;margin-bottom:3px;padding-bottom:3px}
  .hv2-prog{padding:2px 1px;gap:4px;border-radius:4px}
  .hv2-prog .ico{width:14px;height:14px;font-size:.42rem;border-radius:3px}
  .hv2-prog-txt strong{font-size:.46rem;line-height:1.15}
  .hv2-prog-txt span{font-size:.4rem;display:none}
  .hv2-prog .arr{font-size:.5rem}
  .hv2-all{font-size:.46rem;padding:3px 0 1px;margin-top:1px}

  .hv2-journey-inner{grid-template-columns:1fr;gap:16px;text-align:center}
  .hv2j-title{max-width:100%;text-align:center;font-size:1rem}
  .hv2j-steps{grid-template-columns:repeat(3,1fr);gap:18px 6px}
  .hv2j-steps::before{display:none}
  .hv2j-bubble{width:42px;height:42px;font-size:1rem}
  .hv2j-name{font-size:.66rem}
  .hv2j-num{font-size:.58rem}
  .seats-alert-inner{flex-direction:column;text-align:center;gap:12px}
  .seats-alert-msg{justify-content:center}
  .seats-alert-txt strong{font-size:.84rem}
  .seats-alert-txt span{font-size:.7rem}
  .seats-alert-btn{height:38px;font-size:.78rem}
}

/* SMALL PHONE (480px) — same layout, slightly shorter */
@media(max-width:480px){
  .hero-v2{min-height:400px;padding-top:0}
  .hero-v2-inner{padding:14px 10px;min-height:400px}
  .hv2-left{width:58%}
  .hv2-badge{font-size:.46rem;padding:3px 7px;margin-bottom:7px;letter-spacing:.5px}
  .hv2-title{font-size:clamp(.95rem,4.6vw,1.2rem);margin-bottom:6px}
  .hv2-desc{font-size:.55rem;line-height:1.4;margin-bottom:8px}
  .hv2-pills{gap:4px;margin-bottom:8px}
  .hv2-pill{padding:1px 5px 1px 1px;gap:3px}
  .hv2-pill-ico{width:18px;height:18px;font-size:.45rem}
  .hv2-pill-txt strong{font-size:.5rem}
  .hv2-pill-txt span{font-size:.42rem}
  .hv2-btns{gap:4px}
  .hv2-btns .btn-red,.hv2-btns .btn-outline-d{height:26px;padding:0 8px;font-size:.5rem;border-radius:6px}
  .hv2-card{width:96px;padding:4px;right:6px;bottom:6px;border-radius:6px}
  .hv2-card h4{font-size:.42rem;margin-bottom:2px;padding-bottom:2px}
  .hv2-prog{padding:1px;gap:3px}
  .hv2-prog .ico{width:11px;height:11px;font-size:.34rem}
  .hv2-prog-txt strong{font-size:.38rem;line-height:1.1}
  .hv2-prog .arr{font-size:.42rem}
  .hv2-all{font-size:.38rem}
  .hv2j-steps{grid-template-columns:repeat(2,1fr)}
}
