/* ====== RESET ====== */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: Arial, Helvetica, sans-serif;
  background:#f9f9f9;
  color:#111;
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
a:visited{ color:inherit; }
img{ max-width:100%; display:block; }

/* ====== CONTAINER ====== */
.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ====== NAVBAR ====== */
.navbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  background:#fff;
  border-bottom:1px solid #eee;
}

.nav-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:20px;
}

.brand{
  font-weight:900;
  letter-spacing:.8px;
  font-size:18px;
  color:#111;
}
.brand span{ color:#e91e63; }

.nav-toggle{
  display:none;
  font-size:28px;
  background:none;
  border:none;
  cursor:pointer;
  color:#e91e63;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-links a{
  color:#111;
  font-weight:600;
  padding:6px 8px;
  border-radius:8px;
  transition:.15s;
}

.nav-links a:hover{
  color:#e91e63;
  background:#fafafa;
}

.nav-cta{
  color:#111;
  font-weight:800;
  border:1px solid #111;
  padding:8px 12px;
  border-radius:999px;
}

.nav-divider{
  width:1px;
  height:22px;
  background:#eee;
  margin:0 6px;
  display:none;
}

.nav-pill{
  background:#e91e63;
  color:#fff !important;
  padding:10px 14px !important;
  border-radius:999px;
  font-weight:800;
}
.nav-pill:hover{ background:#d81b60 !important; color:#fff !important; }

.nav-pill-outline{
  border:1px solid #111;
  padding:10px 14px !important;
  border-radius:999px;
  font-weight:800;
}

.nav-logout{
  font-weight:800;
  color:#111 !important;
}

/* ====== HERO ====== */
.hero{
  background:#222;
  color:#fff;
  padding:70px 0 60px;
  text-align:center;
}

.hero-inner h1{
  font-size:56px;
  letter-spacing:1px;
  margin-bottom:10px;
}

.hero-subtitle{
  font-size:18px;
  color:#fff;
  opacity:.95;
}

.hero-note{
  margin-top:6px;
  color:#fff;
  font-style:italic;
  font-weight:700;
}

.hero-cta{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.muted-hero{
  color:#ddd;
  font-size:14px;
}

.hero-contact{
  
  margin-top:16px;
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

.hero-whatsapp{
  background-color: rgba(17, 17, 17, 0);
  color:#13a350;
  font-weight:600;
  padding:10px 14px;
  border-radius:10px;
  border:2px solid var(--white);
  cursor:pointer;
}
.hero-whatsapp:hover{ background-color: #fff; }
.hero-whatsapp:hover{ transform:translateY(-1px); }



/* BUTTONS */
:root{
  --magenta:#e91e63;
  --white:#fff;
  --black:#111;
}

/* link buttons */
a.btn, a.btn:link, a.btn:visited{ text-decoration:none; }

/* BASE = neutral (alb + chenar negru + text negru) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  line-height:1;
  cursor:pointer;

  background:var(--white);
  color:var(--black);
  border:1px solid var(--black);

  transition:transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform:translateY(-1px); }

/* PRIMARY (magenta) – exact comportamentul cerut */
a.btn-primary, a.btn-primary:link, a.btn-primary:visited{
  background:var(--magenta);
  color:var(--white);
  border:1px solid var(--magenta);
}
a.btn-primary:hover{
  background:var(--white);
  color:var(--black);
  border-color:var(--magenta);
}

/* OUTLINE */
a.btn-outline, a.btn-outline:link, a.btn-outline:visited{
  background:transparent;
  color:var(--white);
  border:2px solid rgba(255,255,255,.9);
}
a.btn-outline:hover{
  background:var(--magenta);
  color:var(--white);
  border-color:#fff;
}

/* DARK */
a.btn-dark, a.btn-dark:link, a.btn-dark:visited{
  background:var(--black);
  color:var(--white);
  border:1px solid var(--black);
}
a.btn-dark:hover{
  background:var(--white);
  color:var(--black);
  border-color:var(--black);
}

/* ===== LEVEL BUTTONS (SAFE, no conflicts) ===== */
/* regula unică: colorat + text alb, hover alb + text negru */
a.btn-a2, a.btn-a2:link, a.btn-a2:visited,
a.btn-b1, a.btn-b1:link, a.btn-b1:visited,
a.btn-b1plus, a.btn-b1plus:link, a.btn-b1plus:visited,
a.btn-b2, a.btn-b2:link, a.btn-b2:visited,
a.btn-c1, a.btn-c1:link, a.btn-c1:visited{
  background: var(--btn-color);
  color: var(--white);
  border:1px solid var(--btn-color);
}
a.btn-a2:hover,
a.btn-b1:hover,
a.btn-b1plus:hover,
a.btn-b2:hover,
a.btn-c1:hover{
  background: var(--white);
  color: var(--black);
  border-color: var(--btn-color);
}


/* ====== SECTIONS ====== */
.section{
  padding:46px 0;
}

.section-alt{
  background:#fff;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}

.section h2{
  font-size:30px;
  margin-bottom:12px;
}

.text-block p{
  margin:10px 0;
  color:#333;
}

/* ====== INFO GRID ====== */
.info-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.info-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:16px;
  box-shadow:0 2px 5px rgba(0,0,0,.05);
}

.info-card h3{
  color:#e91e63;
  margin-bottom:6px;
}

/* ====== SERVICES 2 cards ====== */
.service-2grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.service-big{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:18px;
  box-shadow:0 2px 5px rgba(0,0,0,.05);
}

.service-big h3{
  font-size:22px;
  margin-bottom:6px;
}

.muted{
  color:#666;
  font-size:14px;
}

.mini-list{
  margin:12px 0 14px;
  padding-left:18px;
  color:#444;
}

.card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ===== Level badges (pills) ===== */
.level-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid #eee;
  background:#fff;
  color:#111;
  margin-left:10px;
  vertical-align:middle;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

.level-badge .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  display:inline-block;
  background:#e91e63; /* default magenta */
}

/* Specific colors per level */
.badge-a2{
  border-color:#d9f5e7;
  background:#f2fff9;
}
.badge-a2 .dot{ background:#2ecc71; }

.badge-b1{
  border-color:#e6d9ff;
  background:#faf6ff;
}
.badge-b1 .dot{ background:#7c4dff; }

.badge-b1plus{
  border-color:#e5d5ff;
  background:#fbf7ff;
}
.badge-b1plus .dot{ background:#6a1b9a; } /* mov */

.badge-b2{
  border-color:#f2d6df;
  background:#fff6f8;
}
.badge-b2 .dot{ background:#FF4500; } /* red */

.badge-c1{
  border-color:#ffe1c7;
  background:#fff8f1;
}
.badge-c1 .dot{ background:#ef6c00; } /* orange */

.tc-row{
  margin-top:8px;
  padding:8px;
  border:1px dashed #e0e0e0;
  border-radius:8px;
  font-size:13px;
}

.form-messages{
  padding:12px 14px;
  border-radius:10px;
  font-weight:600;
}

.form-messages.error{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
}

.form-messages.success{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  color:#166534;
}

/* ====== FREE BOX ====== */
.free-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:18px;
  box-shadow:0 2px 5px rgba(0,0,0,.05);
}

/* ====== WRITING SUBMITTED AREA ====== */
.submitted-box{
  margin-top:16px;
  padding:12px;
  border:1px solid #e5e5e5;
  border-radius:8px;
  background:#fafafa;
  font-size:14px;
}
.submitted-text{
  margin-top:8px;
  white-space:pre-wrap;
}
.submitted-meta{
  margin-top:6px;
  font-size:12px;
  opacity:.6;
}



/* ====== FOOTER ====== */
.footer{
  padding:18px 0;
  background:#ddd;
  text-align:center;
  font-size:14px;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float{
  position:fixed;
  width:60px;
  height:60px;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:1000;
  box-shadow: 2px 2px 8px rgba(0,0,0,.25);
  transition:transform .2s;
}
.whatsapp-float:hover{ transform:scale(1.06); }

/* ====== COOKIE BANNER ====== */
#cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:#111;
  color:#fff;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  z-index:10000;
  flex-wrap:wrap;
}
#cookie-banner a{ color:#e91e63; text-decoration:underline; }
#cookie-banner button{
  background:#e91e63;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:800;
  cursor:pointer;
}
#cookie-banner button:hover{ background:#d81b60; }

/* ====== MODAL (LIVE) ====== */
.live-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:10001;
}

.live-modal.show{ display:flex; }

.live-modal-content{
  width:min(520px, 96%);
  background:#fff;
  border-radius:16px;
  padding:18px;
  position:relative;
  box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.live-close{
  position:absolute;
  top:10px;
  right:12px;
  border:none;
  background:#111;
  color:#fff;
  width:34px;
  height:34px;
  border-radius:10px;
  cursor:pointer;
  font-size:18px;
}

.live-prices{
  border:1px solid #eee;
  border-radius:14px;
  padding:12px;
  margin-top:10px;
}

.live-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid #eee;
}
.live-row:last-child{ border-bottom:none; }

.live-price{
  font-weight:900;
  color:#e91e63;
}

/* ====== FEEDBACK (basic, poate fi extins) ====== */
.center-title{ text-align:center; }
.center-subtitle{ text-align:center; margin-top:-6px; }

.fb-carousel{
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:10px;
}

.fb-nav{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid #eee;
  background:#fff;
  cursor:pointer;
  font-size:22px;
}

.fb-track-wrap{
  overflow:hidden;
  flex:1;
}

.fb-track{
  display:flex;
  gap:14px;
  transition:transform .25s ease;
}

.fb-card{
  min-width:320px;
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:16px;
  box-shadow:0 2px 5px rgba(0,0,0,.05);
}

.fb-stars{ color:#e91e63; margin-bottom:10px; }
.fb-text{ color:#333; }

.fb-footer{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.fb-more{
  border:none;
  background:#111;
  color:#fff;
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:800;
}

.fb-dots{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.fb-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#ddd;
}
.fb-dot.active{ background:#e91e63; }

/* Feedback modal */
.fb-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.55);
  padding:16px;
  z-index:10002;
}
.fb-modal.show{ display:flex; }
.fb-modal-content{
  width:min(620px, 96%);
  background:#fff;
  border-radius:16px;
  padding:18px;
  position:relative;
  box-shadow:0 15px 40px rgba(0,0,0,.25);
}
.fb-close{
  position:absolute;
  top:10px;
  right:12px;
  border:none;
  background:#111;
  color:#fff;
  width:34px;
  height:34px;
  border-radius:10px;
  cursor:pointer;
  font-size:18px;
}
.fb-modal-stars{ color:#e91e63; font-size:18px; margin-bottom:10px; }
.fb-modal-text{ color:#333; white-space:pre-wrap; }
.fb-modal-name{ margin-top:12px; font-weight:900; color:#111; }

/* ====== RESPONSIVE ====== */
@media (min-width: 992px){
  .nav-divider{ display:block; }
}

@media (max-width: 992px){
  .info-grid{ grid-template-columns:1fr; }
  .service-2grid{ grid-template-columns:1fr; }
  .hero-inner h1{ font-size:44px; }
}

@media (max-width: 768px){
  .nav-toggle{ display:block; }

  .nav-links{
    display:none;
    position:absolute;
    left:0;
    top:60px;
    width:100%;
    flex-direction:column;
    background:#111;
    padding:12px 0;
    gap:10px;
  }

  .nav-links.show{ display:flex; }

  .nav-links a{
    color:#fff;
    padding:10px 14px;
    width:100%;
    text-align:center;
  }

  .nav-links a:hover{
    color:#e91e63;
    background:#000;
  }

  .nav-cta{
    border:1px solid #fff;
    color:#fff !important;
    border-radius:999px;
    width:auto;
    margin:0 auto;
  }

  .hero{ padding:58px 0 50px; }
  .hero-inner h1{ font-size:38px; }

  .fb-card{ min-width: 85vw; }
}

/* ===== Global helpers ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.page-wrap { padding-top: 18px; padding-bottom: 40px; }

/* ===== Navbar ===== */
.navbar { background:#fff; border-bottom:1px solid #eee; position: sticky; top:0; z-index: 50; }
.nav-content { display:flex; align-items:center; justify-content:space-between; height:64px; }
.logo-link { font-weight:800; letter-spacing: .6px; text-decoration:none; color:#111; }
.logo-accent { color:#e91e63; }
.nav-toggle { display:none; background:transparent; border:1px solid #ddd; border-radius:10px; padding:8px 10px; cursor:pointer; font-size:18px; }
.nav-links { list-style:none; display:flex; gap:14px; margin:0; padding:0; }
.nav-links a { text-decoration:none; color:#111; font-weight:700; padding:10px 10px; border-radius:10px; }
.nav-links a:hover { color:#e91e63; background:#fff5f7; }
.nav-links a.active { color:#e91e63; background:#fff5f7; }

@media (max-width: 820px){
  .nav-toggle { display:block; }
  .nav-links { display:none; position:absolute; right:16px; top:64px; background:#fff; border:1px solid #eee; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,0.08); padding:10px; flex-direction:column; min-width: 220px; }
  .nav-links.show { display:flex; }
}

/* ===== Footer ===== */
.site-footer { border-top:1px solid #eee; background:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap:20px; padding:22px 0; }
.footer-brand { font-weight:900; font-size:18px; color:#111; }
.footer-title { font-weight:900; margin-bottom:10px; }
.footer-muted { color:#666; font-size:14px; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin:8px 0; }
.footer-links a { text-decoration:none; color:#111; font-weight:700; }
.footer-links a:hover { color:#e91e63; }
.social-row { display:flex; flex-wrap:wrap; gap:10px; }
.social { display:inline-block; border:1px solid #eee; padding:8px 10px; border-radius:999px; text-decoration:none; color:#111; font-weight:800; }
.social:hover { border-color:#e91e63; color:#e91e63; background:#fff5f7; }
.footer-bottom { padding:14px 0 22px; color:#666; font-size:13px; border-top:1px solid #eee; }

@media (max-width: 900px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Cookie banner ===== */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}
.cookie-banner a,
.cookie-banner a:link,
.cookie-banner a:visited{
  color:#fff;
  text-decoration: underline;
}
.cookie-banner a:hover{ opacity:.9; }

.cookie-text{ font-size:14px; line-height:1.35; }
.cookie-actions{ display:flex; gap:10px; flex-shrink:0; }
.cookie-btn{
  border:none;
  background:#e91e63;
  color:#fff;
  font-weight:900;
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
}
.cookie-btn:hover{ background:#d81b60; }
.cookie-btn-secondary{
  background: transparent;
  border:1px solid rgba(255,255,255,0.25);
}
.cookie-btn-secondary:hover{
  border-color:#fff;
}
@media (max-width: 700px){
  .cookie-banner{ flex-direction: column; align-items:flex-start; }
  .cookie-actions{ width:100%; }
  .cookie-btn{ width:100%; }
}

/* ===== Navbar base ===== */
.navbar{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.nav-toggle{
  display:none;
  border:1px solid #111;
  background:#fff;
  border-radius:10px;
  padding:8px 12px;
  font-size:18px;
  cursor:pointer;
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:16px;
  margin:0;
  padding:0;
}

.nav-links a{
  text-decoration:none;
  color:#111;
  font-weight:600;
}

/* ===== Mobile ===== */
@media (max-width: 860px){
  .nav-toggle{ display:inline-block; }

  .nav-links{
    display:none;               /* ascuns implicit */
    position:absolute;
    top:64px;
    right:16px;
    left:16px;
    flex-direction:column;
    gap:0;
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    overflow:hidden;
  }

  .nav-links.show{ display:flex; }

  .nav-links li{ width:100%; }
  .nav-links a{
    display:block;
    padding:14px 14px;
    border-bottom:1px solid #f2f2f2;
  }
  .nav-links li:last-child a{ border-bottom:none; }
  
  
}

/* ====== ACADEMA FOOTER — varianta finală ======
   Regulile sunt la final și suprascriu numai footerul.
*/
.site-footer{
  margin-top:64px;
  padding:0;
  color:#d8d7df;
  background:#17151f;
  border-top:3px solid #e91e63;
  text-align:left;
}

.site-footer .footer-grid{
  display:grid;
  grid-template-columns:minmax(220px, 1.25fr) minmax(180px, .85fr) minmax(220px, 1fr);
  gap:38px;
  padding:42px 0 34px;
}

.site-footer .footer-company,
.site-footer .footer-brand{
  color:#fff;
  font-size:17px;
  font-weight:900;
  letter-spacing:.04em;
}

.site-footer .footer-title{
  margin:0 0 14px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.site-footer .footer-links{
  display:grid;
  gap:9px;
  margin:0;
  padding:0;
  list-style:none;
}

.site-footer .footer-links li{ margin:0; }

.site-footer .footer-links a,
.site-footer .footer-links a:link,
.site-footer .footer-links a:visited{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:0;
  color:#cbc9d3;
  background:transparent;
  border:0;
  border-radius:0;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:color .18s ease, transform .18s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible{
  color:#fff;
  background:transparent;
  text-decoration:underline;
  text-decoration-color:#e91e63;
  text-underline-offset:4px;
  transform:translateX(2px);
}

.site-footer .social-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.site-footer .social,
.site-footer .social-link,
.site-footer .social:link,
.site-footer .social-link:link,
.site-footer .social:visited,
.site-footer .social-link:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 13px;
  color:#fff;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}

.site-footer .social:hover,
.site-footer .social-link:hover,
.site-footer .social:focus-visible,
.site-footer .social-link:focus-visible{
  color:#fff;
  background:#e91e63;
  border-color:#e91e63;
  transform:translateY(-1px);
}

.site-footer .footer-muted{ color:#aaa7b2; }

.site-footer .footer-bottom{
  padding:16px 0 22px;
  color:#9e9ba7;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:12px;
  text-align:center;
}

@media (max-width:900px){
  .site-footer .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }

  .site-footer .footer-brand-column{ grid-column:1 / -1; }
}

@media (max-width:620px){
  .site-footer{ margin-top:44px; }

  .site-footer .footer-grid{
    grid-template-columns:1fr;
    gap:26px;
    padding:34px 0 28px;
  }

  .site-footer .footer-brand-column{ grid-column:auto; }
}

/* ===== ACADEMA SELF-STUDY SUBMENU — append at the end of style.css ===== */
.navbar .nav-content{
  position:relative;
}

.navbar .nav-item--submenu{
  position:static;
}

.navbar .nav-parent{
  display:flex;
  align-items:center;
  gap:2px;
}

.navbar .submenu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#111;
  cursor:pointer;
  font:inherit;
  font-size:15px;
  font-weight:900;
  line-height:1;
}

.navbar .submenu-toggle:hover,
.navbar .submenu-toggle:focus-visible,
.navbar .submenu-toggle[aria-expanded="true"]{
  color:#e91e63;
  background:#fff5f7;
  outline:none;
}

.navbar .submenu-toggle[aria-expanded="true"]{
  transform:rotate(180deg);
}

.navbar .nav-mega{
  position:absolute;
  z-index:1000;
  top:calc(100% + 1px);
  left:50%;
  width:min(1040px, calc(100vw - 32px));
  padding:22px;
  border:1px solid #e8e3e6;
  border-top:3px solid #e91e63;
  border-radius:0 0 18px 18px;
  background:#fff;
  box-shadow:0 20px 44px rgba(23,21,31,.14);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%, -8px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.navbar .nav-mega.show,
.navbar .nav-item--submenu:hover > .nav-mega,
.navbar .nav-item--submenu:focus-within > .nav-mega{
  opacity:1;
  visibility:visible;
  transform:translate(-50%, 0);
}

.navbar .nav-mega-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:0;
}

.navbar .nav-mega-column{
  min-width:0;
  padding:3px 20px 5px;
  border-left:1px solid #eee9eb;
}

.navbar .nav-mega-column:first-child{
  padding-left:4px;
  border-left:0;
}

.navbar .nav-mega-column:last-child{
  padding-right:4px;
}

.navbar .nav-mega-title{
  display:block;
  margin:0 0 10px;
  color:#17151f;
  font-size:14px;
  font-weight:900;
}

.navbar a.nav-mega-title:hover,
.navbar a.nav-mega-title:focus-visible{
  color:#e91e63;
  background:transparent;
}

.navbar .nav-mega-list{
  display:grid;
  gap:3px;
  margin:0;
  padding:0;
  list-style:none;
}

.navbar .nav-mega-list li{
  width:auto;
}

.navbar .nav-mega-list a,
.navbar .nav-mega-disabled{
  display:block;
  padding:7px 0;
  border:0;
  border-radius:0;
  color:#5f5962;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}

.navbar .nav-mega-list a:hover,
.navbar .nav-mega-list a:focus-visible{
  color:#e91e63;
  background:transparent;
  outline:none;
}

.navbar .nav-mega-disabled{
  color:#96909a;
  cursor:default;
}

.navbar .nav-mega-soon{
  display:inline-block;
  margin-left:4px;
  color:#96909a;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

@media (max-width:860px){
  .navbar .nav-links{
    max-height:calc(100vh - 82px);
    overflow-y:auto;
  }

  .navbar .nav-item--submenu,
  .navbar .nav-parent{
    width:100%;
  }

  .navbar .nav-parent{
    display:grid;
    grid-template-columns:1fr auto;
    border-bottom:1px solid #f2f2f2;
  }

  .navbar .nav-parent > a{
    border-bottom:0;
  }

  .navbar .submenu-toggle{
    width:46px;
    height:46px;
    margin-right:5px;
  }

  .navbar .nav-mega{
    position:static;
    display:none;
    width:100%;
    padding:8px 14px 15px;
    border:0;
    border-bottom:1px solid #eee;
    border-radius:0;
    background:#faf8f9;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    transition:none;
  }

  .navbar .nav-mega.show{
    display:block;
  }

  .navbar .nav-item--submenu:hover > .nav-mega:not(.show),
  .navbar .nav-item--submenu:focus-within > .nav-mega:not(.show){
    display:none;
  }

  .navbar .nav-mega-grid{
    grid-template-columns:1fr;
  }

  .navbar .nav-mega-column,
  .navbar .nav-mega-column:first-child,
  .navbar .nav-mega-column:last-child{
    padding:12px 4px;
    border:0;
    border-top:1px solid #ebe6e9;
  }

  .navbar .nav-mega-column:first-child{
    border-top:0;
  }

  .navbar .nav-mega-title{
    margin-bottom:5px;
  }

  .navbar .nav-mega-list a,
  .navbar .nav-mega-disabled{
    padding:8px 0 8px 14px;
    border-bottom:0;
  }
}

/* ===== ACADEMA LEGAL ENGLISH SUBMENU HIERARCHY — append to style.css ===== */
.navbar .nav-mega-specialization{
  margin-bottom:6px;
}

.navbar .nav-mega-list a.nav-mega-specialization-title{
  color:#17151f;
  font-weight:900;
}

.navbar .nav-mega-list a.nav-mega-specialization-title:hover,
.navbar .nav-mega-list a.nav-mega-specialization-title:focus-visible{
  color:#e91e63;
}

.navbar .nav-mega-sublist{
  display:grid;
  gap:1px;
  margin:1px 0 7px 8px;
  padding:1px 0 1px 12px;
  border-left:2px solid #f1d5df;
  list-style:none;
}

.navbar .nav-mega-sublist li{
  width:auto;
}

.navbar .nav-mega-sublist a,
.navbar .nav-mega-sublist .nav-mega-disabled{
  padding:5px 0;
  font-size:12px;
}

@media(max-width:860px){
  .navbar .nav-mega-sublist{
    margin-left:14px;
    padding-left:12px;
  }

  .navbar .nav-mega-sublist a,
  .navbar .nav-mega-sublist .nav-mega-disabled{
    padding:7px 0;
  }
}

/* ===== ACADEMA MOBILE SUBMENU POSITION HOTFIX — append last ===== */
@media(max-width:860px){
  .navbar .nav-links{
    align-items:stretch;
  }

  .navbar .nav-item--submenu > .nav-mega,
  .navbar .nav-item--submenu:hover > .nav-mega,
  .navbar .nav-item--submenu:focus-within > .nav-mega,
  .navbar .nav-item--submenu > .nav-mega.show{
    left:auto;
    right:auto;
    width:100%;
    max-width:none;
    opacity:1;
    visibility:visible;
    transform:none;
  }

  .navbar .nav-mega-grid,
  .navbar .nav-mega-column{
    width:100%;
    min-width:0;
  }
}

/* ===== ACADEMA MOBILE MENU BACKGROUND — append last ===== */
@media(max-width:860px){
  .navbar .nav-links.show{
    background:#f8f3f5;
    border-color:#eadfe4;
  }

  .navbar .nav-links > li > a,
  .navbar .nav-parent{
    background:#fff;
  }

  .navbar .nav-mega,
  .navbar .nav-item--submenu > .nav-mega.show{
    background:#f4ecef;
  }

  .navbar .nav-mega-column,
  .navbar .nav-mega-column:first-child,
  .navbar .nav-mega-column:last-child{
    margin:7px 0;
    padding:14px;
    border:1px solid #e8dde2;
    border-radius:11px;
    background:#fff;
  }
}

