:root {
  --bg: #f6faf5;
  --bg-strong: #e8f3e6;
  --panel: #ffffff;
  --panel-deep: #00563f;
  --text: #16352d;
  --muted: #5f756d;
  --line: rgba(0, 86, 63, 0.14);
  --gold: #2f933f;
  --gold-soft: #94d80e;
  --accent: #d84826;
  --shadow: 0 18px 44px rgba(0, 86, 63, 0.1);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #eef7ec 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 86, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 63, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.08), transparent 50%);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 86, 63, 0.1);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand-logo {
  width: 172px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-btn {
  min-width: 92px;
  padding: 12px 16px;
  border: 1px solid rgba(31, 29, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-btn.active {
  color: #fff;
  background: linear-gradient(145deg, #00563f, #2f933f);
  border-color: transparent;
}

.hero,
.page-hero {
  padding: 72px 0 30px;
}

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 86, 63, 0.86), rgba(0, 86, 63, 0.58) 42%, rgba(0, 86, 63, 0.08) 75%),
    url("assets/hero-garden-tools.png") center / cover no-repeat;
  color: #fff;
}

.hero-grid,
.split-layout,
.factory-layout,
.contact-layout {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-copy h2,
.product-card h2,
.factory-notes h2,
.contact-card h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  max-width: 15ch;
}

.page-hero h1 {
  max-width: 18ch;
}

.section-heading h2,
.split-copy h2,
.factory-notes h2,
.contact-card h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 60ch;
}

.hero .lead,
.hero .eyebrow,
.hero .hero-points {
  color: rgba(255, 255, 255, 0.88);
}

.narrow {
  max-width: 54ch;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.button-solid {
  color: #fff;
  background: linear-gradient(145deg, #00563f, #2f933f);
  box-shadow: var(--shadow);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button-outline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--panel-deep);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--panel-deep);
  font-weight: 800;
}

.text-link + .text-link {
  margin-left: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  margin-right: 8px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card,
.feature-card,
.catalog-card,
.product-card,
.timeline-card,
.custom-card,
.contact-card,
.inquiry-form,
.note-item,
.workflow-step,
.stat-card,
.spec-row,
.contact-strip > div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.panel-card {
  border-radius: var(--radius);
  padding: 28px;
  color: var(--text);
}

.panel-card.large h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.panel-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.panel-label,
.product-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(148, 216, 14, 0.18);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stats-row,
.feature-grid,
.product-grid,
.custom-grid,
.note-list {
  display: grid;
  gap: 16px;
}

.stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  border-radius: var(--radius);
  padding: 22px;
}

.stat-card strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 2.4rem;
}

.stat-card span {
  color: var(--muted);
}

.section {
  padding: 34px 0 18px;
}

.section-muted {
  padding: 28px 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.compact-heading {
  margin-bottom: 24px;
}

.compact-heading h2 {
  font-family: "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 18ch;
}

.feature-grid,
.product-grid,
.custom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.product-card,
.timeline-card,
.custom-card {
  border-radius: var(--radius);
  padding: 26px;
}

.feature-card h3,
.custom-card h2,
.timeline-card h2,
.product-card h2 {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.9rem;
}

.feature-card p,
.product-card p,
.custom-card p,
.timeline-card p,
.factory-notes p,
.note-item span,
.catalog-card,
.contact-card p,
.spec-row span {
  color: var(--muted);
  line-height: 1.8;
}

.split-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.split-layout.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.catalog-card {
  border-radius: var(--radius);
  padding: 24px;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  font-size: 1.05rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(232, 243, 230, 0.88)),
    linear-gradient(145deg, rgba(148, 216, 14, 0.12), transparent);
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.product-card li + li {
  margin-top: 10px;
}

.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-showcase-card {
  position: relative;
  display: grid;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.category-showcase-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.category-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 31, 24, 0.04), rgba(5, 31, 24, 0.84));
}

.category-showcase-card span,
.category-showcase-card strong {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 1;
}

.category-showcase-card span {
  bottom: 74px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}

.category-showcase-card strong {
  bottom: 18px;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

.category-showcase-card:hover img {
  transform: scale(1.04);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #20c767, #0f7f46);
  box-shadow: 0 16px 34px rgba(16, 127, 70, 0.28);
  font-weight: 760;
  letter-spacing: 0.01em;
  isolation: isolate;
  animation: whatsappFloat 3.8s ease-in-out infinite;
  transition: box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.whatsapp-float::before {
  content: "Need price? Chat now";
  position: absolute;
  right: 8px;
  bottom: calc(100% + 12px);
  padding: 9px 12px;
  border: 1px solid rgba(0, 86, 63, 0.12);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(0, 86, 63, 0.12);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: calc(100% + 5px);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.96);
  transform: rotate(45deg);
  pointer-events: none;
}

.whatsapp-float__pulse {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(32, 199, 103, 0.22);
  animation: whatsappPulse 2.8s ease-out infinite;
}

.whatsapp-float__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-float__icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.whatsapp-float__text {
  font-size: 0.94rem;
  line-height: 1;
}

.whatsapp-float:hover {
  background: linear-gradient(145deg, #25d366, #0e8f4d);
  box-shadow: 0 20px 42px rgba(16, 127, 70, 0.36);
}

@keyframes whatsappFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.88);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float__pulse {
    animation: none;
  }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.timeline-card h2 {
  margin-top: 14px;
}

.factory-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.factory-image {
  display: grid;
  gap: 12px;
}

.image-frame {
  min-height: 380px;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(31, 29, 26, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 86, 63, 0.92), rgba(22, 53, 45, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(148, 216, 14, 0.2), transparent 20%);
  position: relative;
  overflow: hidden;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.image-bar {
  position: absolute;
  left: 10%;
  right: 14%;
  bottom: 24%;
  height: 86px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(232, 243, 230, 0.08), rgba(255, 255, 255, 0.2), rgba(148, 216, 14, 0.18));
}

.image-bar.mid {
  bottom: 42%;
  left: 18%;
  right: 8%;
  height: 70px;
  opacity: 0.82;
}

.image-bar.short {
  bottom: 60%;
  left: 12%;
  right: 22%;
  height: 58px;
  opacity: 0.7;
}

.caption {
  margin: 0;
  color: var(--muted);
}

.note-list {
  margin-top: 18px;
}

.note-item,
.workflow-step,
.spec-row,
.contact-strip > div {
  border-radius: var(--radius);
  padding: 18px 20px;
}

.note-item strong,
.workflow-step strong,
.spec-row strong,
.contact-strip strong {
  display: block;
  margin-bottom: 8px;
}

.workflow {
  display: grid;
  gap: 14px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.workflow-step span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #00563f, #2f933f);
  font-weight: 700;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-card {
  border-radius: var(--radius);
  padding: 30px;
}

.contact-lines {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.contact-lines a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.inquiry-form {
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 29, 26, 0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

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

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-strip > div {
  padding: 22px;
  border-radius: var(--radius);
}

.featured-product,
.featured-product-grid,
.product-detail-layout,
.product-gallery,
.product-note-grid {
  display: grid;
  gap: 24px;
}

.featured-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-product {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.featured-product.compact {
  grid-template-columns: 0.75fr 1fr;
  gap: 18px;
}

.featured-product img,
.product-main-image,
.product-gallery img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.featured-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.featured-product h3 {
  margin: 12px 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.featured-product.compact h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.featured-product p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.8;
}

.product-detail-hero {
  padding-bottom: 52px;
}

.product-detail-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.product-main-image {
  margin: 0;
  padding: 14px;
  box-shadow: var(--shadow);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-specs {
  align-self: stretch;
}

.product-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-band {
  padding-bottom: 34px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 86, 63, 0.96), rgba(47, 147, 63, 0.9)),
    linear-gradient(90deg, rgba(216, 72, 38, 0.16), transparent);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.cta-inner .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.cta-inner .button-solid {
  flex: 0 0 auto;
  background: #fff;
  color: var(--panel-deep);
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 29, 26, 0.12);
}

.footer-inner p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.footer-contact span {
  font-weight: 700;
}

.footer-contact a {
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .factory-layout,
  .contact-layout,
  .featured-product,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .timeline,
  .feature-grid,
  .product-grid,
  .category-showcase-grid,
  .custom-grid,
  .contact-strip,
  .stats-row,
  .featured-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .brand-logo {
    width: 190px;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-btn {
    min-width: calc(50% - 5px);
  }

  .hero,
  .page-hero {
    padding-top: 46px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
    line-height: 1.04;
  }

  .timeline,
  .feature-grid,
  .product-grid,
  .category-showcase-grid,
  .custom-grid,
    .contact-strip,
    .stats-row,
    .catalog-grid,
    .product-gallery,
    .product-note-grid,
    .featured-product-grid,
    .featured-product.compact {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    justify-items: start;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 16px;
    min-height: 50px;
    padding: 8px 11px 8px 8px;
    box-shadow: 0 12px 28px rgba(16, 127, 70, 0.3);
  }

  .whatsapp-float::before,
  .whatsapp-float::after {
    display: none;
  }

  .whatsapp-float__icon {
    width: 34px;
    height: 34px;
  }

  .whatsapp-float__text {
    font-size: 0.84rem;
  }
}
