:root {
  --sky-100: #eaf6ff;
  --sky-200: #d8ecff;
  --blue-600: #186ba8;
  --blue-700: #145684;
  --ink-900: #16242f;
  --ink-700: #304451;
  --leaf-500: #4b7f4f;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(20, 62, 92, 0.14);
  --shadow: 0 18px 34px rgba(23, 59, 87, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--sky-100), var(--sky-200));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.68), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.42), transparent 44%);
}

.topbar,
main,
.footer {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.topbar {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(234, 246, 255, 0.86);
  backdrop-filter: blur(8px);
}

.brand,
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  letter-spacing: 0.02em;
}

.brand {
  text-decoration: none;
  color: var(--ink-900);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.35rem 0.65rem;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  border-radius: 0.45rem;
}

.nav a:hover {
  border-color: var(--blue-600);
  background: rgba(24, 107, 168, 0.08);
}

main {
  padding-bottom: 1.2rem;
}

.section {
  margin-bottom: 1rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.8vw, 1.9rem);
}

.hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
}

.hero-copy,
.hero-photo-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.8vw, 1.9rem);
}

.kicker {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--blue-700);
}

h1,
h2 {
  margin: 0.35rem 0 0.65rem;
  line-height: 0.95;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.section-head {
  margin-bottom: 0.7rem;
}

.btn {
  display: inline-block;
  margin-top: 0.6rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  font-weight: 700;
  padding: 0.74rem 1.2rem;
  border-radius: 0.7rem;
  box-shadow: 0 10px 18px rgba(22, 89, 135, 0.22);
}

.hero-photo-wrap {
  padding: 0;
  overflow: hidden;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.8rem;
}

.service-grid article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.9rem;
}

.service-grid p {
  margin: 0;
  color: var(--ink-700);
}

.photo-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, 1fr);
}

.photo-grid img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-image {
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(23, 59, 87, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 30, 0.86);
  z-index: 1000;
  padding: 1.1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1120px, 96vw);
  max-height: 88vh;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  color: #16242f;
  font-weight: 700;
  cursor: pointer;
}

form {
  max-width: 660px;
  display: grid;
  gap: 0.5rem;
}

label {
  font-size: 0.95rem;
  font-weight: 600;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.62rem 0.68rem;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.95);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(24, 107, 168, 0.22);
  border-color: var(--blue-600);
}

button {
  justify-self: start;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.7rem 1.2rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf-500), #3f6a43);
  font-weight: 700;
  cursor: pointer;
}

.form-note {
  margin-top: 0;
  color: var(--ink-700);
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

#formStatus {
  min-height: 1.15em;
  margin: 0.2rem 0 0;
  font-weight: 600;
}

#formStatus.loading {
  color: var(--blue-700);
}

#formStatus.success {
  color: #1f6b33;
}

#formStatus.error {
  color: #8f2b00;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.footer {
  padding: 0.25rem 0 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-photo-wrap img {
    min-height: 300px;
  }

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

@media (max-width: 700px) {
  .topbar,
  main,
  .footer {
    width: min(1120px, 94%);
  }

  .topbar {
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
    padding: 0.75rem 0;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .nav a {
    font-size: 0.92rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
  }

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

  .photo-grid img {
    height: 260px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .hero-copy,
  .panel {
    padding: 1rem;
  }

  .section {
    margin-bottom: 0.8rem;
  }

  .btn,
  button {
    width: 100%;
    text-align: center;
  }

  .lightbox {
    padding: 0.8rem;
  }

  .lightbox img {
    max-height: 82vh;
  }

  .lightbox-close {
    top: 0.65rem;
    right: 0.65rem;
    min-height: 44px;
    min-width: 44px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
}
