:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-strong: #f0ebe4;
  --ink: #171b1f;
  --muted: #6d746b;
  --line: rgba(23, 27, 31, 0.12);
  --brand: #c9653d;
  --brand-2: #6f7f66;
  --dark: #202428;
  --shadow: 0 24px 70px rgba(30, 33, 35, 0.13);
}

html[data-theme="arka-dark"] {
  color-scheme: dark;
  --bg: #111414;
  --surface: #1a1f1e;
  --surface-strong: #222a27;
  --ink: #f6f0e8;
  --muted: #bcc6b8;
  --line: rgba(246, 240, 232, 0.13);
  --brand: #dd7a4d;
  --brand-2: #99aa8a;
  --dark: #f6f0e8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

html[data-theme="copper"] {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --surface-strong: #f2e3d7;
  --ink: #201916;
  --muted: #776a62;
  --line: rgba(32, 25, 22, 0.13);
  --brand: #b85a36;
  --brand-2: #2b3032;
}

html[data-theme="sage"] {
  --bg: #f5f7f1;
  --surface: #ffffff;
  --surface-strong: #e6eddf;
  --ink: #17201b;
  --muted: #657165;
  --line: rgba(23, 32, 27, 0.13);
  --brand: #8a5c3d;
  --brand-2: #64785b;
}

html[data-theme="graphite"] {
  color-scheme: dark;
  --bg: #121417;
  --surface: #1e2327;
  --surface-strong: #282f34;
  --ink: #f7f3ee;
  --muted: #b4bbb9;
  --line: rgba(247, 243, 238, 0.14);
  --brand: #d4744d;
  --brand-2: #8c9c87;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(20, 24, 24, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 4px 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: clamp(190px, 24vw, 330px);
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.site-nav a:hover,
.icon-link:hover {
  color: var(--ink);
}

.site-header .button-ghost {
  color: var(--ink);
}

.site-header .button-primary {
  border-color: var(--brand);
  background: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button-ghost {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.button-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #08120c;
}

.icon-link {
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: stretch;
  gap: clamp(24px, 5vw, 64px);
  min-height: calc(100vh - 86px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px) 34px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6.8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.stats dt {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
}

.stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-slider {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--surface-strong);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08) translateX(-2.2%);
}

.slide.is-active img {
  animation: heroImageDrift 6.2s ease-in-out forwards;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.66));
}

.slide-caption {
  position: absolute;
  left: clamp(18px, 4vw, 38px);
  right: clamp(18px, 4vw, 38px);
  bottom: clamp(24px, 4vw, 42px);
  z-index: 2;
  color: #fff;
}

.slide-caption span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.slide-caption h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.slide-caption p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.slider-controls {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-controls button {
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.slider-controls button.is-active {
  background: #fff;
}

.section,
.custom-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) 0;
}

.section + .section {
  padding-top: clamp(28px, 4vw, 52px);
}

.projects,
.completed {
  padding-top: clamp(30px, 4vw, 54px);
}

section.projects {
  padding-bottom: clamp(18px, 2.5vw, 32px);
}

section.completed {
  padding-top: clamp(14px, 2.2vw, 28px);
}

.projects + .completed {
  padding-top: clamp(14px, 2.2vw, 28px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

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

.about-heading {
  display: block;
  max-width: 820px;
  margin-left: 0;
}

.section-heading h2,
.custom-band h2,
.contact h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.03;
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, var(--brand) 6%), var(--surface));
  box-shadow: var(--shadow);
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  padding: clamp(28px, 5vw, 54px);
}

.about-text > p,
.contact-info p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.about-signature {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about-signature span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.about-signature strong {
  max-width: 430px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.08;
}

.about-points {
  display: grid;
  align-content: stretch;
  border-left: 1px solid var(--line);
}

.about-points article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
  border-bottom: 1px solid var(--line);
}

.about-points article:last-child {
  border-bottom: 0;
}

.about-points span {
  color: var(--brand);
  font-weight: 850;
}

.about-points p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.5;
}

.about-visual {
  grid-column: 1 / -1;
  position: relative;
  height: clamp(220px, 34vw, 390px);
  margin: 0;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 26, 0.18), rgba(201, 101, 61, 0.18));
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-local-band {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(20, 24, 24, 0.07);
}

.seo-local-band h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.04;
}

.seo-local-band > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-tags span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.service-grid,
.project-grid,
.completed-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

.service-card,
.timeline article,
.contact-form,
.project-card,
.completed-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card,
.timeline article {
  padding: 26px;
}

.service-card h3,
.timeline h3,
.project-card h3,
.completed-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.service-card p,
.timeline p,
.project-content p,
.completed-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

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

.project-card {
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 1.4, 0.32, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-card img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.28s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 24px 64px rgba(20, 24, 24, 0.16);
}

.project-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.project-card:hover .project-meta span,
.project-card:hover .features span {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface-strong));
  color: var(--ink);
}

.project-card:hover .text-link {
  color: color-mix(in srgb, var(--brand) 84%, #000);
}

.project-content {
  padding: 24px;
}

.project-meta,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta {
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-meta span,
.features span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.location {
  margin-bottom: 14px !important;
  color: var(--brand) !important;
  font-weight: 800;
}

.completion {
  margin: -6px 0 14px !important;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 850;
}

.features {
  margin-top: 16px;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.project-details span {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.project-details small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 850;
}

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

.completed-item {
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 1.4, 0.32, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.completed-item img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.28s ease;
}

.completed-item:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
  box-shadow: 0 22px 58px rgba(20, 24, 24, 0.14);
}

.completed-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.completed-item div {
  padding: 20px;
}

.completed-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

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

.custom-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 5vw, 52px);
  border-radius: 8px;
  background: var(--dark);
  color: var(--bg);
}

.custom-band p {
  max-width: 760px;
  color: color-mix(in srgb, var(--bg) 78%, transparent);
  line-height: 1.62;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 34px;
  align-items: start;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 60px);
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 116px) 0 clamp(34px, 5vw, 58px);
}

.contact-hero h1 {
  max-width: 920px;
}

.contact-panel {
  display: grid;
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel span,
.contact-panel a:not(.button) {
  color: var(--muted);
  font-weight: 750;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(64px, 8vw, 112px);
}

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

.map-card iframe {
  width: 100%;
  height: 430px;
  border: 0;
  background: var(--surface-strong);
}

.map-card div {
  padding: 24px;
}

.map-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.map-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form.elevated {
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 15px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-message {
  margin: 0;
  padding: 14px;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 750;
}

.form-message p {
  margin: 0;
}

.form-message p + p {
  margin-top: 6px;
}

.form-message.is-success {
  background: color-mix(in srgb, #25d366 18%, var(--surface));
}

.form-message.is-error,
.client-errors {
  background: color-mix(in srgb, #c9653d 16%, var(--surface));
  color: var(--ink);
}

.client-errors {
  margin: 0;
  border-radius: 6px;
  padding: 0;
  font-weight: 750;
}

.client-errors:not(:empty) {
  padding: 12px;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.checkbox-line input {
  width: 18px;
  margin-top: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand p {
  margin: 0;
}

.site-footer img {
  width: 190px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.08) translateX(-2.2%);
  }
  to {
    transform: scale(1.08) translateX(2.2%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-active img {
    animation: none;
  }

  .project-card,
  .completed-item,
  .project-card img,
  .completed-item img {
    transition: none;
  }
}

.footer-legal {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .about-body,
  .contact,
  .contact-hero,
  .contact-page-grid,
  .seo-local-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    order: 2;
  }

  .hero-slider {
    order: 1;
  }

  .hero-slider {
    min-height: 460px;
  }

  .service-grid,
  .project-grid,
  .completed-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 190px;
  }

  .hero {
    padding-inline: 16px;
  }

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

  .hero-slider {
    min-height: 390px;
  }

  .slide-caption h2 {
    font-size: 30px;
  }

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

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

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

  .map-card iframe {
    height: 330px;
  }

  .project-details {
    grid-template-columns: 1fr;
  }
}
