:root {
  --ink: #14261f;
  --muted: #4a5a52;
  --accent: #1f7a3d;
  --accent-2: #f28f16;
  --surface: #f5f3ee;
  --sand: #efe8da;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(20, 38, 31, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f8f1e2, #f4f0e6 40%, #f8f5f0 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid rgba(20, 38, 31, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.brand-text strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

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

.topbar-contact {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.topbar-contact a {
  color: var(--ink);
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 38, 31, 0.08);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.nav-logo {
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 60px 0 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(242, 143, 22, 0.18), transparent 55%);
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 14px 0 18px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.primary {
  background: var(--accent-2);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn.ghost {
  border: 1px solid rgba(31, 122, 61, 0.3);
  color: var(--accent);
  background: transparent;
}

.btn.light {
  background: var(--white);
  color: var(--ink);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.3rem;
}

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

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.hero-card.secondary {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 65%;
  border: 6px solid var(--white);
}

.section {
  padding: 90px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 122, 61, 0.08), transparent 55%);
  opacity: 0.6;
  z-index: 1;
}

.section > .container {
  z-index: 2;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.split-text h2,
.section-head h2,
.cta h2,
.contact h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.split-text p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding: 12px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 38, 31, 0.1);
}

.stacked {
  display: grid;
  gap: 18px;
}

.stacked img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(20, 38, 31, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(20, 38, 31, 0.18);
}

.product-card h3 {
  margin-top: 0;
}

.product-card p {
  color: var(--muted);
}

.services {
  background: var(--sand);
}

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

.service-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 18px 50px rgba(20, 38, 31, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(20, 38, 31, 0.18);
}

.service-card span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-2);
}

.cta {
  background: linear-gradient(120deg, #1f7a3d, #2d8a4a);
  color: var(--white);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 18px;
  height: 220px;
  object-fit: cover;
  display: block;
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-details div {
  background: var(--white);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(20, 38, 31, 0.08);
}

.contact-form {
  background: var(--white);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-form label span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(20, 38, 31, 0.15);
  font-family: inherit;
}

.footer {
  background: #0f1f19;
  color: var(--white);
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.admin-form {
  display: grid;
  gap: 24px;
}

.admin-section {
  border: 1px solid rgba(20, 38, 31, 0.08);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 12px;
}

.admin-section h3 {
  margin: 0;
  font-family: "Fraunces", serif;
}

.admin-group {
  display: grid;
  gap: 12px;
}

.admin-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(20, 38, 31, 0.2);
  background: rgba(245, 243, 238, 0.6);
}

.admin-item .btn {
  justify-self: start;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-card.secondary {
    position: relative;
    width: 100%;
    right: 0;
    bottom: 0;
  }
}
