:root {
  --bg: #edf4e5;
  --bg-soft: #f9fcf4;
  --surface: rgba(247, 251, 240, 0.88);
  --surface-strong: #f2f8ea;
  --text: #203224;
  --muted: #5b715f;
  --primary: #4c8b3b;
  --primary-deep: #2f5f27;
  --accent: #c7a04a;
  --border: rgba(47, 95, 39, 0.16);
  --shadow: 0 24px 60px rgba(45, 72, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(199, 160, 74, 0.2), transparent 28%),
    radial-gradient(circle at left center, rgba(126, 167, 90, 0.15), transparent 24%),
    linear-gradient(180deg, #dce8cf 0%, var(--bg) 38%, #fbfdf8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 139, 59, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 139, 59, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.4;
}

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

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

.hero {
  min-height: 100vh;
  padding: 28px clamp(20px, 4vw, 60px) 60px;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.brand-mark,
.nav-contact,
.button,
.product-card,
.story-card,
.contact-card,
.highlight-panel {
  backdrop-filter: blur(10px);
}

.brand-mark {
  width: 108px;
  height: 82px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0 10px;
  text-align: center;
  color: var(--bg-soft);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: var(--shadow);
}

.nav-contact {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(250, 252, 244, 0.82);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nav-contact:hover,
.button:hover,
.product-card:hover,
.story-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(251, 253, 247, 0.95), rgba(238, 245, 230, 0.92));
  box-shadow: var(--shadow);
  animation: rise 0.9s ease-out both;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1;
}

h3 {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.tagline {
  margin: 18px 0 20px;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--primary-deep);
}

.hero-copy,
.story-card p,
.highlight-list p,
.contact-card p {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
  color: var(--bg-soft);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(250, 252, 244, 0.82);
}

.section {
  padding: 40px clamp(20px, 4vw, 60px) 88px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.story-grid,
.product-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.story-card,
.contact-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

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

.product-card {
  padding: 28px 22px;
  border-radius: 24px;
  border: 1px solid rgba(199, 160, 74, 0.26);
  background: linear-gradient(180deg, rgba(251, 253, 247, 0.94), rgba(235, 242, 223, 0.86));
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(45, 72, 28, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  box-shadow: 0 22px 42px rgba(45, 72, 28, 0.16);
}

.highlights {
  padding-top: 0;
}

.highlight-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  background: linear-gradient(135deg, #2f5f27 0%, #4c8b3b 52%, #7ea75a 100%);
  color: #f7fbf3;
  box-shadow: var(--shadow);
}

.highlight-panel .eyebrow,
.highlight-panel p {
  color: rgba(247, 251, 243, 0.92);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(45, 72, 28, 0.16);
}

.gallery-card-large {
  grid-column: span 8;
}

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

.gallery-card-large img {
  height: 420px;
}

.gallery-card figcaption {
  padding: 16px 18px 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-deep);
}

.highlight-list {
  display: grid;
  gap: 22px;
}

.highlight-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

.contact-card:first-child {
  grid-column: span 2;
  padding: 34px;
}

.contact-card a {
  color: var(--primary-deep);
  font-weight: 700;
}

.location-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.location-meta p {
  margin: 0;
}

.location-button {
  margin-top: 20px;
  width: fit-content;
}

.location-button[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-badge {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(83, 58, 8, 0.1);
}

.icon-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.phone-icon {
  color: #fffdf6;
  background: linear-gradient(135deg, #4c8b3b 0%, #2f5f27 100%);
}

.whatsapp-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #1abf63 0%, #128c7e 100%);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.inquiry-copy,
.quote-form {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.inquiry-copy p {
  margin: 0 0 16px;
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted);
}

.inquiry-copy a {
  color: var(--primary-deep);
  font-weight: 700;
}

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

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-deep);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(97, 70, 10, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 252, 245, 0.95);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 139, 59, 0.12);
}

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

.quote-form .full-width,
.quote-form button {
  grid-column: 1 / -1;
}

.quote-form button {
  border: 0;
  cursor: pointer;
}

.footer {
  padding: 34px clamp(20px, 4vw, 60px) 22px;
  background: linear-gradient(135deg, #284d21 0%, #3f6f32 52%, #5d8f45 100%);
  color: #f7fbf3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-mark {
  min-width: 98px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  padding: 0 12px;
  font-weight: 800;
  color: #f7fbf3;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand h3,
.footer-block h4 {
  margin: 0 0 10px;
  line-height: 1.05;
}

.footer-brand p,
.footer-block p,
.footer-block a,
.footer-bottom p {
  margin: 0;
  color: rgba(247, 251, 243, 0.88);
  line-height: 1.8;
}

.footer-block {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-block a {
  text-decoration: none;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thanks-card {
  width: min(680px, 100%);
  padding: clamp(32px, 6vw, 56px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(251, 253, 247, 0.95), rgba(238, 245, 230, 0.92));
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  margin-bottom: 18px;
}

.thanks-card p:last-of-type {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.8;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .topbar {
    margin-bottom: 42px;
  }

  .highlight-panel {
    grid-template-columns: 1fr;
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .contact-card:first-child {
    grid-column: auto;
  }

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

  .gallery-card,
  .gallery-card-large {
    grid-column: span 6;
  }

  .gallery-card-large img {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .story-card,
  .contact-card,
  .highlight-panel,
  .inquiry-copy,
  .quote-form,
  .gallery-card {
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-mark {
    width: 94px;
    height: 72px;
    border-radius: 18px;
    font-size: 0.82rem;
  }

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

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

  .gallery-card,
  .gallery-card-large {
    grid-column: auto;
  }

  .gallery-card img,
  .gallery-card-large img {
    height: 240px;
  }

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

  .footer-brand {
    flex-direction: column;
  }
}
