
    :root {
      --brand-dark: #132e41;
      --brand-light: #59b2e5;
      --brand-accent: #e58c59;
      --white: #ffffff;
      --ink: #2f3338;
      --muted: #54616a;
      --soft-bg: #f2f5f7;
      --line: rgba(19, 46, 65, 0.14);
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      background: var(--soft-bg);
      color: var(--ink);
      font-family: "Barlow", sans-serif;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid rgba(89, 178, 229, 0.2);
    }

    .topbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      max-width: 1280px;
      margin: 0 auto;
      padding: 12px 18px;
    }

    .brand img {
      display: block;
      width: auto;
      height: 92px;
    }

    .top-nav {
      display: flex;
      align-items: center;
      gap: 16px;
      font-weight: 600;
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .top-nav a {
      padding-bottom: 3px;
      border-bottom: 3px solid transparent;
      color: var(--brand-dark);
      font-size: 1rem;
      text-decoration: none;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    .top-nav a:hover,
    .top-nav a[aria-current="page"],
    .nav-item:hover > .nav-trigger {
      border-bottom-color: var(--brand-accent);
      color: var(--brand-light);
    }

    .nav-trigger {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 0 0 3px;
      border: none;
      border-bottom: 3px solid transparent;
      background: transparent;
      color: var(--brand-dark);
      cursor: pointer;
      font: inherit;
      font-size: 1rem;
      font-weight: 600;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    .nav-caret {
      opacity: 0.85;
      font-size: 0.52rem;
      font-weight: 700;
      line-height: 1;
      transform: translateY(-1px);
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 18px);
      left: 50%;
      z-index: 60;
      min-width: 240px;
      padding: 18px 28px 20px;
      transform: translateX(-50%);
      border-top: 3px solid var(--brand-accent);
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 18px 38px rgba(19, 46, 65, 0.18);
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .dropdown-menu::before {
      content: "";
      position: absolute;
      top: -18px;
      right: 0;
      left: 0;
      height: 18px;
    }

    .nav-item:hover .dropdown-menu {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
    }

    .dropdown-menu a {
      display: block;
      padding: 7px 0;
      border-bottom: none;
      color: var(--brand-dark);
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.45;
    }

    .dropdown-menu a:hover {
      border-bottom: none;
      color: var(--brand-light);
    }

    .cta-call {
      padding: 9px 18px;
      border-radius: 3px;
      background: var(--brand-accent);
      color: var(--white);
      font-size: 1.26rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-decoration: none;
      white-space: nowrap;
    }

    .hero {
      position: relative;
      display: grid;
      min-height: min(68vh, 720px);
      place-items: center;
      overflow: hidden;
      padding: 90px 24px;
      background:
        linear-gradient(125deg, rgba(19, 46, 65, 0.76), rgba(19, 46, 65, 0.46)),
        url("/assets/media/states-9f0980-1920.webp") center center / cover no-repeat;
    }

    .hero-content {
      max-width: 1040px;
      text-align: center;
    }

    .hero h1 {
      max-width: 920px;
      margin: 0 auto;
      color: var(--white);
      font-size: clamp(2.35rem, 5vw, 4.4rem);
      font-weight: 800;
      letter-spacing: -0.025em;
      line-height: 1.06;
      text-shadow: 0 14px 42px rgba(0, 0, 0, 0.9), 0 6px 20px rgba(0, 0, 0, 0.72);
      -webkit-text-stroke: 1px rgba(0, 0, 0, 0.35);
    }

    .hero p {
      max-width: 780px;
      margin: 22px auto 0;
      color: rgba(255, 255, 255, 0.96);
      font-size: clamp(1.05rem, 1.45vw, 1.34rem);
      font-weight: 500;
      line-height: 1.55;
    }

    .hero-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: 28px;
      padding: 16px 28px;
      background: var(--brand-accent);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
      color: var(--white);
      font-size: 1rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .hero-button:hover {
      background: #cf7b4a;
      transform: translateY(-1px);
    }

    .locations-section {
      padding: clamp(64px, 8vw, 110px) 24px;
      background: var(--white);
      scroll-margin-top: 116px;
    }

    .locations-inner {
      max-width: 1320px;
      margin: 0 auto;
    }

    .section-header {
      max-width: 860px;
      margin: 0 auto 48px;
      text-align: center;
    }

    .section-header h2 {
      margin: 0 0 16px;
      color: var(--brand-dark);
      font-size: clamp(2rem, 3.8vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.06;
    }

    .section-header p {
      margin: 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.25vw, 1.18rem);
      font-weight: 500;
      line-height: 1.6;
    }

    .location-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(220px, 1fr));
      gap: 14px;
    }

    .location-link {
      display: flex;
      align-items: center;
      min-height: 76px;
      padding: 20px 22px;
      border: 1px solid var(--line);
      border-left: 4px solid var(--brand-light);
      background: #ffffff;
      box-shadow: 0 8px 22px rgba(19, 46, 65, 0.06);
      color: var(--brand-dark);
      font-size: clamp(1.05rem, 1.35vw, 1.26rem);
      font-weight: 700;
      line-height: 1.2;
      text-decoration: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .location-link:hover {
      border-left-color: var(--brand-accent);
      box-shadow: 0 14px 28px rgba(19, 46, 65, 0.13);
      color: var(--brand-light);
      transform: translateY(-2px);
    }

    .ask-middle-section {
      scroll-margin-top: 116px;
      padding: clamp(56px, 7vw, 88px) 24px clamp(68px, 8vw, 100px);
      background: linear-gradient(to bottom, #59b2e5 0%, #59b2e5 58%, #ffffff 58%, #ffffff 100%);
    }

    .ask-middle-inner {
      max-width: 1180px;
      margin: 0 auto;
      text-align: center;
    }

    .ask-middle-header {
      max-width: 980px;
      margin: 0 auto 34px;
      color: var(--white);
    }

    .ask-middle-header h2 {
      margin: 0 0 16px;
      color: var(--brand-dark);
      font-size: clamp(2rem, 3.7vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.06;
    }

    .ask-middle-header p {
      max-width: 860px;
      margin: 0 auto;
      color: rgba(255, 255, 255, 0.96);
      font-size: clamp(1rem, 1.2vw, 1.18rem);
      font-weight: 500;
      line-height: 1.6;
    }

    .ask-middle-frame {
      width: min(900px, 100%);
      margin: 0 auto;
      padding: clamp(22px, 3vw, 30px);
      border-radius: 12px;
      background:
        linear-gradient(145deg, rgba(56, 112, 144, 0.38), rgba(56, 112, 144, 0.3)),
        url("/assets/media/solar-stock-form-1920.webp") center center / cover no-repeat;
      box-shadow: 0 16px 34px rgba(19, 46, 65, 0.18);
    }

    .form-card {
      width: min(620px, 100%);
      margin: 0 auto;
      padding: clamp(22px, 3.2vw, 34px);
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 12px;
      background: rgb(19 46 65 / 92%);
      color: #fff9f5;
      text-align: left;
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(2px);
    }

    .form-card > p {
      margin: 0 0 24px;
      font-size: clamp(1.02rem, 1.35vw, 1.2rem);
      font-weight: 600;
      line-height: 1.45;
    }

    .lead-form {
      display: grid;
      gap: 16px;
    }

    .lead-form label {
      display: grid;
      gap: 6px;
      color: rgba(255, 245, 238, 0.95);
      font-size: 0.98rem;
      font-weight: 500;
    }

    .lead-form input {
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 6px;
      outline: none;
      background: rgba(255, 255, 255, 0.14);
      color: var(--white);
      font: inherit;
      font-size: 1rem;
    }

    .lead-form input::placeholder { color: rgba(255, 255, 255, 0.72); }

    .lead-form input:focus {
      border-color: #bfe7ff;
      box-shadow: 0 0 0 2px rgba(89, 178, 229, 0.35);
    }

    .submit-btn {
      width: fit-content;
      margin-top: 4px;
      padding: 13px 28px;
      border: none;
      border-radius: 4px;
      background: var(--brand-accent);
      color: var(--white);
      cursor: pointer;
      font: inherit;
      font-size: 0.86rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

    .footer-mini {
      border-top: 3px solid var(--brand-accent);
      background: var(--brand-dark);
      color: #fff3ea;
      font-size: 0.8rem;
    }

    .footer-mini-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      max-width: 1280px;
      margin: 0 auto;
      padding: 12px 18px;
      flex-wrap: wrap;
    }

    .mini-logo {
      width: auto;
      height: 92px;
      opacity: 0.97;
    }

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

    .mini-links a,
    .footer-mini p {
      margin: 0;
      color: #fff3ea;
      text-decoration: none;
    }

    @media (max-width: 980px) {
      .top-nav { display: none; }
      .location-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
    }

    @media (max-width: 620px) {
      .location-grid { grid-template-columns: 1fr; }
      .footer-mini-inner { justify-content: center; text-align: center; }
    }
  
/* Right-sized backgrounds for phones; original desktop rules remain intact. */
@media(max-width:767px){
.hero{background:linear-gradient(125deg, rgba(19, 46, 65, 0.76), rgba(19, 46, 65, 0.46)),
        url("/assets/media/states-9f0980-960.webp") center center / cover no-repeat;}
.ask-middle-frame{background:linear-gradient(145deg, rgba(56, 112, 144, 0.38), rgba(56, 112, 144, 0.3)),
        url("/assets/media/solar-stock-form-960.webp") center center / cover no-repeat;}
}
