:root {
  --ink: #08213f;
  --muted: #52657a;
  --soft-muted: #6f8194;
  --blue-900: #073e78;
  --blue-800: #084984;
  --blue-700: #0a5ca8;
  --blue-500: #0c74be;
  --cyan: #51c8e8;
  --aqua: #dff8ff;
  --sun: #f5b642;
  --white: #ffffff;
  --mist: #f4fbfe;
  --line: rgba(7, 62, 120, 0.14);
  --shadow: 0 24px 70px rgba(7, 62, 120, 0.14);
  --radius: 8px;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 182, 66, 0.16), transparent 18rem),
    radial-gradient(circle at 0% 9%, rgba(81, 200, 232, 0.22), transparent 23rem),
    linear-gradient(180deg, #fbfeff 0%, #f5fbff 44%, #ffffff 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.motion-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.motion-layer span {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(81, 200, 232, 0.18), transparent 62%);
  filter: blur(3px);
  animation: drift-field 16s ease-in-out infinite;
}

.motion-layer span:nth-child(1) {
  top: 7%;
  left: -18%;
}

.motion-layer span:nth-child(2) {
  top: 44%;
  right: -20%;
  background: radial-gradient(circle, rgba(245, 182, 66, 0.15), transparent 64%);
  animation-delay: -5s;
}

.motion-layer span:nth-child(3) {
  bottom: -18%;
  left: 22%;
  width: 34vw;
  height: 34vw;
  animation-delay: -9s;
}

.motion-layer span:nth-child(4) {
  top: 72%;
  right: 18%;
  width: 18vw;
  height: 18vw;
  background: radial-gradient(circle, rgba(12, 116, 190, 0.13), transparent 66%);
  animation-delay: -12s;
}

.motion-layer span:nth-child(5) {
  top: 20%;
  left: 48%;
  width: 16vw;
  height: 16vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 58%);
  animation: glimmer-field 9s ease-in-out infinite;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 8px 12px 8px 0;
  border: 1px solid rgba(7, 62, 120, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(8, 33, 63, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(178px, 18vw, 255px);
  min-height: 62px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(7, 62, 120, 0.1));
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover img {
  transform: translateY(-2px) rotate(-1deg);
  filter: drop-shadow(0 14px 24px rgba(7, 62, 120, 0.18));
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.primary-nav a,
.site-footer a {
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer a:hover {
  color: var(--blue-500);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 8px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(7, 62, 120, 0.18);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-copy,
.hero-visual,
.section-heading > *,
.split-section > *,
.contact-section > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.8vw, 5.55rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 630px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(7, 62, 120, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--blue-900);
  backdrop-filter: blur(8px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--blue-900);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: visible;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 280ms ease;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.hero-visual::before {
  inset: 7% -5% 18% 0;
  background: radial-gradient(circle, rgba(81, 200, 232, 0.3), transparent 66%);
  filter: blur(2px);
  animation: breathe 7s ease-in-out infinite;
}

.hero-visual::after {
  right: -5%;
  bottom: 4%;
  width: 72%;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(223, 248, 255, 0.08));
  transform: rotate(-7deg);
  opacity: 0.72;
}

.sun-disc {
  position: absolute;
  top: 28px;
  right: 26px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #ffd46d, var(--sun) 58%, #ec9f1f);
  box-shadow: 0 0 0 22px rgba(245, 182, 66, 0.13), 0 0 75px rgba(245, 182, 66, 0.26);
  animation: sun-drift 8s ease-in-out infinite;
}

.solar-array {
  position: absolute;
  top: 120px;
  left: 4%;
  display: grid;
  grid-template-columns: repeat(3, minmax(78px, 1fr));
  gap: 8px;
  width: min(475px, 94%);
  transform: rotate(-9deg) skewX(-8deg);
  transform-origin: center;
  filter: drop-shadow(0 30px 42px rgba(7, 62, 120, 0.22));
  animation: panel-rise 850ms ease-out both;
}

.solar-array span {
  min-height: 112px;
  border: 4px solid var(--blue-900);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.5), transparent 32%),
    linear-gradient(150deg, #b7edff 0%, #54b7df 46%, #07549a 100%);
}

.solar-array span::after {
  content: "";
  display: block;
  width: 180%;
  height: 24px;
  margin: 18px 0 0 -50%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(-18deg);
  animation: glint 4.5s ease-in-out infinite;
}

.solar-array:hover span {
  transform: translateY(-4px);
}

.solar-array span {
  transition: transform 220ms ease;
}

.sparkle {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: rotate(45deg);
  opacity: 0;
  animation: sparkle-pop 3.6s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.sparkle::before {
  width: 4px;
  height: 28px;
  border-radius: 999px;
}

.sparkle::after {
  width: 28px;
  height: 4px;
  border-radius: 999px;
}

.sparkle-one {
  top: 72px;
  left: 20%;
}

.sparkle-two {
  top: 190px;
  right: 8%;
  animation-delay: 1.1s;
}

.sparkle-three {
  bottom: 148px;
  left: 11%;
  animation-delay: 2.2s;
}

.shine-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: rotate(-9deg);
  opacity: 0.8;
}

.shine-line-one {
  top: 106px;
  left: 0;
  width: 86%;
  animation: sweep 5.8s ease-in-out infinite;
}

.shine-line-two {
  top: 332px;
  right: 0;
  width: 72%;
  animation: sweep 7.2s ease-in-out infinite 1.1s;
}

.water-ribbon {
  position: absolute;
  right: -9%;
  left: -3%;
  height: 88px;
  border-radius: 50%;
  border-top: 14px solid rgba(12, 116, 190, 0.74);
  transform: rotate(-7deg);
  animation: ribbon-flow 5.4s ease-in-out infinite;
}

.ribbon-one {
  bottom: 86px;
}

.ribbon-two {
  bottom: 48px;
  border-top-color: rgba(81, 200, 232, 0.66);
  transform: rotate(-3deg);
  animation-delay: -1.8s;
}

.result-callout {
  position: absolute;
  right: 2%;
  bottom: 112px;
  width: min(245px, calc(100% - 56px));
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 44px rgba(7, 62, 120, 0.1);
  backdrop-filter: blur(16px);
  animation: float-card 5.5s ease-in-out infinite;
}

.result-callout span,
.result-callout strong {
  display: block;
}

.result-callout span {
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.result-callout strong {
  color: var(--blue-900);
  font-size: 1.35rem;
  line-height: 1.05;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p,
.split-section p,
.about-card p,
.contact-copy p {
  color: var(--muted);
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1rem;
}

.service-card,
.process-list li,
.about-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(7, 62, 120, 0.07);
  backdrop-filter: blur(12px);
}

.service-card {
  min-height: 290px;
  padding: clamp(1.2rem, 3vw, 2rem);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(81, 200, 232, 0.45);
}

.feature-card {
  background: linear-gradient(145deg, var(--blue-900), var(--blue-500));
  color: var(--white);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.82);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.7rem;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--blue-900);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 1rem;
}

.trust-list > div {
  padding: 0 0 1rem 1.25rem;
  border-left: 4px solid var(--cyan);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 1.25rem;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 0.4rem;
}

.about-section {
  padding-top: 1rem;
}

.about-card {
  max-width: 850px;
  padding: clamp(1.6rem, 5vw, 3rem);
  background:
    linear-gradient(120deg, rgba(223, 248, 255, 0.55), rgba(255, 255, 255, 0.64)),
    var(--white);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.contact-details a,
.contact-details span {
  color: var(--blue-900);
  font-weight: 900;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.quote-form label,
.quote-form legend {
  color: var(--blue-900);
  font-weight: 900;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--white);
}

.quote-form fieldset {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  padding: 0;
  border: 0;
}

.service-choice-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.choice {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 900;
  cursor: pointer;
}

.choice.is-selected {
  border-color: transparent;
  background: var(--blue-900);
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--blue-900);
  font-weight: 900;
}

.hero-copy,
.service-card,
.trust-list > div,
.process-list li,
.about-card,
.contact-copy,
.quote-form {
  animation: fade-up 680ms ease-out both;
}

.service-card:nth-child(2),
.trust-list > div:nth-child(2),
.process-list li:nth-child(2) {
  animation-delay: 80ms;
}

.service-card:nth-child(3),
.trust-list > div:nth-child(3),
.process-list li:nth-child(3) {
  animation-delay: 160ms;
}

.process-list li:nth-child(4) {
  animation-delay: 240ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-9deg) skewX(-8deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-9deg) skewX(-8deg);
  }
}

@keyframes glint {
  0%,
  72%,
  100% {
    transform: translateX(-22%) rotate(-18deg);
  }

  42% {
    transform: translateX(36%) rotate(-18deg);
  }
}

@keyframes sweep {
  0%,
  100% {
    opacity: 0.12;
    transform: translateX(-24px) rotate(-9deg);
  }

  50% {
    opacity: 0.82;
    transform: translateX(24px) rotate(-9deg);
  }
}

@keyframes sun-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

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

  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift-field {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(5vw, -3vh, 0) scale(1.08);
  }
}

@keyframes glimmer-field {
  0%,
  100% {
    opacity: 0.18;
    transform: translate3d(-2vw, 2vh, 0) scale(0.9);
  }

  50% {
    opacity: 0.68;
    transform: translate3d(2vw, -2vh, 0) scale(1.18);
  }
}

@keyframes sparkle-pop {
  0%,
  22%,
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(45deg);
  }

  35% {
    opacity: 1;
    transform: scale(1) rotate(45deg);
  }

  48% {
    opacity: 0.1;
    transform: scale(1.35) rotate(45deg);
  }
}

@keyframes ribbon-flow {
  0%,
  100% {
    translate: -10px 0;
  }

  50% {
    translate: 18px -8px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    place-content: center;
    background: var(--white);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--blue-900);
  }

  .primary-nav {
    position: fixed;
    inset: 82px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 48px rgba(8, 33, 63, 0.11);
  }

  body.menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem;
  }

  .hero,
  .section-heading,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
    max-width: 560px;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .motion-layer span {
    width: 76vw;
    height: 76vw;
  }

  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding-left: 12px;
  }

  .brand {
    width: 160px;
    min-height: 58px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
    line-height: 1;
  }

  .hero {
    width: min(100% - 24px, 1180px);
    padding-top: 2.4rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 350px;
    width: 100%;
  }

  .sparkle-two {
    right: 0;
  }

  .solar-array {
    left: 7%;
    grid-template-columns: repeat(2, minmax(92px, 1fr));
    width: 86%;
  }

  .sun-disc {
    top: 30px;
    right: 26px;
    width: 84px;
    height: 84px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 3.4rem 0;
  }

  .service-grid,
  .process-list,
  .service-choice-group {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .contact-section {
    padding-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
