/* Shared Energy Solutions page chrome: header, hero strip, WhatsApp button. Loaded by every page via site-chrome.php. */
.ses-app-header, .ses-app-nav, .ses-app-nav a, .se-group-footer, .se-group-footer * { font-family: Optima, Candara, "Segoe UI", Arial, sans-serif; }

.ses-app-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: 92px;
  background: #eef0f3;
}

.ses-app-logo {
  width: min(300px, 42vw);
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 18px 44px 18px 18px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
}

.ses-app-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.ses-app-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 18px 24px;
}

.ses-app-nav a {
  color: #1d2a44;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.ses-app-nav a[aria-current="page"],
.ses-app-nav a:hover {
  color: #3F62BB;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.ses-products-hero {
  position: relative;
  min-height: 265px;
  display: grid;
  place-items: center;
  padding: 54px 20px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 31, 70, 0.68), rgba(46, 83, 150, 0.42)),
    url("../images/site/ses-products-hero.jpg") center / cover;
}

.ses-products-hero.is-category {
  min-height: 150px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(239, 244, 252, 0.9)),
    url("../images/site/ses-products-hero.jpg") center / cover;
}

.ses-products-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.ses-products-hero.is-category h1 {
  color: #3F62BB;
  text-transform: none;
  text-shadow: none;
}

.ses-language-chip {
  position: absolute;
  right: 0;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 31, 64, 0.14);
  color: #1f2f56;
  font-size: 20px;
  font-weight: 800;
}

.ses-language-flag {
  font-size: 24px;
  line-height: 1;
}

.ses-floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 20;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 32px rgba(12, 46, 98, 0.3);
  text-decoration: none;
}

.ses-floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .ses-app-header { display: grid; }
  .ses-app-logo { width: min(290px, 76vw); }
}

@media (max-width: 640px) {
  .ses-products-hero { min-height: 210px; }
  .ses-language-chip { position: static; margin-top: 24px; }
}


/* ---- Header actions: email icon + "Talk to an Engineer" ---- */
.ses-app-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 0 clamp(16px, 3vw, 36px) 0 8px;
}

.ses-mail-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.ses-mail-btn:hover,
.ses-mail-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.ses-mail-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ses-cta-btn {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #3F62BB 0%, #8b3f9a 55%, #e30613 100%);
  color: #fff;
  font: 800 14px/1 Optima, Candara, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(63, 98, 187, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ses-cta-btn:hover,
.ses-cta-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.3);
}

/* ---- Lead dialog ---- */
.ses-lead {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(17, 31, 64, 0.4);
  font-family: Optima, Candara, "Segoe UI", Arial, sans-serif;
  color: #1f2f56;
}

.ses-lead::backdrop { background: rgba(16, 36, 76, 0.6); }

.ses-lead__form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 30px 28px 26px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #3F62BB, #e30613) 1;
}

.ses-lead__form h2 { margin: 0; font-size: 26px; color: #3F62BB; }
.ses-lead__eyebrow { margin: 0; color: #e30613; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ses-lead__intro { margin: 0; color: #5a6682; font-size: 14px; line-height: 1.5; }
.ses-lead__intro a { color: #3F62BB; font-weight: 700; }

.ses-lead label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.ses-lead label small { color: #7a859c; font-weight: 400; }

.ses-lead input[type="text"],
.ses-lead input[type="email"],
.ses-lead input[type="tel"],
.ses-lead textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #cfd6e6;
  border-radius: 8px;
  font: 400 15px Optima, Candara, "Segoe UI", Arial, sans-serif;
  color: #1f2f56;
}

.ses-lead input:focus,
.ses-lead textarea:focus { outline: 2px solid #3F62BB; outline-offset: 1px; border-color: transparent; }

.ses-lead .ses-lead__check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ses-lead .ses-lead__check input { width: 18px; height: 18px; accent-color: #3F62BB; }
.ses-lead__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.ses-lead__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  color: #7a859c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.ses-lead__submit {
  padding: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #3F62BB, #e30613);
  color: #fff;
  font: 800 15px Optima, Candara, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.ses-lead__submit:disabled { opacity: 0.6; cursor: wait; }
.ses-lead__status { min-height: 1.2em; margin: 0; font-size: 14px; }
.ses-lead__status.is-ok { color: #1a7f45; font-weight: 700; }
.ses-lead__status.is-error { color: #c1121f; font-weight: 700; }

/* ---- Thin Spenomatic gradients (brand blue #3F62BB to red #e30613) ---- */
.ses-app-header { border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, #3F62BB 0%, #8b3f9a 50%, #e30613 100%) 1; }

.ses-products-shell > .ses-category-tabs,
.ses-products-intro { position: relative; }

.ses-products-intro::after,
.ses-section-heading h2::after,
.ses-related-products > h2::after,
.ses-page-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3F62BB, #e30613);
}

.ses-product-card,
.ses-related-card,
.ses-news-card {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #3F62BB, #e30613) 1 / 2px 0 0 0;
}

.ses-presentation-card,
.ses-content-band {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(63, 98, 187, 0.35) 30%, rgba(227, 6, 19, 0.3) 70%, transparent) 1;
}

.ses-presentation-card:first-child,
.ses-content-band:first-child { border-image: none; border-top: 0; }

.se-group-footer { border-top: 3px solid transparent; border-image: linear-gradient(90deg, #3F62BB, #e30613) 1; }

/* Static Elementor pages: hairline between top-level sections */
.elementor-top-section + .elementor-top-section,
.e-con.e-parent + .e-con.e-parent {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(63, 98, 187, 0.35) 30%, rgba(227, 6, 19, 0.3) 70%, transparent) 1;
}

@media (max-width: 900px) {
  .ses-app-actions { margin: 0; padding: 0 16px 16px; flex-wrap: wrap; }
}

.ses-lead label b { color: #e30613; }
.ses-products-intro::after { margin-inline: auto; }

@media (min-width: 1100px) {
  .ses-app-nav { flex-wrap: nowrap; gap: clamp(12px, 1.7vw, 26px); padding-inline: 18px; }
  .ses-app-nav a { font-size: 14px; white-space: nowrap; }
}

.ses-lead__wa { display: inline-flex; align-items: center; gap: 10px; align-self: start; padding: 9px 16px; border-radius: 999px; background: #e8f9ef; color: #128c4a; font-size: 14px; font-weight: 800; text-decoration: none; }
.ses-lead__wa:hover, .ses-lead__wa:focus-visible { background: #25d366; color: #fff; }
.ses-lead__wa svg { width: 20px; height: 20px; fill: currentColor; }

.ses-service-cta { margin: 18px 0 4px; }
.ses-service-cta .ses-cta-btn { padding: 14px 28px; font-size: 15px; }

.ses-thanks { max-width: 720px; margin: 0 auto; padding: 56px 20px 72px; text-align: center; font-family: Optima, Candara, "Segoe UI", Arial, sans-serif; color: #29364d; }
.ses-thanks h2 { margin: 0 0 12px; color: #3F62BB; font-size: 32px; }
.ses-thanks h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: linear-gradient(90deg, #3F62BB, #e30613); }
.ses-thanks p { font-size: 17px; line-height: 1.65; }
.ses-thanks__next { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.ses-thanks__next a { display: block; padding: 14px 18px; border: 1px solid rgba(63, 98, 187, 0.2); border-radius: 10px; color: #3F62BB; font-weight: 800; text-decoration: none; }
.ses-thanks__next a:hover { border-color: #3F62BB; box-shadow: 0 8px 22px rgba(63, 98, 187, 0.14); }
.ses-thanks .ses-cta-btn { display: inline-block; text-decoration: none; }

/* ---- About Us: banner with the product range blended into the plant background + SESL logo, photo beside the text ---- */
.elementor-element-ad1c1c5 { background: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; --padding-top: 0px; --padding-bottom: 0px; --margin-top: 0px; --margin-bottom: 0px; }
.elementor-element-ad1c1c5 > .e-con-inner { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.ses-about-banner { position: relative; width: 100%; margin: 0; overflow: hidden; background: #dfe8f8; }
.ses-about-banner__image { display: block; width: 100%; height: clamp(260px, 42vw, 620px); object-fit: cover; object-position: 50% 60%; }
.ses-about-banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.ses-about-banner__logo { position: absolute; top: clamp(12px, 2vw, 28px); left: clamp(12px, 2vw, 28px); z-index: 2; width: clamp(130px, 18vw, 250px); height: auto; padding: 12px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 28px rgba(17, 31, 64, 0.22); }

.elementor-element-3ebdbe1 > .e-con-inner { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; column-gap: clamp(24px, 4vw, 56px); align-items: start; }
.elementor-element-3ebdbe1 > .e-con-inner > * { grid-column: 2; min-width: 0; }
.elementor-element-3ebdbe1 > .e-con-inner > .ses-about-photo { grid-column: 1; grid-row: 1 / span 3; }
.ses-about-photo { margin: 0; position: sticky; top: 24px; }
.ses-about-photo img { display: block; width: 100%; height: auto; border-radius: 14px; border-top: 3px solid transparent; border-image: linear-gradient(90deg, #3F62BB, #e30613) 1 / 3px 0 0 0; box-shadow: 0 16px 40px rgba(17, 31, 64, 0.16); }
.ses-about-photo figcaption { margin-top: 8px; color: #657187; font-size: 13px; text-align: center; }
@media (max-width: 800px) {
  .elementor-element-3ebdbe1 > .e-con-inner { display: block; }
  .ses-about-photo { position: static; margin-bottom: 20px; }
}
.elementor-71 .elementor-element.elementor-element-ad1c1c5 { --min-height: 0px; min-height: 0 !important; background-image: none !important; }
.elementor-71 .elementor-element.elementor-element-d433680 { display: none !important; }
.elementor-element-3ebdbe1 .elementor-element-400c696 { width: 100% !important; max-width: none !important; --container-widget-width: 100%; }
.elementor-element-3ebdbe1 .elementor-element-400c696 .e-con-inner { max-width: none; padding: 0; }

/* light header: dark-on-light email button */
.ses-mail-btn { border-color: rgba(29, 42, 68, 0.35); color: #1d2a44; background: rgba(255, 255, 255, 0.7); }
.ses-mail-btn:hover, .ses-mail-btn:focus-visible { background: #fff; border-color: #3F62BB; color: #3F62BB; }
@media (min-width: 1100px) {
  .ses-app-actions { flex-wrap: nowrap; flex-shrink: 0; }
  .ses-app-nav { flex-shrink: 1; min-width: 0; }
}

/* ---- Project gallery in the products theme ---- */
body.ses-products-app main.ses-gallery-main { width: min(1120px, calc(100% - 36px)); max-width: none; margin: 0 auto; padding: clamp(44px, 7vw, 80px) 0; font-family: Optima, Candara, "Segoe UI", Arial, sans-serif; }
body.ses-products-app .ses-gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin: 0 0 30px; }
body.ses-products-app .ses-gallery-filters button { min-width: 148px; padding: 14px 18px; border: 1px solid #e3e5eb; border-radius: 0; background: #f1f1f1; color: #54595f; font: 800 14px Optima, Candara, "Segoe UI", Arial, sans-serif; text-align: center; cursor: pointer; }
body.ses-products-app .ses-gallery-filters button[aria-pressed="true"],
body.ses-products-app .ses-gallery-filters button:hover { background: #3F62BB; border-color: #3F62BB; color: #fff; }
body.ses-products-app .ses-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body.ses-products-app .ses-gallery-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(21, 48, 122, 0.12); border-top: 2px solid transparent; border-image: linear-gradient(90deg, #3F62BB, #e30613) 1 / 2px 0 0 0; border-radius: 0; background: #fff; box-shadow: 0 8px 20px rgba(17, 31, 64, 0.12); transition: transform 180ms ease, box-shadow 180ms ease; }
body.ses-products-app .ses-gallery-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17, 31, 64, 0.18); }
body.ses-products-app .ses-gallery-card > img { width: 100%; height: 240px; object-fit: cover; background: #eef1f8; }
body.ses-products-app .ses-gallery-card > div { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
body.ses-products-app .ses-gallery-card h2 { margin: 0; color: #3F62BB; font-size: 18px; line-height: 1.3; }
body.ses-products-app .ses-gallery-card small { color: #657087; font-size: 13px; line-height: 1.5; }
body.ses-products-app .ses-gallery-card a { display: inline-block; margin: 6px 14px 0 0; color: #3F62BB; font-size: 14px; font-weight: 800; text-decoration: none; }
body.ses-products-app .ses-gallery-card a:hover { color: #e30613; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { body.ses-products-app .ses-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.ses-products-app .ses-gallery-grid { grid-template-columns: 1fr; } body.ses-products-app .ses-gallery-filters button { min-width: 0; flex: 1 1 45%; } }
body.ses-products-app .ses-products-hero h1, body.ses-products-app .ses-products-intro { font-family: Optima, Candara, "Segoe UI", Arial, sans-serif; }
body.ses-products-app .ses-gallery-main .ses-products-intro { max-width: 780px; margin: 0 auto 34px; color: #657086; font-size: 16px; line-height: 1.7; text-align: center; }

.ses-claim { margin: 18px 0 0; padding: 14px 18px; border-left: 4px solid transparent; border-image: linear-gradient(180deg, #3F62BB, #e30613) 1 / 0 0 0 4px; background: #f4f7fd; color: #29364d; line-height: 1.6; }
.ses-claim strong { color: #3F62BB; }
body.ses-products-app .ses-gallery-card > a { display: block; line-height: 0; }
body.ses-products-app .ses-gallery-card > a > img { width: 100%; height: 260px; object-fit: cover; background: #eef1f8; transition: transform 240ms ease; }
body.ses-products-app .ses-gallery-card:hover > a > img { transform: scale(1.03); }
body.ses-products-app .ses-gallery-card { overflow: hidden; }
body.ses-products-app .ses-gallery-card > a { margin: 0; }

.ses-engineer-cta { border: 1px solid rgba(63, 98, 187, 0.14); border-top: 3px solid transparent; border-image: linear-gradient(90deg, #3F62BB, #e30613) 1 / 3px 0 0 0; background: #f4f7fd !important; font-family: Optima, Candara, "Segoe UI", Arial, sans-serif; }
.ses-engineer-cta h2 { color: #3F62BB; }
.ses-engineer-cta .ses-review-kicker { color: #e30613; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.ses-engineer-cta--reverse { grid-template-columns: 1fr minmax(180px, 300px); }
.ses-engineer-cta--reverse img { order: 2; }
@media (max-width: 760px) { .ses-engineer-cta--reverse { grid-template-columns: 1fr; } .ses-engineer-cta--reverse img { order: 0; } }

.ses-search li a { align-items: flex-start; }
.ses-search .ses-search-title { display: grid; gap: 4px; min-width: 0; }
.ses-search .ses-search-title strong { color: #3F62BB; font-size: 1rem; }
.ses-search .ses-search-snippet { color: #536675; font-size: 0.88rem; line-height: 1.45; }
.ses-search mark { background: #fff1b8; color: inherit; padding: 0 2px; border-radius: 2px; }
.ses-search small { flex-shrink: 0; padding: 2px 8px; border-radius: 999px; background: #eef2fb; color: #3F62BB; font-weight: 800; }
.ses-search ul { max-height: 55vh; overflow: auto; }
