
    :root {
      --brand-dark: #132e41;
      --brand-light: #59b2e5;
      --brand-accent: #e58c59;
      --soft-bg: #eff4f7;
      --copy-bg: #f2f3f4;
      --copy-ink: #3e464f;
      --white: #ffffff;
    }

    * { box-sizing: border-box; }

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

    .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 {
      max-width: 1280px;
      margin: 0 auto;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

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

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

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

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

    .top-nav a:hover,
    .nav-item:hover > a,
    .nav-item:hover > .nav-trigger {
      color: var(--brand-light);
      border-bottom-color: var(--brand-accent);
    }

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

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

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

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

    .nav-item:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

    .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 {
      color: var(--brand-light);
      border-bottom: none;
    }

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

    .hero {
      position: relative;
      min-height: 76vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 26px;
      overflow: hidden;
    }

    .hero video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }

    .hero h1 {
      margin: 0;
      max-width: 980px;
      padding: 0 24px;
      text-align: center;
      color: var(--white);
      font-size: clamp(2.1rem, 4.9vw, 3.8rem);
      line-height: 1.1;
      font-weight: 800;
      letter-spacing: -0.02em;
      text-shadow: 0 14px 42px rgba(0, 0, 0, 0.96), 0 7px 22px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.88), 0 0 3px rgba(0, 0, 0, 0.95);
      -webkit-text-stroke: 1px rgba(0, 0, 0, 0.5);
    }

    .hero-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 220px;
      padding: 15px 24px;
      background: var(--brand-accent);
      color: var(--white);
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-size: 0.92rem;
      font-weight: 800;
      border-radius: 4px;
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
      transition: background 0.2s ease, transform 0.2s ease;
    }

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

    .split-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 680px;
    }

    .copy-side {
      background: var(--copy-bg);
      padding: clamp(32px, 4vw, 70px);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .copy-content {
      max-width: 640px;
    }

    .copy-content h2 {
      margin: 0 0 20px;
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.04;
      letter-spacing: -0.02em;
      font-weight: 800;
      color: var(--brand-dark);
    }

    .copy-list {
      margin: 0;
      padding-left: 0;
      list-style: none;
      display: grid;
      gap: 16px;
      max-width: 60ch;
    }

    .copy-list li {
      position: relative;
      padding-left: 28px;
      font-size: clamp(1.14rem, 1.6vw, 1.45rem);
      line-height: 1.5;
      color: var(--copy-ink);
      font-weight: 500;
    }

    .copy-list li::before {
      content: "\2713";
      position: absolute;
      left: 0;
      top: 0.08em;
      color: var(--brand-accent);
      font-weight: 800;
      font-size: 1.05em;
      line-height: 1;
    }

    .image-side {
      min-height: 680px;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
    }

    .image-side.commercial-solar-san-antonio-texas-incentives {
      background-image: url("/assets/media/commercial-1.webp");
    }

    .split-section.mirrored .copy-side {
      order: 2;
    }

    .split-section.mirrored .copy-list li::before {
      color: var(--brand-light);
    }

    .image-side.commercial-solar-san-antonio-texas-options {
      order: 1;
      background-image: url("/assets/media/case-study-disposal.avif");
    }

    .pricing-form-section {
      scroll-margin-top: 132px;
      background: linear-gradient(to bottom, #132e41 0%, #132e41 58%, #ffffff 58%, #ffffff 100%);
      padding: clamp(56px, 7vw, 88px) 24px clamp(68px, 8vw, 100px);
    }

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

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

    .pricing-form-header h2 {
      margin: 0 0 16px;
      color: var(--brand-light);
      font-size: clamp(1.55rem, 2.2vw, 2.3rem);
      line-height: 1.08;
      letter-spacing: -0.02em;
      font-weight: 800;
      white-space: nowrap;
    }

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

    .pricing-form-frame {
      width: min(900px, 100%);
      margin: 0 auto;
      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;
      padding: clamp(22px, 3vw, 30px);
      border-radius: 12px;
      box-shadow: 0 16px 34px rgba(19, 46, 65, 0.18);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    @media (max-width: 980px) {
      .top-nav {
        display: none;
      }

      .split-section {
        grid-template-columns: 1fr;
      }

      .split-section.mirrored .copy-side,
      .image-side.commercial-solar-san-antonio-texas-options {
        order: initial;
      }

      .image-side {
        min-height: 360px;
      }
    }

    @media (max-width: 900px) {
      .pricing-form-header h2 {
        white-space: normal;
      }

      .pricing-form-section {
        background: linear-gradient(to bottom, #132e41 0%, #132e41 46%, #ffffff 46%, #ffffff 100%);
      }
    }

    @media (max-width: 620px) {
      .footer-mini-inner {
        justify-content: center;
        text-align: center;
      }
    }
  
/* Right-sized backgrounds for phones; original desktop rules remain intact. */
@media(max-width:767px){
.image-side.commercial-solar-san-antonio-texas-options{background-image:url("/assets/media/case-study-disposal-621a96-960.webp");}
.pricing-form-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;}
}
