:root {
  --ink: #17191c;
  --graphite: #22262b;
  --muted: #73777d;
  --line: #e7e3dd;
  --paper: #f6f3ee;
  --white: #ffffff;
  --accent: #c9672d;
  --accent-dark: #a54d1f;
  --shadow: 0 24px 70px rgba(23, 25, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: rgba(23, 25, 28, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), #e09548);
  font-weight: 900;
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  content: "";
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 160px clamp(20px, 6vw, 84px) 56px;
  color: var(--white);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 19, 21, 0.9), rgba(18, 19, 21, 0.48) 58%, rgba(18, 19, 21, 0.12)),
    linear-gradient(0deg, rgba(18, 19, 21, 0.72), rgba(18, 19, 21, 0.08) 48%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: 72px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  width: 42px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics span {
  display: block;
  padding: 18px;
  background: rgba(23, 25, 28, 0.72);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  color: var(--accent);
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 6vw, 84px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
}

.copy {
  color: var(--graphite);
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-intro {
  max-width: 760px;
  margin: -16px 0 34px;
  color: var(--graphite);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 26px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card span {
  color: var(--accent);
  font-weight: 900;
}

.service-card h3 {
  margin-top: 34px;
  font-size: 1.2rem;
}

.service-card p,
.why-item p,
.faq-item p,
.testimonial p {
  color: var(--muted);
}

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

.area-text {
  margin: 0 0 26px;
  color: var(--graphite);
  font-size: 1.08rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
}

.why {
  color: var(--white);
  background: var(--graphite);
}

.why .section-label,
.why .section-heading {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.why-item {
  min-height: 220px;
  padding: 28px;
  background: #2b3036;
}

.gallery {
  column-count: 3;
  column-gap: 18px;
}

.gallery-item {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  cursor: pointer;
  break-inside: avoid;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.36s ease, opacity 0.36s ease;
}

.gallery-item:nth-child(2n) img {
  min-height: 360px;
}

.gallery-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--white);
  font-weight: 900;
  text-align: left;
}

.gallery-item:hover img {
  opacity: 0.72;
  transform: scale(1.04);
}

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

.testimonial {
  margin: 0;
  padding: 30px;
  background: var(--white);
  border-left: 4px solid var(--accent);
}

.testimonial cite {
  display: block;
  margin-top: 24px;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.faq-section {
  background: #eee9e1;
}

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

.faq-item {
  padding: 28px;
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: 6px;
}

.faq-item h3 {
  font-size: 1.1rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  color: var(--white);
  background: var(--ink);
}

.contact-copy a,
.contact-copy p {
  display: block;
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: #52565c;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.privacy-check a,
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf8;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 103, 45, 0.14);
}

.notice,
.alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-weight: 800;
}

.notice {
  color: #28513a;
  background: #e6f4ec;
}

.alert {
  color: #7a211b;
  background: #fbe7e4;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.72);
  background: #101113;
}

.footer strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.legal-page {
  min-height: 100vh;
  padding-top: 110px;
  background: var(--paper);
}

.legal-content {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.legal-content h1 {
  max-width: none;
  margin: 12px 0 34px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.legal-content p,
.legal-content li {
  color: #4e5359;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-page {
  background: var(--paper);
}

.service-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: end;
  padding: 150px clamp(20px, 7vw, 110px) 70px;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.service-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 17, 19, 0.94), rgba(15, 17, 19, 0.5) 62%, rgba(15, 17, 19, 0.2));
  content: "";
}

.service-hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  min-width: 0;
}

.service-hero h1 {
  max-width: 1000px;
  margin: 12px 0 24px;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.service-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.service-details {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.service-details > *,
.service-band > * {
  min-width: 0;
}

.service-details h2,
.service-band h2,
.related-services h2 {
  margin: 10px 0 20px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.service-details > p,
.service-band p {
  color: #4e5359;
  font-size: 1.02rem;
  line-height: 1.8;
}

.scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.scope-list li {
  position: relative;
  padding: 20px 20px 20px 46px;
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  font-weight: 800;
}

.scope-list li::before {
  position: absolute;
  left: 8px;
  color: var(--accent);
  content: "✓";
}

.service-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 90px);
  background: #fff;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--graphite);
}

.service-cta h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.related-links a {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  font-weight: 900;
}

.related-links a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .service-details,
  .service-band,
  .related-links {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: 72vh;
    padding: 128px 18px 44px;
  }

  .related-links a {
    border-right: 0;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 40px 20px;
  color: var(--white);
  background: rgba(9, 10, 11, 0.88);
}

.lightbox.active {
  display: grid;
}

.lightbox img {
  max-height: 78vh;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox span {
  margin-top: 12px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.admin-body {
  background: #ece8e1;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(23, 25, 28, 0.94), rgba(23, 25, 28, 0.78)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 34px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0;
}

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

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px;
  color: var(--white);
  background: var(--ink);
}

.admin-brand small {
  display: none;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-logout {
  padding: 12px 14px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.74);
}

.admin-sidebar nav a:hover,
.admin-logout:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.admin-logout {
  margin-top: auto;
}

.admin-main {
  padding: 34px clamp(18px, 4vw, 54px) 70px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.admin-panel {
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(23, 25, 28, 0.08);
}

.admin-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
}

.admin-panel h3 {
  margin: 30px 0 14px;
}

.admin-notice {
  margin-bottom: 18px;
}

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

.stats-grid div {
  padding: 24px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 4px;
}

.stats-grid strong {
  display: block;
  font-size: 2.4rem;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form.compact {
  max-width: 460px;
}

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

.wide {
  grid-column: 1 / -1;
}

.repeat-list {
  display: grid;
  gap: 10px;
}

.repeat-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(220px, 1fr);
  gap: 10px;
}

.gallery-add {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.admin-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf8;
}

.admin-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-gallery strong {
  display: block;
  padding: 10px;
}

.admin-gallery article div {
  display: flex;
  gap: 6px;
  padding: 0 10px 10px;
}

.admin-gallery button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .gallery-add {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    display: none;
    padding: 18px;
    background: rgba(23, 25, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
  }

  .nav.open {
    display: grid;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 18px 28px;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-width: 0;
    padding-bottom: 34px;
  }

  .hero-subtitle,
  .hero-text {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1.32rem;
    line-height: 1.25;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics,
  .split,
  .contact,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .section-heading {
    display: grid;
  }

  .section {
    padding: 64px 18px;
  }

  .service-grid,
  .why-grid,
  .testimonial-grid,
  .faq-grid,
  .form-grid,
  .repeat-row,
  .stats-grid,
  .gallery-add,
  .admin-gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    column-count: 1;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-header {
    display: grid;
  }
}
