:root {
  --blue-deep: #004995;
  --blue-brand: #0079c8;
  --blue-bright: #009fe3;
  --ink: #142235;
  --slate: #5d6a78;
  --mist: #edf5f9;
  --line: #d7e4eb;
  --white: #ffffff;
  --stone: #f7f8f7;
  --warm: #c8bda8;
  --shadow: 0 18px 60px rgba(0, 73, 149, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(215, 228, 235, 0.7);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(20, 34, 53, 0.08);
}

.brand {
  width: clamp(168px, 18vw, 230px);
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: clamp(32px, 6vw, 86px);
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 92px) 70px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 251, 0.92) 48%, rgba(237, 245, 249, 0.86) 100%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(0, 121, 200, 0.08) 119px 120px);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18vh;
  min-height: 110px;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, transparent 0 52%, rgba(0, 73, 149, 0.08) 52% 62%, transparent 62%);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: 0;
  width: clamp(380px, 45vw, 680px);
  opacity: 0.075;
  transform: translateY(-50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 3.3rem);
  line-height: 1.04;
  font-weight: 720;
}

.hero-logo-title {
  width: min(100%, 520px);
  margin-bottom: 18px;
}

.hero-logo-title img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--slate);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero-actions,
.contact-layout {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--blue-deep);
  border-radius: 6px;
  font-weight: 780;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--blue-deep);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--blue-deep);
}

.hero-aside {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-self: center;
  padding-top: 50px;
}

.hero-aside span {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 73, 149, 0.18);
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 680;
}

.section {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 760;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.1;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.intro > p,
.statement > p,
.contact-layout > p {
  max-width: 760px;
  color: var(--slate);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

.banner-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(68px, 8vw, 118px) clamp(20px, 6vw, 92px);
  background: linear-gradient(90deg, var(--blue-deep), #082a55);
  color: var(--white);
}

.banner-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

.banner-copy .eyebrow {
  color: var(--blue-bright);
}

.banner-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.banner-preview img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.services {
  background: var(--stone);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-panel {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-panel.accent {
  background: var(--blue-deep);
  color: var(--white);
}

.service-index {
  color: var(--blue-bright);
  font-size: 0.88rem;
  font-weight: 820;
}

.service-panel p {
  color: var(--slate);
  font-size: 1.05rem;
}

.service-panel.accent p,
.service-panel.accent .service-index {
  color: rgba(255, 255, 255, 0.78);
}

.service-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
}

.service-panel.accent li {
  color: var(--white);
}

.service-panel li::before {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  content: "";
  border-radius: 50%;
  background: var(--blue-bright);
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline li {
  min-height: 260px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  counter-increment: process;
}

.timeline li:last-child {
  border-right: 0;
}

.timeline li::before {
  display: block;
  margin-bottom: 54px;
  color: var(--blue-brand);
  content: "0" counter(process);
  font-size: 0.86rem;
  font-weight: 820;
}

.timeline span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 760;
}

.timeline p {
  margin-bottom: 0;
  color: var(--slate);
}

.statement {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.62fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  padding: clamp(76px, 10vw, 142px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(0, 73, 149, 0.93), rgba(0, 121, 200, 0.78)),
    url("assets/lakeside-logo-square.png") right -140px center / 560px auto no-repeat;
  color: var(--white);
}

.statement .eyebrow,
.statement p {
  color: rgba(255, 255, 255, 0.82);
}

.projects {
  background: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-card > div:last-child {
  padding: 26px;
}

.project-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-brand);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.project-card p {
  margin: 0;
  color: var(--slate);
}

.project-visual {
  min-height: 230px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 73, 149, 0.8), rgba(0, 159, 227, 0.34)),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255, 255, 255, 0.35) 53px 54px),
    var(--mist);
}

.project-visual-one {
  background:
    linear-gradient(135deg, rgba(0, 73, 149, 0.84), rgba(0, 159, 227, 0.28)),
    linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, 0.8) 58% 72%, transparent 72%),
    var(--mist);
}

.project-visual-two {
  background:
    linear-gradient(145deg, rgba(20, 34, 53, 0.72), rgba(0, 121, 200, 0.42)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.82) 0 18%, transparent 18%),
    var(--mist);
}

.project-visual-three {
  background:
    linear-gradient(135deg, rgba(0, 73, 149, 0.78), rgba(200, 189, 168, 0.72)),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.9) 0 8%, transparent 9%),
    var(--mist);
}

.reviews {
  background: var(--stone);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card,
.review-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(20, 34, 53, 0.06);
}

.review-card {
  padding: 26px;
}

.stars {
  margin-bottom: 16px;
  color: var(--blue-bright);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.review-card p {
  color: var(--ink);
  font-size: 1.05rem;
}

.review-card span {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 720;
}

.review-form,
.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.review-form h3,
.contact-form h3 {
  margin-bottom: 2px;
  font-size: 1.45rem;
}

.review-form label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
}

.review-form input,
.review-form select,
.review-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.review-form input,
.review-form select,
.contact-form input {
  min-height: 46px;
  padding: 10px 12px;
}

.review-form textarea,
.contact-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px;
}

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

.contact {
  background: var(--mist);
}

.contact-layout {
  justify-content: space-between;
  gap: 28px;
  padding-top: 10px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: start;
  margin-top: 44px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(20, 34, 53, 0.06);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-options label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--stone);
}

.contact-options input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--blue-brand);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-details a,
.contact-details address {
  min-height: 138px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-style: normal;
  font-weight: 720;
}

.contact-details span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-brand);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 6vw, 92px);
  color: var(--slate);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 190px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }

  .intro,
  .statement,
  .banner-section,
  .service-grid,
  .project-grid,
  .reviews-layout,
  .contact-panel,
  .contact-details {
    grid-template-columns: 1fr;
  }

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

  .timeline li {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }

  .timeline li:nth-child(2n) {
    border-right: 0;
  }

  .timeline li:last-child {
    border-bottom: 0;
  }

  .timeline li::before {
    margin-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 14px 18px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 54px 20px 42px;
  }

  .hero-mark {
    display: none;
  }

  .hero-logo-title {
    width: min(100%, 300px);
    margin-bottom: 18px;
  }

  .hero-aside {
    display: none;
  }

  .service-panel {
    min-height: auto;
  }

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

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

  .timeline li {
    border-right: 0;
  }

  .contact-options,
  .form-row {
    grid-template-columns: 1fr;
  }
}
