:root{
  --green: #0f9d58;
  --green-2: #2a9d47;
  --green-dark: #0c7a45;
  --bg: #ffffff;
  --muted: #55606a;
  --card: #fbfffb;
  --max: 1100px;
  --radius: 10px;
  --pad: 18px;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  color-scheme: light;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:#142026}
.wrap{max-width:var(--max);margin:0 auto;padding:22px}

.header{background:var(--green);color:#fff}
.header .wrap{display:flex;align-items:center;justify-content:space-between}
.logo{font-weight:700;font-size:20px}
.nav a{color:rgba(255,255,255,0.95);text-decoration:none;margin-left:16px;font-weight:600}
.nav a.active{text-decoration:underline}

.intro h2{color:var(--green-2);margin:14px 0 6px;font-size:26px}
.intro p{color:var(--muted);margin:0 0 18px}

.categories h3{color:var(--green-2);margin:8px 0 12px}
.categories .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.card{display:block;padding:14px;border-radius:10px;background:linear-gradient(180deg,#ffffff, #fbfffb);border:1px solid #e6f4ea;text-decoration:none;color:inherit;box-shadow:0 6px 18px rgba(16,128,79,0.04)}
.card h4{margin:0 0 6px;color:var(--green)}
.card p{margin:0;color:var(--muted);font-size:14px}

.support-grid{display:grid;grid-template-columns:1fr 360px;gap:18px;margin-top:22px}

.faq-column{background:#fff;border-radius:10px;padding:18px;border:1px solid #eef6ee;box-shadow:0 6px 20px rgba(6,70,36,0.03)}
.faq-column h3{color:var(--green);margin:0 0 12px}
.faq-item{border-top:1px dashed #eef6ee;padding:12px 0}
.faq-item:first-of-type{border-top:none}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:0;font-size:16px;font-weight:700;color:#142026;cursor:pointer}
.faq-a{margin-top:8px;color:var(--muted);font-size:14px;display:block;}

.contact-column{display:flex;flex-direction:column;gap:14px}
.contact-card{background:var(--card);padding:14px;border-radius:10px;border:1px solid #e6f4ea}
.contact-card h3{margin:0 0 6px;color:var(--green-2)}
.contact-method{margin-top:10px}
.contact-method strong{display:block;color:#122; margin-bottom:6px}
.contact-method .muted{color:var(--muted);margin:0}
.contact-method .tiny{font-size:12px;color:#93a0a2;margin-top:6px}

.ticket-card{background:#fff;padding:16px;border-radius:10px;border:1px solid #eef6ee;box-shadow:0 6px 18px rgba(6,70,36,0.03)}
.ticket-card h3{margin:0 0 8px;color:var(--green-2)}
.ticket-form label{display:block;margin-top:10px;font-weight:600;color:#122}
.ticket-form input,
.ticket-form textarea,
.ticket-form select{
  width:100%;padding:10px;border-radius:8px;border:1px solid #dfeee0;background:#fbfffb;font-size:14px;color:#122;margin-top:6px;
}
.ticket-form textarea{resize:vertical}
.ticket-form .primary{margin-top:12px;background:var(--green-2);color:#fff;padding:10px;border:none;border-radius:8px;cursor:pointer;font-weight:700}
.ticket-form .primary:hover{background:var(--green-dark)}

.chat-widget{position:fixed;right:18px;bottom:18px;z-index:60;font-family:inherit}
.chat-toggle{
  background:var(--green);color:#fff;border:none;padding:12px 14px;border-radius:50px;box-shadow:0 8px 26px rgba(15,157,88,0.18);cursor:pointer;font-weight:700
}
.chat-panel{width:320px;height:420px;background:#fff;border-radius:12px;border:1px solid #e6f4ea;box-shadow:0 18px 40px rgba(6,70,36,0.12);overflow:hidden;display:flex;flex-direction:column}
.chat-header{background:linear-gradient(90deg,var(--green),var(--green-2));color:#fff;padding:12px;display:flex;align-items:center;justify-content:space-between}
.chat-messages{padding:12px;flex:1;overflow:auto;background:linear-gradient(180deg,#fbfffb,#ffffff)}
.msg{margin-bottom:8px;max-width:80%}
.msg.support{background:#f1fff3;padding:8px;border-radius:8px;border:1px solid #e6f4ea}
.msg.user{background:#e6f3ff;padding:8px;border-radius:8px;border:1px solid #e3eefb;margin-left:auto}
.chat-input{display:flex;border-top:1px solid #eef6ee;padding:8px}
.chat-input input{flex:1;padding:8px;border-radius:8px;border:1px solid #e6f4ea;margin-right:8px}
.chat-input .send{background:var(--green);color:#fff;border:none;padding:8px 12px;border-radius:8px;cursor:pointer}

.footer{margin-top:30px;padding:18px 0;background:var(--green);color:#fff;text-align:center;border-top:4px solid rgba(255,255,255,0.03)}

@media (max-width:1000px){
  .categories .grid{grid-template-columns:repeat(2,1fr)}
  .support-grid{grid-template-columns:1fr}
  .contact-column{order:2}
  .faq-column{order:1}
}
@media (max-width:620px){
  .categories .grid{grid-template-columns:1fr}
  .chat-panel{width:100%;right:0;left:0;bottom:0;height:60vh;border-radius:12px 12px 0 0}
  .chat-widget{right:10px;bottom:10px}
}
