:root {
  color-scheme: dark;

  --container: min(1160px, 92vw);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --bg: #0f1210;
  --bg-soft: #171b18;
  --bg-deep: #111411;
  --surface: #1f2421;
  --surface-soft: #272d29;
  --text: #f2f4ef;
  --muted: #c7ccbe;
  --line: rgba(255, 255, 255, 0.14);

  --brand: #d69a3b;
  --brand-soft: #efc16c;
  --accent: #4a8b63;
  --brand-haze: rgba(214, 154, 59, 0.22);
  --accent-haze: rgba(74, 139, 99, 0.18);
  --btn-text-dark: #1f1608;
  --icon-ink: #2a1e09;

  --topbar-bg: rgba(9, 10, 9, 0.75);
  --header-bg: rgba(12, 14, 12, 0.88);
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --chip-bg: rgba(255, 255, 255, 0.08);

  --hero-badge-bg: rgba(8, 9, 8, 0.86);
  --card-bg-1: rgba(255, 255, 255, 0.08);
  --card-bg-2: rgba(255, 255, 255, 0.02);
  --card-bg-soft: rgba(255, 255, 255, 0.03);
  --contact-row-bg: rgba(0, 0, 0, 0.25);

  --gallery-overlay-1: rgba(255, 255, 255, 0.01);
  --gallery-overlay-2: rgba(7, 10, 8, 0.92);
  --gallery-overlay-3: rgba(9, 12, 10, 0.92);
  --gallery-item-bg: #111;
  --overlay-pill-bg: rgba(6, 8, 6, 0.66);
  --overlay-pill-border: rgba(255, 255, 255, 0.2);
  --overlay-pill-text: #fff;

  --footer-bg: rgba(0, 0, 0, 0.28);
  --lightbox-bg: rgba(4, 5, 4, 0.92);
  --lightbox-btn-border: rgba(255, 255, 255, 0.26);
  --lightbox-btn-bg: rgba(6, 8, 6, 0.72);
  --lightbox-btn-text: #fff;

  --glow-1: #b78331;
  --glow-2: #3f7a58;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --bg: #eef2ea;
    --bg-soft: #f4f7f1;
    --bg-deep: #e5ece1;
    --surface: #ffffff;
    --surface-soft: #e9efe4;
    --text: #1b261e;
    --muted: #536457;
    --line: rgba(28, 48, 36, 0.2);
    --brand-haze: rgba(214, 154, 59, 0.26);
    --accent-haze: rgba(74, 139, 99, 0.2);

    --topbar-bg: rgba(234, 241, 232, 0.86);
    --header-bg: rgba(244, 248, 241, 0.9);
    --nav-hover-bg: rgba(20, 35, 27, 0.08);
    --chip-bg: rgba(23, 38, 30, 0.08);

    --hero-badge-bg: rgba(245, 249, 241, 0.92);
    --card-bg-1: rgba(255, 255, 255, 0.9);
    --card-bg-2: rgba(232, 238, 228, 0.8);
    --card-bg-soft: rgba(255, 255, 255, 0.76);
    --contact-row-bg: rgba(255, 255, 255, 0.76);

    --gallery-overlay-1: rgba(255, 255, 255, 0.45);
    --gallery-overlay-2: rgba(232, 237, 228, 0.9);
    --gallery-overlay-3: rgba(226, 234, 222, 0.95);
    --gallery-item-bg: #dbe3d8;
    --overlay-pill-bg: rgba(20, 31, 25, 0.7);
    --overlay-pill-border: rgba(255, 255, 255, 0.4);

    --footer-bg: rgba(213, 222, 210, 0.6);
    --lightbox-bg: rgba(11, 17, 13, 0.9);

    --glow-1: #d6b171;
    --glow-2: #88b095;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0f1210;
  --bg-soft: #171b18;
  --bg-deep: #111411;
  --surface: #1f2421;
  --surface-soft: #272d29;
  --text: #f2f4ef;
  --muted: #c7ccbe;
  --line: rgba(255, 255, 255, 0.14);
  --brand-haze: rgba(214, 154, 59, 0.22);
  --accent-haze: rgba(74, 139, 99, 0.18);

  --topbar-bg: rgba(9, 10, 9, 0.75);
  --header-bg: rgba(12, 14, 12, 0.88);
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --chip-bg: rgba(255, 255, 255, 0.08);

  --hero-badge-bg: rgba(8, 9, 8, 0.86);
  --card-bg-1: rgba(255, 255, 255, 0.08);
  --card-bg-2: rgba(255, 255, 255, 0.02);
  --card-bg-soft: rgba(255, 255, 255, 0.03);
  --contact-row-bg: rgba(0, 0, 0, 0.25);

  --gallery-overlay-1: rgba(255, 255, 255, 0.01);
  --gallery-overlay-2: rgba(7, 10, 8, 0.92);
  --gallery-overlay-3: rgba(9, 12, 10, 0.92);
  --gallery-item-bg: #111;
  --overlay-pill-bg: rgba(6, 8, 6, 0.66);
  --overlay-pill-border: rgba(255, 255, 255, 0.2);
  --overlay-pill-text: #fff;

  --footer-bg: rgba(0, 0, 0, 0.28);
  --lightbox-bg: rgba(4, 5, 4, 0.92);

  --glow-1: #b78331;
  --glow-2: #3f7a58;
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg: #eef2ea;
  --bg-soft: #f4f7f1;
  --bg-deep: #e5ece1;
  --surface: #ffffff;
  --surface-soft: #e9efe4;
  --text: #1b261e;
  --muted: #536457;
  --line: rgba(28, 48, 36, 0.2);
  --brand-haze: rgba(214, 154, 59, 0.26);
  --accent-haze: rgba(74, 139, 99, 0.2);

  --topbar-bg: rgba(234, 241, 232, 0.86);
  --header-bg: rgba(244, 248, 241, 0.9);
  --nav-hover-bg: rgba(20, 35, 27, 0.08);
  --chip-bg: rgba(23, 38, 30, 0.08);

  --hero-badge-bg: rgba(245, 249, 241, 0.92);
  --card-bg-1: rgba(255, 255, 255, 0.9);
  --card-bg-2: rgba(232, 238, 228, 0.8);
  --card-bg-soft: rgba(255, 255, 255, 0.76);
  --contact-row-bg: rgba(255, 255, 255, 0.76);

  --gallery-overlay-1: rgba(255, 255, 255, 0.45);
  --gallery-overlay-2: rgba(232, 237, 228, 0.9);
  --gallery-overlay-3: rgba(226, 234, 222, 0.95);
  --gallery-item-bg: #dbe3d8;
  --overlay-pill-bg: rgba(20, 31, 25, 0.7);
  --overlay-pill-border: rgba(255, 255, 255, 0.4);

  --footer-bg: rgba(213, 222, 210, 0.6);
  --lightbox-bg: rgba(11, 17, 13, 0.9);

  --glow-1: #d6b171;
  --glow-2: #88b095;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, var(--brand-haze), transparent 30%),
    radial-gradient(circle at 90% 12%, var(--accent-haze), transparent 36%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-soft) 45%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.55;
  position: relative;
  transition: color 220ms ease, background-color 220ms ease;
}

.site-glow {
  position: fixed;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.35;
  z-index: -1;
}

.site-glow-1 {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--glow-1);
  top: -80px;
  left: -120px;
}

.site-glow-2 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--glow-2);
  bottom: -140px;
  right: -130px;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
  backdrop-filter: blur(6px);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar i {
  color: var(--brand-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
  color: var(--btn-text-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: grid;
  line-height: 1;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand-copy small {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: var(--nav-hover-bg);
  outline: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--chip-bg);
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--brand-soft);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.07;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.3vw, 4rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  color: var(--btn-text-dark);
}

.btn-secondary {
  background: var(--chip-bg);
  border: 1px solid var(--line);
}

.hero-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-points i {
  color: var(--brand-soft);
}

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--hero-badge-bg);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 14px;
  display: grid;
  gap: 2px;
}

.hero-badge strong {
  font-size: 1.55rem;
  color: var(--brand-soft);
  line-height: 1;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 78px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-services .section-head,
.section-process .section-head {
  text-align: center;
  margin-inline: auto;
}

.section-services {
  position: relative;
}

.section-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--card-bg-2), transparent 60%);
  pointer-events: none;
}

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

.service-card {
  background: linear-gradient(160deg, var(--card-bg-1), var(--card-bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.service-card .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
  color: var(--icon-ink);
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-process {
  padding-top: 10px;
}

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

.process-step {
  border: 1px solid var(--line);
  background: var(--card-bg-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.process-step span {
  display: inline-block;
  font-weight: 700;
  color: var(--brand-soft);
  margin-bottom: 14px;
  letter-spacing: 0.07em;
}

.process-step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-gallery {
  background:
    linear-gradient(180deg, var(--gallery-overlay-1), transparent 35%),
    linear-gradient(135deg, var(--gallery-overlay-2), var(--gallery-overlay-3));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.gallery-item {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  position: relative;
  background: var(--gallery-item-bg);
}

.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: auto 10px 10px auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--overlay-pill-text);
  background: var(--overlay-pill-bg);
  border: 1px solid var(--overlay-pill-border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

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

.section-contact {
  padding-bottom: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-copy,
.contact-map {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card-bg-1), var(--card-bg-soft));
}

.contact-copy {
  padding: 30px;
}

.contact-copy p {
  color: var(--muted);
}

.contact-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--contact-row-bg);
  border: 1px solid var(--line);
}

.contact-list i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--icon-ink);
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
}

.contact-list strong {
  display: block;
  font-size: 0.86rem;
  color: var(--brand-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-list span {
  display: block;
  font-size: 0.94rem;
  color: var(--text);
  margin-top: 2px;
}

.contact-person {
  margin: 18px 0 0;
  font-weight: 600;
  color: var(--text) !important;
}

.contact-map {
  padding: 10px;
}

.contact-map iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.footer-inner {
  min-height: 140px;
  padding: 30px 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.footer-inner img {
  width: 88px;
  height: auto;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--lightbox-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 94vw);
}

.lightbox img {
  max-height: min(76vh, 820px);
  width: auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.lightbox figcaption {
  margin-top: 10px;
  text-align: center;
  color: #e8ece5;
  font-size: 0.92rem;
}

.lightbox button {
  border: 1px solid var(--lightbox-btn-border);
  background: var(--lightbox-btn-bg);
  color: var(--lightbox-btn-text);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.15rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

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

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

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

  .hero-media img {
    min-height: 420px;
  }

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

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

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

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

@media (max-width: 780px) {
  .topbar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .brand-copy strong {
    font-size: 1.3rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 4vw 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .hero {
    padding-top: 42px;
  }

  .section {
    padding: 58px 0;
  }

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

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }
}
