:root{
  --bg:#0e0f11;
  --panel:#15171b;
  --panel2:#1c1f24;
  --text:#f2f2f2;
  --muted:#a1a1a6;

  --line:#262a30;
  --shadow:0 10px 30px rgba(0,0,0,.55);
  --radius:16px;

  --accent:#e08a00;
  --accent2:#ffb347;

  --good:#38d996;
  --bad:#ff4d4d;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(224,138,0,.18), transparent 55%),
    radial-gradient(700px 420px at 85% 0%, rgba(255,179,71,.08), transparent 60%),
    var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:26px;
}

.muted{color:var(--muted)}

/* ================= TOP BAR ================= */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(14,15,17,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* ================= BRAND ================= */

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand__logo{
  height:53px;
}

@media (max-width:768px){
  .brand__logo{height:38px}
}

/* ================= NAV ================= */

.nav{
  display:flex;
  gap:14px;
  align-items:center;
}

.nav a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
}

.nav a:hover,
.nav a.active{
  color:var(--text);
  background:rgba(255,255,255,.05);
}

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:800;
}

.btn--solid{
  background:linear-gradient(135deg,var(--accent),#c77600);
  border-color:rgba(224,138,0,.45);
  color:#121212;
}

.btn--ghost{
  background:rgba(255,255,255,.03);
}

/* ================= LAYOUT ================= */

.hero{
  margin-top:26px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:start;
}

@media (max-width:900px){
  .hero{grid-template-columns:1fr}
}

/* ================= CARDS ================= */

.card{
  background:linear-gradient(180deg, rgba(28,31,36,.92), rgba(21,23,27,.92));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
}

.h1{
  font-size:42px;
  font-weight:950;
  margin:12px 0 16px;
  line-height:1.05;
}

.h2{
  font-size:22px;
  font-weight:950;
  margin-bottom:12px;
}

.p{
  color:var(--muted);
  line-height:1.7;
  margin-bottom:14px;
}

/* ================= FORMS ================= */

.form label{
  font-size:13px;
  font-weight:800;
  color:var(--muted);
  margin:12px 0 6px;
  display:block;
}

.input,
textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  color:var(--text);
}

textarea{
  min-height:110px;
  resize:vertical;
}

.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

@media (max-width:700px){
  .row{grid-template-columns:1fr}
}

.form .btn{
  width:100%;
  margin-top:14px;
}

/* ================= FLOAT BUTTONS ================= */

.float-actions{
  position:fixed;
  right:16px;
  bottom:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:2000;
}

.fab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(8px);
  box-shadow:var(--shadow);
  font-weight:950;
  cursor:pointer;
}

.fab--chat{
  border-color:rgba(255,255,255,.25);
}

.fab--whatsapp{
  border-color:rgba(56,217,150,.45);
}

.fab--call{
  border-color:rgba(224,138,0,.55);
}

/* ================= CHAT PANEL ================= */

.ck-chat__panel{
  position:fixed;
  right:16px;
  bottom:220px;
  width:320px;
  max-width:calc(100vw - 32px);
  background:linear-gradient(180deg, rgba(28,31,36,.96), rgba(21,23,27,.96));
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
  transform:translateY(10px);
  opacity:0;
  pointer-events:none;
  transition:all .2s ease;
  z-index:2001;
}

.ck-chat__panel.is-open{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}

.ck-chat__head{
  display:flex;
  justify-content:space-between;
  padding:14px;
  border-bottom:1px solid var(--line);
}

.ck-chat__title{
  font-weight:950;
  font-size:14px;
}

.ck-chat__sub{
  font-size:12px;
  color:var(--muted);
}

.ck-chat__close{
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  border-radius:10px;
  width:32px;
  height:32px;
  cursor:pointer;
}

.ck-chat__body{
  padding:14px;
}

.ck-chat__label{
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  margin:10px 0 6px;
  display:block;
}

.ck-chat__input,
.ck-chat__textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  color:var(--text);
  padding:12px;
}

.ck-chat__textarea{
  min-height:90px;
}

.ck-chat__send{
  width:100%;
  margin-top:12px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(224,138,0,.45);
  background:linear-gradient(135deg,var(--accent),#c77600);
  color:#121212;
  font-weight:950;
  cursor:pointer;
}

.ck-chat__note{
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
}
/* Fix Chat button text visibility */
.fab--chat{
  color: #ffffff !important;
  background: rgba(0,0,0,.45) !important;
  border-color: rgba(255,255,255,.28) !important;
}

/* Make it feel clickable */
.fab--chat:hover{
  background: rgba(255,255,255,.08) !important;
}

/* If it ever gets focused */
.fab--chat:focus{
  outline: 2px solid rgba(224,138,0,.55);
  outline-offset: 2px;
}
