/* Sultani Electric — static rebuild of the 2024 Elementor design */
:root {
  --navy: #002037;
  --blue: #0172c2;
  --blue-bright: #0089e9;
  --orange: #e87a00;
  --orange-dark: #c96a00;
  --peach: #fde8d8;
  --white: #ffffff;
  --gray-bg: #f4f7fa;
  --text: #002037;
  --muted: #47607a;
  --radius-pill: 40px;
  --max: 1200px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 18px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.15; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.center { text-align: center; }
.lede { max-width: 640px; margin: 0 auto 40px; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font: 500 18px/1 var(--font-head);
  text-decoration: none;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-lg { font-size: 22px; padding: 20px 38px; }
.btn-outline { background: transparent; border-color: var(--white); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--white); color: var(--orange); border-color: var(--white); }
.btn-blue { background: var(--blue); border-color: var(--blue); }
.btn-blue:hover, .btn-blue:focus-visible { background: #015a99; border-color: #015a99; }

/* Header */
.topbar {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  font: 500 16px/1.4 var(--font-head);
  padding: 9px 16px;
}
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0, 32, 55, .08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.logo img { width: 260px; }
.nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.nav a { font: 500 17px/1 var(--font-head); text-decoration: none; color: var(--navy); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .logo img { width: 200px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(0, 32, 55, .12); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 16px 20px; border-bottom: 1px solid #e6edf3; }
  .nav a:hover, .nav a[aria-current="page"] { background: var(--orange); color: var(--white); border-bottom-color: var(--orange); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--navy) url("img/hero.jpg") center / cover no-repeat;
  padding: 80px 20px 160px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .6; }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(40px, 6.5vw, 80px); font-weight: 800; max-width: 1100px; margin: 0 auto 36px; }
.counters {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: -110px auto 0;
  background: var(--blue);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 20px;
  text-align: center;
  font-family: var(--font-head);
}
.counters div { padding: 6px 10px; }
.counters div:nth-child(2) { border-left: 3px solid var(--blue-bright); border-right: 3px solid var(--blue-bright); }
.counters strong { display: block; font-size: 48px; font-weight: 800; line-height: 1.1; }
.counters span { font-size: 22px; }

/* Page title band (inner pages) */
.page-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  background: var(--navy) url("img/hero.jpg") center / cover no-repeat;
  padding: 110px 20px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .7; }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; margin: 0; }

/* Intro / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { color: var(--blue); }
.split .quote { font-style: italic; }
.signature { font: 700 20px/1.3 var(--font-head); margin: 0; }
.signature + p { color: var(--muted); }

/* Services */
.services { background: var(--gray-bg); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; margin: 0 0 48px; padding: 0; list-style: none; }
.svc-grid li { text-align: center; }
.svc-grid img, .svc-icon {
  width: 81px; height: 80px; margin: 0 auto 16px;
}
.svc-icon { border-radius: 50%; background: var(--peach); display: grid; place-items: center; }
.svc-icon svg { width: 40px; height: 40px; stroke: #111; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-grid h3 { font-size: 22px; font-weight: 700; margin: 0; }
.svc-grid p { font-size: 16px; color: var(--muted); margin: 8px 0 0; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 40px; }
.projects-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }

/* Testimonials */
.testimonials { background: var(--navy); color: var(--white); }
.testimonials h2 { color: var(--white); }
.t-viewport { position: relative; max-width: 860px; margin: 0 auto; }
.t-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 20px; }
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--white);
  color: var(--text);
  border-radius: 10px;
  padding: 40px 48px;
  text-align: center;
}
.t-card .q { width: 54px; height: 54px; margin: 0 auto 12px; fill: var(--orange); }
.t-card blockquote { margin: 0 0 20px; font-size: 19px; }
.t-card .stars { margin: 0 auto 12px; width: 134px; }
.t-card cite { font: 700 18px/1.3 var(--font-head); font-style: normal; display: block; }
.t-card cite span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.t-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.t-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--white);
  background: transparent; color: var(--white); cursor: pointer; font-size: 22px; line-height: 1;
}
.t-nav button:hover, .t-nav button:focus-visible { background: var(--orange); border-color: var(--orange); }

/* Estimate band + form */
.estimate { background: var(--orange); color: var(--white); }
.estimate h2 { color: var(--white); }
.estimate .lede { color: var(--white); opacity: .95; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  padding: 36px;
  text-align: left;
  box-shadow: 0 12px 40px rgba(0, 32, 55, .18);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card label { display: block; font: 600 15px/1.3 var(--font-head); margin-bottom: 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  font: 400 17px/1.4 var(--font-body);
  color: var(--text);
  padding: 13px 14px;
  border: 1px solid #c7d3de;
  border-radius: 8px;
  background: var(--white);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); text-align: center; padding: 70px 20px 30px; font-family: var(--font-head); }
.site-footer .logo-footer { width: 120px; margin: 0 auto 20px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 36px 0 24px; padding: 0; }
.social { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.social a:hover { background: var(--orange); color: var(--white); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.copyright { font-size: 14px; opacity: .7; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; margin-top: 10px; }

/* Mobile call bar */
.call-bar { display: none; }

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .topbar { font-size: 14px; }
  .topbar .sep, .topbar .tb-phone { display: none; }
  .section { padding: 60px 0; }
  .hero { min-height: 480px; padding: 60px 16px 120px; }
  .counters { grid-template-columns: 1fr; margin: -75px 16px 0; }
  .counters div:nth-child(2) { border: 0; border-top: 3px solid var(--blue-bright); border-bottom: 3px solid var(--blue-bright); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .projects-grid { grid-template-columns: 1fr; }
  .t-card { padding: 30px 22px; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    font: 700 17px/1 var(--font-head);
  }
  .call-bar a { text-align: center; padding: 17px 8px; text-decoration: none; color: var(--white); }
  .call-bar a:first-child { background: var(--orange); }
  .call-bar a:last-child { background: var(--blue); }
  .site-footer { padding-bottom: 90px; }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .svc-grid h3 { font-size: 18px; }
}

/* --- added in the content refresh: hero sub-line, how-it-works, expectations --- */
.hero-sub { font-size: 20px; max-width: 560px; opacity: .92; margin: 0 0 28px; }
.steps { background: var(--gray-bg); }
.steps-list, .expect-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.steps-list li, .expect-list li {
  background: var(--white); border-radius: 16px; padding: 28px;
  box-shadow: 0 4px 18px rgba(0, 32, 55, .07);
}
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white); font: 700 18px/1 var(--font-head); margin-bottom: 14px;
}
.steps-list h3, .expect-list h3 { font-size: 20px; }
.steps-list p, .expect-list p { color: var(--muted); margin: 0; }
.expect-list { margin-top: 8px; }
