:root{
  --bg: #0b0b0e;
  --panel: #14141a;
  --panel2: #101015;
  --text: #f1f1f5;
  --muted: #9aa0aa;
  --accent: #ffcc00;
  --border: rgba(255,255,255,.08);
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: 18px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  background: radial-gradient(1200px 600px at 50% 0%, rgba(255,204,0,.08), transparent 60%), var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a{ color:inherit; text-decoration:none; }
.xo-container{ width:min(1180px, calc(100% - 40px)); margin:0 auto; }

.xo-header{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.35));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.xo-topbar{
  display:flex; align-items:center; gap:18px;
  padding:16px 22px;
}

.xo-logo .custom-logo{ max-height:44px; width:auto; }
.xo-logo-text{ font-weight:700; letter-spacing:.6px; }

.xo-search{ flex:1; display:flex; align-items:center; gap:12px; justify-content:center; }
.xo-search-form{ width:min(520px, 100%); }
.xo-search-input{
  width:100%;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  color:var(--text);
  padding:12px 14px;
  border-radius: 999px;
  outline:none;
}

.xo-toggle{
  display:flex;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius: 12px;
  overflow:hidden;
}
.xo-toggle-btn{
  padding:10px 14px;
  background:transparent;
  border:0;
  color:var(--muted);
  cursor:pointer;
}
.xo-toggle-btn.is-active{
  background: var(--accent);
  color: #151515;
  font-weight:700;
}

.xo-actions{ display:flex; align-items:center; gap:10px; }
.xo-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.xo-btn:hover{ filter:brightness(1.08); }

.xo-btn-primary{
  background: var(--accent);
  color:#141414;
  border-color: rgba(0,0,0,.12);
  font-weight:800;
}
.xo-btn-light{
  background: rgba(255,255,255,.92);
  color:#141414;
  border-color: rgba(0,0,0,.1);
  font-weight:700;
}
.xo-btn-ghost{
  background: rgba(255,255,255,.06);
}

.xo-btn-whatsapp{
  background:#16a34a;
  color:white;
  border-color: rgba(0,0,0,.2);
  font-weight:700;
}

.xo-lang{
  height:44px;
  padding:0 14px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}

.xo-nav{
  padding:10px 22px 14px;
}
.xo-menu{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  gap:22px;
  justify-content:center;
}
.xo-menu a{
  color: rgba(255,255,255,.85);
  padding:8px 10px;
  border-radius: 10px;
}
.xo-menu a:hover{ background: rgba(255,255,255,.06); }

.xo-main{ min-height:60vh; }

.xo-hero{
  padding:70px 0 60px;
}
.xo-hero-inner{
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
  text-align:center;
}
.xo-h1{
  font-size: clamp(36px, 5vw, 64px);
  margin:22px 0 8px;
  letter-spacing:.3px;
}
.xo-subtitle{ color: var(--accent); margin:0 0 22px; font-size:18px; }
.xo-hero-cta{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.xo-section{ padding:64px 0; }
.xo-h2{ font-size: clamp(28px, 3vw, 42px); margin:0 0 8px; text-align:center; }
.xo-muted{ color:var(--muted); text-align:center; margin:0 0 26px; }

.xo-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.xo-grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.xo-grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
}
@media (max-width: 980px){
  .xo-grid-3{ grid-template-columns: 1fr; }
  .xo-grid-2{ grid-template-columns: 1fr; }
  .xo-topbar{ flex-wrap:wrap; }
  .xo-search{ order:3; width:100%; justify-content:stretch; }
  .xo-search-form{ width:100%; }
}

.xo-stat{ padding:26px; text-align:center; }
.xo-stat-icon{ font-size:22px; opacity:.9; }
.xo-stat-number{ font-size:44px; color:var(--accent); font-weight:900; margin:10px 0 4px; }
.xo-stat-title{ font-size:18px; font-weight:800; }
.xo-stat-sub{ color:var(--muted); margin-top:4px; }

.xo-vehicle{ overflow:hidden; }
.xo-vehicle-img{
  height:190px;
  background: radial-gradient(500px 260px at 30% 20%, rgba(255,204,0,.18), transparent 60%),
              linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.xo-vehicle-body{ padding:18px; }
.xo-vehicle-title{ font-weight:900; font-size:18px; margin-bottom:6px; }
.xo-vehicle-price{ color:var(--accent); font-weight:900; margin-bottom:10px; }
.xo-vehicle-meta{ display:flex; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:13px; }
.xo-vehicle-actions{ display:flex; gap:10px; margin-top:14px; }

.xo-faq{ width:min(860px, 100%); margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.xo-faq-item{ border-radius: 16px; overflow:hidden; border:1px solid var(--border); background: rgba(255,255,255,.04); }
.xo-faq-q{
  width:100%;
  display:flex; justify-content:space-between; align-items:center;
  padding:16px 18px;
  border:0; background:transparent; color:var(--text);
  cursor:pointer; font-weight:800; text-align:left;
}
.xo-faq-a{
  display:none;
  padding:0 18px 16px;
  color:var(--muted);
  line-height:1.5;
}
.xo-faq-item.is-open .xo-faq-a{ display:block; }

.xo-contact-card{ padding:20px; }
.xo-contact-title{ font-weight:900; margin-bottom:6px; }
.xo-contact-cta{ display:flex; justify-content:center; margin-top:22px; }

.xo-footer{
  border-top:1px solid var(--border);
  padding:32px 0;
  background: rgba(0,0,0,.45);
}
.xo-footer-inner{
  width:min(1400px, calc(100% - 40px));
  margin:0 auto;
  display:grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(220px, 1fr);
  align-items:center;
  gap:18px;
}
.xo-footer-brand{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.xo-footer-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.xo-footer-title{ font-weight:900; }
.xo-footer-sub, .xo-footer-copy{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.xo-footer-copy{
  margin-top:4px;
}
.xo-footer-award{
  justify-self:center;
  align-self:center;
}
.xo-footer-links{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  text-align:right;
}
.xo-footer-links a{
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.xo-footer-links a:hover{ color: var(--text); }

@media (max-width: 760px){
  .xo-footer-inner{
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .xo-footer-links{
    align-items:flex-start;
    text-align:left;
  }
}

.xo-whatsapp{
  position:fixed;
  right:20px; bottom:22px;
  width:56px; height:56px;
  display:flex; align-items:center; justify-content:center;
  background:#16a34a;
  color:white;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
/* -----------------------------
   Auth (Login / Signup)
-------------------------------- */
.xo-login-wrap{
  min-height: calc(100vh - 96px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:64px 20px;
}
.xo-auth-card{
  width:min(560px, 100%);
  background: rgba(0,0,0,.55);
  border:1px solid var(--border);
  border-radius: 22px;
  padding:28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.xo-auth-header{ display:flex; flex-direction:column; gap:6px; }
.xo-auth-logo{ font-weight:800; letter-spacing:.3px; font-size:18px; }
.xo-auth-sub{ color: var(--muted); }

.xo-auth-tabs{
  display:flex;
  gap:10px;
  margin:18px 0 12px;
}
.xo-auth-tab{
  flex:1;
  text-align:center;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:700;
}
.xo-auth-tab.is-active{
  background: rgba(255,255,255,.92);
  color:#141414;
  border-color: rgba(0,0,0,.1);
}

.xo-auth-form p{ margin: 0 0 14px; }
.xo-auth-form label{
  display:block;
  font-size:13px;
  color: var(--muted);
  margin: 0 0 6px;
}
.xo-auth-form input[type="text"],
.xo-auth-form input[type="email"],
.xo-auth-form input[type="password"]{
  width:100%;
  height:44px;
  padding:0 14px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
}
.xo-auth-form input:focus{
  border-color: rgba(255,209,31,.55);
  box-shadow: 0 0 0 4px rgba(255,209,31,.12);
}

.xo-auth-form .login-remember label{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 4px;
  color: var(--text);
  font-size:14px;
}
.xo-auth-form .login-remember input{ width:16px; height:16px; }

.xo-auth-form .login-submit{ margin-top: 6px; }
.xo-auth-form .login-submit button{ width:100%; }

.xo-auth-links{ margin-top: 10px; }
.xo-auth-links a{ color: var(--accent); font-weight:700; }

.xo-auth-note{
  margin-top: 10px;
  color: var(--muted);
}
.xo-auth-note a{ color: var(--accent); font-weight:700; }

.xo-auth-errors{
  border:1px solid rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
  padding:12px 14px;
  border-radius: 14px;
  margin: 10px 0 14px;
}
.xo-auth-error{ color:#fecaca; font-size:14px; }
/* About contact icons: high-contrast chips with masked glyphs */
.about-contact-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 204, 0, 0.35);
  flex: 0 0 36px;
  vertical-align: middle;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 16px rgba(0,0,0,0.24);
  --about-contact-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.686 2 6 4.686 6 8c0 4.418 5.373 11.264 5.602 11.553a.5.5 0 0 0 .796 0C12.627 19.264 18 12.418 18 8c0-3.314-2.686-6-6-6zm0 8.5A2.5 2.5 0 1 1 12 5a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
}
.about-contact-icon::before,
.about-contact-icon::after {
  content: "";
  display: block;
}
.about-contact-icon::before {
  width: 18px;
  height: 18px;
  background-color: #ffcc00;
  -webkit-mask-image: var(--about-contact-mask);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--about-contact-mask);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.about-contact-icon::after {
  display: none;
}
.about-contact-icon--pin {
  --about-contact-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C8.686 2 6 4.686 6 8c0 4.418 5.373 11.264 5.602 11.553a.5.5 0 0 0 .796 0C12.627 19.264 18 12.418 18 8c0-3.314-2.686-6-6-6zm0 8.5A2.5 2.5 0 1 1 12 5a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
}
.about-contact-icon--phone {
  --about-contact-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M2.5 4.5a2 2 0 0 1 2-2h2a1 1 0 0 1 1 .8l.7 3.5a1 1 0 0 1-.3.9l-1.7 1.4a12.5 12.5 0 0 0 5.9 5.9l1.4-1.7a1 1 0 0 1 .9-.3l3.5.7a1 1 0 0 1 .8 1v2a2 2 0 0 1-2 2h-1c-7.18 0-13-5.82-13-13v-1z'/%3E%3C/svg%3E");
}
.about-contact-icon--mail {
  --about-contact-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M3 5.5A2.5 2.5 0 0 1 5.5 3h13A2.5 2.5 0 0 1 21 5.5v13A2.5 2.5 0 0 1 18.5 21h-13A2.5 2.5 0 0 1 3 18.5v-13zm2.3.5 7.2 5.1L19.7 6H5.3zm14.2 2.2-6.7 4.8a1 1 0 0 1-1.2 0L4.9 8.2V18.5c0 .55.45 1 1 1h13a1 1 0 0 0 1-1V8.2z'/%3E%3C/svg%3E");
}
.about-contact-icon--clock {
  --about-contact-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm-.5 3a1 1 0 0 1 1 1v4.2l3 1.8a1 1 0 1 1-1 1.7l-3.5-2.1a1 1 0 0 1-.5-.86V8a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}
