/*
 Theme Name:   Smart Solar Water Heater
 Theme URI:    https://smartsolarwaterheater.com
 Description:  A Kadence Theme Child Theme
 Author:       Hive Digital
 Author URI:   https://www.hivedigital.com
 Text Domain:  hivedigital
 Template:     kadence
 Version:      1.1.0
*/

:root {
--sms-dur: .45s; 
--sms-dur-slow: .7s;
}

html {
	scroll-behavior: smooth;
}

#wrapper {
	margin-left:auto;
	margin-right:auto;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
a {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6 {
	margin-top: .5em;
	margin-bottom: .5em;
	text-wrap: balance;
	letter-spacing:-0.5px;
}
.single-content p {
	margin-top: 0;
	margin-bottom: var(--global-sm-spacing)
}

/* Images */
.aspect-ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.aspect-ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.aspect-ratio-3-2 {
	aspect-ratio: 3 / 2;
}

.aspect-ratio-1-1 {
	aspect-ratio: 1 / 1;
}

/* Search Block */
.wp-block-search .wp-block-search__input {
	padding: 6px 12px;
	font-size: 14px;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border: 0;
}

.wp-block-search__button {
	padding: 2px;
}

@media all and (max-width: 768px) {
	.wp-block-search__inside-wrapper {
		width: 100% !important;
	}

	.wp-block-search {
		display: block;
	}
}

/* =========================================================
   SMS — custom CSS for things Kadence settings can't do.
   Grows one section per row chunk. Paste into
   Customizer > Additional CSS, or enqueue from the child theme.
   ========================================================= */

/* ---------- ROW 1 · HERO (.sms-hero) ---------- */

/* Multi-stop gradient overlay (Kadence stores a solid palette3 overlay as fallback) */
.sms-hero { overflow: hidden; isolation: isolate; }
.sms-hero .kt-row-layout-overlay {
  background:
    linear-gradient(95deg, rgba(11,31,58,.74) 0%, rgba(11,31,58,.80) 18%, rgba(11,31,58,.10) 72%, rgba(11,31,58,.05) 100%),
    linear-gradient(0deg, rgba(11,31,58,.55) 0%, transparent 45%) !important;
  opacity: 1 !important;
  z-index: 0;
}
@media (max-width: 767px) {
  .sms-hero .kt-row-layout-overlay {
    background: linear-gradient(0deg, rgba(11,31,58,.95) 0%, rgba(11,31,58,.78) 55%, rgba(11,31,58,.45) 100%) !important;
  }
}
.sms-hero .kt-row-column-wrap { position: relative; z-index: 2; }

/* Rotating sunburst — the logo's rays, top-right corner */
.sms-hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: min(56vw, 700px); aspect-ratio: 1; right: -20%; top: -34%; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F5A829' stroke-width='2.2' stroke-linecap='round'%3E%3Cline x1='134.0' y1='100.0' x2='185.0' y2='100.0' stroke-opacity='0.55'/%3E%3Cline x1='133.6' y1='105.3' x2='198.6' y2='115.6' stroke-opacity='0.90'/%3E%3Cline x1='132.3' y1='110.5' x2='177.2' y2='125.1' stroke-opacity='0.99'/%3E%3Cline x1='130.3' y1='115.4' x2='163.4' y2='132.3' stroke-opacity='0.74'/%3E%3Cline x1='127.5' y1='120.0' x2='174.8' y2='154.3' stroke-opacity='0.75'/%3E%3Cline x1='124.0' y1='124.0' x2='168.6' y2='168.6' stroke-opacity='0.99'/%3E%3Cline x1='120.0' y1='127.5' x2='143.8' y2='160.3' stroke-opacity='0.90'/%3E%3Cline x1='115.4' y1='130.3' x2='134.4' y2='167.5' stroke-opacity='0.56'/%3E%3Cline x1='110.5' y1='132.3' x2='130.2' y2='193.1' stroke-opacity='0.91'/%3E%3Cline x1='105.3' y1='133.6' x2='114.2' y2='189.8' stroke-opacity='0.99'/%3E%3Cline x1='100.0' y1='134.0' x2='100.0' y2='170.6' stroke-opacity='0.74'/%3E%3Cline x1='94.7' y1='133.6' x2='87.1' y2='181.7' stroke-opacity='0.76'/%3E%3Cline x1='89.5' y1='132.3' x2='69.1' y2='195.1' stroke-opacity='0.99'/%3E%3Cline x1='84.6' y1='130.3' x2='62.2' y2='174.3' stroke-opacity='0.89'/%3E%3Cline x1='80.0' y1='127.5' x2='58.6' y2='157.0' stroke-opacity='0.57'/%3E%3Cline x1='76.0' y1='124.0' x2='36.1' y2='163.9' stroke-opacity='0.91'/%3E%3Cline x1='72.5' y1='120.0' x2='20.6' y2='157.7' stroke-opacity='0.98'/%3E%3Cline x1='69.7' y1='115.4' x2='32.1' y2='134.6' stroke-opacity='0.73'/%3E%3Cline x1='67.7' y1='110.5' x2='29.6' y2='122.9' stroke-opacity='0.76'/%3E%3Cline x1='66.4' y1='105.3' x2='4.6' y2='115.1' stroke-opacity='0.99'/%3E%3Cline x1='66.0' y1='100.0' x2='7.1' y2='100.0' stroke-opacity='0.89'/%3E%3Cline x1='66.4' y1='94.7' x2='29.5' y2='88.8' stroke-opacity='0.57'/%3E%3Cline x1='67.7' y1='89.5' x2='23.4' y2='75.1' stroke-opacity='0.92'/%3E%3Cline x1='69.7' y1='84.6' x2='11.1' y2='54.7' stroke-opacity='0.98'/%3E%3Cline x1='72.5' y1='80.0' x2='30.7' y2='49.7' stroke-opacity='0.72'/%3E%3Cline x1='76.0' y1='76.0' x2='50.5' y2='50.5' stroke-opacity='0.77'/%3E%3Cline x1='80.0' y1='72.5' x2='48.1' y2='28.6' stroke-opacity='0.99'/%3E%3Cline x1='84.6' y1='69.7' x2='55.0' y2='11.7' stroke-opacity='0.88'/%3E%3Cline x1='89.5' y1='67.7' x2='75.9' y2='25.7' stroke-opacity='0.58'/%3E%3Cline x1='94.7' y1='66.4' x2='88.6' y2='28.2' stroke-opacity='0.92'/%3E%3Cline x1='100.0' y1='66.0' x2='100.0' y2='4.9' stroke-opacity='0.98'/%3E%3Cline x1='105.3' y1='66.4' x2='114.8' y2='6.4' stroke-opacity='0.71'/%3E%3Cline x1='110.5' y1='67.7' x2='122.4' y2='31.1' stroke-opacity='0.78'/%3E%3Cline x1='115.4' y1='69.7' x2='135.6' y2='30.1' stroke-opacity='1.00'/%3E%3Cline x1='120.0' y1='72.5' x2='158.3' y2='19.7' stroke-opacity='0.88'/%3fE%3Cline x1='124.0' y1='76.0' x2='162.1' y2='37.9' stroke-opacity='0.59'/%3E%3Cline x1='127.5' y1='80.0' x2='156.7' y2='58.8' stroke-opacity='0.92'/%3E%3Cline x1='130.3' y1='84.6' x2='176.6' y2='60.9' stroke-opacity='0.98'/%3E%3Cline x1='132.3' y1='89.5' x2='194.8' y2='69.2' stroke-opacity='0.71'/%3E%3Cline x1='133.6' y1='94.7' x2='179.2' y2='87.5' stroke-opacity='0.78'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: sms-spin 90s linear infinite;
}
@keyframes sms-spin { to { transform: rotate(360deg); } }

/* Scroll cue (desktop only) */
.sms-hero::after {
  content: ""; position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
  background: linear-gradient(var(--global-palette2), var(--global-palette2)) 50% 8px / 4px 8px no-repeat;
  animation: sms-cue 1.8s cubic-bezier(.22,.61,.36,1) infinite;
}
@keyframes sms-cue { 0% { background-position: 50% 8px; } 70% { background-position: 50% 22px; } 100% { background-position: 50% 8px; } }
@media (max-width: 767px) { .sms-hero::after { display: none; } }

/* Eyebrow rule */
.sms-eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.sms-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

/* Line lengths */
.sms-hero-title { max-width: 20ch; }
.sms-hero-title em { font-style: normal; color: var(--global-palette2); }
.sms-hero-lede { max-width: 55ch; }
.sms-hero-meta strong { color: var(--global-palette9); }

/* Buttons: primary follows global Kadence button style; glass is custom */
.sms-hero .kb-buttons-wrap { gap: .8rem; }
.sms-btn-glass,
.sms-btn-glass .kb-button,
a.sms-btn-glass {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sms-btn-glass:hover,
.sms-btn-glass .kb-button:hover { background: rgba(255,255,255,.22) !important; }

/* ---------- MOTION: one orchestrated load sequence ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Title: hidden until JS splits it into words; shows anyway after .6s if JS never runs */
  .sms-hero-title:not(.sms-split) { opacity: 0; animation: sms-show 0s .6s forwards; }
  .sms-hero-title .sms-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
  .sms-hero-title .sms-w > span { display: inline-block; transform: translateY(110%); animation: sms-rise .55s cubic-bezier(.22,.61,.36,1) forwards; }

  .sms-fade, .sms-hero .kb-buttons-wrap { opacity: 0; transform: translateY(20px); animation: sms-fade .5s cubic-bezier(.22,.61,.36,1) forwards; }
  .sms-d1 { animation-delay: .1s; }
  .sms-d2 { animation-delay: .3s; }
  .sms-hero .kb-buttons-wrap { animation-delay: .38s; }
  .sms-d4 { animation-delay: .45s; }
}
@keyframes sms-show { to { opacity: 1; } }
@keyframes sms-rise { to { transform: none; } }
@keyframes sms-fade { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .sms-hero::before, .sms-hero::after { animation: none; }
}


/* Hover lift + smooth transition + focus ring, all Kadence buttons */
.kb-button, .button, .wp-block-button__link {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), background-color .25s, border-color .25s, box-shadow .25s;
}
.kb-button:hover, .button:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.kb-button:focus-visible, .button:focus-visible, .wp-block-button__link:focus-visible {
  outline: 3px solid var(--global-palette1); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .kb-button:hover, .button:hover, .wp-block-button__link:hover { transform: none; }
}

/* Floating pill header */
.site-header .site-main-header-wrap .site-header-row-container-inner {
  max-width: 1240px; margin: 14px auto 0; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 8px 30px -12px rgba(11,31,58,.35);
  transition: background-color .35s, box-shadow .35s, border-color .35s;
}
.item-is-stuck .site-main-header-wrap .site-header-row-container-inner {
  background: rgba(255,255,255,.94); border-color: var(--global-palette7);
  box-shadow: 0 14px 40px -16px rgba(11,31,58,.4);
}

/* Nav: pill hover + orange underline */
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  position: relative; padding: 0.55rem 0.8rem;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px;
  background: var(--global-palette2); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a::after { transform: scaleX(1); }
.main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: var(--global-palette1); }
@media (prefers-reduced-motion: reduce) {
  .main-navigation .primary-menu-container > ul > li.menu-item > a::after { transition: none; }
}


/* ---------- ROW 2 · TRUST MARQUEE (.sms-marquee) ---------- */
.sms-marquee { overflow: hidden; }
/* icon list becomes one horizontal track, twice the visible width, sliding -50% */
.sms-marquee .kt-svg-icon-list {
  display: flex!important; width: max-content; flex-wrap: nowrap; gap: 30px!important;
  margin: 0!important; padding: 0!important; align-items: center;
  animation: sms-marq 38s linear infinite;
}
.sms-marquee:hover .kt-svg-icon-list { animation-play-state: paused; }
.sms-marquee .kt-svg-icon-list-item-wrap {
  display: inline-flex; align-items: center; white-space: nowrap;
  margin: 0; padding: 0 1.4rem;
}

@keyframes sms-marq { to { transform: translateX(-50%); } }
 
/* reduced motion: stop the scroll, wrap onto lines, drop the duplicate half */
@media (prefers-reduced-motion: reduce) {
  .sms-marquee .kt-svg-icon-list { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .sms-marquee .kt-svg-icon-list-item-wrap[aria-hidden="true"] { display: none; }
}

/* ---------- ROW 3 · STATS (.sms-stats-row / .sms-stat) ---------- */
/* bordered container with hairline dividers between the four cells */
.sms-stats-row > .kt-row-column-wrap,
.sms-stats-row .kt-row-layout-inner {
  border: 1px solid var(--global-palette7); border-radius: 14px; overflow: hidden;
  background: var(--global-palette9); gap: 0 !important;
}
.sms-stat { background: var(--global-palette9); }
.sms-stat .kt-inside-inner-col { padding: clamp(1.4rem, 3vw, 2.2rem); }
/* vertical dividers on desktop (every cell except the first) */
.sms-stat + .sms-stat { border-left: 1px solid var(--global-palette7); }

/* orange accent bar above each number */
.sms-stat .kt-inside-inner-col::before {
  content: ""; display: block; width: 36px; height: 3px; background: var(--global-palette2);
  margin-bottom: 1.1rem; transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.22,.61,.36,1) .08s;
}
.sms-stat.sms-in .kt-inside-inner-col::before { transform: scaleX(1); }

/* number + unit */
.sms-count { line-height: 1; }
.sms-count .sms-unit { font-size: .45em; color: var(--global-palette1); margin-left: .12em; font-weight: 800; letter-spacing: 0; }

/* tablet: 2x2 — dividers reflow */
@media (max-width: 1024px) {
  .sms-stat:nth-child(3) { border-left: 0; }
  .sms-stat:nth-child(3), .sms-stat:nth-child(4) { border-top: 1px solid var(--global-palette7); }
}
/* mobile: single column — switch to horizontal dividers */
@media (max-width: 767px) {
  .sms-stat + .sms-stat { border-left: 0; border-top: 1px solid var(--global-palette7); }
  .sms-stat:nth-child(3) { border-top: 1px solid var(--global-palette7); }
}
@media (prefers-reduced-motion: reduce) {
  .sms-stat .kt-inside-inner-col::before { transition: none; transform: scaleX(1); }
}

/* ======================================================
   ROW 4 · FEATURE — paste at END of sms-custom.css
   (.sms-rv and .sms-wipe are shared reveal classes;
    rows 5+ reuse them, so they live in this block once)
   ====================================================== */

/* generic scroll-reveal (rows 4+) */
.sms-rv { opacity: 0; transform: translateY(16px); transition: opacity var(--sms-dur) cubic-bezier(.22,.61,.36,1), transform var(--sms-dur) cubic-bezier(.22,.61,.36,1); }
.sms-rv.sms-in { opacity: 1; transform: none; }


/* image wipe reveal (rows 4+) */
.sms-anim .sms-wipe { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1.1s cubic-bezier(.22,.61,.36,1); }
.sms-wipe.sms-in { clip-path: inset(0 0 0 0 round 18px); }
.sms-wipe img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* kicker: short rule before the label */
.sms-kicker { display: inline-flex; align-items: center; gap: .6rem; }
.sms-kicker::before { content: ""; width: 22px; height: 2px; background: var(--global-palette2); flex: none; }

.sms-head { max-width: 17ch; }
.sms-lead { max-width: 48ch; }

/* pull quote uses the heading font (tag is div, so force it here) */
.sms-pull { font-family: var(--global-heading-font-family); letter-spacing: -.02em; max-width: 24ch;
  padding-left: 1.1rem; border-left: 3px solid var(--global-palette2); }

/* ticks: tinted check bubbles */
.sms-ticks .kt-svg-icon-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.sms-ticks .kt-svg-icon-list li { list-style: none; margin: 0; }
.sms-ticks .kt-svg-icon-list-item-wrap { align-items: flex-start; gap: .75rem; color: var(--global-palette4); font-weight: 500; }
.sms-ticks .kt-svg-icon-list-single { color: var(--global-palette1); background: rgba(29,97,178,.10);
  border-radius: 50%; padding: 3px; width: 24px; height: 24px; box-sizing: border-box; flex: none;
  display: inline-flex; align-items: center; justify-content: center; }

/* media column + floating chip */
.sms-feature-media .kt-inside-inner-col { position: relative; }
.sms-float-chip { position: absolute; left: -18px; bottom: -22px; z-index: 2;
  background: var(--global-palette9); border-radius: 16px; padding: .9rem 1.1rem 1rem 4.2rem;
  box-shadow: 0 1px 2px rgba(11,31,58,.06), 0 18px 40px -18px rgba(11,31,58,.22);
  color: var(--global-palette6); line-height: 1.3; max-width: 18rem;
  animation: sms-bob 5s ease-in-out infinite; }
.sms-float-chip strong { color: var(--global-palette3); font-weight: 700; }
.sms-float-chip::before { content: ""; position: absolute; left: 1rem; top: 1rem; width: 40px; height: 40px;
  border-radius: 12px; background: var(--sms-sun-tint, #FEF4E2);
  background-image: radial-gradient(circle at 50% 50%, var(--global-palette2) 0 30%, transparent 32%); }
@keyframes sms-bob { 50% { transform: translateY(-8px); } }
@media (max-width: 600px) { .sms-float-chip {  margin-top: 1.4rem; max-width: none; animation: none; left:auto; } }

@media (prefers-reduced-motion: reduce) {
  .sms-rv { opacity: 1; transform: none; transition: none; }
  .sms-wipe { clip-path: none; transition: none; }
  .sms-float-chip { animation: none; }
}


/* ======================================================
   ROW 5 · PLACEMENT CAROUSEL — append to sms-custom.css
   ====================================================== */

/* header row: nav buttons hug bottom-right */
.sms-car-navcol .kt-inside-inner-col { display: flex; justify-content: flex-end; align-items: flex-end; height: 100%; }
.sms-car-nav { display: flex; gap: .6rem; }
.sms-car-nav .kb-button.sms-car-btn {
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  background: var(--global-palette9); color: var(--global-palette3);
  border: 1.5px solid var(--global-palette7); display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.sms-car-nav .kb-button.sms-car-btn:hover { background: var(--global-palette3); color: #fff; border-color: var(--global-palette3); transform: translateY(-2px); }
/* icon-only: hide the button's text label but keep it for screen readers */
.sms-car-btn .kt-btn-inner-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the track becomes one horizontal scroll-snap rail */
.sms-track .kt-row-column-wrap {
  display: flex !important; flex-wrap: nowrap !important;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  gap: 1.2rem;  scrollbar-width: none; }
.sms-track .kt-row-column-wrap::-webkit-scrollbar { display: none; }
.sms-track .sms-card {
  flex: 0 0 auto !important; width: calc((100% - 2.4rem) / 3); min-width: 0;
  scroll-snap-align: start; }
@media (max-width: 1024px) { 
	.sms-track .sms-card { width: calc((100% - 1.2rem) / 2); }
	.sms-track .sms-cardimg { aspect-ratio: 4 / 5; } 
	.sms-track { padding-left: var(--global-content-edge-padding); }
}
@media (max-width: 767px)  { 
	.sms-track .sms-card { width:90%; } 
	.sms-track .sms-cardimg { aspect-ratio: 4 / 5; } 
	.sms-track { padding-left: var(--global-content-edge-padding); }
 }

/* card visuals */
.sms-cardimg { margin: 0; border-radius: 14px; overflow: hidden;  }
.sms-cardimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.sms-card:hover .sms-cardimg img { transform: scale(1.06); }
.sms-card-title { letter-spacing: -.015em; }
.sms-card-desc { max-width: 26ch; }



/* ======================================================
   ROW 6 · BIGGER TANKS — append to sms-custom.css
   (reuses .sms-feature / .sms-wipe / .sms-rv / .sms-kicker
    / .sms-head / .sms-lead / .sms-pull; only the tank
    graphic is new — and it needs NO new JS: the fill
    piggybacks on the .sms-rv reveal already wired.)
   ====================================================== */
.sms-tanks { display: flex; gap: 1rem; align-items: flex-end; margin: .5rem 0 1.8rem; }
.sms-tank { flex: 1; text-align: center; min-width: 0; }
.sms-vessel { position: relative; margin: 0 auto; width: min(100%, 96px);
  border: 2px solid var(--global-palette7); border-radius: 20px 20px 14px 14px;
  background: var(--global-palette9); overflow: hidden; }
.sms-water { position: absolute; left: 0; right: 0; bottom: 0; height: 100%;  /* default full = JS-off fallback */
  background: linear-gradient(0deg, var(--global-palette1) 0%, #4C8DD6 62%, var(--global-palette2) 100%); }
/* JS on: start empty, then fill when the copy column reveals */
.sms-anim .sms-water { height: 0; transition: height 3.2s cubic-bezier(.22,.61,.36,1); }
.sms-anim .sms-rv.sms-in .sms-water { height: 100%; }
.sms-anim .sms-rv.sms-in .sms-tank:nth-child(2) .sms-water { transition-delay: .18s; }
.sms-anim .sms-rv.sms-in .sms-tank:nth-child(3) .sms-water { transition-delay: .36s; }
/* orange surface line riding the top of the water */
.sms-water::before { content: ""; position: absolute; left: -50%; top: -7px; width: 200%; height: 14px;
  background: radial-gradient(ellipse at 50% 100%, var(--global-palette2) 45%, transparent 47%) 0 0 / 34px 14px repeat-x;
  animation: sms-wave 3s linear infinite; opacity: .9; }
@keyframes sms-wave { to { transform: translateX(34px); } }
.sms-tank-n { font-family: var(--global-heading-font-family); font-weight: 800; font-size: 2.1rem;
  color: var(--global-palette3); margin-top: .8rem; line-height: 1; letter-spacing: -.03em; }
.sms-tank-u { font-size: .85rem; color: var(--global-palette6); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .sms-anim .sms-water { height: 100%; transition: none; }
  .sms-water::before { animation: none; }
}



/* ======================================================
   ROW 7 · DARK BAND (.sms-band) — append to sms-custom.css
   Reuses .sms-feature / .sms-wipe / .sms-rv / .sms-kicker /
   .sms-head / .sms-lead / .sms-pull. Text colors are set on
   the blocks themselves, so only the band chrome is here.
   No new JS.
   ====================================================== */
.sms-band { position: relative; overflow: hidden; isolation: isolate; }
.sms-band > * { position: relative; z-index: 1; }
/* faint rotating sunburst, lower-left */
.sms-band::before {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  width: 560px; height: 560px; left: -200px; bottom: -280px; opacity: .22;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F5A829' stroke-width='2.2' stroke-linecap='round'><line x1='134.0' y1='100.0' x2='185.0' y2='100.0' stroke-opacity='0.55'/><line x1='133.6' y1='105.3' x2='198.6' y2='115.6' stroke-opacity='0.90'/><line x1='132.3' y1='110.5' x2='177.2' y2='125.1' stroke-opacity='0.99'/><line x1='130.3' y1='115.4' x2='163.4' y2='132.3' stroke-opacity='0.74'/><line x1='127.5' y1='120.0' x2='174.8' y2='154.3' stroke-opacity='0.75'/><line x1='124.0' y1='124.0' x2='168.6' y2='168.6' stroke-opacity='0.99'/><line x1='120.0' y1='127.5' x2='143.8' y2='160.3' stroke-opacity='0.90'/><line x1='115.4' y1='130.3' x2='134.4' y2='167.5' stroke-opacity='0.56'/><line x1='110.5' y1='132.3' x2='130.2' y2='193.1' stroke-opacity='0.91'/><line x1='105.3' y1='133.6' x2='114.2' y2='189.8' stroke-opacity='0.99'/><line x1='100.0' y1='134.0' x2='100.0' y2='170.6' stroke-opacity='0.74'/><line x1='94.7' y1='133.6' x2='87.1' y2='181.7' stroke-opacity='0.76'/><line x1='89.5' y1='132.3' x2='69.1' y2='195.1' stroke-opacity='0.99'/><line x1='84.6' y1='130.3' x2='62.2' y2='174.3' stroke-opacity='0.89'/><line x1='80.0' y1='127.5' x2='58.6' y2='157.0' stroke-opacity='0.57'/><line x1='76.0' y1='124.0' x2='36.1' y2='163.9' stroke-opacity='0.91'/><line x1='72.5' y1='120.0' x2='20.6' y2='157.7' stroke-opacity='0.98'/><line x1='69.7' y1='115.4' x2='32.1' y2='134.6' stroke-opacity='0.73'/><line x1='67.7' y1='110.5' x2='29.6' y2='122.9' stroke-opacity='0.76'/><line x1='66.4' y1='105.3' x2='4.6' y2='115.1' stroke-opacity='0.99'/><line x1='66.0' y1='100.0' x2='7.1' y2='100.0' stroke-opacity='0.89'/><line x1='66.4' y1='94.7' x2='29.5' y2='88.8' stroke-opacity='0.57'/><line x1='67.7' y1='89.5' x2='23.4' y2='75.1' stroke-opacity='0.92'/><line x1='69.7' y1='84.6' x2='11.1' y2='54.7' stroke-opacity='0.98'/><line x1='72.5' y1='80.0' x2='30.7' y2='49.7' stroke-opacity='0.72'/><line x1='76.0' y1='76.0' x2='50.5' y2='50.5' stroke-opacity='0.77'/><line x1='80.0' y1='72.5' x2='48.1' y2='28.6' stroke-opacity='0.99'/><line x1='84.6' y1='69.7' x2='55.0' y2='11.7' stroke-opacity='0.88'/><line x1='89.5' y1='67.7' x2='75.9' y2='25.7' stroke-opacity='0.58'/><line x1='94.7' y1='66.4' x2='88.6' y2='28.2' stroke-opacity='0.92'/><line x1='100.0' y1='66.0' x2='100.0' y2='4.9' stroke-opacity='0.98'/><line x1='105.3' y1='66.4' x2='114.8' y2='6.4' stroke-opacity='0.71'/><line x1='110.5' y1='67.7' x2='122.4' y2='31.1' stroke-opacity='0.78'/><line x1='115.4' y1='69.7' x2='135.6' y2='30.1' stroke-opacity='1.00'/><line x1='120.0' y1='72.5' x2='158.3' y2='19.7' stroke-opacity='0.88'/><line x1='124.0' y1='76.0' x2='162.1' y2='37.9' stroke-opacity='0.59'/><line x1='127.5' y1='80.0' x2='156.7' y2='58.8' stroke-opacity='0.92'/><line x1='130.3' y1='84.6' x2='176.6' y2='60.9' stroke-opacity='0.98'/><line x1='132.3' y1='89.5' x2='194.8' y2='69.2' stroke-opacity='0.71'/><line x1='133.6' y1='94.7' x2='179.2' y2='87.5' stroke-opacity='0.78'/></svg>") center / contain no-repeat;
  animation: sms-spin 90s linear infinite;
}

/* portrait image variant for this band */
.sms-wipe-tall { aspect-ratio: 3 / 4; max-width: 460px; margin-left: auto; }
.sms-wipe-tall img { width: 100%; height: 100%; object-fit: cover; }

/* the pull border already draws in palette2 (orange) — good on navy */

/* three trust badges */
.sms-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sms-badge {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 1.3rem 1.1rem;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), background-color .35s;
}
.sms-badge:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.sms-badge-ic {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex!important; align-items: center; justify-content: center;
  background: rgba(245,168,41,.14); color: var(--global-palette2); margin-bottom: .9rem;
}
.sms-badge b { display: block; color: #fff; font-size: 1.02rem; font-weight: 700; line-height: 1.2; }
.sms-badge span { display: block; color: #A9C0D6; font-size: .9rem; margin-top: .15rem; }
@media (max-width: 640px) { .sms-badges { grid-template-columns: 1fr; } .sms-wipe-tall { max-width: 100%; }}

@media (prefers-reduced-motion: reduce) {
  .sms-band::before { animation: none; }
  .sms-badge { transition: none; }
}


/* ======================================================
   ROW 8 · VIDEO (Kadence Video Popup) — append to sms-custom.css
   Adds the brand play-button pulse + gradient overlay to the
   native Video Popup block (class: custom-sms-video-class).
   NO JS — the block's own lightbox handles playback.
   ====================================================== */

/* gradient overlay (Kadence renders an empty .kadence-video-overlay) */
.custom-sms-video-class .kadence-video-overlay {
  background: linear-gradient(0deg, rgba(11,31,58,.55), rgba(11,31,58,.05) 60%) !important;
  opacity: 1 !important;
}

/* --- play button: pulsing rings (works with your current black button) --- */
.custom-sms-video-class .kadence-video-popup-link { overflow: visible; }
.custom-sms-video-class .kadence-video-popup-link::before,
.custom-sms-video-class .kadence-video-popup-link::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;   /* centered on the 80px button */
  border-radius: 50%; border: 2px solid var(--global-palette2);
  pointer-events: none; z-index: -1;
  animation: sms-vpulse 2.4s cubic-bezier(.22,.61,.36,1) infinite;
}
.custom-sms-video-class .kadence-video-popup-link { animation: sms-vbeat 2.6s ease-in-out infinite; }
@keyframes sms-vbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes sms-vpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

/* gentle grow on hover */
.custom-sms-video-class .kadence-video-popup-link { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.custom-sms-video-class:hover .kadence-video-popup-link { transform: scale(1.06); }

.custom-sms-video-class .kadence-video-popup-wrap .kt-video-svg-icon {
  	background: var(--global-palette2);
	border-radius: 50%;
	width: 1em;
	height: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.custom-sms-video-class .kadence-video-popup-wrap .kt-video-svg-icon svg {
	width:2rem;
	height:2rem;
}


@media (prefers-reduced-motion: reduce) {
  .custom-sms-video-class .kadence-video-popup-link::before,
  .custom-sms-video-class .kadence-video-popup-link::after { animation: none; }
  .custom-sms-video-class .kadence-video-popup-link { transform: none; }
}


/* ======================================================
   ROW 9 · PRICING (.sms-price) — append to sms-custom.css
   Reuses .sms-kicker / .sms-head / .sms-rv. No JS.
   ====================================================== */
.sms-price { background: var(--sms-sun-tint, #FEF4E2); }

/* the two-tone card: clip both colored columns to one rounded, shadowed card */
.sms-price-card > .kt-row-column-wrap,
.sms-price-card .kt-row-layout-inner {
  border-radius: 24px; overflow: hidden; align-items: stretch !important;
  box-shadow: 0 1px 2px rgba(11,31,58,.06), 0 24px 50px -24px rgba(11,31,58,.28);
}

/* price tag keeps the range on one line */
.sms-price-tag { white-space: nowrap; }
.sms-price-tag { font-family: var(--global-heading-font-family); }
.sms-price-after { max-width: 34ch; }

/* incentive pill */
.sms-incent { display: inline-flex; align-items: center; gap: .5rem;
  background: var(--sms-sun-tint, #FEF4E2); color: #7A4A06;
  padding: .55rem 1rem; border-radius: 999px; }
.sms-incent::before { content: ""; width: 18px; height: 18px; flex: none;
  background: var(--global-palette2);
  -webkit-mask: no-repeat center/100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask: no-repeat center/100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  border-radius: 0; }

.sms-pc-side { position: relative; overflow: hidden; }
.sms-pc-side > .kt-inside-inner-col { position: relative; z-index: 1; }
.sms-inc .kt-svg-icon-list-item-wrap:nth-child(3) { color: #fff; font-weight: 700!important; opacity:1!important;}


/* ======================================================
   ROW 10 · REVIEWS (.sms-reviews) — append to sms-custom.css
   Score reuses the count-up (.sms-count). Stars pop via the
   standalone reveal once '.sms-stars' is added to it (see JS note).
   ====================================================== */
.sms-score { font-family: var(--global-heading-font-family); line-height: .9; }
.sms-score .sms-num { line-height: .9; }

/* five stars, staggered pop-in */
.sms-stars { display: flex; gap: .12em; color: var(--global-palette2); font-size: 1.6rem; margin-top: .5rem; }
.sms-stars span { display: inline-block; }
.sms-anim .sms-stars span { opacity: 0; transform: scale(.4) rotate(-25deg); }
.sms-anim .sms-stars.sms-in span { opacity: 1; transform: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.34,1.56,.64,1); }
.sms-anim .sms-stars.sms-in span:nth-child(2) { transition-delay: .05s; }
.sms-anim .sms-stars.sms-in span:nth-child(3) { transition-delay: .1s; }
.sms-anim .sms-stars.sms-in span:nth-child(4) { transition-delay: .15s; }
.sms-anim .sms-stars.sms-in span:nth-child(5) { transition-delay: .2s; }

/* pull quote with a big opening mark */
.sms-quote { font-family: var(--global-heading-font-family); position: relative; max-width: 30ch; }
.sms-quote::before { content: "\201C"; display: block; font-family: var(--global-heading-font-family);
  font-size: 3.4em; line-height: .6; height: .5em; color: var(--global-palette2); }
.sms-by { letter-spacing: .01em; }

/* blue review button (global button style is orange; this variant is blue) */
.sms-btn-blue .kb-button {
  background: var(--global-palette1) !important; color: #fff !important; border-color: var(--global-palette1) !important;
}
.sms-btn-blue .kb-button:hover { background: var(--sms-blue-deep, #154C8C) !important; border-color: var(--sms-blue-deep, #154C8C) !important; }

@media (prefers-reduced-motion: reduce) {
  .sms-anim .sms-stars span { opacity: 1; transform: none; transition: none; }
}


/* ======================================================
   ROW 11 · PHYN ADD-ON — append to sms-custom.css
   Reuses .sms-feature / .sms-wipe / .sms-head / .sms-lead /
   .sms-pull / .sms-rv. No JS. Only the pill + ghost button
   are new.
   ====================================================== */
.sms-addon-tag { display: inline-block; background: rgba(29,97,178,.1); color: var(--global-palette1);
  padding: .4rem .9rem; border-radius: 999px; }

/* ghost / outline button (global button style is orange; this is the outline variant) */
.sms-btn-ghost .kb-button {
  background: transparent !important; color: var(--global-palette3) !important;
  border: 1.5px solid #C3D2E4 !important;
}
.sms-btn-ghost .kb-button:hover {
  color: var(--global-palette1) !important; border-color: var(--global-palette1) !important;
  background: transparent !important;
}


/* ======================================================
   ROW 12 · GETTING STARTED STEPS — append to sms-custom.css
   Heading reuses .sms-kicker / .sms-head. The step motion
   (line draws, dots pop) fires when '.sms-steps' is added to
   the standalone reveal observer (see JS note).
   ====================================================== */

/* centred heading */
.sms-steps-head .kt-inside-inner-col { text-align: center; }
.sms-steps-head .sms-kicker { justify-content: center; }
.sms-steps-head .sms-head { max-width: 20ch; margin-inline: auto; }

/* each step column centred */
.sms-steps .kt-inside-inner-col { text-align: center; }
.sms-step-desc { max-width: 30ch; margin-inline: auto !important; }

/* the connecting line across the dots */
.sms-steps .kt-row-column-wrap { position: relative; }
.sms-steps .kt-row-column-wrap::before {
  content: ""; position: absolute; top: 38px; left: 16%; right: 16%; height: 2px;
  background: var(--global-palette2); z-index: 0;
}
.sms-anim .sms-steps .kt-row-column-wrap::before {
  transform: scaleX(0); transform-origin: left; transition: transform 2.4s cubic-bezier(.22,.61,.36,1);
}
.sms-anim .sms-steps.sms-in .kt-row-column-wrap::before { transform: scaleX(1); }

/* numbered dots */
.sms-step-dot {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: var(--global-palette9); border: 2px solid var(--global-palette2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--global-heading-font-family); position: relative; z-index: 1;
}
.sms-anim .sms-step-dot { transform: scale(.6); opacity: 0; }
.sms-anim .sms-steps.sms-in .sms-step-dot {
  transform: none; opacity: 1; transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .4s;
}
.sms-anim .sms-steps.sms-in .wp-block-kadence-column:nth-child(2) .sms-step-dot { transition-delay: .45s; }
.sms-anim .sms-steps.sms-in .wp-block-kadence-column:nth-child(3) .sms-step-dot { transition-delay: .9s; }

@media (max-width: 767px) {
  .sms-steps .kt-row-column-wrap::before { display: none; }   /* no line when stacked */
}
@media (prefers-reduced-motion: reduce) {
  .sms-anim .sms-steps .kt-row-column-wrap::before { transform: scaleX(1); transition: none; }
  .sms-anim .sms-step-dot { transform: none; opacity: 1; }
}



/* ======================================================
   ROW 13 · FINAL CTA (.sms-final) — append to sms-custom.css
   Reuses .sms-rv and .sms-btn-glass. Global orange button for
   the primary. No new JS.
   ====================================================== */
.sms-final { position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: linear-gradient(135deg, var(--global-palette1) 0%, var(--sms-blue-deep, #154C8C) 55%, var(--global-palette3) 100%) !important; }
.sms-final > * { position: relative; z-index: 1; }
/* big faint sunburst, centred behind */
.sms-final::before { content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 720px; height: 720px; right: -240px; top: -300px; opacity: .55;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F5A829' stroke-width='2.2' stroke-linecap='round'><line x1='134.0' y1='100.0' x2='185.0' y2='100.0' stroke-opacity='0.55'/><line x1='133.6' y1='105.3' x2='198.6' y2='115.6' stroke-opacity='0.90'/><line x1='132.3' y1='110.5' x2='177.2' y2='125.1' stroke-opacity='0.99'/><line x1='130.3' y1='115.4' x2='163.4' y2='132.3' stroke-opacity='0.74'/><line x1='127.5' y1='120.0' x2='174.8' y2='154.3' stroke-opacity='0.75'/><line x1='124.0' y1='124.0' x2='168.6' y2='168.6' stroke-opacity='0.99'/><line x1='120.0' y1='127.5' x2='143.8' y2='160.3' stroke-opacity='0.90'/><line x1='115.4' y1='130.3' x2='134.4' y2='167.5' stroke-opacity='0.56'/><line x1='110.5' y1='132.3' x2='130.2' y2='193.1' stroke-opacity='0.91'/><line x1='105.3' y1='133.6' x2='114.2' y2='189.8' stroke-opacity='0.99'/><line x1='100.0' y1='134.0' x2='100.0' y2='170.6' stroke-opacity='0.74'/><line x1='94.7' y1='133.6' x2='87.1' y2='181.7' stroke-opacity='0.76'/><line x1='89.5' y1='132.3' x2='69.1' y2='195.1' stroke-opacity='0.99'/><line x1='84.6' y1='130.3' x2='62.2' y2='174.3' stroke-opacity='0.89'/><line x1='80.0' y1='127.5' x2='58.6' y2='157.0' stroke-opacity='0.57'/><line x1='76.0' y1='124.0' x2='36.1' y2='163.9' stroke-opacity='0.91'/><line x1='72.5' y1='120.0' x2='20.6' y2='157.7' stroke-opacity='0.98'/><line x1='69.7' y1='115.4' x2='32.1' y2='134.6' stroke-opacity='0.73'/><line x1='67.7' y1='110.5' x2='29.6' y2='122.9' stroke-opacity='0.76'/><line x1='66.4' y1='105.3' x2='4.6' y2='115.1' stroke-opacity='0.99'/><line x1='66.0' y1='100.0' x2='7.1' y2='100.0' stroke-opacity='0.89'/><line x1='66.4' y1='94.7' x2='29.5' y2='88.8' stroke-opacity='0.57'/><line x1='67.7' y1='89.5' x2='23.4' y2='75.1' stroke-opacity='0.92'/><line x1='69.7' y1='84.6' x2='11.1' y2='54.7' stroke-opacity='0.98'/><line x1='72.5' y1='80.0' x2='30.7' y2='49.7' stroke-opacity='0.72'/><line x1='76.0' y1='76.0' x2='50.5' y2='50.5' stroke-opacity='0.77'/><line x1='80.0' y1='72.5' x2='48.1' y2='28.6' stroke-opacity='0.99'/><line x1='84.6' y1='69.7' x2='55.0' y2='11.7' stroke-opacity='0.88'/><line x1='89.5' y1='67.7' x2='75.9' y2='25.7' stroke-opacity='0.58'/><line x1='94.7' y1='66.4' x2='88.6' y2='28.2' stroke-opacity='0.92'/><line x1='100.0' y1='66.0' x2='100.0' y2='4.9' stroke-opacity='0.98'/><line x1='105.3' y1='66.4' x2='114.8' y2='6.4' stroke-opacity='0.71'/><line x1='110.5' y1='67.7' x2='122.4' y2='31.1' stroke-opacity='0.78'/><line x1='115.4' y1='69.7' x2='135.6' y2='30.1' stroke-opacity='1.00'/><line x1='120.0' y1='72.5' x2='158.3' y2='19.7' stroke-opacity='0.88'/><line x1='124.0' y1='76.0' x2='162.1' y2='37.9' stroke-opacity='0.59'/><line x1='127.5' y1='80.0' x2='156.7' y2='58.8' stroke-opacity='0.92'/><line x1='130.3' y1='84.6' x2='176.6' y2='60.9' stroke-opacity='0.98'/><line x1='132.3' y1='89.5' x2='194.8' y2='69.2' stroke-opacity='0.71'/><line x1='133.6' y1='94.7' x2='179.2' y2='87.5' stroke-opacity='0.78'/></svg>") center / contain no-repeat; animation: sms-spin 90s linear infinite; }

/*.sms-final-head { max-width: 18ch; margin-inline: auto; }
.sms-final-sub { max-width: 46ch; margin-inline: auto !important; }

/* centre the three buttons */
/*.sms-final .kb-buttons-wrap { justify-content: center; gap: .8rem; flex-wrap: wrap; }*/

@media (prefers-reduced-motion: reduce) { .sms-final::before { animation: none; } }


/* ======================================================
   INTERIOR PAGE HEADER (.sms-hero-page) — append once to
   sms-custom.css. A trimmed pattern 1: reuses the hero
   gradient, sunburst and title animation; shorter, no
   buttons. Reused on every interior page.
   ====================================================== */
.sms-hero-page { min-height: 52vh; }
@media (max-width: 767px) { .sms-hero-page { min-height: 0; } }
/* sunburst sits tighter into the top-right on the shorter header */
.sms-hero-page::before { width: min(46vw, 520px); right: -14%; top: -40%; opacity: .45; }
/* interior titles run longer than the home hero's, so give them more room
   (home hero caps at 13ch) — keeps them to 2–3 lines instead of 4 
.sms-hero-page .sms-hero-title { max-width: 20ch; }*/
/* lede a touch narrower for a page intro */
.sms-hero-page .sms-hero-lede { max-width: 65ch; }



/* ======================================================
   PATTERN 15 · COMPARISON TABLE (.sms-compare-table)
   Append once to sms-custom.css.

   Built on the native Kadence Table block. IMPORTANT — the
   real Kadence DOM (confirmed on the live page):
     • NO <thead>. The header is the FIRST <tr>, all <th>.
     • Data rows are <tr> with a <th> in column 1 and <td>
       in columns 2–3.
     • Kadence paints cells via `.kb-table-id-UID .kb-table-data`
       (specificity 0,2,0) and forces text-align:center — so
       the overrides below are specificity-bumped (and use
       !important on the few paint props Kadence controls) to
       win deterministically.

   Column order is fixed: 1 = Feature, 2 = Smart Solar,
   3 = the thing compared.
   ====================================================== */

.sms-compare-table { border: 1px solid var(--global-palette7); border-radius: 16px; overflow: hidden; }
.sms-compare-table table { width: 100%; border-collapse: separate; border-spacing: 0; }
.sms-compare-table th, .sms-compare-table td { vertical-align: middle; }
.sms-compare-table th p, .sms-compare-table td p { margin: 0; }

/* ---------- HEADER ROW (the first <tr>) ---------- */
.sms-compare-table tbody tr:first-child th {
  background: var(--global-palette3) !important;   /* navy */
  color: #fff !important;
  text-align: left !important;
  font-family: var(--global-heading-font-family);
  font-weight: 700;
  border-color: var(--global-palette3) !important;
}
/* corner ("Feature") + compared header: muted label treatment */
.sms-compare-table tbody tr:first-child th:first-child,
.sms-compare-table tbody tr:first-child th:nth-child(3) {
  color: var(--global-palette7) !important;
  font-weight: 600;
}
.sms-compare-table tbody tr:first-child th:first-child {
  font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
}
/* Smart Solar header: brand blue + amber top accent */
.sms-compare-table tbody tr:first-child th:nth-child(2) {
  background: var(--global-palette1) !important;
  color: #fff !important;
  position: relative;
}
.sms-compare-table tbody tr:first-child th:nth-child(2)::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--global-palette2);
}

/* ---------- FEATURE COLUMN (the <th> in data rows) ---------- */
.sms-compare-table tbody tr:not(:first-child) th {
  background: var(--global-palette8) !important;
  color: var(--global-palette3) !important;
  text-align: left !important;
  font-weight: 700;
}

/* ---------- SMART SOLAR COLUMN (data <td>, column 2) ---------- */
/* NO flex — the cell stays display:table-cell so row heights stay equal. */
.sms-compare-table tbody td:nth-child(2) {
  background: rgba(29,97,178,.05) !important;
  box-shadow: inset 0 0 0 1px rgba(29,97,178,.10);
  color: var(--global-palette3) !important;
  font-weight: 600;
  text-align: left !important;   /* Kadence forces center on .kb-table-data */
}
/* the value <p> goes inline so the check sits right before it */
.sms-compare-table tbody td:nth-child(2) p { display: inline; vertical-align: middle; }
/* advantage check — rows 1–8 only. Header occupies tbody tr:first-child, so
   data rows are tr:nth-child(2..11); rows 1–8 = :nth-child(-n+9) (header has
   no <td>, so it's skipped). Equipment cost (row 9) & Power source (row 10)
   get no check. REORDERING ROWS? adjust the -n+9 below. */
.sms-compare-table tbody tr:nth-child(-n+9) td:nth-child(2)::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 18px; height: 18px; margin-right: .55rem; border-radius: 50%;
  background: var(--global-palette1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- COMPARED COLUMN (data <td>, column 3) ---------- */
.sms-compare-table tbody td:nth-child(3) { color: var(--global-palette6) !important; text-align: left !important; }

/* ---------- closing line (amber pull-quote) ---------- */
.sms-ct-foot { font-family: var(--global-heading-font-family); font-size: 1.3rem; font-weight: 600;
  color: var(--global-palette3); line-height: 1.3; margin: 1.8rem 0 0; padding-left: 1.1rem;
  border-left: 3px solid var(--global-palette2); max-width: 40ch; }

/* ======================================================
   MOBILE (<=720px): reflow each data row into a card.
   The native block would only side-scroll (forbidden by
   the handoff), so CSS turns rows into cards. No <thead>,
   so the header row is hidden by position, not by element.
   ====================================================== */
@media (max-width: 720px) {
  .sms-compare-table { border: 0; border-radius: 0; overflow: visible; }
  .sms-compare-table table, .sms-compare-table tbody { display: block; width: 100%; }
  .sms-compare-table tbody tr:first-child { display: none; }       /* hide header row */
  .sms-compare-table tbody tr { display: block; border: 1px solid var(--global-palette7);
    border-radius: 14px; overflow: hidden; margin-bottom: 1rem; }
  .sms-compare-table tbody tr th, .sms-compare-table tbody tr td { display: block; width: auto; }

  /* feature becomes the card header */
  .sms-compare-table tbody tr:not(:first-child) th {
    background: var(--global-palette3) !important; color: #fff !important; font-size: 1.05rem;
  }
  /* Smart Solar block: amber top rule, no inline check */
  .sms-compare-table tbody td:nth-child(2) {
    background: var(--global-palette8) !important; box-shadow: none;
    border-top: 3px solid var(--global-palette2);
  }
  .sms-compare-table tbody td:nth-child(2) p { display: block; }   /* undo desktop inline */

  /* swap the check for stacked labels (both selectors listed so this beats the
     higher-specificity desktop check rule above) */
  .sms-compare-table tbody td::before { font-family: var(--global-heading-font-family);
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .sms-compare-table tbody tr:nth-child(-n+9) td:nth-child(2)::before,
  .sms-compare-table tbody td:nth-child(2)::before {
    content: "Smart Solar"; display: block; width: auto; height: auto; margin: 0 0 .2rem;
    background: none; border-radius: 0; color: var(--global-palette1);
  }
  .sms-compare-table tbody td:nth-child(3)::before {
    content: "Conventional hybrid"; display: block; margin: 0 0 .2rem; color: var(--global-palette6);
  }
}


/* ======================================================
   PATTERN 16 · FAQ ACCORDION (.sms-faq / .sms-accordion)
   Append once to sms-custom.css.

   Built on the CORE WordPress Accordion block (WP 6.9+),
   which runs on the Interactivity API:
     • open item  → `.is-open` on .wp-block-accordion-item,
       button aria-expanded="true"
     • closed panel → `hidden` attr (native display:none)
   No custom JS needed. We style the containers, the toggle
   button, the icon (we draw our own chevron), and the panel.
   ====================================================== */

.sms-faq .sms-faq-lede { font-size: 1.15rem; color: var(--global-palette5); line-height: 1.55;
  margin: 0 0 .4rem; max-width: 60ch; }
.sms-faq .sms-faq-note { font-family: var(--global-heading-font-family); font-weight: 600;
  color: var(--global-palette3); margin: 0 0 2.2rem; }

/* ---- accordion shell ----
   NOTE: the theme/Kadence injects its own card shadow and link-style
   underline onto the core accordion (its CSS loads after ours), so the
   properties it touches are forced with !important below. */
.sms-accordion { display: flex; flex-direction: column; gap: .75rem; }
.sms-accordion .wp-block-accordion-item {
  border: 1px solid var(--global-palette7) !important; border-radius: 12px!important;
  background: #fff !important; box-shadow: none !important;   /* kill the theme's warm card shadow */
  overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.sms-accordion .wp-block-accordion-item.is-open {
  border-color: var(--global-palette1) !important;
  box-shadow: none!important;
}

/* ---- toggle (question) ---- */
.sms-accordion .wp-block-accordion-heading { margin: 0; box-shadow: none !important; }
.sms-accordion .wp-block-accordion-heading__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; background: #fff !important; border: 0; text-align: left; cursor: pointer;
  font-family: var(--global-heading-font-family); font-weight: 700; font-size: 1.08rem;
  color: var(--global-palette3) !important; line-height: 1.3;
}
.sms-accordion button.wp-block-accordion-heading__toggle {
  background: #fff !important; 
  box-shadow: none!important;
}
/* remove the theme's link underline on the question, in every state and on any nested element */
.sms-accordion .wp-block-accordion-heading,
.sms-accordion .wp-block-accordion-heading * { text-decoration: none !important; }
.sms-accordion .wp-block-accordion-heading a { color: inherit !important; }
.sms-accordion .wp-block-accordion-heading__toggle-title { color: inherit !important; }
.sms-accordion .wp-block-accordion-heading__toggle:hover,
.sms-accordion .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title { color: var(--global-palette1) !important; }
.sms-accordion .wp-block-accordion-heading__toggle:focus-visible {
  outline: 2px solid var(--global-palette1); outline-offset: -2px; border-radius: 12px!important;
}
.sms-accordion .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle,
.sms-accordion .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-title { color: var(--global-palette1) !important; }

/* ---- icon: hide the block's "+" text, draw our own chevron that flips ---- */
.sms-accordion .wp-block-accordion-heading__toggle-icon {
  flex: none; width: 26px; height: 26px; font-size: 0; border-radius: 50%;
  background: var(--global-palette8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D61B2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
.sms-accordion .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
  transform: rotate(180deg); background-color: #E7EEF8;
}

/* ---- panel (answer) ---- */
.sms-accordion .wp-block-accordion-panel { padding: 0 1.3rem 1.35rem; }
.sms-accordion .wp-block-accordion-panel p {
  margin: 0; color: var(--global-palette5); font-size: 1rem; line-height: 1.6; max-width: 68ch;
}

@media (max-width: 767px) {
  .sms-accordion .wp-block-accordion-heading__toggle { font-size: 1rem; padding: 1rem 1.05rem; }
  .sms-accordion .wp-block-accordion-panel { padding: 0 1.05rem 1.1rem; }
}












/* ======================================================
   PATTERN 19 · LEADERSHIP BIO CARDS (.sms-bio-cards / .sms-bio-card)
   Append once to sms-custom.css.
   Minimal per the handoff: photo + name + title only.
   An optional bio paragraph (.sms-bio-card-bio) is styled and
   hidden until filled — add one later without touching CSS.
   ====================================================== */
.sms-bio-intro { font-size: 1.15rem; color: var(--global-palette5); line-height: 1.55;
  max-width: 60ch; margin: 0 0 2rem; }

/* the pair sits centered and not too wide (only two leaders) */
.sms-bio-cards .kt-row-column-wrap { max-width: 760px; margin-inline: auto; }

.sms-bio-card > .kt-inside-inner-col { display: flex; flex-direction: column; }
.sms-bio-photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: var(--global-palette8); margin: 0 0 1.1rem; }
.sms-bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sms-bio-name { font-family: var(--global-heading-font-family); font-size: 1.35rem; font-weight: 700;
  color: var(--global-palette3); margin: 0; line-height: 1.2; }
.sms-bio-role { color: var(--global-palette1); font-weight: 600; margin: .25rem 0 0; }
.sms-bio-card-bio { color: var(--global-palette5); line-height: 1.55; margin: .8rem 0 0; }
.sms-bio-card-bio:empty { display: none; }   /* invisible until a bio is added */




/* ======================================================
   PATTERN 20 · BIG TAP-TO-CALL (.sms-emergency-call)
   Append once to sms-custom.css.
   Emergency page, element #2: large, mobile-first tap-to-call.
   High-contrast navy panel so the number is unmissable and
   reachable within the first screen.
   ====================================================== */
.sms-emergency-call { text-align: center; }
.sms-emergency-call .kt-inside-inner-col { align-items: center; }

.sms-ecall-label { display: inline-flex; align-items: center; gap: .5rem; }
.sms-ecall-label::before { content: ""; width: 18px; height: 18px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F5A829'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.3 21 3 13.7 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center/contain no-repeat; }

.sms-ecall-num { margin: 0; line-height: 1; }
.sms-ecall-num a { 
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 4.5rem); text-decoration: none;
  display: inline-block; }
.sms-ecall-num a:hover { color: var(--global-palette2); }

.sms-ecall-sub { margin: 1.1rem 0 0; }
/* response-commitment line — replace the placeholder once client supplies it */
.sms-ecall-note { color: rgba(255,255,255,.55); margin: .7rem 0 0; font-size: .9rem; }

@media (max-width: 600px) {
  .sms-emergency-call { padding: 2.2rem 1.2rem; }
  .sms-ecall-num a { display: block; }   /* full-width tap target on phones */
}
body.page-id-420 .sms-hero::after {
	display:none!important;
}



/* ======================================================
   PAGE 8 · TECHNICAL SPECIFICATIONS
   New modules: P21 section nav · P22 chart images · P23 cert logos
   + a clean spec-table variant (distinct from pattern 15's
   marketing comparison table). Append once to sms-custom.css.
   ====================================================== */

/* ---------- P21 · STICKY SECTION NAV ---------- */
.sms-spec-nav { position: sticky; top: 40px; z-index: 20;   /* adjust 80px to clear the floating header */
	max-width: 900px;margin:2.5rem auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem;
  background: #fff; border: 1px solid var(--global-palette7); border-radius: 999px;
  padding: .4rem; box-shadow: 0 4px 16px rgba(11,31,58,.06); }
.sms-spec-nav a { font-family: var(--global-heading-font-family); font-weight: 600; font-size: .9rem;
  color: var(--global-palette5); text-decoration: none; padding: .5rem 1rem; border-radius: 999px; }
.sms-spec-nav a:hover { background: var(--global-palette8); color: var(--global-palette1); }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 140px; }   /* so anchors land below the sticky nav */
@media (max-width: 600px) { .sms-spec-nav { border-radius: 14px; top: 64px; } .sms-spec-nav a { padding: .45rem .7rem; font-size: .82rem; } }

/* ---------- section scaffolding ---------- */
/* .sms-spec-section { padding: 2.2rem 0; }
.sms-spec-sub { font-family: var(--global-heading-font-family); font-size: 1.15rem; font-weight: 700;
  color: var(--global-palette3); margin: 1.6rem 0 .8rem; }
.sms-spec-cap { color: var(--global-palette6); font-size: .9rem; margin: .7rem 0 0; } */

/* ---------- SPEC TABLE (clean, neutral — not the comparison table) ---------- *
 * Kadence table block, className sms-spec-table. No <thead> (Kadence), so
 * header row = first <tr>; label column = <th>. Overrides beat Kadence's
 * .kb-table-data (specificity + !important), same lesson as pattern 15. */
.sms-spec-table { border: 1px solid var(--global-palette7); border-radius: 14px; overflow: hidden; }
.sms-spec-table table { width: 100%; border-collapse: separate; border-spacing: 0; }
.sms-spec-table th, .sms-spec-table td { text-align: left !important; vertical-align: top;
  border: 0 !important; }
.sms-spec-table th p, .sms-spec-table td p { margin: 0; }
/* 2-column label/value rows */
.sms-spec-table tbody tr th { background: var(--global-palette8) !important; color: var(--global-palette3) !important;
  font-weight: 700 !important; width: 44%; }
.sms-spec-table tbody tr td { color: var(--global-palette5) !important; }
.sms-spec-table tbody tr + tr th, .sms-spec-table tbody tr + tr td { border-top: 1px solid var(--global-palette7) !important; }

/* ---------- MODELS TABLE (first-hour, multi-column) ---------- */
.sms-spec-models { border: 1px solid var(--global-palette7); border-radius: 14px; overflow: hidden; }
.sms-spec-models table { width: 100%; border-collapse: separate; border-spacing: 0; }
.sms-spec-models th, .sms-spec-models td { border: 0 !important; }
.sms-spec-models th p, .sms-spec-models td p { margin: 0; }
/* header row (first <tr>) */
.sms-spec-models tbody tr:first-child th { background: var(--global-palette3) !important; color: #fff !important;
  font-family: var(--global-heading-font-family); font-weight: 700 !important; text-align: center !important; }
.sms-spec-models tbody tr:first-child th:first-child { text-align: left !important; }
/* config label column */
.sms-spec-models tbody tr:not(:first-child) th { background: var(--global-palette8) !important;
  color: var(--global-palette3) !important; font-weight: 700 !important; text-align: left !important; }
.sms-spec-models tbody td { text-align: center !important; color: var(--global-palette5) !important; }
.sms-spec-models tbody tr:not(:first-child) th,
.sms-spec-models tbody tr:not(:first-child) td { border-top: 1px solid var(--global-palette7) !important; }

@media (max-width: 680px) {
  /* reflow the 4-col models table into cards — no horizontal scroll */
  .sms-spec-models, .sms-spec-models table, .sms-spec-models tbody { display: block; width: 100%; }
  .sms-spec-models { border: 0; }
  .sms-spec-models tbody tr:first-child { display: none; }
  .sms-spec-models tbody tr { display: block; border: 1px solid var(--global-palette7);
    border-radius: 12px; margin-bottom: .9rem; overflow: hidden; }
  .sms-spec-models tbody tr th, .sms-spec-models tbody tr td { display: block; text-align: left !important; padding: .7rem 1rem; }
  .sms-spec-models tbody tr:not(:first-child) th { font-size: 1.02rem; background: var(--global-palette3) !important; color: #fff !important; }
  /* label each value by column position (header row is hidden on mobile) */
  .sms-spec-models tbody td::before { display: inline-block; min-width: 5.5rem; font-weight: 700; color: var(--global-palette3); }
  .sms-spec-models tbody td:nth-child(2)::before { content: "65 gal"; }
  .sms-spec-models tbody td:nth-child(3)::before { content: "80 gal"; }
  .sms-spec-models tbody td:nth-child(4)::before { content: "119 gal"; }
}

/* ---------- P22 · PERFORMANCE CHARTS (swappable images) ---------- */
.sms-spec-charts .kt-row-column-wrap { gap: 1.5rem; }
.sms-chart { border: 1px solid var(--global-palette7); border-radius: 14px; overflow: hidden; background: #fff; }
.sms-chart .wp-block-image, .sms-chart figure { margin: 0; }
.sms-chart img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; background: var(--global-palette8); }
.sms-chart-cap { padding: .85rem 1.1rem; font-family: var(--global-heading-font-family); font-weight: 600;
  color: var(--global-palette3); border-top: 1px solid var(--global-palette7); }

/* ---------- P23 · CERTIFICATION LOGOS ---------- */
.sms-image-carousel figure .kb-gal-image-radius {
	border:1px solid var(--global-palette7);
}
.sms-image-carousel img { object-fit: contain!important; }
.sms-approvals { color: var(--global-palette6); font-size: .9rem; line-height: 1.6; margin: 1.3rem 0 0; }


/* ======================================================
   PATTERN 24 · CASE-STUDY CARD (.sms-case)
   Append once to sms-custom.css.
   Image + eyebrow/title/body + 3 stat tiles + CTA.
   The headline stat uses .sms-count, so the existing count-up
   observer animates it on scroll — no JS change needed.
   ====================================================== */

/* media side — full-bleed to the card edge, matches content height */
.sms-case-media > .kt-inside-inner-col { padding: clamp(1.4rem, 2.5vw, 2rem); height: 100%; }.sms-case-media figure, .sms-case-media .wp-block-image { margin: 0; height: 100%; }
.sms-case-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; background: var(--global-palette8); }

/* content side */
.sms-case-body > .kt-inside-inner-col { padding: clamp(1.8rem, 3vw, 2.8rem); }
.sms-case-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--global-heading-font-family);
  font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--global-palette1); margin: 0 0 .7rem; }
.sms-case-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--global-palette2); }
.sms-case-title { font-family: var(--global-heading-font-family); font-size: 1.7rem; font-weight: 700;
  color: var(--global-palette3); margin: 0 0 .9rem; line-height: 1.1; }
.sms-case-text { color: var(--global-palette5); line-height: 1.6; margin: 0; max-width: 56ch; }

/* stat strip */
.sms-case-stats { display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; margin: 1.6rem 0; }
.sms-case-stat .num, .sms-case-stat .sms-count { font-family: var(--global-heading-font-family);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 800; color: var(--global-palette3); line-height: 1; }
.sms-case-stat-label { color: var(--global-palette6); font-size: .85rem; margin: .35rem 0 0; max-width: 15ch; line-height: 1.3; }

.sms-case-body .kb-button { background: var(--global-palette2); color: var(--global-palette3);
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; padding: .9rem 1.4rem;
  border-radius: 999px; text-decoration: none; margin-top: .4rem; }
.sms-case-body .kb-button:hover { filter: brightness(.96); }

@media (max-width: 860px) {
  .sms-case .kt-row-column-wrap { display: block; }
  .sms-case-media img { min-height: 220px; max-height: 300px; }
}


/* ======================================================
   GET STARTED FORM — brand styling (Gravity Forms 2.5+)
   Append once to sms-custom.css.
   External CSS is justified here only because Gravity Forms
   output isn't Kadence blocks (can't be set via block panels).
   Scope: add "sms-form" to the form's CSS Class Name (Form Settings).
   ====================================================== */

.sms-form .gform_wrapper { max-width: 640px; }

/* labels + inputs: all text in palette3 */
.sms-form .gfield_label { font-family: var(--global-heading-font-family); font-weight: 700;
  color: var(--global-palette3); font-size: .98rem; margin: 0 0 .4rem; }
.sms-form .gfield_required { color: red; margin-left: .15rem; }

/* fields: palette7 1px border, nicely rounded, palette3 text */
.sms-form .ginput_container input[type="text"],
.sms-form .ginput_container input[type="email"],
.sms-form .ginput_container input[type="tel"],
.sms-form .ginput_container input[type="number"],
.sms-form .ginput_container input[type="url"],
.sms-form .ginput_container textarea,
.sms-form .ginput_container select {
  width: 100%; box-sizing: border-box;
  font-family: var(--global-body-font-family, inherit); font-size: 1rem;
  color: var(--global-palette3);
  background: #fff; border: 1px solid var(--global-palette6); border-radius: 4px;
  padding: .35rem .9rem; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sms-form .ginput_container textarea { resize: vertical; }

/* placeholders: palette7 */
.sms-form .ginput_container input::placeholder,
.sms-form .ginput_container textarea::placeholder { color: var(--global-palette3); opacity: 0.5; }

/* focus */
.sms-form .ginput_container input:focus,
.sms-form .ginput_container textarea:focus,
.sms-form .ginput_container select:focus {
  outline: none; border-color: var(--global-palette2)!important; box-shadow: 0 0 0 3px rgba(245,168,41,.15);
}

/* secondary text (name sublabels + field descriptions) stays muted */
.sms-form .ginput_complex label,
.sms-form .gfield_description { color: var(--global-palette6); font-size: .82rem; margin-top: .3rem; }
.sms-form .gfield_description { line-height: 1.45; }

.sms-form .gfield { margin-bottom: 1.1rem; }

/* file upload (electrical-panel photo) — palette7 dashed, rounded */
.sms-form .ginput_container_fileupload input[type="file"] {
  width: 100%; box-sizing: border-box; padding: .7rem .9rem;
  border: 1px dashed var(--global-palette7); border-radius: 10px; background: var(--global-palette8);
  color: var(--global-palette3); font-size: .95rem; cursor: pointer;
}
.sms-form .gform_drop_area {
  border: 1px dashed var(--global-palette1); border-radius: 12px; background: var(--global-palette8);
  padding: 1.4rem; text-align: center; color: var(--global-palette3);
}

/* SUBMIT BUTTON:
   No custom styling here on purpose — the GF submit carries the `button`
   class, so the site's global Kadence theme button applies automatically.
   (If your theme button doesn't reach the GF submit, add the WP button
   class via the one-line filter in the chat, rather than restyling here.) */
.sms-form .gform_button {
  background: var(--global-palette-btn-bg)!important;
  color: var(--global-palette-btn)!important;
  font-family: var(--global-heading-font-family)!important;  /* Bricolage Grotesque */
  font-style: normal;
	font-weight: 600!important!;
	font-size: 1rem!important;
	line-height: 1!important;
	border-radius: 100px!important;
	padding: 1rem 1.5rem 1rem 1.5rem!important;
	border: 1px solid var(--global-palette2)!important;
	border-color: var(--global-palette2)!important;
  display: inline-flex!important;
  align-items: center;
  gap: .5rem;                                       /* icon gap (if an icon is added) */
  cursor: pointer;
  transition: transform .25s cubic-bezier(.22, .61, .36, 1), background-color .25s, border-color .25s, box-shadow .25s;
  box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0)!important;
}
.sms-form .gform_button:hover {
  outline: 0!important;
  box-shadow: 0px 15px 25px -7px rgba(0, 0, 0, 0.1)!important;
	color: var(--global-palette-btn-hover)!important;
    background: var(--global-palette-btn-bg-hover)!important;
	transform: translateY(-2px);
}

/* validation */
.sms-form .gfield_error .ginput_container input,
.sms-form .gfield_error .ginput_container textarea {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.sms-form .gfield_validation_message, .sms-form .validation_message {
  color: #c0392b; font-size: .85rem; margin-top: .35rem;
}
.sms-form .gform_validation_errors {
  border: 1px solid #c0392b; border-radius: 12px; background: #fdecea; padding: 1rem 1.2rem;
}



/* ── Editor only: reveal animations never run (sms-custom.js is front-end only) ── */
.editor-styles-wrapper .sms-rv,
.editor-styles-wrapper .sms-wipe,
.editor-styles-wrapper .sms-anim,
.editor-styles-wrapper .sms-steps,
.editor-styles-wrapper .sms-stars,
.editor-styles-wrapper .sms-stat,
.editor-styles-wrapper .sms-count {
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
	visibility: visible !important;
	animation: none !important;
	transition: none !important;
}


/* ── Respect the visitor's reduced-motion setting ── */
@media (prefers-reduced-motion: reduce) {
	.sms-rv,
	.sms-wipe,
	.sms-anim,
	.sms-steps,
	.sms-stars,
	.sms-stat,
	.sms-count,
	.sms-w > span {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
		visibility: visible !important;
		animation: none !important;
		transition: none !important;
	}
}

ul.sub-menu {
	border-top: 2px solid var(--global-palette2);
    top: calc(100% - 2px)!important;
}


/* ======================================================
   PATTERN 25 · HOMEPAGE EMERGENCY BAND (.sms-eband)
   Append once to style.css.
   Slim, warm-tinted off-ramp for visitors whose water heater
   has already failed. Sits directly after the trust marquee.

   Deliberately NOT animated: urgent messages shouldn't fade in,
   and it must be readable the instant it enters view. No reveal
   classes here, so no editor neutraliser is needed either.
   ====================================================== */

.sms-eband {
  background: var(--sms-sun-tint, #FEF4E2);
  border-top: 1px solid rgba(11, 31, 58, .08);
  border-bottom: 1px solid rgba(11, 31, 58, .08);
}

/* keep the two columns on one line and vertically centred */
.sms-eband .kt-row-column-wrap { align-items: center; }

/* ---- left: headline with phone glyph ---- */
.sms-eband-title {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.sms-eband-title::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F5A829'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.3 21 3 13.7 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sms-eband-sub { max-width: 46ch; }

/* ---- right: actions ---- */
.sms-eband .kb-buttons-wrap {
  justify-content: flex-end;
  gap: .7rem;
  flex-wrap: wrap;
}

/* secondary action: outlined, for use on the light tinted band
   (the existing .sms-btn-ghost is tuned for dark backgrounds) */
.sms-eband .kb-button.sms-btn-ghost-dark {
  background: transparent;
  color: var(--global-palette3);
  border: 1.5px solid rgba(11, 31, 58, .25);
}
.sms-eband .kb-button.sms-btn-ghost-dark:hover,
.sms-eband .kb-button.sms-btn-ghost-dark:focus-visible {
  background: var(--global-palette9);
  border-color: var(--global-palette3);
  color: var(--global-palette3);
}

/* ---- tablet ---- */
@media (max-width: 1024px) {
  .sms-eband-sub { max-width: none; }
  .sms-eband .kb-buttons-wrap { gap: .5rem; }
}

/* ---- mobile: stack, call button first and full width ---- */
@media (max-width: 767px) {
  .sms-eband .kt-row-column-wrap { align-items: stretch; }
  .sms-eband .kb-buttons-wrap {
    justify-content: stretch;
    margin-top: 1.1rem;
  }
  .sms-eband .kb-buttons-wrap > * { flex: 1 1 100%; }
  .sms-eband .kb-button { width: 100%; justify-content: center; }
  .sms-eband-title { font-size: 1.2rem; }
}