/* =========================================================================
   SwiftCore Solutions: site styles
   Mobile-first. Light and dark sections share one set of tokens (below).
   ========================================================================= */

/* ----- Font: Plus Jakarta Sans (SIL Open Font License, see fonts/OFL.txt) -----
   Self-hosted and preloaded from index.html, so text renders in the right font
   straight away and doesn't reflow when a third-party font arrives. One variable
   file covers weights 400–800; latin-ext adds characters such as ₦. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----- Design tokens ----- */
:root {
  --navy-950: #040a1c;
  --navy-900: #08132e;
  --navy-800: #0e1e45;
  --navy-700: #172b5e;
  --blue-700: #1547c2;
  --blue-600: #1d5eea;
  --blue-500: #2f7bff;
  --blue-400: #5c9dff;
  --blue-300: #93beff;
  --blue-50: #eef4ff;
  --cyan-400: #22d3ee;
  --green-500: #12b981;
  --green-400: #34d399;
  --green-50: #e7faf2;
  --whatsapp: #1fae54;

  --ink-900: #0b1220;
  --ink-700: #2a3346;
  --ink-500: #566079;
  --ink-400: #7c869c;
  --line: #e3e8f1;
  --surface: #f4f7fb;
  --white: #fff;
  --danger: #d93a3f;

  --on-dark: #fff;
  --on-dark-muted: rgba(255, 255, 255, 0.7);
  --on-dark-faint: rgba(255, 255, 255, 0.5);
  --line-dark: rgba(255, 255, 255, 0.1);

  --grad-energy: linear-gradient(110deg, #5c9dff 0%, #22d3ee 52%, #34d399 100%);
  --grad-button: linear-gradient(135deg, #2f7bff 0%, #1d5eea 55%, #1547c2 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 2px 6px rgba(11, 18, 32, 0.06);
  --shadow: 0 12px 32px -14px rgba(11, 18, 32, 0.2), 0 4px 10px -6px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 34px 70px -28px rgba(8, 19, 46, 0.45);
  --glow-blue: 0 14px 34px -12px rgba(47, 123, 255, 0.7);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

/* ----- Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.has-dialog,
body.has-menu {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
}

::selection {
  background: rgba(47, 123, 255, 0.22);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.anchor-alias {
  position: absolute;
  top: 0;
}

/* ----- Typography helpers ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-energy);
}

.eyebrow-light {
  color: var(--blue-300);
}

.eyebrow-pill {
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--blue-300);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.eyebrow-pill::before {
  display: none;
}

.text-gradient {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink-700);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-400);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green-400);
  animation: pulse-ring 2s var(--ease) infinite;
}

/* ----- Buttons ----- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn .icon {
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

/* Soft light sweep across filled buttons on hover. */
.btn-primary::after,
.btn-dark::after,
.btn-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn-primary:hover::after,
.btn-dark:hover::after,
.btn-whatsapp:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  color: var(--white);
  background: var(--grad-button);
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(47, 123, 255, 0.85);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-dark {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 12px 30px -14px rgba(8, 19, 46, 0.7);
}

.btn-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--ink-900);
  border-color: var(--line);
  background: var(--white);
}

.btn-outline:hover {
  color: var(--blue-600);
  border-color: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline-light:hover {
  border-color: var(--blue-400);
  background: rgba(47, 123, 255, 0.16);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 12px 28px -12px rgba(31, 174, 84, 0.8);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.95rem 1.7rem;
  font-size: 1.02rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Loading state: a spinner in front of the label. */
.btn.is-loading::before {
  content: '';
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px; /* comfortable tap target on phones */
  padding: 0.35rem 0;
  border: 0;
  background: none;
  font-weight: 700;
  color: var(--blue-600);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}

.link-btn .icon {
  transition: transform 0.35s var(--ease);
}

.link-btn:hover {
  background-size: 100% 2px;
  color: var(--blue-700);
}

.link-btn:hover .icon {
  transform: translateX(4px);
}

/* ----- Header & navigation ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(8, 19, 46, 0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.6);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--white);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-energy);
  box-shadow: 0 8px 22px -8px rgba(34, 211, 238, 0.7);
  transition: transform 0.5s var(--ease);
}

.brand-mark .icon {
  width: 22px;
  height: 22px;
  fill: var(--navy-900);
  stroke: var(--navy-900);
  stroke-width: 1.2;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-text small {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue-300);
}

.nav {
  position: relative;
  display: none;
}

.nav-links {
  display: flex;
  gap: 0.15rem;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  transition: color 0.25s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

/* Pill that slides behind the active link. */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
}

.nav-cta {
  display: none;
}

.menu-toggle {
  position: relative;
  display: grid;
  place-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.25s;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: rgba(4, 10, 28, 0.97);
  backdrop-filter: blur(18px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s;
}

.mobile-menu li {
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.mobile-menu.is-open li {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open li:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: 0.2s; }

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.mobile-menu nav a::after {
  content: '→';
  color: var(--blue-300);
  opacity: 0.6;
  transition: transform 0.3s var(--ease);
}

.mobile-menu nav a:hover::after {
  transform: translateX(4px);
}

.mobile-menu-footer {
  display: grid;
  gap: 1rem;
}

.mobile-menu-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--on-dark-muted);
  font-weight: 600;
}

/* ----- Shared section layout ----- */
.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 124px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
}

.section-head > p:last-child {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--ink-500);
}

.section-dark {
  color: var(--on-dark-muted);
  background: var(--navy-900);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-head > p:last-child {
  color: var(--on-dark-muted);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--blue-600);
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px rgba(47, 123, 255, 0.12);
}

.icon-badge .icon {
  width: 24px;
  height: 24px;
}

.icon-badge--solid {
  color: var(--white);
  background: var(--grad-button);
  box-shadow: 0 10px 24px -10px rgba(47, 123, 255, 0.8), 0 0 0 5px var(--white);
}

/* Image frames: a soft shimmer shows until the photo has loaded. */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #e8edf5 30%, #f4f7fb 50%, #e8edf5 70%);
  background-size: 300% 100%;
}

.js .media:not(.is-loaded) {
  animation: shimmer 1.6s linear infinite;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}

.js .media:not(.is-loaded) img {
  opacity: 0;
}

/* Cursor-following highlight on interactive cards (set from script.js). */
[data-spotlight] {
  --mx: 50%;
  --my: 0%;
}

[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 123, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

[data-spotlight]:hover::after {
  opacity: 1;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 112px);
  color: var(--on-dark-muted);
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.85), transparent 70%);
}

.orb-2 {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -140px;
  background: radial-gradient(circle, rgba(18, 185, 129, 0.55), transparent 70%);
  animation-delay: -6s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 25%, transparent 75%);
}

.hero-inner {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
  align-items: center;
}

.hero h1 {
  margin: 0.4rem 0 1.4rem;
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--white);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 2.4rem;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-facts .icon {
  color: var(--green-400);
}

/* Full-width photo behind the hero text. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  animation: hero-zoom 22s var(--ease) both;
}

/* Keeps the text readable: dark top and bottom on phones, dark on the left on desktop. */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 28, 0.9) 0%, rgba(4, 10, 28, 0.72) 45%, rgba(4, 10, 28, 0.95) 100%);
}

.hero--photo .orb {
  opacity: 0.3;
}

/* "Start today" panel: the three packages, one click each. */
.hero-panel {
  display: grid;
  gap: 0.6rem;
  width: 100%;
  max-width: 460px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(8, 19, 46, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.hero-panel-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0.3rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.hero-offer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem 0.85rem;
  width: 100%;
  min-height: 72px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-align: left;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.hero-offer:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(92, 157, 255, 0.55);
  transform: translateX(4px);
}

.hero-offer-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--navy-900);
  background: linear-gradient(135deg, #93beff, #5c9dff);
}

.hero-offer-icon--green {
  background: linear-gradient(135deg, #34d399, #22d3ee);
}

.hero-offer-icon--blue {
  color: var(--white);
  background: var(--grad-button);
}

.hero-offer-text {
  min-width: 0;
  line-height: 1.3;
}

.hero-offer-text strong {
  display: block;
  font-size: 0.98rem;
}

.hero-offer-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}

.hero-offer-price {
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-offer-price--quote {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-400);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: none;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: scroll-cue 1.8s var(--ease) infinite;
}

/* ----- "What we do" band ----- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-500);
  white-space: nowrap;
}

.marquee li::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--grad-energy);
  transform: rotate(45deg);
}

/* ----- About ----- */
.about-grid {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

.about-media {
  position: relative;
  isolation: isolate;
  padding: 0 4% 12% 0;
}

.about-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-photo::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(8, 19, 46, 0.35));
}

.about-media::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -6px;
  width: 58%;
  height: 70%;
  border-radius: var(--radius-xl);
  background: var(--grad-energy);
  opacity: 0.18;
}

.about-badge {
  position: absolute;
  left: 6%;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  line-height: 1.3;
}

.about-badge strong {
  display: block;
  color: var(--ink-900);
}

.about-badge small {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.about-badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: var(--grad-button);
}

/* Second, smaller photo overlapping the main one (hidden on small phones). */
.about-inset {
  position: absolute;
  right: 0;
  bottom: 2%;
  z-index: 2;
  display: none;
  width: 42%;
  aspect-ratio: 3 / 2;
  border: 6px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 560px) {
  .about-inset {
    display: block;
  }
}

.about-chip {
  position: absolute;
  top: 7%;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.about-chip .icon {
  color: var(--green-400);
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
  margin-bottom: 1.3rem;
}

.about-copy > p {
  margin-bottom: 1rem;
  color: var(--ink-500);
}

.about-copy > .lead {
  color: var(--ink-700);
}

.mv-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
}

.mv-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 0.25rem 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.mv-card .icon-badge {
  grid-row: span 2;
}

.mv-card h3 {
  font-size: 1.05rem;
  align-self: end;
}

.mv-card p {
  font-size: 0.93rem;
  color: var(--ink-500);
}

.values {
  margin-top: clamp(64px, 9vw, 104px);
}

.values-title {
  margin-bottom: 1.6rem;
  font-size: 1.3rem;
  text-align: center;
}

.values-grid {
  display: grid;
  gap: 1rem;
}

.value-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 123, 255, 0.35);
  box-shadow: var(--shadow);
}

.value-card h4 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.93rem;
  color: var(--ink-500);
}

/* ----- Services ----- */
.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 123, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-media img {
  transform: scale(1.07);
}

.service-media {
  aspect-ratio: 16 / 10;
}

.service-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0 1.6rem 1.6rem;
}

.service-body .icon-badge {
  margin-top: -24px;
  margin-bottom: 0.5rem;
}

.service-body h3 {
  font-size: 1.22rem;
}

.service-body p {
  flex: 1;
  color: var(--ink-500);
  font-size: 0.96rem;
}

/* Service cards with two links: "Get Quote" and "Learn more". */
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.4rem;
}

.link-btn--muted {
  color: var(--ink-500);
}

.link-btn--muted:hover {
  color: var(--ink-900);
}

/* ----- Solar energy: photo tiles with captions ----- */
.solar {
  overflow: hidden;
}

.solar .container {
  position: relative;
}

.photo-grid {
  display: grid;
  gap: 1rem;
}

.photo-tile {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  border-radius: var(--radius-lg);
}

.photo-tile img {
  position: absolute;
  inset: 0;
}

.photo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 10, 28, 0) 38%, rgba(4, 10, 28, 0.9) 100%);
}

.photo-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 1.3rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--on-dark-muted);
}

.photo-tile figcaption strong {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.photo-tile:hover img {
  transform: scale(1.06);
}

.section-dark .media {
  background-color: #13224a;
  background-image: linear-gradient(100deg, #13224a 30%, #1b2d5c 50%, #13224a 70%);
}

/* Product photos sit whole on a light stage. */
.section-dark .photo-tile--product {
  background: radial-gradient(circle at 50% 35%, #fff 0%, #e6ecf6 75%);
}

.photo-tile--product img {
  object-fit: contain;
  padding: 8% 10% 32%;
}

.solar-footer {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.solar-points {
  display: grid;
  gap: 0.7rem;
}

.solar-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.solar-points .icon {
  color: var(--green-400);
}

.solar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- Smart home and website: photos on one side, text on the other ----- */
.web-dev {
  background: var(--surface);
}

.feature-split {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

.split-media {
  position: relative;
  isolation: isolate;
  padding-bottom: 16%;
}

.split-media::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -18px;
  left: -10px;
  width: 55%;
  height: 65%;
  border-radius: var(--radius-xl);
  background: var(--grad-energy);
  opacity: 0.16;
}

.feature-split--reverse .split-media::before {
  left: auto;
  right: -10px;
}

.split-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.split-inset {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 2;
  width: 46%;
  aspect-ratio: 3 / 2;
  border: 6px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.web-dev .split-inset {
  border-color: var(--surface);
}

.feature-split--reverse .split-inset {
  right: auto;
  left: 4%;
}

.service-card:hover .service-media img,
.split-media:hover .split-photo img {
  transform: scale(1.05);
}

/* Illustrative smart-home control card on the photo (decorative, no real data). */
.ui-card {
  position: absolute;
  top: 6%;
  left: 4%;
  z-index: 3;
  width: min(230px, 62%);
  padding: 0.85rem 1rem 0.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  animation: float 7s ease-in-out infinite;
}

.ui-card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
  font-weight: 800;
  color: var(--ink-900);
}

.ui-card-title .icon {
  color: var(--blue-600);
}

.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink-700);
}

.ui-toggle {
  position: relative;
  width: 34px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--green-500);
}

.ui-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
}

.ui-state {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-500);
}

.split-copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
}

.split-copy .lead {
  margin-bottom: 1.8rem;
  color: var(--ink-500);
}

.feature-list {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
}

.feature-list li > span:last-child {
  font-size: 0.95rem;
  color: var(--ink-500);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.05rem;
  color: var(--ink-900);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink-700);
}

.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  color: var(--green-500);
  background: var(--green-50);
  stroke-width: 2.6;
}

.price-callout {
  display: grid;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-callout-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.price-callout-amount {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.price-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ----- How it works ----- */
.steps {
  position: relative;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-energy);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
}

.step p {
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* ----- Products & solutions ----- */
.solutions {
  overflow: hidden;
}

.solutions-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 10% 0%, rgba(47, 123, 255, 0.22), transparent 60%),
    radial-gradient(500px circle at 95% 100%, rgba(18, 185, 129, 0.16), transparent 60%);
}

.solutions .container {
  position: relative;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.filter-btn.is-active {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--white);
}

.category-intro {
  max-width: 640px;
  min-height: 3.3em;
  margin: 1.3rem auto 2rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--on-dark-faint);
}

.product-grid {
  display: grid;
  gap: 1.1rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(92, 157, 255, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(92, 157, 255, 0.2);
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-card.pop-in {
  animation: pop-in 0.55s var(--ease) both;
}

.product-media {
  aspect-ratio: 4 / 3;
  background-color: #13224a;
  background-image: linear-gradient(100deg, #13224a 30%, #1b2d5c 50%, #13224a 70%);
}

/* Product shots (often flyers with text) sit whole on a light "stage". */
.product-media--stage {
  background: radial-gradient(circle at 50% 35%, #fff 0%, #e9eef7 75%);
}

.product-media--stage img {
  object-fit: contain;
  padding: 6%;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.2rem 1.25rem 1.35rem;
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
}

.product-body h3 {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.product-body p {
  flex: 1;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--on-dark-faint);
}

/* ----- Pricing ----- */
.pricing {
  background:
    radial-gradient(800px circle at 50% 0%, rgba(47, 123, 255, 0.08), transparent 60%),
    var(--white);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  margin-top: 1.25rem;
  font-size: 1.3rem;
}

.plan-desc {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink-500);
}

.price {
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.price-amount {
  font-size: clamp(2.3rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-900);
}

.price-amount--text {
  font-size: clamp(1.9rem, 3.2vw, 2.2rem);
}

.plan-features {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink-700);
}

.plan-features .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: var(--green-500);
  background: var(--green-50);
  stroke-width: 2.6;
}

.plan-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-400);
}

.pricing-card--featured {
  color: var(--on-dark-muted);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--navy-900), var(--navy-900)) padding-box,
    var(--grad-energy) border-box;
  box-shadow: 0 40px 80px -36px rgba(8, 19, 46, 0.75), 0 0 0 6px rgba(47, 123, 255, 0.06);
}

.pricing-card--featured h3,
.pricing-card--featured .price-amount {
  color: var(--white);
}

.pricing-card--featured .plan-desc,
.pricing-card--featured .plan-note {
  color: var(--on-dark-muted);
}

.pricing-card--featured .price {
  border-color: var(--line-dark);
}

.pricing-card--featured .plan-features li {
  color: rgba(255, 255, 255, 0.88);
}

.pricing-card--featured .plan-features .icon {
  color: var(--navy-900);
  background: var(--green-400);
}

.pricing-card--featured .icon-badge {
  color: var(--navy-900);
  background: var(--grad-energy);
  box-shadow: none;
}

.pricing-card--featured[data-spotlight]::after {
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(92, 157, 255, 0.16), transparent 45%);
}

.plan-badge {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--grad-energy);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- Contact ----- */
.contact {
  background: var(--surface);
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.contact-info {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 5vw, 56px);
  color: var(--on-dark-muted);
}

.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(460px circle at 0% 0%, rgba(47, 123, 255, 0.35), transparent 60%),
    radial-gradient(360px circle at 100% 100%, rgba(18, 185, 129, 0.22), transparent 60%),
    linear-gradient(170deg, rgba(8, 19, 46, 0.55) 0%, rgba(8, 19, 46, 0.9) 60%, rgba(8, 19, 46, 0.96) 100%);
}

/* Sunset solar photo behind the contact details, kept dim so the text stays readable. */
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  color: var(--white);
}

.contact-lead {
  margin: 1rem 0 2rem;
}

.contact-list {
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-list small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--on-dark-faint);
}

.contact-list a {
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--blue-300);
}

.contact-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--blue-300);
}

.contact-icon--green {
  color: var(--green-400);
}

.contact-note {
  margin: 2rem 0 1.4rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--green-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  font-style: italic;
}

.contact-form-card {
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
}

.contact-form h3 {
  font-size: 1.45rem;
}

.form-intro {
  margin: 0.4rem 0 1.6rem;
  color: var(--ink-500);
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.05rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
}

.optional {
  font-weight: 500;
  color: var(--ink-400);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #cdd5e3;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.14);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'],
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

.field-error {
  min-height: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.field-row {
  display: grid;
  gap: 0 1rem;
}

.field-hint {
  margin: -0.4rem 0 1.05rem;
  font-size: 0.82rem;
  color: var(--ink-400);
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #fdecec;
  color: #a4262c;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 2.5rem 0;
  text-align: center;
  outline: none;
  animation: pop-in 0.6s var(--ease) both;
}

.form-success h3 {
  font-size: 1.5rem;
}

.form-success p {
  margin-bottom: 0.8rem;
  color: var(--ink-500);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #34d399, #12b981);
  box-shadow: 0 16px 36px -14px rgba(18, 185, 129, 0.8);
}

.success-icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2.6;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.6s 0.25s var(--ease) forwards;
}

/* ----- Footer ----- */
.site-footer {
  padding-top: clamp(56px, 8vw, 88px);
  background: var(--navy-950);
  color: var(--on-dark-faint);
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  max-width: 22rem;
  margin: 1.2rem 0 1.4rem;
}

/* Social icons: grey "coming soon" placeholders until a link is set in config.js. */
.social {
  margin: 0 0 1.4rem;
}

.social-title {
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.social-soon {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--on-dark-faint);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}

.icon-brand {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.social-link.is-live {
  color: var(--white);
}

.social-link.is-live:hover {
  border-color: var(--blue-500);
  background: var(--blue-600);
  transform: translateY(-2px);
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-col ul {
  display: grid;
  gap: 0.65rem;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  overflow-wrap: anywhere;
}

.footer-contact .icon {
  margin-top: 0.2em;
  color: var(--blue-300);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom));
  font-size: 0.85rem;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line-dark);
}

.footer-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-secure .icon {
  color: var(--green-400);
}

/* ----- Floating shortcuts ----- */
.wa-float,
.to-top {
  position: fixed;
  right: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.3s;
}

.wa-float {
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 14px 30px -10px rgba(31, 174, 84, 0.8);
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulse-ring 2.6s var(--ease) infinite;
}

.wa-float:hover {
  transform: scale(1.08);
}

.to-top {
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--blue-600);
}

/* ----- Dialogs (order / quote form, notices) ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(4, 10, 28, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s var(--ease), visibility 0s;
}

.modal-content {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.45s var(--ease);
}

.modal.is-open .modal-content {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-700);
  transition: background-color 0.2s, transform 0.3s var(--ease);
}

.modal-close:hover {
  background: var(--line);
  transform: rotate(90deg);
}

.modal-eyebrow {
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.modal-content h2 {
  padding-right: 2.5rem;
  font-size: 1.55rem;
}

.order-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin: 1.3rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.summary-item {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.summary-item span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.summary-item input {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  color: var(--ink-900);
  text-overflow: ellipsis;
  pointer-events: none;
}

.summary-item--amount {
  text-align: right;
}

.summary-item--amount input {
  width: 9.5em;
  text-align: right;
  color: var(--blue-600);
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fdecec;
  color: #a4262c;
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--ink-400);
  text-align: left;
}

.modal-note .icon {
  margin-top: 0.1em;
  color: var(--green-500);
}

.notice-content {
  width: min(440px, 100%);
  text-align: center;
}

.notice-content h2 {
  padding: 0;
  margin-bottom: 0.6rem;
}

#notice-message {
  margin-bottom: 1.6rem;
  color: var(--ink-500);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.notice-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--blue-600);
  background: var(--blue-50);
}

.notice-icon .icon {
  display: none;
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

#notice-modal[data-kind='info'] .icon-info,
#notice-modal:not([data-kind]) .icon-info,
#notice-modal[data-kind='success'] .icon-success,
#notice-modal[data-kind='error'] .icon-error {
  display: block;
}

#notice-modal[data-kind='success'] .notice-icon {
  color: var(--green-500);
  background: var(--green-50);
}

#notice-modal[data-kind='error'] .notice-icon {
  color: var(--danger);
  background: #fdecec;
}

/* ----- Scroll-reveal (only when JavaScript runs; see the <script> in <head>) -----
   Uses an animation on the separate `translate`/`scale` properties, so it never
   fights with the `transform` that cards use for their hover lift. */
.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-visible {
  animation: reveal-up 0.85s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal='left'].is-visible {
  animation-name: reveal-left;
}

.js [data-reveal='scale'].is-visible {
  animation-name: reveal-scale;
}

.js [data-reveal='right'].is-visible {
  animation-name: reveal-right;
}

@keyframes reveal-up {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes reveal-left {
  from { opacity: 0; translate: -32px 0; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes reveal-scale {
  from { opacity: 0; scale: 0.94; }
  to { opacity: 1; scale: 1; }
}

/* ----- 404 page ----- */
.not-found {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(40px, 8vw, 80px);
}

.not-found-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.not-found .brand {
  margin: 0 0 2.5rem;
}

.not-found-code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.not-found h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
}

.not-found .hero-actions {
  justify-content: center;
}

/* ----- Keyframes ----- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.12); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes shimmer {
  to { background-position: -150% 0; }
}

@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(14px); opacity: 0; }
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes reveal-right {
  from { opacity: 0; translate: 32px 0; }
  to { opacity: 1; translate: 0 0; }
}

/* Slow settle of the hero photo when the page opens. */
@keyframes hero-zoom {
  from { scale: 1.1; }
  to { scale: 1; }
}

/* ----- Larger screens: new photo sections ----- */
@media (min-width: 560px) {
  .price-callout {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .price-callout-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 720px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-tile--tall {
    grid-row: span 2;
  }
}

@media (min-width: 900px) {
  .solar-footer {
    grid-template-columns: 1fr auto;
    padding: 1.6rem 1.8rem;
  }
}

/* Desktop bento: one tall photo on the left, four tiles beside it. */
@media (min-width: 1040px) {
  .photo-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: 270px;
  }

  .photo-tile {
    min-height: 0;
  }
}

/* Small notes under prices ("one session", "complete package"). */
.price-per {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-400);
}

.pricing-card--featured .price-per {
  color: var(--on-dark-muted);
}

/* ----- Larger screens ----- */
@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv-card {
    grid-template-columns: 1fr;
  }

  .mv-card .icon-badge {
    grid-row: auto;
    margin-bottom: 0.6rem;
  }

  .nav-cta {
    display: inline-flex;
  }

  .filter-bar {
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Same height for every plan description, so the prices line up. */
  .plan-desc {
    min-height: 3.2em;
  }

  .pricing-card--featured {
    transform: translateY(-14px);
  }

  .pricing-card--featured:hover {
    transform: translateY(-20px);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-panel {
    grid-template-columns: 1fr 1.1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (min-width: 1040px) {
  :root {
    --header-h: 80px;
  }

  .nav {
    display: block;
    margin-inline: auto;
  }

  .brand {
    margin-right: 0;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero {
    min-height: min(100vh, 920px);
    display: flex;
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero-panel {
    margin-left: auto;
  }

  /* Desktop: dark on the left behind the text, the photo shows on the right. */
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(4, 10, 28, 0.95) 0%, rgba(4, 10, 28, 0.8) 36%, rgba(4, 10, 28, 0.2) 70%, rgba(4, 10, 28, 0.32) 100%),
      linear-gradient(180deg, rgba(4, 10, 28, 0.35) 0%, transparent 30%, transparent 65%, rgba(4, 10, 28, 0.9) 100%);
  }

  .scroll-cue {
    display: block;
  }

  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .feature-split--reverse .split-media {
    order: 2;
  }

  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  /* The photo stays in view while the longer text beside it scrolls. */
  .about-media {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }

  .values-grid,
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  /* A line linking the four steps. */
  .steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 2rem;
    right: 2rem;
    height: 2px;
    z-index: -1;
    background: var(--grad-energy);
    opacity: 0.35;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s 0.3s var(--ease);
  }

  .steps.is-visible::before,
  .steps:not([data-reveal])::before {
    transform: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card--wide {
    grid-column: span 2;
    flex-direction: row;
  }

  .service-card--wide .service-media {
    flex: 1.1;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .service-card--wide .service-body {
    flex: 1;
    justify-content: center;
    padding: 2.2rem;
  }

  .service-card--wide .service-body .icon-badge {
    margin-top: 0;
  }

  .service-card--wide .service-body p {
    flex: none;
    margin-bottom: 0.6rem;
  }

  .service-card--wide h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Phones: products become a swipeable row instead of a very long column. */
.nowrap {
  white-space: nowrap;
}

.swipe-hint {
  display: none;
}

@media (max-width: 559px) {
  .product-grid {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    scroll-snap-align: start;
  }

  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--on-dark-faint);
  }

  .swipe-hint .icon {
    animation: nudge 1.6s var(--ease) infinite;
  }
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* Small phones: keep the hero cards inside the screen. */
@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-offer {
    grid-template-columns: auto 1fr;
  }

  .hero-offer-price {
    grid-column: 2;
  }

  .about-badge {
    left: 0;
    right: 8%;
  }

  .ui-card {
    font-size: 0.75rem;
  }
}

/* Visitors who ask for less motion get a still page. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .marquee li[aria-hidden='true'] {
    display: none;
  }
}
