/* ===================== Base / Variables ===================== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #faf5ed;
  --color-text: #362b1f;
  --color-text-muted: #7c6f5e;
  --color-border: #e9e0d2;
  --color-gray: #a69a87;
  --color-green: #5b6b3d;
  --color-green-dark: #414c2c;
  --color-orange: #b85c38;
  --color-orange-dark: #964a2d;
  --shadow-sm: 0 1px 3px rgba(54, 43, 31, 0.08);
  --shadow-md: 0 8px 24px rgba(54, 43, 31, 0.12);
  --radius: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 68px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-green);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-green-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-green);
  color: var(--color-green-dark);
}

.btn-outline:hover {
  background: var(--color-green);
  color: #fff;
}

.card-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ===================== Hero ===================== */
.hero {
  padding: 88px 24px 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-orange-dark);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  margin-top: 4px;
}

/* ===================== Sections ===================== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 14px;
  text-align: center;
}

.section-lead {
  color: var(--color-text-muted);
  max-width: 640px;
  font-size: 1.02rem;
  margin: 0 auto 40px;
  text-align: center;
}

.about-text {
  max-width: 760px;
}

/* ===================== Mango Gallery ===================== */
.mango-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 36px 44px;
}

.mango-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}

.mango-photo {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}

.mango-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

/* ===================== Cards ===================== */
.card-title {
  font-size: 1.1rem;
}

.card-desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.placeholder-card {
  background: #fff;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.placeholder-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.placeholder-card .card-desc {
  margin-top: 6px;
}

/* ===================== Contact ===================== */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  flex: 0 1 240px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-green);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.contact-icon-whatsapp {
  background: #25d366;
}

.contact-icon-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  font-weight: 700;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ===================== Footer ===================== */
.site-footer {
  padding: 28px 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 240px;
  }

  .nav-link {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
  }

  .hero {
    padding: 64px 20px 56px;
  }

  .section {
    padding: 56px 20px;
  }
}
