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

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

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

    .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 > .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%;
      z-index: 60;
      min-width: 240px;
      padding: 18px 28px 20px;
      transform: translateX(-50%);
      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);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      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;
      visibility: visible;
      pointer-events: auto;
    }

    .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;
    }

    .ad-links-hero {
      background:
        linear-gradient(135deg, rgba(19, 46, 65, 0.94), rgba(19, 46, 65, 0.86)),
        url("/assets/media/commercial-2baeb6-536.webp") center center / cover no-repeat;
      color: var(--white);
      padding: clamp(56px, 7vw, 96px) 24px;
    }

    .ad-links-inner,
    .case-studies-inner {
      max-width: 1540px;
      margin: 0 auto;
    }

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

    .section-header h1,
    .section-header h2 {
      margin: 0 0 14px;
      font-size: clamp(2.4rem, 4.2vw, 4rem);
      line-height: 1.05;
      letter-spacing: -0.02em;
      font-weight: 800;
    }

    .section-header p {
      margin: 0;
      font-size: clamp(1rem, 1.2vw, 1.16rem);
      line-height: 1.55;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.92);
    }

    .ad-links-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(200px, 1fr));
      gap: 28px;
    }

    .ad-link-card {
      display: grid;
      gap: 14px;
      color: var(--white);
      text-decoration: none;
    }

    .ad-link-card img {
      width: 100%;
      aspect-ratio: 1.35 / 1;
      object-fit: cover;
      display: block;
      transition: transform 0.25s ease;
    }

    .ad-link-card:hover img { transform: translateY(-3px); }

    .ad-link-card h2 {
      margin: 0;
      font-size: clamp(1.2rem, 1.45vw, 1.55rem);
      line-height: 1.25;
      font-weight: 700;
    }

    .ad-links-cta-wrap {
      display: flex;
      justify-content: center;
      margin-top: 42px;
    }

    .ad-links-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 320px;
      padding: 16px 24px;
      background: var(--brand-light);
      color: var(--white);
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-size: 0.92rem;
      font-weight: 800;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }

    .case-studies-section {
      background: var(--white);
      padding: clamp(64px, 8vw, 110px) 24px;
    }

    .case-studies-section .section-header h2 { color: var(--brand-dark); }

    .case-studies-section .section-header p { color: var(--muted); }

    .case-study-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(240px, 1fr));
      gap: clamp(30px, 4vw, 54px) 28px;
    }

    .case-study-card {
      display: grid;
      gap: 16px;
    }

    .case-study-card img {
      width: 100%;
      aspect-ratio: 1.4 / 1;
      object-fit: cover;
      display: block;
    }

    .case-study-card h3 {
      margin: 0;
      color: var(--brand-dark);
      font-size: clamp(1.35rem, 1.7vw, 1.9rem);
      line-height: 1.2;
      font-weight: 800;
    }

    .kilowatts {
      margin: -4px 0 0;
      color: var(--brand-light);
      font-size: clamp(1.35rem, 1.75vw, 1.9rem);
      line-height: 1;
      font-weight: 800;
    }

    .case-study-card p:last-child {
      margin: 0;
      max-width: 48ch;
      color: var(--muted);
      font-size: 1.04rem;
      line-height: 1.55;
      font-weight: 500;
    }

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

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

    .ask-middle-header {
      max-width: 980px;
      margin: 0 auto 34px;
    }

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

    .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);
      line-height: 1.45;
      font-weight: 600;
    }

    .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 {
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 6px;
      outline: none;
      padding: 12px;
      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;
      border: none;
      border-radius: 4px;
      padding: 13px 28px;
      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 {
      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;
      opacity: 0.97;
    }

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

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

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

    @media (max-width: 620px) {
      .ad-links-grid,
      .case-study-grid { grid-template-columns: 1fr; }
      .ad-links-cta { width: 100%; min-width: 0; }
      .footer-mini-inner { justify-content: center; text-align: center; }
    }
  
/* Right-sized backgrounds for phones; original desktop rules remain intact. */
@media(max-width:767px){
.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;}
}
