/* Desert Shield Pest Control — Spanish-first, English toggle
   Clean layout, mobile nav, professional spacing.
*/

:root{
  --bg:#0b1220;
  --surface:#0f1a2d;
  --card:#101f36;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --border:rgba(234,240,255,.12);

  --brand:#22c55e;      /* clean green accent */
  --brand2:#38bdf8;     /* subtle blue accent */
  --warn:#fbbf24;

  --max:1120px;
  --radius:16px;
  --shadow:0 14px 40px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(56,189,248,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(34,197,94,.16), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

/* Spanish default */
body[data-lang="es"] .lang-en{display:none}
body[data-lang="en"] .lang-es{display:none}

a{color:inherit}
a:hover{opacity:.92}
img{max-width:100%;display:block}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.section{padding:56px 0}
.section.tight{padding:36px 0}
.section-title{font-size:28px;margin:0 0 10px}
.section-sub{color:var(--muted);margin:0 0 22px;max-width:72ch}

.skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden
}
.skip-link:focus{
  left:18px;top:18px;width:auto;height:auto;padding:10px 12px;border-radius:12px;
  background:rgba(255,255,255,.1);outline:2px solid rgba(56,189,248,.7)
}

/* Promo bar */
.promo-bar{
  background: linear-gradient(90deg, rgba(251,191,36,.18), rgba(34,197,94,.18));
  border-bottom:1px solid var(--border);
}
.promo-inner{
  display:flex;gap:12px;align-items:center;justify-content:space-between;
  padding:10px 0;
  font-size:14px;
}
.promo-inner strong{color:var(--warn)}
.promo-link{
  white-space:nowrap;
  text-decoration:none;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.78);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;
}
.brand img{
  width:40px;height:40px;border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  padding:6px;
}
.brand-name{
  font-weight:750;letter-spacing:.2px;
}
.brand-tag{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.site-nav{
  display:flex;align-items:center;gap:18px;
}
.site-nav a{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  padding:8px 10px;
  border-radius:12px;
}
.site-nav a:hover{background:rgba(255,255,255,.06);color:var(--text)}

.header-actions{
  display:flex;align-items:center;gap:10px;
}
.header-phone{
  color:var(--muted);
  text-decoration:none;
  font-weight:650;
  display:none;
}

.lang-toggle{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:8px 10px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  text-decoration:none;
  font-weight:750;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(34,197,94,.42);
  background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(56,189,248,.18));
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn.ghost{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  box-shadow:none;
}
.btn.small{padding:10px 12px;border-radius:12px;font-size:14px}

/* Mobile nav toggle */
.nav-toggle{
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  display:none;
  cursor:pointer;
}
.nav-toggle span{
  display:block;width:18px;height:2px;background:var(--text);
  margin:4px auto;border-radius:2px;
}

/* Hero */
.hero{
  position:relative;
  min-height: 520px;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--border);
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(90deg, rgba(11,18,32,.92), rgba(11,18,32,.55)),
    var(--hero-img) center/cover no-repeat;
  transform:scale(1.02);
}
.hero-inner{
  position:relative;
  padding:64px 0;
  max-width: 820px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--muted);
  font-weight:750;
  margin:0 0 14px;
}
.hero h1{
  font-size:42px;line-height:1.08;
  margin:0 0 12px;
}
.hero .lead{
  color:var(--muted);
  font-size:18px;
  margin:0 0 22px;
  max-width: 68ch;
}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px}

/* Grids + Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.pad{padding:18px}

.kpi{
  display:flex;gap:12px;align-items:flex-start;
}
.kpi b{display:block}
.kpi p{margin:4px 0 0;color:var(--muted)}
.kpi .dot{
  width:12px;height:12px;border-radius:999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  margin-top:6px;flex:0 0 auto;
}

.feature{
  grid-column: span 4;
}
.feature h3{margin:0 0 6px}
.feature p{margin:0;color:var(--muted)}
.feature .thumb{
  height:160px;
  background: rgba(255,255,255,.06);
  border-bottom:1px solid var(--border);
}
.feature .thumb img{
  width:100%;height:100%;object-fit:cover;
}

/* Split section */
.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
}
.list{
  margin:0;padding:0;list-style:none;
}
.list li{
  padding:10px 0;
  border-bottom:1px solid var(--border);
  color:var(--muted);
}
.list li:last-child{border-bottom:none}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--muted);
  font-weight:750;
}

/* Forms */
.form{
  display:grid;gap:10px;margin-top:10px;
}
.input, .textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:12px 12px;
  font-size:16px;
}
.textarea{min-height:120px;resize:vertical}
.help{color:var(--muted);font-size:13px;margin:0}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  background: rgba(11,18,32,.72);
}
.footer-inner{
  display:flex;
  gap:18px;
  justify-content:space-between;
  padding:22px 0;
  flex-wrap:wrap;
}
.footer-links a{
  color:var(--muted);
  text-decoration:none;
  margin-right:14px;
}
.footer-links a:hover{color:var(--text)}
.footer-bottom{
  color:var(--muted);
  border-top:1px solid var(--border);
  padding:14px 0 26px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

/* Responsive */
@media (max-width: 920px){
  .feature{grid-column: span 6}
  .split{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .site-nav{display:none}
  body[data-nav="open"] .site-nav{
    display:flex;flex-direction:column;align-items:stretch;
    position:absolute;left:18px;right:18px;top:74px;
    background: rgba(15,26,45,.96);
    border:1px solid var(--border);
    border-radius: 18px;
    padding:12px;
    box-shadow: var(--shadow);
  }
  .nav-toggle{display:block}
  .header-phone{display:none}
  .hero h1{font-size:34px}
  .feature{grid-column: span 12}
  .promo-inner{flex-direction:column;align-items:flex-start}
}
@media (min-width: 721px){
  .header-phone{display:inline-flex}
}