:root {
  --cream: #fff8eb;
  --cream-strong: #fffdf6;
  --sand: #f2e3ba;
  --navy: #10284c;
  --navy-strong: #09162a;
  --navy-soft: #1b3966;
  --gold: #d79a2f;
  --gold-soft: #f4c86a;
  --sky: #5aa8ff;
  --sky-soft: #dcebff;
  --ink: #18253a;
  --muted: #56657c;
  --white: #ffffff;
  --border: rgba(16, 40, 76, 0.12);
  --shadow: 0 22px 60px rgba(16, 40, 76, 0.14);
  --shadow-strong: 0 26px 70px rgba(9, 22, 42, 0.28);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(244, 200, 106, 0.22), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(90, 168, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #fff5e3 0%, #fffdf8 44%, #f6faff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(rgba(16, 40, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 40, 76, 0.03) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 78%);
}

body::after {
  background:
    radial-gradient(circle at 22% 30%, rgba(244, 200, 106, 0.12), transparent 20%),
    radial-gradient(circle at 72% 42%, rgba(90, 168, 255, 0.12), transparent 26%);
  filter: blur(24px);
}

main,
footer {
  position: relative;
  z-index: 1;
}

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

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

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

li::marker {
  color: var(--gold);
}

.site-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 0;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 164px;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.96), rgba(255, 248, 235, 0));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}

.top-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(16, 40, 76, 0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 40, 76, 0.96), rgba(27, 57, 102, 0.96));
  box-shadow: 0 16px 30px rgba(16, 40, 76, 0.14);
  color: var(--white);
}

.top-banner-label {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.top-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
}

.top-banner-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd56b, #f0bd52);
  box-shadow: 0 0 16px rgba(255, 213, 107, 0.6);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(16, 40, 76, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(16, 40, 76, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 80px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.96);
  box-shadow: inset 0 0 0 1px rgba(16, 40, 76, 0.04);
  overflow: hidden;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
  filter: saturate(1.04) contrast(1.02);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 11px 16px;
  color: var(--muted);
  font-weight: 700;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
  background: rgba(90, 168, 255, 0.1);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, #336caf 100%);
  box-shadow: 0 16px 28px rgba(16, 40, 76, 0.22);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #12305a 0%, #1d4b86 65%, #2e6ab6 100%);
  box-shadow: 0 18px 36px rgba(16, 40, 76, 0.24);
}

.button-secondary {
  color: var(--navy);
  border: 1px solid rgba(16, 40, 76, 0.14);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(16, 40, 76, 0.08);
}

.hero {
  padding: 108px 0 40px;
}

.hero-shell,
.strip-grid,
.services-grid,
.project-layout,
.why-shell,
.why-grid,
.contact-shell,
.contact-actions,
.trust-row,
.hero-actions {
  display: grid;
  gap: 22px;
}

.hero-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 40, 76, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 18px rgba(215, 154, 47, 0.4);
}

.eyebrow-dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.eyebrow-dark::before {
  background: linear-gradient(135deg, #ffde86, #ffc44d);
}

.eyebrow-small {
  font-size: 0.72rem;
  padding: 8px 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  max-width: 10ch;
  color: var(--navy-strong);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy-text,
.section-copy,
.hero-note p,
.service-card p,
.project-card p,
.project-copy p,
.strip-card p,
.why-card p,
.contact-list,
.footer-note span {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.service-phone {
  margin: -6px 0 0;
}

.service-phone a,
.footer-phone {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-phone::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(215, 154, 47, 0.45);
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
}

.hero-points {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.trust-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 40, 76, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 40, 76, 0.08);
}

.trust-card strong,
.strip-card strong,
.footer-note strong,
.contact-card h3 {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1rem;
}

.trust-card span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(200px, 0.94fr);
  grid-template-areas:
    "logo house"
    "logo panel"
    "lighting panel"
    "note note";
  gap: 18px;
}

.logo-panel,
.hero-photo,
.hero-note,
.service-card,
.project-feature,
.project-card,
.why-card,
.contact-card,
.strip-card {
  border: 1px solid rgba(16, 40, 76, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.logo-panel {
  grid-area: logo;
  position: relative;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(90, 168, 255, 0.24), transparent 30%),
    radial-gradient(circle at bottom left, rgba(215, 154, 47, 0.22), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff7e8 100%);
}

.logo-ring {
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  border: 1px dashed rgba(16, 40, 76, 0.12);
}

.hero-logo {
  position: relative;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.hero-badge {
  position: relative;
  margin-top: 18px;
  display: inline-grid;
  gap: 4px;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 22px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 32px rgba(16, 40, 76, 0.24);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge span {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.hero-photo img,
.wide-photo img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-house {
  grid-area: house;
}

.hero-photo-panel {
  grid-area: panel;
}

.hero-photo-lighting {
  grid-area: lighting;
}

.photo-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(9, 22, 42, 0.12), rgba(9, 22, 42, 0.82));
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-note {
  grid-area: note;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 245, 255, 0.9)),
    #ffffff;
}

.service-strip {
  padding: 18px 0 24px;
}

.strip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
}

.strip-icon,
.service-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, #f0bd52 100%);
  box-shadow: 0 12px 24px rgba(215, 154, 47, 0.26);
}

.section {
  padding: 72px 0;
}

.section-sun {
  background:
    radial-gradient(circle at top left, rgba(244, 200, 106, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.section-contrast {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(90, 168, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom left, rgba(244, 200, 106, 0.16), transparent 20%),
    linear-gradient(135deg, #0b1c33 0%, #10284c 52%, #173867 100%);
}

.section-contact {
  padding-top: 40px;
  padding-bottom: 86px;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  color: var(--navy-strong);
}

.section-head-contrast h2,
.section-contrast .project-copy h3,
.section-contrast .project-card h3 {
  color: var(--white);
}

.section-contrast .section-copy,
.section-contrast .project-card p,
.section-contrast .project-copy p {
  color: rgba(255, 255, 255, 0.76);
}

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

.service-card {
  padding: 24px;
}

.service-card h3,
.project-copy h3,
.project-card h3,
.why-card h3,
.contact-card h3 {
  margin-top: 16px;
  margin-bottom: 12px;
  font-size: 2rem;
  color: var(--navy);
}

.project-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
}

.project-feature,
.project-card {
  overflow: hidden;
}

.project-feature {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.wide-photo {
  min-height: 380px;
  margin: 0;
}

.project-copy {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.project-stack {
  display: grid;
  gap: 18px;
}

.project-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.project-card img {
  height: 230px;
}

.project-card > div {
  padding: 20px 22px 24px;
}

.why-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-card {
  padding: 24px;
}

.check-list,
.contact-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.contact-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(16, 40, 76, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(90, 168, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(244, 200, 106, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 24px;
}

.contact-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.site-footer {
  padding: 0 0 36px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid rgba(16, 40, 76, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(16, 40, 76, 0.08);
}

.footer-mark {
  width: 120px;
  border-radius: 16px;
}

.footer-note {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(90, 168, 255, 0.36);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero-shell,
  .project-layout,
  .why-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .trust-row,
  .services-grid,
  .strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-shell {
    width: min(var(--max-width), calc(100% - 26px));
  }

  .topbar {
    padding-top: 12px;
  }

  .nav {
    border-radius: 28px;
    padding: 16px;
  }

  .brand {
    min-height: 70px;
    padding: 6px 11px;
  }

  .brand-logo {
    height: 58px;
  }

  .top-banner {
    flex-direction: column;
    text-align: center;
    border-radius: 24px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-title {
    max-width: 11ch;
  }

  .hero-actions,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "house"
      "panel"
      "lighting"
      "note";
  }

  .why-grid,
  .services-grid,
  .strip-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .section-head h2,
  .project-copy h3,
  .service-card h3,
  .why-card h3,
  .contact-card h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-note,
  .contact-shell,
  .service-card,
  .project-copy,
  .project-card > div,
  .why-card,
  .contact-card,
  .strip-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}
