﻿:root{
      --ink:#111827;
      --muted:#667085;
      --line:#e5e7eb;
      --soft:#f8fafc;
      --brand:#f59e0b;
      --brand-dark:#9a4d00;
      --green:#16a34a;
      --navy:#101827;
      --shadow:0 14px 32px rgba(16,24,40,.08);
    }

    *{box-sizing:border-box}
    body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#fff;color:var(--ink)}
    a{text-decoration:none;color:inherit}
    button,input,select{font:inherit}
    .wrap{width:min(1180px,calc(100% - 40px));margin:auto}
    .nav{position:sticky;top:0;z-index:20;background:rgba(11,18,32,.98);border-top:2px solid var(--navy);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px);transition:background-color .28s ease,box-shadow .28s ease,border-color .28s ease}
    .nav-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:28px}
    .brand-logo{display:inline-flex;align-items:center}
    .brand-logo img{display:block;height:44px;width:auto}
    .nav-toggle{display:none}
    .mobile-menu{display:none}
    .nav-center{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-left:auto}
    .nav-links{display:flex;align-items:center;gap:22px}
    .nav-links a{font-size:14px;font-weight:800;color:#fff}
    .nav-links a:hover,.nav-links a[aria-current="page"]{color:#fbbf24}
    .global-search{width:214px;height:38px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 12px}
    .global-search span{color:#8b95a4;font-weight:900;font-size:17px;line-height:1}
    .global-search input{width:100%;border:0;outline:0;background:transparent;color:#111827}
    .global-search input::placeholder{color:#98a2b3}
    .nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px}
    .login-link{font-size:14px;font-weight:800;color:#fff}
    .login-link:hover{color:#fbbf24}
    .main{background:#fff}
    .crumbs{padding:26px 0 4px;color:#667085;font-size:14px}
    .crumbs a{color:#475467}
    .crumbs span{margin:0 8px;color:#98a2b3}
    .page-head{padding:22px 0 30px;border-bottom:1px solid #eef1f5}
    .page-head h1{font-size:44px;line-height:1.06;letter-spacing:-.03em;margin:0 0 12px}
    .page-head p{max-width:780px;margin:0;color:#667085;font-size:17px;line-height:1.65}
    .catalog{padding:30px 0 54px;background:#fff}
    .catalog-layout{display:grid;grid-template-columns:280px 1fr;gap:28px;align-items:start}
    .filters-card{border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow);padding:18px;position:sticky;top:86px}
    .filters-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
    .filters-head h2{font-size:20px;margin:0}
    .clear{border:0;background:transparent;color:var(--brand-dark);font-weight:800;font-size:13px;cursor:pointer;padding:0}
    .field{display:grid;gap:7px;margin-bottom:14px}
    .field label{font-size:13px;font-weight:800;color:#344054}
    .field input,.field select{height:42px;border:1px solid #d7dee8;border-radius:7px;background:#fff;padding:0 11px;color:#111827}
    .field input::placeholder{color:#98a2b3}
    .results-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;color:#667085;font-size:14px}
    .per-page{display:flex;align-items:center;gap:8px}
    .per-page button{height:34px;min-width:38px;border:1px solid #d7dee8;border-radius:7px;background:#fff;color:#344054;font-weight:800;cursor:pointer}
    .per-page button.active{background:#111827;color:#fff;border-color:#111827}
    .course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
    .course{border:1px solid #e3e8ef;border-radius:8px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(16,24,40,.06)}
    .cover{aspect-ratio:16/10;background:#111827;color:#fff;position:relative;display:flex;align-items:flex-end;padding:18px;overflow:hidden}
    .cover::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(245,158,11,.92),rgba(17,24,39,.96));}
    .cover.blue::before{background:linear-gradient(135deg,rgba(36,70,111,.95),rgba(17,24,39,.96))}
    .cover.green::before{background:linear-gradient(135deg,rgba(22,107,77,.95),rgba(17,24,39,.96))}
    .cover.red::before{background:linear-gradient(135deg,rgba(153,27,27,.95),rgba(17,24,39,.96))}
    .cover.purple::before{background:linear-gradient(135deg,rgba(91,33,182,.9),rgba(17,24,39,.96))}
    .cover.slate::before{background:linear-gradient(135deg,rgba(71,85,105,.95),rgba(17,24,39,.96))}
    .cover-content{position:relative;z-index:1;display:grid;gap:8px}
    .cover small{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:#fde68a}
    .cover b{font-size:25px;line-height:1.02;letter-spacing:-.025em}
    .course-body{padding:16px;display:flex;flex-direction:column;gap:12px;flex:1}
    .course h3{font-size:17px;line-height:1.28;margin:0}
    .course p{margin:0;color:#667085;line-height:1.52;font-size:14px}
    .price-row{margin-top:auto;display:flex;align-items:end;justify-content:space-between;gap:12px}
    .price{display:grid;gap:2px}
    .old-price{color:#98a2b3;text-decoration:line-through;font-size:14px;font-weight:700}
    .new-price{font-size:22px;font-weight:950;color:#111827}
    .details{border:0;border-radius:7px;background:var(--brand);color:#111827;font-weight:900;padding:10px 13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
    .empty{display:none;border:1px dashed #cad3df;border-radius:8px;padding:30px;text-align:center;color:#667085;background:#fff}
    .pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:22px}
    .pagination button{width:36px;height:36px;border:1px solid #d7dee8;border-radius:7px;background:#fff;color:#344054;font-weight:800;cursor:pointer}
    .pagination button.active{background:#111827;color:#fff;border-color:#111827}
    .footer{padding:0;background:#050914;color:#cbd5e1}
    .footer-inner{padding:48px 0 28px;border-top:1px solid rgba(255,255,255,.12)}
    .footer-columns{display:grid;grid-template-columns:repeat(4,max-content);justify-content:center;gap:110px;text-align:left;margin:0 auto}
    .footer-col{display:grid;align-content:start;gap:8px}
    .footer-col h3{margin:0 0 4px;color:#fff;font-size:19px;line-height:1.2}
    .footer-col a{color:#aeb8c8;font-size:16px;line-height:1.45}
    .footer-col a:hover{color:#fff}
    .footer-bottom{display:grid;place-items:center;gap:10px;margin-top:42px;text-align:center;color:#aeb8c8;font-size:14px}
    .footer-logo{display:inline-flex;align-items:center}
    .footer-logo img{display:block;height:46px;width:auto}
    .wa{position:fixed;right:18px;bottom:18px;width:56px;height:56px;background:#22c55e;color:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 14px 30px rgba(0,0,0,.22);z-index:30}
    .wa svg{width:34px;height:34px;display:block;fill:currentColor}

    @media(max-width:1060px){
      .catalog-layout{grid-template-columns:1fr}
      .filters-card{position:static}
      .filter-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
      .field{margin-bottom:0}
      .course-grid{grid-template-columns:repeat(2,1fr)}
    }

    @media(max-width:680px){
      .wrap{width:min(100% - 28px,1180px)}
      .nav-row{min-height:auto;align-items:center;padding:12px 0;gap:12px;flex-wrap:wrap}
      .nav-toggle{display:grid;place-items:center;width:42px;height:42px;margin-left:auto;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.06);padding:0}
      .nav-toggle span{display:block;width:19px;height:2px;background:#fff;border-radius:999px;margin:2px 0}
      .nav-center{order:3;width:100%;display:none;margin-left:0}
      .nav-links{display:none}
      .nav-links a{white-space:nowrap}
      .global-search{width:100%;height:42px}
      .nav-actions{display:none}
      .mobile-menu{order:4;width:100%;display:none;padding:8px 0 2px;border-top:1px solid rgba(255,255,255,.1)}
      .mobile-menu.is-open{display:grid;gap:4px}
      .mobile-menu a{display:flex;align-items:center;min-height:40px;color:#fff;font-weight:800}
      .brand-logo img{height:30px}
      .footer-logo img{height:30px}
      .page-head h1{font-size:34px}
      .catalog{padding-top:22px}
      .filter-grid,.course-grid{grid-template-columns:1fr}
      .results-bar{display:grid;gap:12px}
      .per-page{overflow:auto}
      .pagination{justify-content:flex-start;overflow:auto}
      .footer-inner{padding:38px 0 92px}
      .footer-columns{grid-template-columns:1fr;gap:26px;text-align:center;max-width:320px}
      .footer-col{justify-items:center}
      .footer-col h3{font-size:17px}
      .footer-col a{font-size:14px}
      .wa{width:54px;height:54px;left:auto;right:14px}
    }

