/* =========================
   ROOT VARIABLES
   ========================= */
:root{
  /* Surfaces */
  --bg:#F6F8FB;          /* page background */
  --panel:#FFFFFF;      /* primary cards */
  --panel2:#F1F4F8;     /* subtle alt panels */

  /* Text */
  --text:#1E2432;       /* primary text */
  --muted:#5F6B85;      /* secondary text */

  /* Accent (academic gold, restrained) */
  --gold:#C9A63A;
  --gold2:#A88A2D;

  /* Lines / borders */
  --stroke:rgba(30,36,50,.12);

  /* Shadows (very restrained) */
  --shadow: 0 10px 28px rgba(20,30,60,.08);

  /* Geometry */
  --radius:18px;
  --max:1140px;

  /* Typography */
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
          "Apple Color Emoji","Segoe UI Emoji";
}

/* =========================
   GLOBAL RESET
   ========================= */
*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(201,166,58,.06), transparent 60%),
    linear-gradient(180deg, var(--bg), #EEF2F7 80%);
}

/* =========================
   LINKS & CONTAINERS
   ========================= */
a{
  color:inherit;
  text-decoration:none;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* =========================
   NAVIGATION
   ========================= */
.nav{
  position:sticky;
  top:0;
  z-index:50;

  background: rgba(255,255,255,.92);
  border-bottom:1px solid var(--stroke);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.logo{
  width:38px;
  height:38px;
  border-radius:10px;
  background: linear-gradient(
    135deg,
    rgba(201,166,58,.85),
    rgba(180,200,240,.55)
  );
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}

.brand strong{
  letter-spacing:.3px;
}

/* =========================
   MENU
   ========================= */
.menu{
  display:flex;
  gap:18px;
  align-items:center;
}

.menu a{
  font-size:14px;
  color:var(--muted);
}

.menu a:hover{
  color:var(--text);
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;

  border:1px solid var(--stroke);
  background:#FFFFFF;

  box-shadow:0 6px 18px rgba(20,30,60,.10);
  font-weight:600;
}

.btn:hover{
  background:#F4F6FA;
}

.btn-gold{
  border:1px solid rgba(201,166,58,.55);
  background: linear-gradient(
    135deg,
    rgba(201,166,58,.30),
    rgba(168,138,45,.20)
  );
}

/* =========================
   HERO
   ========================= */
.hero{
  padding:64px 0 36px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:22px;
}

/* =========================
   CARDS
   ========================= */
.card{
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.card.pad{
  padding:28px;
}

/* =========================
   TEXT ELEMENTS
   ========================= */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:8px 12px;
  border-radius:999px;

  border:1px solid rgba(201,166,58,.35);
  background: rgba(201,166,58,.08);

  color:var(--gold2);
  font-size:12px;
  letter-spacing:.7px;
  text-transform:uppercase;
}

h1{
  margin:16px 0 12px;
  font-size:40px;
  line-height:1.15;
  letter-spacing:-.4px;
}

h3{
  margin:0 0 10px;
  font-size:16px;
  color:var(--gold2);
}

p{
  color:var(--muted);
  line-height:1.65;
}

/* =========================
   HERO ACTIONS / STATS
   ========================= */
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:20px;
}

.stat{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:var(--panel2);
}

.stat b{
  display:block;
  font-size:17px;
}

.stat span{
  font-size:12px;
  color:var(--muted);
}

/* =========================
   SIDE PANEL
   ========================= */
.side{
  padding:24px;
}

.ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}

.li{
  padding:14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:var(--panel2);
}

/* =========================
   SECTIONS & GRIDS
   ========================= */
.section{
  padding:42px 0;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.grid2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

/* =========================
   FORMS
   ========================= */
.form{
  display:grid;
  gap:12px;
}

input,
textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;

  border:1px solid var(--stroke);
  background:#FFFFFF;
  color:var(--text);
  outline:none;
}

input:focus,
textarea:focus{
  border-color:rgba(201,166,58,.55);
}

/* =========================
   HELPERS
   ========================= */
.small{
  font-size:12px;
  color:var(--muted);
}

.err{
  color:#C0392B;
}

.ok{
  color:#2E8B57;
}

/* =========================
   FOOTER
   ========================= */
.footer{
  padding:32px 0;
  border-top:1px solid var(--stroke);
  color:var(--muted);
  font-size:14px;
  background:#FFFFFF;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:34px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .menu{display:none}
}
/* =========================
   MOBILE MENU
   ========================= */

.menu-toggle{
  display:none;
  background:none;
  border:1px solid var(--stroke);
  border-radius:10px;
  padding:8px 12px;
  font-size:18px;
  cursor:pointer;
  color:var(--text);
}

@media (max-width:980px){

  .menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .menu{
    display:none;
    flex-direction:column;
    gap:12px;
    width:100%;
    margin-top:14px;
    padding:16px;
    border-radius:16px;
    background:var(--panel);
    border:1px solid var(--stroke);
    box-shadow:var(--shadow);
  }

  .menu.open{
    display:flex;
  }

  .menu a{
    padding:10px 12px;
    border-radius:10px;
  }

  .nav-inner{
    flex-wrap:wrap;
  }
}
@media (max-width: 980px){
  .nav-inner{
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
