:root {
  --bg: #0f1115;
  --bg-alt: #1b1f26;
  --card: #1f242d;
  --muted: #9aa3b8;
  --text: #e8ecf3;
  --accent: #5ac8fa;
  --accent-2: #9bd26c;
  --sand: #ffdf9a;
  --danger: #ff7a7a;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 200, 120, 0.06), transparent 32%),
    radial-gradient(circle at 80% 5%, rgba(90, 200, 250, 0.06), transparent 34%),
    linear-gradient(135deg, #0f1115 0%, #1a1d24 50%, #0b0d12 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

picture {
  display: block;
}

.hidden {
  display: none !important;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(12, 15, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}

.logo,
.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.brand-name {
  max-width: 170px;
  line-height: 1.1;
  color: #f7f9fd;
}

.footer-brand {
  display: inline-flex;
  width: min(190px, 72vw);
  margin-bottom: 12px;
}

.footer-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-mobile {
  display: none;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(90, 200, 250, 0.12);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #3fa9f5);
  color: #0a0c10;
  box-shadow: 0 10px 30px rgba(90, 200, 250, 0.35);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  scroll-margin-top: 104px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  align-items: center;
  justify-items: center;
  padding: clamp(14px, 2.6vw, 22px);
  margin-top: 4px;
  overflow: hidden;
  border-radius: 22px;
}

.hero > * {
  grid-area: stack;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  letter-spacing: 0;
  margin: 0 0 10px;
  max-width: 28ch;
  color: #f7f9fd;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  max-width: 58ch;
  margin: 0 auto;
  color: #f5f7fb;
  font-weight: 700;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--sand);
  font-weight: 800;
}

.hero-eyebrow {
  display: block;
  color: #ffdf9a;
  text-decoration: none;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  text-align: center;
  white-space: normal;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(90, 200, 250, 0.12);
  color: var(--accent);
  border: 1px solid rgba(90, 200, 250, 0.2);
  font-size: 0.95rem;
}

.card {
  background: linear-gradient(145deg, var(--card), #13171d);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.muted {
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.value-item,
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  padding: 18px;
}

.value-item {
  display: grid;
  gap: 6px;
}

.value-item strong,
.service-card h3 {
  color: #f7f9fd;
}

.value-item span,
.service-card p {
  color: var(--muted);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.trust-item {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.service-area-title {
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0;
  color: #ffdf9a;
}

.service-headline {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
}

.btn-secondary {
  border-color: rgba(90, 200, 250, 0.4);
  color: #0a0c10;
  background: rgba(90, 200, 250, 0.8);
}

.cta-bar .btn-primary,
.cta-bar .btn-secondary {
  filter: brightness(1.02);
}

.dark-toggle {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(120deg, rgba(90, 200, 250, 0.18), rgba(255, 255, 255, 0.04));
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

footer .muted,
.footer-light {
  color: #d7e4f2;
}

footer a {
  color: #d6edff;
}

footer {
  margin-top: 28px;
  background: #0a0f16;
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 46px 0 140px;
}

.footer-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-media {
  grid-area: stack;
  align-self: stretch;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  border-radius: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: clamp(340px, 60vh, 640px);
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.hero-media picture {
  height: 100%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(90, 200, 250, 0.16), transparent 34%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.25) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.hero-media p {
  position: absolute;
  right: 16px;
  bottom: 16px;
  margin: 0;
  z-index: 2;
  color: #f5f7fb;
  background: rgba(0, 0, 0, 0.58);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.hero-topline {
  text-align: center;
  width: min(1180px, 100%);
}
.hero-copy {
  z-index: 2;
  align-self: center;
  justify-self: center;
  text-align: center;
  max-width: 840px;
  display: grid;
  gap: 14px;
  padding: clamp(16px, 4vw, 36px);
  color: #f7f9fd;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.hero .trust-bar {
  width: min(840px, 100%);
  margin: 12px auto 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.hero .trust-item {
  background: transparent;
  border: none;
  color: #e8ecf3;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.hero-below {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 22px;
  margin-top: -10px;
}
.hero-below .hero-actions {
  justify-content: center;
}
.hero-below .trust-bar {
  width: min(1120px, 100%);
  background: none;
  border: none;
  padding: 4px 0 2px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-below .trust-item {
  background: none;
  border: none;
  color: #fdfdfd;
  font-weight: 820;
  font-size: clamp(1rem, 2vw, 1.1rem);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: visible;
  min-width: 0;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.hero-below .trust-item::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(244, 208, 138, 0.9), rgba(90, 200, 250, 0.9));
  box-shadow: none;
}
.hero-below .trust-item:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.45);
  font-size: 20px;
  font-weight: 900;
  margin-left: 10px;
  margin-right: 6px;
  line-height: 1;
}
.hero-service-rail:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero-service-rail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  color: #ffdf9a;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: 0.05em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  width: 100%;
  max-width: 1400px;
  justify-content: center;
}
.hero-rail-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 18px 8px 6px;
  display: flex;
  justify-content: center;
}
.hero-rail-link {
  all: unset;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  line-height: 1.1;
}
.hero-rail-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero-rail-link + .hero-rail-link::before {
  content: "|";
  margin: 0 8px;
  color: #ffdf9a;
  opacity: 0.8;
}

@media (max-width: 960px) {
  .hero {
    border-radius: 18px;
  }
  .hero h1 {
    max-width: 30ch;
    font-size: clamp(2.2rem, 6vw, 3rem);
  }
  .value-strip,
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .hero {
    margin-top: 20px;
  }
  .hero-copy {
    max-width: 900px;
  }
}

.chip-strong {
  background: #e7f2ff;
  color: #0a0c10;
  border-color: #b3ddff;
}
.two-up figcaption {
  font-weight: 800;
}

.cta-bar .btn-primary {
  background: linear-gradient(120deg, #9fd4ff, #6ec5ff);
  color: #0a0c10;
  border-color: #9fd4ff;
  box-shadow: 0 10px 24px rgba(159, 212, 255, 0.35);
}
.cta-bar .btn-secondary {
  background: #b7deff;
  color: #0a0c10;
  border-color: #9fd4ff;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-mobile {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    background: rgba(15, 17, 21, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  body.light .nav-links {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  }

  .hero {
    padding: 12px;
    border-radius: 16px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    max-width: 128px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }
  .hero h1 {
    max-width: 32ch;
    font-size: clamp(2rem, 7vw, 2.6rem);
  }
  .hero-copy {
    padding: 18px;
    gap: 12px;
  }
  .hero-eyebrow {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .chip-strong {
    justify-content: center;
  }
  .hero-below .trust-item::after {
    display: none;
  }
  .hero-below .trust-item {
    min-width: 0;
  }
  .hero-below .trust-item:not(:last-child)::after {
    display: none;
  }
  .hero-media img {
    height: clamp(380px, 72vh, 620px);
  }
  .hero-media p {
    font-size: 0.95rem;
  }
  .hero-rail-wrap {
    padding: 14px 16px 4px;
  }
  .hero-below .trust-bar {
    gap: 12px;
  }
  .hero-service-rail {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .value-strip,
  .service-card-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .service-headline,
  .service-area-title {
    text-align: center;
  }
  .gallery figure img {
    height: 140px;
  }
}

/* Light mode */
body.light {
  --bg: #f6f8fb;
  --bg-alt: #edf3f8;
  --card: #ffffff;
  --text: #0e1116;
  --muted: #4a5568;
  --accent: #0074a6;
  --accent-2: #436b1f;
  --sand: #6f4a00;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 116, 166, 0.10), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(111, 74, 0, 0.08), transparent 32%),
    linear-gradient(135deg, #fbfcfe 0%, #f6f8fb 48%, #edf3f8 100%);
  color: var(--text);
}
body.light header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.12);
}
body.light .brand-name {
  color: var(--text);
}
body.light .card,
body.light .nav-links a:hover,
body.light .nav-links a:focus-visible,
body.light .trust-item {
  background: #ffffff;
  color: var(--text);
}
body.light .nav-links a,
body.light .muted {
  color: var(--muted);
}
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light p,
body.light li,
body.light label,
body.light summary {
  color: var(--text);
}
body.light .hero h1,
body.light .hero-subtitle,
body.light .hero-copy,
body.light .hero-media p {
  color: #f7f9fd;
}
body.light .muted,
body.light .value-item span,
body.light .service-card p {
  color: #435268;
}
body.light .eyebrow,
body.light #gallery h2,
body.light .service-area-title {
  color: #6f4a00;
}
body.light .btn-primary {
  background: linear-gradient(120deg, #006b99, #008fbd);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 116, 166, 0.24);
}
body.light .btn-secondary {
  background: #e7f4fb;
  border-color: #9bcfe7;
  color: #0e3446;
}
body.light .dark-toggle {
  color: #0e1116;
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
body.light .hero-below .trust-item {
  color: #172033;
}
body.light .value-item,
body.light .service-card,
body.light .accordion details {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
body.light .value-item strong,
body.light .service-card h3 {
  color: #0e1116;
}
body.light .tab {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.16);
  color: #172033;
}
body.light .tab.active {
  background: #006b99;
  border-color: #006b99;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 107, 153, 0.22);
}
body.light .tab:hover,
body.light .tab:focus-visible {
  color: #0e1116;
  border-color: #0074a6;
}
body.light .gallery figure {
  border-color: rgba(15, 23, 42, 0.14);
  background: #ffffff;
}
body.light footer {
  background: #0a0f16;
  color: #f8fafc;
}
body.light footer h3,
body.light footer h4,
body.light footer p,
body.light footer li {
  color: #f8fafc;
}
body.light footer .muted,
body.light .footer-light {
  color: #d7e4f2;
}
body.light footer a {
  color: #d6edff;
}
body.light .cta-bar {
  background: rgba(255, 255, 255, 0.94);
  border-top-color: rgba(15, 23, 42, 0.12);
}
body.light .cta-bar .btn-primary {
  background: #006b99;
  color: #ffffff;
}
body.light .cta-bar .btn-secondary {
  background: #e7f4fb;
  color: #0e3446;
  border-color: #9bcfe7;
}
body.light [data-quote-wizard] input,
body.light [data-quote-wizard] select,
body.light [data-quote-wizard] textarea {
  background: #ffffff;
  border-color: rgba(14, 17, 22, 0.14);
  color: #101820;
}
body.light [data-quote-wizard] input::placeholder,
body.light [data-quote-wizard] textarea::placeholder {
  color: #6b7788;
}
body.light .form-status {
  background: #e8f5fb;
  border-color: #9bcfe7;
  color: #0e3446;
}
body.light .form-status[data-state="success"] {
  background: #eaf7e2;
  border-color: #8bbd69;
  color: #25430f;
}
body.light .form-status[data-state="error"] {
  background: #fff1f1;
  border-color: #e59a9a;
  color: #7a1818;
}

/* Tabs and gallery */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.tab {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(34, 38, 46, 0.85);
  cursor: pointer;
  transition: all 0.2s ease;
  color: #e8ecf3;
}
.tab.active {
  background: rgba(90, 200, 250, 0.85);
  border-color: rgba(90, 200, 250, 1);
  color: #0a0c10;
  box-shadow: 0 12px 28px rgba(90, 200, 250, 0.35);
}
.tab:hover,
.tab:focus-visible {
  border-color: rgba(90, 200, 250, 0.8);
  color: #e8ecf3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: zoom-in;
}
.gallery figure:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.gallery figure img {
  height: 120px;
  width: 100%;
  object-fit: cover;
}
.gallery figure picture {
  height: 100%;
}
.gallery figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

#gallery h2 {
  color: #ffdf9a;
}

/* Before/After tweaks */
.gallery.two-up {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery.two-up img {
  height: auto;
  width: 100%;
  object-fit: cover;
}
.gallery.two-up figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.lightbox-backdrop.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}
.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: 800;
}

/* Accordion */
.accordion details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
}
.accordion summary {
  cursor: pointer;
  font-weight: 700;
}

/* Forms */
.form,
[data-quote-wizard] {
  display: grid;
  gap: 12px;
}
.form label,
[data-quote-wizard] label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}
.form input,
.form select,
.form textarea,
[data-quote-wizard] input,
[data-quote-wizard] select,
[data-quote-wizard] textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-sans);
}
.form textarea,
[data-quote-wizard] textarea {
  min-height: 140px;
}

select option {
  background: #ffffff;
  color: #101820;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.quote-form,
.contact-options {
  min-width: 0;
}

.contact-options h3 {
  margin-top: 0;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.form-status {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(90, 200, 250, 0.28);
  background: rgba(90, 200, 250, 0.1);
  color: #dff4ff;
  font-weight: 800;
}

.form-status[data-state="success"] {
  border-color: rgba(155, 210, 108, 0.45);
  background: rgba(155, 210, 108, 0.14);
  color: #e9ffd9;
}

.form-status[data-state="error"] {
  border-color: rgba(255, 122, 122, 0.45);
  background: rgba(255, 122, 122, 0.12);
  color: #ffdede;
}

.form-status[data-state="pending"] {
  border-color: rgba(90, 200, 250, 0.5);
  background: rgba(90, 200, 250, 0.16);
}

/* CTA bar */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: rgba(15, 17, 21, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9;
}

main {
  padding-bottom: 140px; /* spacer so footer CTA doesn't cover content on mobile */
}
footer {
  padding-bottom: 140px; /* ensure footer content clears fixed CTA bar */
}
