* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Inter, Segoe UI, Arial, sans-serif;
  background: #f3efe7;
  color: #243129;
  background-image:
    linear-gradient(rgba(78, 92, 83, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 92, 83, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow-x: hidden;
}

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

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

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

.topbar {
  border-bottom: 1px solid rgba(114, 132, 103, 0.18);
  background: rgba(247, 243, 235, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d8260, #a6b88f);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(109, 130, 96, 0.22);
}

.brand small {
  display: block;
  color: #6d796f;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.links {
  display: flex;
  gap: 1.2rem;
  color: #4b5a50;
  font-weight: 600;
}

.links a {
  position: relative;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6d8260, #95ab7e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.links a:hover::after,
.links a:focus-visible::after {
  transform: scaleX(1);
}

.menu {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(114, 132, 103, 0.18);
  background: #fffaf2;
}

.menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: #243129;
  margin: 5px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.12rem;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #6d8260, #95ab7e);
  color: #f8f5ee;
  box-shadow: 0 12px 24px rgba(109, 130, 96, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 28px rgba(109, 130, 96, 0.28);
}

.btn-secondary {
  background: #fffaf2;
  border: 1px solid rgba(114, 132, 103, 0.18);
  color: #243129;
}

.hero {
  position: relative;
  padding: 1.7rem 0 1.2rem;
}

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

.hero-full-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #d9d1c5;
  box-shadow: 0 22px 46px rgba(82, 73, 57, 0.14);
}

.hero-full-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-full-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-full-body h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.hero-full-body p {
  margin: 0;
  color: #66756b;
  line-height: 1.8;
  max-width: 52ch;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -3rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 184, 143, 0.32), transparent 70%);
  filter: blur(2px);
  animation: floatGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-video-layout {
  align-items: center;
}

.hero-media {
  display: grid;
  gap: 1rem;
}

.hero-video-card {
  position: relative;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #d9d1c5, #b4c4a0);
  border: 1px solid rgba(114, 132, 103, 0.18);
  box-shadow: 0 22px 46px rgba(82, 73, 57, 0.12);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #d9d1c5, #b4c4a0);
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: 1.2rem;
  background:
    linear-gradient(90deg, rgba(20, 24, 22, 0.84) 0%, rgba(20, 24, 22, 0.58) 38%, rgba(20, 24, 22, 0.2) 68%, rgba(20, 24, 22, 0.08) 100%),
    radial-gradient(circle at top right, rgba(166, 184, 143, 0.26), transparent 42%),
    url("media/ksr-hero-background.jpg") center center / cover no-repeat;
  color: #f8f5ee;
  transition: opacity 0.3s ease;
}

.hero-visual-copy {
  max-width: min(380px, 68%);
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(15, 22, 19, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.hero-visual-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #f3f7f0;
  border-color: rgba(255, 255, 255, 0.18);
}

.video-fallback h3 {
  margin: 0.65rem 0 0;
  max-width: 12ch;
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.video-fallback p {
  margin: 0.8rem 0 0;
  max-width: 32ch;
  color: rgba(248, 245, 238, 0.96);
  line-height: 1.7;
}

.hero-video-card.video-ready .video-fallback {
  opacity: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  z-index: 2;
}

.video-overlay span {
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.slab,
.panel,
.table-card,
.form-card,
.side-card,
.service-tile,
.process-card,
.coverage-box {
  background: rgba(255, 251, 244, 0.92);
  border: 1px solid rgba(114, 132, 103, 0.18);
  box-shadow: 0 20px 42px rgba(82, 73, 57, 0.08);
}

.slab,
.panel,
.table-card,
.form-card,
.side-card,
.coverage-box {
  border-radius: 18px;
}

.slab {
  padding: 1.6rem;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}


.hero-copy::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 130, 96, 0.15), transparent 72%);
}

.slab h1 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.45rem, 4.4vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 9ch;
}

.slab p {
  margin: 0 0 1.2rem;
  color: #66756b;
  line-height: 1.8;
  max-width: 56ch;
}

.eyebrow {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(149, 171, 126, 0.18);
  color: #55674c;
  border: 1px solid rgba(114, 132, 103, 0.18);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-copy .area-tags span {
  background: #f5eee3;
}

.hero-media-grid .mini {
  min-height: 100%;
}

.hero-media-grid .accent-card {
  background: linear-gradient(135deg, rgba(149, 171, 126, 0.26), rgba(247, 241, 231, 0.95));
}

.area-tags,
.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

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

.area-tags span,
.coverage-tags span {
  padding: 0.6rem 0.82rem;
  border-radius: 999px;
  background: #f7f1e7;
  border: 1px solid rgba(114, 132, 103, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.area-tags span:hover,
.coverage-tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(82, 73, 57, 0.07);
}

.panel {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.mini {
  padding: 1rem;
  border-radius: 14px;
  background: #f7f1e7;
  border: 1px solid rgba(114, 132, 103, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px rgba(82, 73, 57, 0.09);
}

.mini strong {
  display: block;
  margin-bottom: 0.4rem;
}

.accent-card {
  background: linear-gradient(135deg, rgba(149, 171, 126, 0.2), rgba(247, 241, 231, 0.95));
}

.section {
  padding: 1rem 0 1.35rem;
}

.section-head h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0.7rem 0 0;
  color: #66756b;
  max-width: 58ch;
  line-height: 1.8;
}

.service-grid,
.process-grid,
.pricing-layout,
.contact-layout {
  display: grid;
  gap: 1rem;
}

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

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

.service-tile,
.process-card,
.price-card {
  padding: 1.15rem;
  border-radius: 18px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-tile:hover,
.process-card:hover,
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 30px rgba(82, 73, 57, 0.1);
  border-color: rgba(109, 130, 96, 0.28);
}

.service-tile h3,
.process-card h3,
.side-card h3,
.coverage-copy h3,
.price-card h3 {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  font-size: 1rem;
}

.service-tile p,
.process-card p,
.side-card p,
.form-note,
.coverage-copy p,
.price-card p,
.service-note {
  margin: 0;
  color: #66756b;
  line-height: 1.7;
}

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

.process-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d8260, #95ab7e);
  color: #f8f5ee;
  font-weight: 800;
}

.coverage-box {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: center;
}

.coverage-tags {
  justify-content: flex-start;
}

.service-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 251, 244, 0.92);
  border: 1px solid rgba(114, 132, 103, 0.18);
  box-shadow: 0 16px 30px rgba(82, 73, 57, 0.06);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.price-card {
  background: rgba(255, 251, 244, 0.92);
  border: 1px solid rgba(114, 132, 103, 0.18);
  box-shadow: 0 20px 42px rgba(82, 73, 57, 0.08);
}

.price-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d796f;
}

.price-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.8rem;
  line-height: 1;
}

.contact-section {
  padding-top: 1.2rem;
}

.contact-shell {
  display: grid;
  gap: 1rem;
}

.contact-intro {
  max-width: 70ch;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-mini-card {
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 251, 244, 0.92);
  border: 1px solid rgba(114, 132, 103, 0.18);
  box-shadow: 0 20px 42px rgba(82, 73, 57, 0.08);
  display: grid;
  gap: 0.5rem;
}

.contact-mini-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1rem;
}

.contact-mini-card p {
  margin: 0;
  color: #66756b;
  line-height: 1.7;
}

.mini-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d796f;
}

.mini-helper {
  color: #66756b;
  line-height: 1.6;
}

.mini-link {
  font-weight: 800;
  color: #55674c;
}

.contact-layout-alt {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: stretch;
}

.contact-story {
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 239, 228, 0.98), rgba(235, 243, 228, 0.92));
  border: 1px solid rgba(114, 132, 103, 0.18);
  box-shadow: 0 20px 42px rgba(82, 73, 57, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-story::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(149, 171, 126, 0.24), transparent 70%);
}

.contact-story h3 {
  position: relative;
  margin: 0.8rem 0 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.story-steps {
  position: relative;
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.story-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 251, 244, 0.72);
  border: 1px solid rgba(114, 132, 103, 0.14);
}

.story-step strong {
  display: block;
  margin-bottom: 0.24rem;
}

.story-step p {
  margin: 0;
  color: #66756b;
  line-height: 1.65;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d8260, #95ab7e);
  color: #f8f5ee;
  font-weight: 800;
  font-size: 0.88rem;
}

.story-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.story-badges span {
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.78);
  border: 1px solid rgba(114, 132, 103, 0.16);
  font-weight: 700;
}

.contact-form-card {
  position: relative;
}

.form-caption {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6d796f;
}

.toggle-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.toggle-row button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(114, 132, 103, 0.16);
  background: #fffaf2;
  color: #243129;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.toggle-row button.active {
  background: linear-gradient(135deg, #6d8260, #95ab7e);
  color: #f8f5ee;
  box-shadow: 0 12px 24px rgba(109, 130, 96, 0.22);
}

.pricing-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.table-card {
  padding: 1.1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid rgba(114, 132, 103, 0.12);
  vertical-align: top;
}

th {
  color: #55674c;
}

.side-card,
.form-card {
  padding: 1.2rem;
}

.side-button {
  margin-top: 1rem;
}

.contact-layout {
  grid-template-columns: 0.92fr 1.08fr;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(114, 132, 103, 0.16);
  background: #fffdf8;
  color: #243129;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(109, 130, 96, 0.7);
  box-shadow: 0 0 0 4px rgba(149, 171, 126, 0.16);
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  padding: 0 0 1.4rem;
  color: #66756b;
}

.footer-card {
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(114, 132, 103, 0.12);
}

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

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

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

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

  .hero-full-video-wrap {
    aspect-ratio: 16 / 9;
  }

  .hero,
  .pricing-layout,
  .contact-layout,
  .service-grid,
  .service-grid-6,
  .pricing-cards,
  .contact-mini-grid,
  .hero-media-grid,
  .grid2,
  .panel-grid,
  .process-grid,
  .coverage-box {
    grid-template-columns: 1fr 1fr;
  }

  .links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.4rem 0;
  }

  .links.open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .hero,
  .pricing-layout,
  .contact-layout,
  .service-grid,
  .service-grid-6,
  .pricing-cards,
  .contact-mini-grid,
  .hero-media-grid,
  .grid2,
  .panel-grid,
  .process-grid,
  .coverage-box {
    grid-template-columns: 1fr;
  }

  .hero-video-card {
    min-height: 360px;
  }

  .hero-visual-copy {
    max-width: 100%;
    padding: 0.95rem;
  }

  .video-fallback {
    padding: 0.95rem;
  }

  .video-overlay {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .slab h1 {
    max-width: 100%;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
