@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f5f6f0;
  --surface: #ffffff;
  --surface-alt: #e9ecdd;
  --text: #1f2b22;
  --muted: #455247;
  --brand: #2a6a3f;
  --brand-strong: #1f4f2f;
  --line: #c8cfbe;
  --max-width: 1100px;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(34, 53, 39, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Work Sans", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f9f4 0%, #f1f3ea 100%);
  line-height: 1.5;
}

a {
  color: var(--brand-strong);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--brand-strong);
  text-decoration: none;
}

.brand-logo {
  display: block;
  margin: 0;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background-image: url("assets/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.25);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 5rem 0 3rem;
  background-image: linear-gradient(135deg, rgba(17, 37, 24, 0.8), rgba(23, 49, 31, 0.45)),
    url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #f2f7f1;
  animation: rise-in 0.7s ease-out both;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #dbe8d9;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-secondary {
  color: #f8fff7;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section {
  padding: 3.4rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid #dde2d2;
  border-bottom: 1px solid #dde2d2;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 68ch;
}

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

.service-card,
.contact-card,
.calculator-card,
.facebook-placeholder,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card,
.calculator-card,
.facebook-placeholder,
.contact-form {
  animation: rise-in 0.6s ease-out both;
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
  animation-delay: 0.08s;
}

.service-card,
.contact-card,
.facebook-placeholder {
  padding: 1.1rem;
}

.hero .contact-card {
  color: var(--text);
}

.hero .contact-card h2 {
  color: var(--brand-strong);
  margin-bottom: 0.85rem;
}

.info-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: #2d3b31;
}

.info-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-strong);
  background: #e8efe3;
  border: 1px solid #d3dccb;
}

.info-icon svg {
  width: 1rem;
  height: 1rem;
}

.info-item a {
  word-break: break-word;
}

.service-card ul {
  margin-top: 0.7rem;
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.calculator-card {
  padding: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.contact-form {
  padding: 1rem;
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #2d3b31;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b8c0b0;
  border-radius: 8px;
  padding: 0.62rem 0.7rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #90be9b;
  outline-offset: 1px;
}

.calculator-actions {
  margin-top: 1rem;
}

.calc-result {
  display: block;
  margin-top: 1rem;
  padding: 0.8rem;
  background: #eff6ec;
  border: 1px solid #cad8c4;
  border-radius: 8px;
  min-height: 3.2rem;
  color: #243126;
}

.form-status {
  margin: 0.8rem 0 0;
  font-weight: 600;
}

.facebook-embed {
  max-width: 500px;
}

.facebook-embed iframe {
  display: block;
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.facebook-link {
  margin: 0.8rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  color: var(--muted);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .nav-list {
    flex-wrap: wrap;
  }

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