/* ============================================
   Croxyglobal Botanical — Common
   ============================================ */
:root {
  --bg: #f7f5ef;
  --card: #fffdf9;
  --ink: #2e3b2c;
  --ink-soft: #5a6b55;
  --ink-muted: #8a9683;
  --green-deep: #3f5a3c;
  --green-mid: #6b8f67;
  --sage: #a8bca1;
  --sage-soft: #e4ede0;
  --terracotta: #c97b4a;
  --terracotta-soft: #f6e7da;
  --radius: 24px;
  --shadow: 0 6px 22px rgba(63, 90, 60, 0.1);
  --shadow-hover: 0 14px 34px rgba(63, 90, 60, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Avenir Next",
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Organic leaf shapes ---- */
.leaf-shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  animation: leafSway 11s ease-in-out infinite;
}

.leaf-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -140px;
  background: radial-gradient(
    circle at 30% 30%,
    var(--sage-soft),
    transparent 70%
  );
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}

.leaf-2 {
  width: 360px;
  height: 360px;
  top: 42vh;
  right: -130px;
  background: radial-gradient(
    circle at 60% 40%,
    var(--terracotta-soft),
    transparent 70%
  );
  border-radius: 40% 60% 35% 65% / 58% 42% 60% 40%;
  animation-delay: 3s;
}

.leaf-3 {
  width: 320px;
  height: 320px;
  top: 105vh;
  left: 6vw;
  background: radial-gradient(
    circle at 50% 50%,
    var(--sage-soft),
    transparent 70%
  );
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  animation-delay: 6s;
}

@keyframes leafSway {
  0%,
  100% {
    transform: rotate(0deg) translate(0, 0);
  }
  33% {
    transform: rotate(2.5deg) translate(14px, -16px);
  }
  66% {
    transform: rotate(-2deg) translate(-10px, 12px);
  }
}

/* ---- Eco card ---- */
.eco-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(168, 188, 161, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.eco-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(107, 143, 103, 0.55);
}

/* ---- Section label ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: "❧";
  color: var(--terracotta);
  font-size: 0.95rem;
}

.section-label-light {
  color: var(--sage);
}

.section-label-light::before {
  color: #e8c9a8;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Bloom word ---- */
.bloom-word {
  font-style: italic;
  color: var(--green-mid);
  position: relative;
}

.bloom-word::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 10px;
  background: rgba(201, 123, 74, 0.22);
  border-radius: 999px;
  z-index: -1;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--green-deep);
  color: #f7f5ef;
  border-color: var(--green-deep);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(63, 90, 60, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-mid);
}

.btn-secondary:hover {
  background: var(--sage-soft);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 44px;
  font-size: 1.05rem;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(168, 188, 161, 0.4);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 30px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 15px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--green-deep);
  background: var(--sage-soft);
}

.nav-link.active {
  color: var(--green-deep);
  background: var(--sage-soft);
  font-weight: 600;
}

.nav-link.cta-btn {
  background: var(--green-deep);
  color: #f7f5ef;
  font-weight: 600;
  margin-left: 12px;
  transition: all 0.2s ease;
}

.nav-link.cta-btn:hover {
  background: var(--green-mid);
  color: #f7f5ef;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(63, 90, 60, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid rgba(168, 188, 161, 0.4);
  background: linear-gradient(180deg, var(--bg) 0%, var(--sage-soft) 160%);
  padding: 64px 0 0;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  border-top: 1px solid rgba(168, 188, 161, 0.4);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

/* ---- Entrance animation ---- */
.fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(247, 245, 239, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 188, 161, 0.4);
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 12px 16px;
  }

  .nav-link.cta-btn {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
