:root {
  --bg: #f6f1e8;
  --bg-soft: #fffaf3;
  --ink: #18352f;
  --ink-soft: #5d746e;
  --line: rgba(24, 53, 47, 0.1);
  --accent: #0f766e;
  --accent-2: #d97706;
  --accent-3: #f3c97a;
  --panel: rgba(255, 250, 243, 0.92);
  --panel-strong: #ffffff;
  --dark: #163630;
  --dark-2: #21453d;
  --shadow: 0 24px 60px rgba(37, 59, 53, 0.14);
  --shadow-strong: 0 32px 90px rgba(22, 39, 35, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.1), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(15, 118, 110, 0.12), transparent 22%),
    linear-gradient(180deg, #f9f4ec 0%, #f6f1e8 100%);
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

code {
  font-family: inherit;
  background: rgba(15, 118, 110, 0.08);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.page-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 53, 47, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 53, 47, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.page-glow {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
}

.page-glow-left {
  top: -12rem;
  left: -12rem;
  background: rgba(217, 119, 6, 0.2);
}

.page-glow-right {
  top: 16rem;
  right: -12rem;
  background: rgba(15, 118, 110, 0.2);
}

.site-header,
.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(250, 246, 239, 0.82);
  border-bottom: 1px solid rgba(24, 53, 47, 0.08);
  z-index: 30;
  box-shadow: 0 12px 28px rgba(24, 53, 47, 0.08), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #19a59a);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
}

.brand-text small {
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.96rem 1.36rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #19a59a);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(15, 118, 110, 0.28);
}

.button-small {
  padding: 0.8rem 1.14rem;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(24, 53, 47, 0.14);
  box-shadow: none;
}

.hero {
  padding: calc(5rem + 1.5rem) 0 4.5rem;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(rgba(24, 53, 47, 0.05) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  opacity: 0.32;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 3.5rem;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 4.8vw, 4.9rem);
  max-width: 10ch;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  max-width: 14ch;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.34rem;
}

.hero-text,
.section-text,
.feature-card p,
.service-card p,
.floating-panel p,
.contact-copy p,
.process-card p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero-points li {
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 53, 47, 0.08);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(24, 53, 47, 0.05);
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.hero-badge {
  min-width: 220px;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 243, 233, 0.95));
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: var(--shadow);
}

.hero-badge span,
.mini-stat span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-badge strong,
.mini-stat strong {
  font-size: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card,
.feature-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 236, 0.95));
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: var(--shadow-strong);
}

.visual-card {
  width: min(100%, 490px);
  min-height: 590px;
  padding: 2rem;
}

.orb,
.graphic-ring,
.visual-sheen,
.mini-stat {
  position: absolute;
}

.orb {
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.85;
}

.orb-a {
  top: 1.2rem;
  right: 1rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.42), rgba(15, 118, 110, 0));
  animation: float 8s ease-in-out infinite;
}

.orb-b {
  left: 0.8rem;
  bottom: 5rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.34), rgba(217, 119, 6, 0));
  animation: float 10s ease-in-out infinite reverse;
}

.graphic-ring {
  border-radius: 50%;
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.ring-a {
  width: 320px;
  height: 320px;
  top: -74px;
  left: -68px;
}

.ring-b {
  width: 200px;
  height: 200px;
  right: -24px;
  bottom: 50px;
  border-color: rgba(217, 119, 6, 0.16);
}

.visual-sheen {
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.58) 46%, transparent 70%);
  transform: translateX(-120%) rotate(8deg);
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "main top"
    "main middle"
    "wide wide";
  gap: 1rem;
  margin: 4.2rem 0 7rem;
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: 0 16px 34px rgba(24, 53, 47, 0.1);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-photo:hover img {
  transform: scale(1.04);
}

.hero-photo-main {
  grid-area: main;
  min-height: 340px;
}

.hero-photo-top {
  grid-area: top;
  min-height: 160px;
}

.hero-photo-middle {
  grid-area: middle;
  min-height: 160px;
}

.hero-photo-wide {
  grid-area: wide;
  min-height: 150px;
}

.floating-panel {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 1;
  padding: 1.3rem 1.4rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: 0 18px 40px rgba(24, 53, 47, 0.1);
}

.floating-panel strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.mini-stat {
  z-index: 1;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: 0 18px 34px rgba(24, 53, 47, 0.1);
}

.stat-one {
  top: 1.4rem;
  left: 1.4rem;
}

.stat-two {
  right: 1.2rem;
  top: 10rem;
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-dark {
  background:
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #f6efe4;
}

.section-dark .eyebrow {
  color: var(--accent-3);
}

.section-dark h2,
.section-dark h3 {
  color: #fffaf2;
}

.section-dark .section-text,
.section-dark .service-card p {
  color: rgba(255, 246, 232, 0.78);
}

.section-accent {
  background:
    radial-gradient(circle at 12% 22%, rgba(217, 119, 6, 0.14), transparent 20%),
    linear-gradient(180deg, #fffaf3 0%, #f8efe1 100%);
}

.section-heading {
  margin-bottom: 2rem;
}

.features-grid,
.services-grid,
.gallery-grid,
.process-grid {
  display: grid;
  gap: 1.4rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  padding: 1.8rem;
}

.feature-number {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  font-weight: 700;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card,
.process-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.process-card {
  background: linear-gradient(180deg, #ffffff, #fff6ea);
}

.service-card {
  background: rgba(255, 249, 240, 0.08);
  border-color: rgba(255, 239, 211, 0.12);
}

.service-card:hover,
.process-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(24, 53, 47, 0.16);
}

.process-note {
  margin-top: 1.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 226, 0.95));
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: var(--shadow);
}

.area-highlight {
  margin-top: 1rem;
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #19a59a);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(15, 118, 110, 0.2);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.area-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 53, 47, 0.08);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(24, 53, 47, 0.06);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 53, 47, 0.08);
  padding: 0;
  text-align: left;
  border-radius: 28px;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(16, 43, 38, 0.88));
}

.gallery-overlay strong {
  display: block;
  font-size: 1.02rem;
  color: #fff;
}

.gallery-overlay span {
  color: rgba(255, 247, 233, 0.82);
  font-size: 0.95rem;
}

.map-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(15, 118, 110, 0.08), transparent 20%),
    radial-gradient(circle at 12% 82%, rgba(217, 119, 6, 0.08), transparent 22%);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.map-copy {
  display: grid;
  gap: 1.2rem;
}

.map-info-card,
.map-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 236, 0.95));
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: var(--shadow-strong);
}

.map-info-card {
  padding: 1.6rem;
}

.map-info-card span,
.map-badge span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.map-info-card strong,
.map-badge strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.3;
}

.map-info-card p {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.map-card {
  min-height: 520px;
  padding: 1rem;
}

.map-badge {
  position: absolute;
  top: 1.8rem;
  left: 1.8rem;
  z-index: 2;
  max-width: 300px;
  padding: 0.95rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 53, 47, 0.08);
  box-shadow: 0 18px 34px rgba(24, 53, 47, 0.12);
  backdrop-filter: blur(10px);
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 488px;
  border: 0;
  border-radius: 24px;
  filter: saturate(0.95) contrast(1.02);
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
}

.contact-card a,
.contact-card div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 53, 47, 0.08);
}

.contact-card span {
  color: var(--ink-soft);
}

.contact-card strong {
  font-size: 1.1rem;
}

.site-footer {
  padding: 1.3rem 0 2rem;
  border-top: 1px solid rgba(24, 53, 47, 0.08);
  background: rgba(255, 250, 243, 0.65);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

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

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

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.tilt-card::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.48), transparent 28%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.tilt-card:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(18, 33, 30, 0.86);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.lightbox img {
  max-height: min(78vh, 900px);
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  color: #f9f0df;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 58px;
  height: 58px;
  font-size: 2rem;
}

@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes sheen {
  0%, 100% {
    transform: translateX(-120%) rotate(8deg);
  }
  50% {
    transform: translateX(120%) rotate(8deg);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .services-layout,
  .contact-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

  .visual-card {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
    max-width: 100%;
  }

  .hero-badge {
    min-width: 100%;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .visual-card {
    min-height: 430px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "top middle"
      "wide wide";
    margin: 4rem 0 7rem;
  }

  .hero-photo-main {
    min-height: 220px;
  }

  .hero-photo-top,
  .hero-photo-middle,
  .hero-photo-wide {
    min-height: 130px;
  }

  .map-card {
    min-height: 420px;
  }

  .map-frame {
    min-height: 388px;
  }

  .map-badge {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .lightbox {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 1.5rem;
  }

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

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

  .footer-layout {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
