:root {
  --bg: #eef5ec;
  --bg-2: #e3efdf;
  --white: #ffffff;
  --text: #17271b;
  --muted: #516355;
  --primary: #1f8a4a;
  --primary-dark: #146537;
  --accent: #f0b35f;
  --line: #d3e3d2;
  --soft: #e9f4e8;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 16px 38px rgba(16, 42, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 138, 74, 0.14), transparent 34%),
    radial-gradient(circle at 82% 2%, rgba(240, 179, 95, 0.2), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 247, 236, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 173, 144, 0.28);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  text-decoration: none;
  color: #114b2a;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.22rem;
}

nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #1f3424;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 8px 11px;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

nav a:hover {
  background: #ddeddd;
}

.hero {
  padding: 74px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.24fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d9efd9 0%, #f2dfbf 100%);
  color: #1a5d32;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.01em;
}

.lead {
  color: #3f5144;
  max-width: 62ch;
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card,
.card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(154, 188, 157, 0.44);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  background:
    linear-gradient(150deg, rgba(235, 248, 234, 0.98) 0%, rgba(255, 248, 236, 0.9) 100%);
}

.hero-card ul {
  padding-left: 18px;
  margin: 0;
  color: #435448;
  display: grid;
  gap: 9px;
}

.section {
  padding: 44px 0 66px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(230, 242, 228, 0.75) 0%, rgba(233, 245, 231, 0.92) 100%);
  border-top: 1px solid rgba(162, 194, 165, 0.34);
  border-bottom: 1px solid rgba(162, 194, 165, 0.34);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(16, 42, 25, 0.13);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p,
.muted {
  color: var(--muted);
}

.gallery-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
  border: 1px solid rgba(152, 181, 154, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 22px rgba(28, 50, 33, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 11px 12px;
  font-weight: 700;
  color: #2a4530;
  font-size: 0.93rem;
}

.testimonials {
  align-items: stretch;
}

.testimonial {
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 2.2rem;
  color: rgba(31, 138, 74, 0.22);
  font-family: Georgia, serif;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #294931;
}

.faq-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(151, 183, 154, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.95rem;
}

textarea,
select,
input {
  border: 1px solid #c4d8c6;
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

textarea:focus,
select:focus,
input:focus {
  outline: none;
  border-color: #5ea773;
  box-shadow: 0 0 0 4px rgba(31, 138, 74, 0.14);
}

.contact-info p {
  margin: 0 0 10px;
}

.contact-info a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.table-wrap {
  margin: 18px 0 20px;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid rgba(148, 180, 151, 0.45);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(20, 44, 27, 0.07);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #edf3ee;
}

th {
  background: linear-gradient(90deg, #e9f4e9 0%, #f3e7d2 100%);
  color: #22412b;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: 0;
}

.btn {
  border: 0;
  background: linear-gradient(130deg, var(--primary) 0%, #0f6a36 100%);
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(20, 84, 45, 0.26);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(20, 84, 45, 0.33);
}

.btn-ghost {
  background: #eff7ef;
  color: var(--primary-dark);
  box-shadow: none;
  border: 1px solid #c4dcc8;
}

.btn-small {
  padding: 9px 13px;
  border-radius: 999px;
}

.calc-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}

.calc-form {
  display: grid;
  gap: 14px;
}

.calc-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-row {
  border: 1px solid #cee0cf;
  border-radius: 12px;
  padding: 10px;
  background: #f9fdf9;
}

.service-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

input:disabled {
  background: #f0f4f1;
  color: #89988d;
}

small {
  color: var(--muted);
  font-weight: 500;
}

.result ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.breakdown-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2eee3;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #dbe9dd;
}

.breakdown-item strong {
  white-space: nowrap;
}

.total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #c5d8c9;
  font-size: 1.08rem;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid rgba(148, 176, 151, 0.4);
  background: #e8f1e5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-grid,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .cards,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .topbar {
    position: static;
  }

  .nav {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }

  .nav nav a {
    flex: 0 0 auto;
    border: 1px solid #cde0cf;
    border-radius: 10px;
    background: #fff;
    padding: 9px 10px;
    text-align: center;
  }

  .nav nav a.btn {
    background: linear-gradient(130deg, var(--primary) 0%, #0f6a36 100%);
    color: #fff;
    border: 0;
  }

  .hero-actions,
  .form-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .cards,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: 94%;
  }

  .hero {
    padding: 36px 0 18px;
  }

  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .section {
    padding: 28px 0 46px;
  }

  .hero-card,
  .card {
    padding: 18px;
    border-radius: 16px;
  }

  .nav nav a {
    font-size: 0.88rem;
    padding: 8px 10px;
  }

  th,
  td {
    padding: 11px 12px;
    font-size: 0.92rem;
  }

  .breakdown-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
