/* GP Energy theme (2026-12-02) — loaded after all other stylesheets.
   Brand green from the GP Energy logo; layout per the "Green power for generations" hero mockup. */
:root {
    --color-accent: #A7E21B;
    --color-accent-soft: #C9F35C;
}

.nav__top-bar { display: none; }

/* ---------- logo ---------- */
.nav__logo img,
a.logo__link img {
    width: 360px;
    height: auto;
}
.footer__logo img {
    width: 320px;
    height: auto;
}

/* ---------- navigation ---------- */
.nav__link span {
    font-weight: 500;
    --height: 3px;
    --bottom: -12px;
}
.nav__item--active .nav__link span::after {
    background: var(--color-accent) !important;
}
.language-current,
.language-link {
    font-weight: 500;
}

/* ---------- hero ---------- */
.header__content {
    padding: 160px 70px 48px 70px;
}
.header__title {
    font-size: min(118px, 6.9vw);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: none;
}
.header__title .hl-accent { color: var(--color-accent); }
.header__title .hl-dot { color: var(--color-bg); }
.header__button { margin-top: 52px; }
.header__subtitle {
    font-weight: 500;
    font-size: min(32px, 2.2vw);
    line-height: 1.38;
    max-width: 430px;
    margin-top: auto;
}
.header__note {
    right: 52px;
    bottom: 56px;
    gap: 14px;
    font-weight: 500;
}
.header__note i {
    color: var(--color-accent) !important;
}

/* arrow inside pill buttons: always visible, black on green */
.circleBg-btn i {
    color: var(--color-fg);
}

@media (min-width: 1300px) {
    :root { --gap-nav-links: 72px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
    .nav__logo img, a.logo__link img { width: 260px; }
    :root { --gap-nav-left: 48px; --gap-nav-links: 28px; }
}

@media (max-width: 768px) {
    .nav__logo img,
    a.logo__link img {
        width: 210px !important;
    }
    .footer__logo img { width: 240px; }
    .header__content {
        padding: 104px 20px 132px 20px;
    }
    .header__note {
        bottom: 84px;
    }
    .header__subtitle {
        bottom: 128px !important;
    }
    .header__title {
        font-size: 13vw;
        letter-spacing: -0.025em;
    }
    .header__subtitle {
        font-size: 22px;
        max-width: 100%;
        margin-top: 0;
    }
    .nav__link span {
        --bottom: -6px;
    }
}

/* CTA block: brand green gradient instead of the old yellow */
.get-started {
    background: linear-gradient(to bottom, #C9F35C 0%, #DDF79A 25%, #EEF9D2 85%, #FBFEF4 100%);
}
.get-started__button i {
    color: var(--color-accent) !important;
}

/* ---------- text logo (replaces image logo, 2026-12-02) ---------- */
.gp-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    transition: color .3s ease;
}
.gp-wordmark span { color: inherit !important; }
.gp-wordmark__name {
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.02em;
}
.gp-wordmark__tagline {
    font-weight: 400;
    font-size: 15px;
    margin-top: 8px;
}
nav.active .nav__logo .gp-wordmark,
nav.active .nav__phone .gp-wordmark,
.gp-wordmark--dark {
    color: var(--color-fg);
}
.footer__logo .gp-wordmark__name { font-size: 40px; }
.footer__logo .gp-wordmark__tagline { font-size: 17px; }
@media (max-width: 768px) {
    .gp-wordmark__name { font-size: 24px; }
    .gp-wordmark__tagline { font-size: 12px; margin-top: 6px; }
    nav .nav__content .gp-wordmark { color: #fff !important; }
    .footer__logo .gp-wordmark__name { font-size: 30px; }
    .footer__logo .gp-wordmark__tagline { font-size: 14px; }
}

/* hero "Get in touch": transparent with white outline */
.header__button.circleBg-btn {
    --bg: transparent;
    --fg: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}
.header__button.circleBg-btn i {
    color: var(--color-fg) !important;
}
.header__button.circleBg-btn span { transition: color .3s ease; }
.header__button.circleBg-btn:hover { border-color: var(--color-accent); }
.header__button.circleBg-btn:hover span { color: var(--color-fg) !important; }

/* ---------- layout fixes (2026-12-02 review) ---------- */
/* footer columns pushed the page 7px wider than the viewport */
.footer__links{width:auto;flex:1 1 auto;min-width:0;gap:clamp(48px,6vw,120px);padding:0 0 0 40px}
.footer__column{flex-shrink:0}
.footer__subtitle,.footer__list a{white-space:nowrap}
/* partners block: same 60px gutter as the rest of the page, no forced line breaks */
section.partners .section-grid{padding:40px 60px !important}
.partners__title br{display:none}
.partners__title{max-width:15em}
.partners__info .p-margin{margin-top:0 !important;font-weight:600}
.rellax-wrapper{padding:0 14px}
/* help tabs: give the caption its text and room */
.help__description{max-width:440px;width:100%}
.help__description .section-text{max-width:100%}
/* CTA */
.get-started__title{line-height:1.05}
.get-started__description{max-width:44%}
.get-started__description .section-text{color:rgba(0,0,0,.62)}
@media (max-width:768px){
  .solutions{padding:0 20px}
  section.partners .section-grid,section.partners .partners__info{padding:40px 20px !important}
  .section-grid .section-text{max-width:100%}
  .get-started__title{font-size:44px !important}
  .get-started__title br{display:none}
  .get-started__description{max-width:none}
  .help__slider{flex:none;width:100%}
  .footer__links{padding:20px 0;flex:none;width:100%}
}

/* Solutions dropdown: text-only list (no preview images) */
.nav__submenu{padding:40px 60px 48px}
.submenu__title{margin-bottom:24px}
.submenu__cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0 48px}
.submenu__card a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid rgba(0,0,0,.1);text-decoration:none}
.submenu__subtitle{font-size:24px;font-weight:500;transition:color .25s ease}
.submenu__arrow{color:var(--color-fg) !important;font-size:18px;transition:transform .25s ease,color .25s ease}
.submenu__card a:hover .submenu__arrow{transform:translateX(6px);color:var(--color-accent) !important}
/* help tabs column must shrink with the viewport (overflowed at ~1024px) */
.help__info{min-width:0;flex:1 1 auto}
.help__slider{flex:0 0 46%;min-width:0}
@media (max-width:768px){.help__slider{flex:none;width:100%}.nav__submenu{padding:24px 20px}}
/* tab labels scale with the column so they never overflow */
.help__link{font-size:min(60px,4.2vw);width:fit-content;max-width:100%}

/* Solutions dropdown: vertical panel under the menu item (2026-12-02) */
@media (min-width:769px){
  .nav__submenu{left:var(--dd-left,400px);width:340px;padding:12px 28px 16px;border-radius:0 0 14px 14px;box-shadow:0 24px 48px -16px rgba(0,0,0,.25)}
  .nav__submenu .submenu__title{display:none}
  .submenu__cards{display:flex;flex-direction:column;gap:0}
  .submenu__card a{padding:14px 0}
  .submenu__card:last-child a{border-bottom:0}
  .submenu__subtitle{font-size:20px}
  .submenu__arrow{font-size:15px}
}
