/* ============================================================
   Jupiter UV — single-page brand site
   Brand colors: navy #1B2A57 · mint #6EE7B7 · white #FFF
   ============================================================ */

:root {
  --navy: #1B2A57;
  --navy-soft: #26396F;
  --mint: #6EE7B7;
  --mint-soft: #a3f3d1;
  --white: #FFFFFF;
  --black: #000000;
  --text: #000000;
  --text-soft: #444444;
  --text-fine: #666666;
  --bg-alt: #F4F7FA;
  --bg-soft: #FAFBFD;
  --border: #CCCCCC;
  --hairline: #CCCCCC;
  --shadow-sm: 0 2px 8px rgba(27, 42, 87, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 42, 87, 0.10);
  --shadow-lg: 0 20px 60px rgba(27, 42, 87, 0.18);
  --shadow-mint: 0 20px 70px rgba(110, 231, 183, 0.30);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;  /* brand standard: Arial */
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; }

/* ===== layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== nav (navy bar) ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(110, 231, 183, 0.12);
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: #10183A;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-mark {
  /* Brand: wordmark font-size = 40% of nav bar height (72px desktop / 60px mobile).
     Below ~30% it reads as a label; above ~50% it crowds the nav links. */
  font-weight: 700;              /* Arial Bold per brand standard */
  letter-spacing: 1.5px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}
.logo-mint { color: var(--mint); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--mint); }
.nav-cta {
  background: var(--mint);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--mint-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(110, 231, 183, 0.4);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ===== hero (white, multi-slide) ===== */
.hero {
  position: relative;
  background: var(--white);
  color: var(--text);
  min-height: 92vh;
  overflow: hidden;
  padding-top: 68px; /* tight clearance under fixed nav */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(110, 231, 183, 0.08), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(27, 42, 87, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: calc(92vh - 68px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease);
  display: flex;
  align-items: center;
  padding: 0 0 60px;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(27, 42, 87, 0.06);
  border: 1px solid rgba(27, 42, 87, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
  color: var(--navy);
}
.accent-underline {
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  background-image: linear-gradient(120deg, var(--mint) 0%, var(--mint) 100%);
  background-repeat: no-repeat;
  background-size: 100% 12px;
  background-position: 0 96%;
  padding: 0 4px 0 0;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0 0 36px;
  max-width: 540px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(27, 42, 87, 0.18));
  /* push image right so shadow bleeds off the page edge */
  transform: translateX(80px);
}

/* Mirrored hero slide — image left, text right (for slides where the shadow
   should fall naturally into the page, not off the right edge) */
.hero-slide.mirror .hero-inner {
  grid-template-columns: 1.7fr 1fr;
}
.hero-slide.mirror .hero-image { order: 1; }
.hero-slide.mirror .hero-text { order: 2; }
.hero-slide.mirror .hero-image img {
  transform: translateX(-80px);
}

/* on mobile, no horizontal shift (would clip content too aggressively) */
@media (max-width: 980px) {
  .hero-image img,
  .hero-slide.mirror .hero-image img { transform: none; }
  .hero-slide.mirror .hero-image { order: 0; }
  .hero-slide.mirror .hero-text { order: 0; }
}

/* hero CTA ghost-on-white variant */
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(27, 42, 87, 0.25);
}
.btn-ghost-dark:hover {
  background: rgba(27, 42, 87, 0.05);
  border-color: var(--navy);
}

/* hero primary stays mint */
.hero .btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27, 42, 87, 0.20);
}
.hero .btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27, 42, 87, 0.28);
}

/* dots — repositioned for white hero */
.carousel-dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.carousel-dot {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(27, 42, 87, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.carousel-dot.active {
  background: var(--navy);
  width: 56px;
}
.carousel-dot:hover { background: rgba(27, 42, 87, 0.45); }

/* scroll indicator for white background */
.hero-scroll-indicator {
  border-color: rgba(27, 42, 87, 0.25);
}
.hero-scroll-indicator span { background: var(--navy); }
.hero-image-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.20), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(110, 231, 183, 0.4);
  border-radius: 999px;
}
.hero-scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--mint);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s var(--ease);
  border: 0;
}
.btn-primary {
  background: var(--mint);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(110, 231, 183, 0.35);
}
.btn-primary:hover {
  background: var(--mint-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(110, 231, 183, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-block { width: 100%; padding: 16px 28px; }
.btn-inline { margin-top: 12px; }
.section-alt .btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27, 42, 87, 0.25);
}
.section-alt .btn-primary:hover {
  background: var(--navy-soft);
  box-shadow: 0 14px 32px rgba(27, 42, 87, 0.35);
}
.section .btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27, 42, 87, 0.20);
}
.section .btn-primary:hover {
  background: var(--navy-soft);
}

/* ===== sections ===== */
.section { padding: 110px 0; background: var(--white); }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, #15224A 100%);
  color: var(--white);
}
.section-dark .section-sub.light { color: rgba(255, 255, 255, 0.75); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mint);
  margin-bottom: 20px;
}
.section-eyebrow.mint { color: var(--mint); }
.section h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.8px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.65;
}

/* ===== the lamps section ===== */
.lamp-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 20px;
}
.lamp-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 280px;
}
.lamp-image::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(110, 231, 183, 0.18), transparent 65%);
  pointer-events: none;
}
.lamp-image img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(110, 231, 183, 0.2));
}
.lamp-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lamp-spec {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(110, 231, 183, 0.18);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.lamp-spec:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--mint);
  transform: translateY(-2px);
}
.lamp-spec-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.lamp-spec-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--mint-soft);
  margin-left: 2px;
}
.lamp-spec-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
}

/* ===== premium details grid ===== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.detail-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.detail-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: var(--shadow-md);
}
.detail-card:hover::after {
  transform: scaleX(1);
}
.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--mint);
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(27, 42, 87, 0.18);
}
.detail-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.detail-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.detail-card strong { color: var(--navy); }

/* ===== feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature {
  padding: 36px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--mint);
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--navy); }
.feature p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* dark-variant feature cards (when .feature is inside .section-dark) */
.section-dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(110, 231, 183, 0.18);
}
.section-dark .feature:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--mint);
}
.section-dark .feature h3 { color: var(--mint); }
.section-dark .feature p { color: rgba(255, 255, 255, 0.78); }
.section-dark .feature-icon {
  background: var(--mint);
  color: var(--navy);
}

/* ===== two-col (for contractors) ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reversed {
  grid-template-columns: 1fr 1.1fr;
}
.two-col.reversed .two-col-image { order: 0; }
.two-col.reversed .two-col-text { order: 1; }
.two-col-text h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.two-col .lead { font-size: 18px; color: var(--text-soft); margin: 0 0 28px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 18px; height: 18px;
  background: var(--mint);
  border-radius: 50%;
}
.check-list li::after {
  content: '✓';
  position: absolute;
  left: 4px; top: 18px;
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
}
.check-list strong { color: var(--navy); }
.two-col-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  background: var(--white);
}
.two-col-image img.line-art {
  background: var(--white);
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 32px;
}

/* ===== kit grid ===== */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.kit-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}
.kit-item:hover {
  background: var(--white);
  border-color: var(--navy);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.kit-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.kit-item strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.kit-item span { display: block; color: var(--text-soft); font-size: 13.5px; }

/* ===== trust grid ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.trust-card {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.trust-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--mint);
  transform: translateY(-4px);
}
.trust-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--mint);
  font-weight: 700;
}
.trust-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== contact ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 { margin: 0 0 16px; }
.contact-text p { font-size: 17px; color: var(--text-soft); margin: 0 0 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-list strong {
  display: inline-block;
  width: 90px;
  color: var(--navy);
  font-weight: 600;
}
.contact-list a:hover { color: var(--navy); }

.contact-form {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s var(--ease);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.18);
}
.contact-form .btn-block { grid-column: 1 / -1; }

/* ===== footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 0 36px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .logo-mark { font-size: 26px; color: var(--white); }
.footer-brand p { margin: 6px 0 0; font-style: italic; color: var(--white); font-size: 14px; }
.footer-meta { text-align: right; font-size: 13.5px; }
.footer-meta p { margin: 4px 0; }

/* ===== reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 120px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .contact-form { padding: 32px 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--white);
    padding: 28px;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s var(--ease);
    align-items: flex-start;
    gap: 20px;
  }
  .nav-links.open { right: 0; }
  /* Panel background is white here, so links must be navy — they were
     inheriting the desktop rgba(255,255,255,.82) and rendering invisible. */
  .nav-links a { color: var(--navy); }
  .nav-links a:hover { color: var(--navy); }
  .nav-links .logo-mark { font-size: 24px; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .contact-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}

/* Slide 2 centroid alignment — measured, not eyeballed.
   hero-product.png  centroid: 49.5% x / 51.6% y  (effectively centered)
   hero-cutaway.png  centroid: 40.7% x / 63.1% y  (8.8% left, 11.5% low)
   The cutaway subject floats in transparent padding, so it sits off-centre
   in its own frame. Nudging it brings the two slides' visual mass onto the
   same point and removes the jump during the carousel transition. */
.hero-slide:nth-of-type(2) .hero-image img {
  transform: translate(8.8%, -6%);
}
@media (max-width: 720px) {
  .hero-slide:nth-of-type(2) .hero-image img { transform: translate(8.8%, 0); }
}

/* Anchor targets were landing behind the 72px fixed nav. */
section[id], article[id] { scroll-margin-top: 88px; }

/* ---------- unit serial pages (/s/<serial>) ---------- */
/* "We found your unit!" -- the installer is at an air handler with a phone,
   so the confirmation reads as good news and the facts sit above the fold. */
.unit-found{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;
            padding:8px 18px 8px 10px;border-radius:999px;background:#EAF9F2;
            border:1px solid var(--mint);font-size:15px;font-weight:700;color:var(--navy)}
.unit-found-check{flex:0 0 auto;width:24px;height:24px;border-radius:50%;
                  background:var(--mint);color:var(--navy);font-size:14px;font-weight:700;
                  display:flex;align-items:center;justify-content:center}

/* The product name is the largest thing on the page -- it is what the
   installer matches against the box. The serial is the lookup key, so it
   sits under the name rather than leading. */
.unit-product{font-size:58px;line-height:1.02;color:var(--navy);margin:0;letter-spacing:-1px}
.unit-modelline{font-family:monospace;font-size:17px;color:var(--text-soft);margin:10px 0 0}
.unit-serial{font-family:monospace;font-size:26px;color:var(--navy);letter-spacing:1px;
             margin:20px 0 0;font-weight:700}
.unit-seriallabel{font-size:12px;letter-spacing:.8px;text-transform:uppercase;
                  color:var(--text-fine);margin:2px 0 0}
.unit-model{color:var(--text-soft,#444);font-size:16px}

/* Unregistered prompt. Mint, not red -- this is an invitation, not an error. */
.unit-banner{display:flex;align-items:center;gap:16px;flex-wrap:wrap;
             max-width:620px;margin:26px 0 30px;padding:18px 20px;
             background:#EAF9F2;border:1px solid var(--mint);border-left:4px solid var(--mint);
             border-radius:var(--radius-sm);text-decoration:none;color:inherit;
             transition:box-shadow .2s var(--ease),transform .2s var(--ease)}
.unit-banner:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}
.unit-banner-icon{flex:0 0 auto;width:28px;height:28px;border-radius:50%;
                  background:var(--navy);color:var(--mint);font-weight:700;font-size:16px;
                  display:flex;align-items:center;justify-content:center}
.unit-banner-text{flex:1 1 280px;font-size:15px;line-height:1.5;color:var(--text-soft)}
.unit-banner-text strong{display:block;color:var(--navy);font-size:16px;margin-bottom:3px}
.unit-banner-go{flex:0 0 auto;font-weight:700;font-size:15px;color:var(--navy);white-space:nowrap}

/* The at-a-glance card. Everything needed to confirm the unit is correct. */
.unit-card{max-width:620px;border:1px solid var(--hairline);border-radius:var(--radius-sm);
           background:var(--white);box-shadow:var(--shadow-sm);overflow:hidden}
.unit-card-head{background:var(--navy);color:var(--white);font-size:13px;font-weight:700;
                letter-spacing:.6px;text-transform:uppercase;padding:12px 20px}
.unit-card .unit-rows{max-width:none;padding:4px 20px}

.unit-wrong{font-size:14px;color:var(--text-fine);margin-top:16px;max-width:620px}
.unit-tagline{font-size:19px;color:var(--text-soft);margin:8px 0 0;font-weight:400}

/* Specifications -- two columns on a desktop, stacked on the phone the
   installer is actually holding. */
.spec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
           gap:14px 40px;max-width:900px}
.spec-block h3{font-size:13px;letter-spacing:.8px;text-transform:uppercase;
               color:var(--navy);margin:0 0 4px;padding-bottom:8px;
               border-bottom:2px solid var(--mint)}
.spec-block .unit-rows{max-width:none}
.spec-note{font-size:13px;color:var(--text-fine);margin:8px 0 0}
.spec-source{font-size:13px;color:var(--text-fine);margin-top:22px;font-style:italic}
.unit-mono{font-family:monospace}

.unit-lamp{border-left:4px solid var(--mint);padding:4px 0 4px 20px;margin-bottom:22px}
.unit-lamp-pn{font-family:monospace;font-size:32px;font-weight:700;color:var(--navy);line-height:1.1}
.unit-lamp-qty{font-size:16px;color:#444;margin-top:6px}

.unit-rows{max-width:520px}
.unit-row{display:flex;justify-content:space-between;gap:20px;padding:11px 0;
          border-bottom:1px solid var(--hairline,#CCCCCC);font-size:16px}
.unit-row:last-child{border-bottom:0}
.unit-row span:first-child{color:#666}
.unit-row span:last-child{font-weight:700;text-align:right}
.unit-row.is-done span:last-child{color:var(--navy)}
.unit-row.is-pending span:last-child{color:var(--text-fine);font-weight:400}
.unit-row.is-pending a{color:var(--navy);font-weight:700}

.unit-ok{background:#EAF9F2;border-left:4px solid var(--mint);padding:14px 18px;
         font-size:16px;margin-bottom:20px;max-width:620px}
.unit-ok-big{font-size:17px;padding:18px 22px;margin-bottom:28px}
.unit-ok-big strong{color:var(--navy)}

.unit-form{max-width:460px;margin-top:8px}
.unit-form label{display:block;font-size:13px;color:#666;margin:14px 0 5px}
.unit-form input{width:100%;padding:12px;border:1px solid var(--hairline,#CCCCCC);
                 font-size:16px;font-family:inherit;background:#fff}
.unit-form input:focus{outline:2px solid var(--mint);outline-offset:-2px}
.unit-form .btn{margin-top:18px;border:0;cursor:pointer}

@media (max-width:600px){
  .unit-product{font-size:40px;letter-spacing:-.5px}
  .unit-tagline{font-size:16px}
  .spec-grid{gap:4px 0}
  .unit-serial{font-size:22px}
  .unit-lamp-pn{font-size:26px}
  .unit-card .unit-rows{padding:4px 16px}
  .unit-row{font-size:15px;gap:14px}
  .unit-banner-go{flex-basis:100%}
}

/* First section on an interior page sits below the fixed nav. */
.section-top{padding-top:150px}
section[id]{scroll-margin-top:110px}
@media (max-width:720px){ .section-top{padding-top:120px} }
