/* ===== TC ENERGY BRAND CSS — zaladowany jako mu-plugin, priorytet 999 ===== */

/* HEADER */
#masthead,
.site-header,
.ast-desktop-header,
.ast-header-wrap {
  background-color: #0f1f36 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}

/* LOGO / NAZWA SERWISU */
.site-title a,
.ast-site-identity .site-title a {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.site-description {
  color: rgba(255,255,255,0.55) !important;
}

/* NAWIGACJA DESKTOP */
.ast-primary-menu-enabled .main-navigation .menu-item a,
.main-navigation a,
.ast-header-break-point .main-navigation a {
  color: rgba(255,255,255,0.88) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
}
.main-navigation .menu-item a:hover,
.main-navigation a:hover {
  color: #f0a500 !important;
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: #f0a500 !important;
}
.main-navigation .sub-menu {
  background: #0f1f36 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.ast-menu-toggle svg,
.ast-menu-toggle .menu-toggle-icon {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* BODY / TEKST */
body {
  color: #2c3e50 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* NAGŁÓWKI */
h1, .elementor-heading-title.elementor-size-xxl,
.elementor-heading-title.elementor-size-xl {
  color: #0f1f36 !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
h2 { color: #1e3a5f !important; font-weight: 700 !important; }
h3 { color: #1e3a5f !important; font-weight: 600 !important; }
h4, h5 { color: #1e3a5f !important; }
h6 {
  color: #d4920a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  margin-bottom: 4px !important;
}

/* LINKI */
a { color: #1e3a5f !important; }
a:hover { color: #d4920a !important; }
a[href^="tel:"] { color: #d4920a !important; font-weight: 700 !important; }

/* PRZYCISKI — Elementor */
.elementor-button-wrapper .elementor-button,
a.elementor-button,
.elementor-button,
.ast-button,
.wp-block-button__link {
  background: #f0a500 !important;
  color: #0f1f36 !important;
  border-color: #f0a500 !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  box-shadow: 0 3px 12px rgba(240,165,0,0.3) !important;
  transition: all 0.2s ease !important;
}
.elementor-button-wrapper .elementor-button:hover,
a.elementor-button:hover,
.elementor-button:hover {
  background: #d4920a !important;
  color: #0f1f36 !important;
  border-color: #d4920a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(240,165,0,0.4) !important;
}
/* Formularze — submit */
button[type="submit"],
input[type="submit"],
.wpforms-container .wpforms-submit-container button {
  background: #f0a500 !important;
  color: #0f1f36 !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  padding: 13px 28px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #d4920a !important;
}

/* IKONY SVG (FontAwesome via Elementor) */
.elementor-icon svg,
.elementor-icon i {
  fill: #f0a500 !important;
  color: #f0a500 !important;
}

/* BLOCKQUOTE */
blockquote {
  border-left: 4px solid #f0a500 !important;
  background: #f8f9fa !important;
  padding: 18px 22px !important;
  margin: 10px 0 22px !important;
  border-radius: 0 8px 8px 0 !important;
  font-style: normal !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}
blockquote p {
  margin: 0 !important;
  color: #2c3e50 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* FORMULARZE */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea,
.wpforms-container select {
  border: 2px solid #dde3ea !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease !important;
}
.wpforms-container input:focus,
.wpforms-container textarea:focus {
  border-color: #1e3a5f !important;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1) !important;
  outline: none !important;
}

/* FOOTER */
#colophon,
.site-footer,
.ast-footer-overlay,
footer.site-footer {
  background-color: #0f1f36 !important;
  border-top: 3px solid #f0a500 !important;
}
#colophon *,
.site-footer *,
footer.site-footer * {
  color: rgba(255,255,255,0.7) !important;
}
#colophon a,
.site-footer a,
footer.site-footer a {
  color: #f0a500 !important;
}
#colophon a:hover,
.site-footer a:hover {
  color: #ffffff !important;
}

/* DIVIDER */
.elementor-divider-separator {
  border-color: #f0a500 !important;
}

/* SEKCJE — alternating background */
.elementor-section:nth-child(even) > .elementor-container {
  /* subtelne rozroznienie sekcji */
}

/* STICKY HEADER */
.ast-sticky-active #masthead {
  background-color: rgba(15,31,54,0.97) !important;
}

/* MOBILE */
@media (max-width: 921px) {
  #masthead { background-color: #0f1f36 !important; }
  .ast-mobile-header-content { background-color: #0f1f36 !important; }
  .main-navigation { background: #152b4a !important; }
  .main-navigation li { border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
}
@media (max-width: 768px) {
  blockquote { padding: 14px 16px !important; }
}

/* === TC LANDING PAGE — full width override === */
body.tcp-page .ast-container { max-width:100%!important; padding:0!important; }
body.tcp-page #content { padding-top:0!important; }
body.tcp-page .site-content .ast-container { padding:0!important; }
.tcp * { box-sizing:border-box; margin:0; padding:0; }

/* === TC ENERGY LANDING PAGE — color fixes (higher specificity) === */
body.tcp-page h1,
body.tcp-page h2,
body.tcp-page h3,
body.tcp-page h4,
body.tcp-page h5,
body.tcp-page h6 { color: inherit !important; }

body.tcp-page .tcp-h1 { color: #ffffff !important; font-family: 'Barlow Condensed', sans-serif !important; }
body.tcp-page .tcp-amber { color: #f0a500 !important; }

body.tcp-page a { color: inherit !important; }
body.tcp-page .tcp-btn-a,
body.tcp-page .tcp-btn-a:hover { color: #0a1628 !important; }
body.tcp-page .tcp-btn-b,
body.tcp-page .tcp-btn-b:hover { color: rgba(255,255,255,.88) !important; }

/* CTA Strip — telefon i email na bursztynowym tle */
body.tcp-page .tcp-cta-strip h2 { color: #0a1628 !important; }
body.tcp-page .tcp-cta-strip p { color: rgba(10,22,40,.65) !important; }
body.tcp-page .tcp-phone,
body.tcp-page .tcp-phone:hover { color: #0a1628 !important; font-weight: 800 !important; }
body.tcp-page .tcp-email,
body.tcp-page .tcp-email:hover { color: rgba(10,22,40,.65) !important; }
body.tcp-page .tcp-cta-dark,
body.tcp-page .tcp-cta-dark:hover { color: #f0a500 !important; }

/* Segment cards */
body.tcp-page .tcp-seg-t { color: #0f1f36 !important; }
body.tcp-page .tcp-seg-l { color: #607080 !important; }
body.tcp-page .tcp-st { color: #0f1f36 !important; }
body.tcp-page .tcp-cn { color: #0f1f36 !important; }
body.tcp-page .tcp-cd { color: #6a7a8a !important; }
body.tcp-page .tcp-ss { color: #607080 !important; }

/* Why Us — dark section */
body.tcp-page .tcp-why .tcp-st { color: #ffffff !important; }
body.tcp-page .tcp-why .tcp-ss { color: rgba(255,255,255,.5) !important; }
body.tcp-page .tcp-wi-t { color: #ffffff !important; }
body.tcp-page .tcp-wi-d { color: rgba(255,255,255,.45) !important; }

/* PV dark section */
body.tcp-page .tcp-pv-t { color: #ffffff !important; }
body.tcp-page .tcp-pv-d { color: rgba(255,255,255,.65) !important; }
body.tcp-page .tcp-pv-in strong { color: #ffffff !important; }
body.tcp-page .tcp-pv-in span { color: rgba(255,255,255,.45) !important; }
body.tcp-page .tcp-pv-btn { color: #0a1628 !important; }

/* Hide Astra default header on TCP landing page */
body.tcp-page #masthead,
body.tcp-page .site-header,
body.tcp-page .ast-site-header-wrap,
body.tcp-page #ast-fixed-header { display: none !important; }

/* Remove top padding that Astra adds for sticky header */
body.tcp-page .ast-header-break-point { padding-top: 0 !important; }
body.tcp-page .site { padding-top: 0 !important; }

/* Nav links — override global a color */
body.tcp-page .tcp-nav-links a { color: rgba(255,255,255,.65) !important; }
body.tcp-page .tcp-nav-links a:hover { color: #fff !important; background: rgba(255,255,255,.07) !important; }
body.tcp-page .tcp-nav-cta { color: #0a1628 !important; background: #f0a500 !important; }
body.tcp-page .tcp-nav-cta:hover { background: #d4920a !important; color: #0a1628 !important; }
body.tcp-page .tcp-nav-phone { color: rgba(255,255,255,.55) !important; }
body.tcp-page .tcp-mob-menu a { color: #fff !important; }
body.tcp-page .tcp-mob-menu a.mob-cta { color: #0a1628 !important; }
