:root{
  --ink:#0b0f19;
  --muted:#5b6472;
  --line:rgba(11,15,25,.18);
  --line-strong:rgba(11,15,25,.28);
  --bg:#ffffff;
  --bg-soft:#f6f7f9;
  --shadow: 0 12px 34px rgba(11,15,25,.08);
  --shadow-soft: 0 10px 26px rgba(11,15,25,.06);
  --r:16px;
  --wrap:24px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background:var(--bg);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.wrap{
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 var(--wrap);
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 20px 10px;
  gap: 16px;
  position: relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand > a{
  display:flex;
  align-items:center;
}
.brand img{height:34px; width:auto}

.nav__right{display:flex; align-items:center; gap:10px; flex-wrap:wrap}

.pill{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
  font-size: 13px;
  line-height:1;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:900;
  font-size: 13px;
  line-height:1;
  letter-spacing:.2px;
  cursor:pointer;
  text-decoration:none;
}
.btn--primary{
  background:#0a0a0a;
  color:#ffffff;
  border-color: rgba(10,10,10,.18);
}
.btn--ghost,
.btn--switch{
  background: rgba(255,255,255,.06);
  color:#ffffff;
  border-color: rgba(255,255,255,.16);
}
.btn:hover{filter:brightness(1.04)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:3px solid rgba(255,255,255,.4); outline-offset:3px}

.btn--switch{
  width:38px;
  height:38px;
  padding:0;
}

.menuTrigger__chev{
  font-size:16px;
  line-height:1;
  transform: translateY(-1px);
}

.menuOverlay[hidden]{display:none}
.menuOverlay{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 10px);
  z-index:60;
  padding:0 var(--wrap);
}
.menuPanel{
  background:#ffffff;
  border:1px solid rgba(10,10,10,.12);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.menuNav{display:flex; flex-direction:column}
.menuNav a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-top:1px solid rgba(10,10,10,.08);
  font-weight:900;
  color:#0a0a0a;
  text-decoration:none;
}
.menuNav a:first-child{border-top:0}
.menuNav a:hover{background:rgba(10,10,10,.04)}
.menuIcon{
  width:34px;
  height:34px;
  border-radius:12px;
  object-fit:contain;
  background:rgba(10,10,10,.03);
  border:1px solid rgba(10,10,10,.10);
  padding:6px;
}

/* HERO / SERVICES */
.hero{
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.88)),
    url('/assets/images/container-hero.jpg');
  background-size:cover;
  background-position:center;
  border-bottom: 1px solid rgba(11,15,25,.08);
}
.hero__inner{
  /* Keep .wrap horizontal padding intact */
  padding-top: 34px;
  padding-bottom: 26px;
}
.hero__top h1{
  margin:0;
  font-size: 34px;
  letter-spacing: .08em;
  font-weight: 950;
}
.hero__top p{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.services{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px){
  .services{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.s-card{
  position:relative;
  border-radius: var(--r);
  border: 2px solid var(--line-strong);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  min-height: 150px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  backdrop-filter: blur(10px);
}
.s-card:hover{ transform: translateY(-2px); background: rgba(255,255,255,.82); border-color: rgba(11,15,25,.40); }
.s-card:active{ transform: translateY(0px); }
.s-card:focus-visible{ outline: 3px solid rgba(11,15,25,.25); outline-offset: 4px; }

.s-card__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.s-card__title{ font-weight: 950; letter-spacing: .08em; font-size: 16px; }
.s-card__text{ margin: 10px 0 0; color: rgba(11,15,25,.72); font-weight:650; font-size: 13px; line-height:1.35; }
.s-card__cta{ margin-top: 14px; font-weight: 900; font-size: 13px; color: rgba(11,15,25,.88); }

.s-card--featured{
  background: rgba(255,255,255,.90);
  border-color: rgba(11,15,25,.55);
  box-shadow: var(--shadow);
}

.tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  background: #dc2626;
  color: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

/* SECTIONS */
.section{ padding: 26px 0; }
.section__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.section__head h2{ margin:0; font-size: 18px; letter-spacing: .10em; font-weight: 950; }
.link{
  font-weight: 900;
  font-size: 13px;
  color: rgba(11,15,25,.72);
}
.link:hover{ text-decoration: underline; }

/* SHOP PRODUCTS */
.p-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px){
  .p-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 740px){
  .p-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.p-card{
  border-radius: var(--r);
  border: 1px solid rgba(11,15,25,.14);
  background:#fff;
  box-shadow: 0 1px 0 rgba(11,15,25,.04);
  overflow:hidden;
}
.p-media{
  position:relative;
  display:block;
  background: #fbfbfc;
}
.p-media::before{ content:""; display:block; padding-top: 92%; }
.p-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;
  padding: 12px;
}
.p-media__ph{ position:absolute; inset:0; background: linear-gradient(180deg, #fafafa, #f2f2f2); }

.p-badge{
  position:absolute;
  top:10px;
  left:10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,15,25,.14);
  background: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 900;
}

.p-body{ padding: 12px; }
.p-title{ margin:0; font-size: 13px; font-weight: 950; line-height: 1.25; min-height: 2.6em; }
.p-title a:hover{ text-decoration: underline; }

.p-price{ margin-top: 8px; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.p-price__now{ font-weight: 950; font-size: 13px; }
.p-price__was{ font-weight: 850; font-size: 12px; color: var(--muted); text-decoration: line-through; }
.p-price__off{ font-weight: 950; font-size: 12px; background: #0a0a0a; color:#fff; padding: 3px 8px; border-radius: 999px; }

.p-actions{ margin-top: 10px; }
.p-actions .btn{
  width:100%;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid rgba(11,15,25,.18);
}
.p-actions .btn--primary{ background:#0a0a0a; color:#fff; border-color:#0a0a0a; }
.p-actions .btn--primary:focus-visible{ outline: 3px solid rgba(11,15,25,.18); outline-offset: 3px; }

.empty{
  border: 1px dashed rgba(11,15,25,.22);
  border-radius: var(--r);
  padding: 16px;
  color: var(--muted);
  font-weight: 650;
}

/* SPLIT SECTIONS */
.tint{ border-top: 1px solid rgba(11,15,25,.06); border-bottom: 1px solid rgba(11,15,25,.06); }
.tint--teachers{ background: #f3f4f6; }
.tint--agency{ background: #f3f4f6; }
.tint--accounting{ background: #f4f2ee; }

.split{
  display:grid;
  grid-template-columns: 1.35fr .9fr;
  column-gap: 22px;
  row-gap: 16px;
  align-items:start;
  grid-template-areas:
    "content panel"
    "actions panel";
}
.split__content{ grid-area: content; }
.split > .panel{ grid-area: panel; }
.split > .actions{ grid-area: actions; }
@media (max-width: 920px){
  .split{
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "panel"
      "actions";
  }
}

.split h2{ margin:0; font-size: 20px; font-weight: 950; letter-spacing: .06em; }
.lead{ margin: 10px 0 0; color: rgba(11,15,25,.72); font-weight: 650; line-height: 1.45; }

.bullets{ margin: 14px 0 0; padding-left: 18px; color: rgba(11,15,25,.78); font-weight: 650; }
.bullets li{ margin: 6px 0; }

.split > .actions{ margin-top: 0; }
.actions{ margin-top: 16px; }
.actions .btn{
  border-radius: 12px;
  padding: 12px 14px;
}
.actions .btn--primary{ background:#0a0a0a; color:#fff; border-color:#0a0a0a; }
.actions .btn--primary:focus-visible{ outline: 3px solid rgba(11,15,25,.18); outline-offset: 3px; }

.panel{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,15,25,.14);
  border-radius: var(--r);
  box-shadow: 0 1px 0 rgba(11,15,25,.04);
  padding: 12px;
}
.panel__kpi{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(11,15,25,.10);
}
.panel__kpi:last-child{ border-bottom: none; }
.panel__label{ display:block; font-size: 12px; font-weight: 900; letter-spacing: .06em; color: rgba(11,15,25,.70); }
.panel__value{ display:block; margin-top: 6px; font-size: 14px; font-weight: 900; color: rgba(11,15,25,.92); line-height: 1.25; }

/* FOOTER */
.footer{
  background: #fafafa;
  border-top: 1px solid rgba(11,15,25,.10);
  padding: 24px 0;
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap: 22px 44px;
  flex-wrap:wrap;
}
.footer__brand img{ height: 28px; width:auto; }
.footer__brand p{ margin: 10px 0 0; color: rgba(11,15,25,.65); font-weight: 700; }

.footer__cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  min-width: 320px;
}
@media (max-width: 720px){
  .footer__cols{ grid-template-columns: 1fr; min-width: 0; width: 100%; }
}

.footer__col h4{ margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; font-weight: 950; color: rgba(11,15,25,.80); text-transform: uppercase; }
.footer__col a{
  display:block;
  padding: 6px 0;
  color: rgba(11,15,25,.72);
  font-weight: 750;
}
.footer__col a:hover{ text-decoration: underline; }
.footer__plain{ display:block; padding: 6px 0; color: rgba(11,15,25,.72); font-weight: 750; }


/* =========================
   NAV FIXES (v30)
   ========================= */
.menuOverlay{
  position:absolute;
  left:50%;
  right:auto;
  top:calc(100% + 10px);
  z-index:60;
  width:min(1220px, calc(100% - 20px));
  transform:translateX(-50%);
  padding:0;
}
.menuPanel{
  margin:0;
  width:100%;
}

.profileMenu{
  position:relative;
}
.profileMenu__toggle{
  min-width:118px;
  gap:8px;
  padding:10px 16px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.2px;
  color:#ffffff;
}
.profileMenu__icon{
  display:block;
  flex:0 0 auto;
}
.profileMenu__label{
  display:inline-block;
  line-height:1;
}
.profileMenu__chev{
  font-size:12px;
  line-height:1;
}
.profileMenu__panel[hidden]{display:none}
.profileMenu__panel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:180px;
  background:#ffffff;
  border:1px solid rgba(10,10,10,.12);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.profileMenu__panel a{
  display:flex;
  align-items:center;
  padding:12px 14px;
  font-weight:900;
  color:#0a0a0a;
  text-decoration:none;
  border-top:1px solid rgba(10,10,10,.08);
}
.profileMenu__panel a:first-child{border-top:0}
.profileMenu__panel a:hover{background:rgba(10,10,10,.04)}
