
:root{
  --cou-red:#890505;
  --cou-black:#0b0b0b;
  --cou-gray:#f5f5f7;
  --cou-border:#e6e6ea;
  --text:#111;
  --muted:#555;
  --link:#0b59c6;
  --radius:14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.45;
}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1220px;margin:0 auto;padding:0 14px}
.small{font-size:12px}
.muted{color:var(--muted)}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;padding:6px 10px;border-radius:999px;
  background:var(--cou-gray);border:1px solid var(--cou-border);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:10px 14px;border-radius:12px;border:1px solid var(--cou-border);
  background:#fff;color:var(--text);cursor:pointer;
  transition:transform .04s ease, box-shadow .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:hover{border-color:#d2d2d8; box-shadow:0 8px 18px rgba(0,0,0,.08)}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--cou-red);border-color:var(--cou-red);color:#fff}
.btn.black{background:#111;border-color:#111;color:#fff}
.btn.block{width:100%}

.top-mini{
  background:#000;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.top-mini .row{
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 0; gap:14px;
}
.social{
  display:flex; gap:8px; align-items:center;
}
.sicon{
  width:26px;height:26px;border-radius:999px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
}
.sicon svg{width:14px;height:14px;fill:#fff;opacity:.95}
.quick-links{
  display:flex; flex-wrap:nowrap; gap:10px; overflow:hidden;
  white-space:nowrap;
  font-size:12px;
}
.quick-links a{color:#fff;opacity:.92}
.quick-links a:hover{opacity:1}

.nav-black{
  background:linear-gradient(#0b0b0b,#0a0a0a);
  color:#fff;
}
.nav-black .row{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0; gap:14px;
}
.nav-black .menu{
  display:flex; gap:14px; flex-wrap:nowrap; white-space:nowrap;
  overflow:visible;
  font-size:13px;
}
.nav-black .menu a{color:#fff;opacity:.93}
.nav-black .menu a:hover{opacity:1}
.nav-black .tools{display:flex;align-items:center;gap:10px; white-space:nowrap}
select, input, textarea{
  font:inherit;
}
.sel{
  background:#111;color:#fff;border:1px solid rgba(255,255,255,.18);
  border-radius:10px;padding:6px 10px;
}
.flag{
  display:inline-flex;align-items:center;gap:8px;
  background:#111;border:1px solid rgba(255,255,255,.18);
  border-radius:10px;padding:6px 10px;
  font-size:12px;
}
.flag .emoji{font-size:16px}
.logo-pill{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:999px;
  background:#fff;color:var(--cou-red);font-weight:900;
  border:3px solid rgba(255,255,255,.2);
}
.logo-wrap{display:flex;align-items:center;gap:10px}
.logo-wrap .brand{line-height:1}
.logo-wrap .brand b{display:block;font-size:12px}
.logo-wrap .brand span{font-size:11px;color:rgba(255,255,255,.8)}

.nav-red{
  background:var(--cou-red);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.12);
}
.nav-red .row{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 0;
  gap:10px;
}
.nav-red .menu{
  display:flex;gap:18px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden;
  font-weight:600;font-size:13px;
}
.nav-red .menu a{color:#fff;opacity:.96}
.nav-red .menu a:hover{opacity:1}
.nav-red .right{
  display:flex;gap:10px;align-items:center;white-space:nowrap;
}
.nav-red .right a{color:#fff;font-weight:700}
.nav-red .right .apply{padding:8px 12px;border-radius:12px;background:#fff;color:var(--cou-red);text-decoration:none}
.nav-red .right .apply:hover{text-decoration:none;filter:brightness(.98)}
.hero{
  position:relative;
  background:#f4f4f6;
}
.hero img{
  width:100%; height:auto; display:block;
}
.hero .overlay{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  pointer-events:none;
}
.hero .overlay .container{
  padding-bottom:16px;
}
.hero-card{
  pointer-events:auto;
  width:min(680px,100%);
  background:rgba(255,255,255,.94);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:16px 16px 14px;
  box-shadow:var(--shadow);
  backdrop-filter: blur(6px);
}
.hero-card h1{margin:0 0 4px 0;font-size:26px}
.hero-card p{margin:0;color:#333}
.hero-card .actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.hero-card .actions .btn{pointer-events:auto}
.hero-card .kpi{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

.main{
  padding:18px 0 24px;
}
.main-grid{
  display:grid;
  grid-template-columns: 280px 1fr 320px;
  gap:14px;
  align-items:stretch;
}
.col{
  display:flex; flex-direction:column; gap:14px;
  min-height: 980px;
}
.card{
  background:#fff;
  border:1px solid var(--cou-border);
  border-radius: var(--radius);
  box-shadow:0 10px 24px rgba(0,0,0,.04);
  padding:14px;
}
.card h3{margin:0 0 8px 0;font-size:15px}
.card h2{margin:0 0 8px 0;font-size:18px}
.card p{margin:0 0 10px 0}
hr.sep{border:none;border-top:1px solid var(--cou-border);margin:12px 0}
.list{
  display:flex;flex-direction:column; gap:8px;
}
.list a{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 10px;border:1px solid var(--cou-border);border-radius:12px;
  background: #fff;
}
.list a:hover{border-color:#d6d6de; text-decoration:none}
.chip-row{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  padding:7px 10px;border-radius:999px;
  border:1px solid var(--cou-border); background:var(--cou-gray);
  font-size:12px;
}
.form-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.form-row input[type="text"]{
  width:100%;
  padding:10px 12px;border-radius:12px;border:1px solid var(--cou-border);
  background:#fff;
}
.form-row .btn{flex:0 0 auto}
.filters{
  display:grid;gap:10px;
}
.filters label{font-size:12px;color:#333;font-weight:700}
.filters select{
  width:100%;
  padding:9px 10px;border-radius:12px;border:1px solid var(--cou-border);
  background:#fff;
}
.table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--cou-border);
  border-radius:12px;
  overflow:hidden;
}
.table th,.table td{
  padding:10px 10px;
  border-bottom:1px solid var(--cou-border);
  vertical-align:top;
}
.table th{
  text-align:left;
  background:var(--cou-gray);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.table tr:last-child td{border-bottom:none}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 8px;border-radius:999px;
  border:1px solid var(--cou-border);
  background:#fff;
  font-size:12px;
}
.notice{
  border-left:5px solid var(--cou-red);
  background: #fff;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--cou-border);
}
.callout{
  background: linear-gradient(180deg, #fff, #fff8f8);
  border:1px solid rgba(137,5,5,.18);
}
.fill{flex:1 1 auto}

.footer{
  background:#000;color:#fff;
  padding:18px 0;
}
.footer .grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.footer h4{margin:0 0 10px 0}
.footer a{color:#fff;opacity:.9}
.footer a:hover{opacity:1}
.footer .fine{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:12px;
  color:rgba(255,255,255,.85)
}
.contact-card{
  background:#fff;color:#111;border-radius:18px;padding:16px;
  box-shadow:var(--shadow);
}
.contact-card h3{margin:0 0 8px 0}
.contact-card .phone{color:#0a7a2f;font-weight:900;font-size:18px}
.footer-bottom{
  background:#0a0a0a;color:#fff;
  padding:10px 0; font-size:12px;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-bottom .row{
  display:flex;justify-content:center;flex-wrap:wrap;gap:10px;white-space:nowrap;
}
.chat-fab{
  position:fixed;
  right:16px;
  bottom:16px;
  background:var(--cou-red);
  color:#fff;border:none;border-radius:999px;
  width:64px;height:64px;
  box-shadow:0 14px 30px rgba(0,0,0,.25);
  cursor:pointer;
  font-weight:900;
}
.chat-panel{
  position:fixed; right:16px; bottom:90px;
  width:min(360px, calc(100vw - 32px));
  background:#fff;border:1px solid var(--cou-border);border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,.18);
  display:none;
  overflow:hidden;
}
.chat-panel header{
  background:var(--cou-red);color:#fff;padding:12px 14px;
  display:flex;align-items:center;justify-content:space-between;
}
.chat-panel header b{font-size:14px}
.chat-panel .body{padding:12px 14px}
.chat-panel .body p{margin:0 0 10px 0}
.chat-panel .body textarea{
  width:100%; min-height:86px;
  border:1px solid var(--cou-border);
  border-radius:12px; padding:10px;
}
.chat-panel .body .row{display:flex;gap:10px;margin-top:10px}
.chat-panel .body .row .btn{width:100%}

@media (max-width: 1100px){
  .main-grid{grid-template-columns: 1fr}
  .col{min-height:auto}
  .nav-black .menu, .nav-red .menu, .quick-links{overflow:auto}
  .footer .grid{grid-template-columns:1fr}
}


/* Colorful social icons to match CoU sample menu */
.top-mini .social .sicon:nth-child(1){background:#1877F2;border-color:#1877F2;} /* Facebook */
.top-mini .social .sicon:nth-child(2){background:#1DA1F2;border-color:#1DA1F2;} /* X/Twitter */
.top-mini .social .sicon:nth-child(3){background:#DB4437;border-color:#DB4437;} /* Google */
.top-mini .social .sicon:nth-child(4){background:#0A66C2;border-color:#0A66C2;} /* LinkedIn */
.top-mini .social .sicon:nth-child(5){background:#FF0000;border-color:#FF0000;} /* YouTube */
.top-mini .social .sicon:nth-child(6){background:#6f42c1;border-color:#6f42c1;} /* Other */
.top-mini .social .sicon svg{fill:#fff}

/* NAV rows */
.nav-black .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
}
.nav-black .menu{
  gap:10px;
  font-size:12.2px;
  line-height:1;
  overflow:visible;
}
.nav-black .menu a{padding:2px 0}
.nav-black .small.muted{
  opacity:.65;
  font-weight:700;
  margin:0 -2px;
}
.nav-black .tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  white-space:nowrap;
}
.nav-black .sel{
  height:28px;
  font-size:12px;
  padding:0 10px;
  background:#101010;
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}
.nav-black .flag{
  display:flex;
  align-items:center;
  gap:8px;
  height:28px;
  padding:0 10px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.18);
  background:#101010;
  font-size:12px;
}

/* Compact center logo like screenshot */
.logo-wrap{display:flex; align-items:center; justify-content:center; margin:0 8px;}
.logo-round{
  width:34px; height:34px; border-radius:999px;
  background:#fff;
  display:grid; place-items:center;
  border:2px solid rgba(137,5,5,.9);
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}
.logo-mark{
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
  color:var(--cou-red);
}

/* Secondary nav row: keep everything on one line */
.nav-black .row:nth-of-type(2) .menu{
  font-size:12.4px;
  gap:10px;
  overflow:visible;
}
.nav-black .row:nth-of-type(2) .menu a{
  font-weight:700;
}
.nav-black .row:nth-of-type(2) .menu .small.muted{margin-left:-6px; margin-right:4px;}

/* RED NAV one-line */
.nav-red .row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 0;
}
.nav-red .menu{
  flex-wrap:nowrap;
  gap:18px;
  overflow:visible;
  font-size:13px;
  font-weight:800;
}
.nav-red .menu a{padding:4px 0}
.nav-red .apply{
  display:inline-flex; align-items:center; justify-content:center;
  height:36px; padding:0 16px; border-radius:10px;
  background:#fff; color:#111; font-weight:900;
  border:1px solid rgba(0,0,0,.15);
}

