/*
Theme Name: SPC TX SEO Pro One-Page
Theme URI: https://www.solarpanelcleaningtx.com/
Author: Etex Alliance, LLC
Description: SEO-first, conversion-focused one-page WordPress theme for Solar Panel Cleaning + Pigeon Proofing in El Paso, TX. Includes bilingual toggle, schema, FAQs, service areas, gallery, reviews, and prominent click-to-call CTAs.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spctx-seo-pro
Tags: one-column, custom-logo, accessibility-ready
*/

:root{
  --bg:#071018;
  --bg2:#081a28;
  --card: rgba(255,255,255,.05);
  --line: rgba(255,255,255,.14);
  --text:#eef6ff;
  --muted:#b9c9e8;
  --accent:#4fd1c5;
  --accent2:#60a5fa;
  --ok:#22c55e;
  --warn:#fbbf24;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --radius2: 26px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 12% 12%, rgba(79,209,197,.20), transparent 60%),
    radial-gradient(900px 520px at 88% 20%, rgba(96,165,250,.20), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--text);
}
a{color:inherit}
img{max-width:100%; height:auto}
p{color:var(--muted); line-height:1.75}

.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip:focus{left:18px; top:10px; width:auto; height:auto; padding:10px 12px; border-radius:12px; background:rgba(255,255,255,.10); border:1px solid var(--line); z-index:9999;}

.wrap{max-width:var(--max); margin:0 auto; padding: 18px 18px 80px;}
.section{padding: 22px 0;}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.grid{display:grid; grid-template-columns:1fr; gap:14px;}
@media(min-width:980px){.grid.two{grid-template-columns:1fr 1fr;} .grid.three{grid-template-columns:1fr 1fr 1fr;}}

h1{margin: 6px 0 10px; font-size: clamp(32px, 4.3vw, 50px); line-height:1.05;}
h2{margin:0 0 10px; font-size: 24px;}
h3{margin:0 0 8px; font-size: 18px;}
.kicker{display:inline-flex; gap:8px; align-items:center; font-size:12px; color:var(--muted); border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.03); padding:6px 10px; border-radius:999px; margin-bottom:10px;}
.tagline{margin:0 0 12px; font-size:15px; color:var(--muted);}
.lead{margin:0 0 16px; font-size:15px;}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,16,24,.78);
  border-bottom:1px solid var(--line);
}
.top-inner{max-width:var(--max); margin:0 auto; padding: 12px 18px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;}
.brand{display:flex; align-items:center; gap:14px; text-decoration:none;}
.header-logo-img{width:190px; height:auto; display:block;}
@media(max-width:640px){.header-logo-img{width:140px;}}
.brand-text strong{display:block; font-size:14px; line-height:1.1; letter-spacing:.2px;}
.brand-text span{display:block; font-size:12px; color:var(--muted); margin-top:3px; line-height:1.2;}

.nav{display:flex; gap:10px; flex-wrap:wrap; align-items:center;}
.nav a{
  text-decoration:none;
  font-size:13px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.nav a:hover{color:var(--text); border-color:rgba(255,255,255,.25);}

.lang-toggle{display:inline-flex; gap:8px; align-items:center;}
.lang-btn{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  cursor:pointer;
}
.lang-btn[aria-pressed="true"]{
  border-color: rgba(255,255,255,.28);
  color: var(--text);
  background: linear-gradient(135deg, rgba(79,209,197,.18), rgba(96,165,250,.14));
}

/* Strong CTA phone */
.phone-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}
.dot{width:9px; height:9px; border-radius:999px; background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,.14);}

/* Sticky mobile call button */
.sticky-call{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 60;
  display:none;
}
.sticky-call a{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  width:100%;
  padding:14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  text-decoration:none;
  font-weight: 900;
  box-shadow: var(--shadow);
}
@media(max-width:820px){.sticky-call{display:block;}}

/* Hero layout */
.hero{padding: 28px 0 8px;}
.hero-grid{display:grid; grid-template-columns:1fr; gap:14px;}
@media(min-width:980px){.hero-grid{grid-template-columns: 1.15fr .85fr;}}

.btnrow{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  text-decoration:none;
  font-size: 14px;
}
.btn:hover{border-color:rgba(255,255,255,.25);}
.btn.primary{border:none; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-weight:800;}
.pills{display:flex; gap:10px; flex-wrap:wrap; margin: 12px 0 0;}
.pill{font-size:12px; color:var(--muted); border:1px solid var(--line); padding:8px 10px; border-radius:999px; background:rgba(255,255,255,.03);}

/* "What you get" */
.get{display:grid; grid-template-columns:1fr; gap:12px; margin-top:10px;}
@media(min-width:980px){.get{grid-template-columns:1fr 1fr;}}
.getitem{border:1px solid var(--line); border-radius: 22px; padding:16px; background: rgba(255,255,255,.03);}
.gettitle{display:flex; align-items:center; gap:10px; font-weight:900; margin-bottom:6px;}
.badge{width:32px; height:32px; border-radius:12px; display:flex; align-items:center; justify-content:center; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);}

/* Gallery */
.gallery{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px;}
@media(min-width:980px){.gallery{grid-template-columns: 1fr 1fr 1fr;}}
.gimg{border:1px solid var(--line); border-radius:18px; overflow:hidden; background: rgba(255,255,255,.03); min-height:170px; position:relative;}
.gimg img{width:100%; height:100%; object-fit:cover; display:block;}
.gcap{position:absolute; left:10px; bottom:10px; font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.35); backdrop-filter: blur(6px);}

/* Reviews */
.reviews{display:grid; grid-template-columns:1fr; gap:14px; margin-top:12px;}
@media(min-width:980px){.reviews{grid-template-columns: 1fr 1fr 1fr;}}
.review{border:1px solid var(--line); border-radius: 22px; padding:16px; background: rgba(255,255,255,.03);}
.stars{letter-spacing:1px; color: #fbbf24; font-size:14px; margin-bottom:8px;}
.rname{font-weight:900; margin-bottom:4px;}
.rtext{color:var(--muted);}

/* FAQ */
.faq details{border:1px solid var(--line); background: rgba(255,255,255,.03); border-radius:16px; padding:12px 14px;}
.faq details + details{margin-top:10px;}
.faq summary{cursor:pointer; font-weight:900;}
.faq summary::-webkit-details-marker{display:none;}

.form{display:grid; gap:10px;}
.input,.textarea{width:100%; border-radius:14px; border:1px solid rgba(255,255,255,.18); background: rgba(7,16,24,.40); color: var(--text); padding:12px;}
.textarea{min-height:120px; resize:vertical;}
.notice{margin-top:10px; padding:12px; border-radius:14px; border:1px solid var(--line); background: rgba(255,255,255,.03); color:var(--muted);}

footer{border-top:1px solid var(--line); padding-top:16px; margin-top:24px; color:var(--muted); font-size:12px;}

[data-lang]{display:none;}
[data-lang].is-active{display:block;}
