/* ── Reset & Variables ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green:       #1d3d2f;
  --green-mid:   #245a45;
  --green-light: #2d6b52;
  --gold:        #f7d117;
  --gold-light:  #ffe566;
  --gold-dark:   #d4af37;
  --cream:       #f5f9f6;
  --cream-dark:  #e8f0eb;
  --text:        #1d3d2f;
  --text-light:  #4d7a62;
  --white:       #ffffff;
  --whatsapp:    #25d366;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --nav-height: 76px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-left, 20px));
  padding-right: max(20px, env(safe-area-inset-right, 20px));
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--green);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(29, 61, 47, 0.25);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(247, 209, 23, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(247, 209, 23, 0.04) 0%, transparent 50%),
    linear-gradient(160deg, var(--green) 0%, var(--green-mid) 50%, var(--green-light) 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(247, 209, 23, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
}

.hero-logo {
  width: min(460px, 88vw);
  height: auto;
  margin: 0 auto 28px;
  display: block;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
  animation: fadeUp 1.2s 0.6s ease both;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  touch-action: manipulation;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: var(--gold);
  color: var(--green);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247, 209, 23, 0.35);
}

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

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

.btn-full {
  width: 100%;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border: 1px solid rgba(26, 66, 52, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 66, 52, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Section Headers ── */
.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2,
.contact-info h2,
.instagram-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ── WhatsApp ── */
.whatsapp {
  padding: 100px 0;
  background: var(--green);
  position: relative;
}

.whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 209, 23, 0.35), transparent);
}

.whatsapp .section-label {
  color: var(--gold);
}

.whatsapp .section-header h2 {
  color: var(--white);
}

.whatsapp .section-desc {
  color: rgba(255, 255, 255, 0.45);
}

.whatsapp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
  cursor: pointer;
}

.whatsapp-card:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  transform: translateY(-2px);
}

.whatsapp-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--whatsapp);
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

.whatsapp-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whatsapp-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.whatsapp-number {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.whatsapp-arrow {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.2);
  transition: color var(--transition), transform var(--transition);
}

.whatsapp-card:hover .whatsapp-arrow {
  color: var(--whatsapp);
  transform: translateX(4px);
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-desc {
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 66, 52, 0.12);
  transition: padding-left var(--transition);
}

.contact-item:hover {
  padding-left: 8px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-item-value {
  display: block;
  font-size: 0.95rem;
  color: var(--green);
  font-weight: 400;
}

/* ── Form ── */
.contact-form {
  background: var(--white);
  padding: 48px;
  border: 1px solid rgba(26, 66, 52, 0.1);
  box-shadow: 0 20px 60px rgba(26, 66, 52, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--green);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

.form-note--success {
  color: var(--gold-dark);
}

.form-note--error {
  color: #b5453a;
}

/* ── Instagram ── */
.instagram {
  padding: 100px 0;
  background: var(--cream-dark);
  position: relative;
}

.instagram-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.instagram-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  color: var(--gold-dark);
}

.instagram-icon svg {
  width: 100%;
  height: 100%;
}

.instagram-handle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 16px;
  transition: color var(--transition);
}

.instagram-handle:hover {
  color: var(--gold);
}

.instagram-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));
  background: var(--green);
  border-top: 1px solid rgba(247, 209, 23, 0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .nav {
    overflow: visible;
  }

  .nav-inner {
    position: relative;
    z-index: 1002;
    padding: 0 max(16px, env(safe-area-inset-left, 16px));
    padding-right: max(16px, env(safe-area-inset-right, 16px));
  }

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

  .nav-toggle {
    display: flex;
  }

  /* Hide menu completely when closed — no invisible overlay */
  .nav-links {
    display: none;
    pointer-events: none;
    visibility: hidden;
  }

  /* Only show full-screen menu when explicitly opened */
  .nav-links.open {
    display: flex;
    visibility: visible;
    pointer-events: auto;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green);
    padding: 12px 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 24px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 18px 28px;
    font-size: 1rem;
    color: var(--gold);
    border-bottom: 1px solid rgba(247, 209, 23, 0.15);
  }

  .hero-content {
    padding: calc(var(--nav-height) + 32px) 20px 64px;
  }

  .hero-logo {
    width: min(320px, 90vw);
    margin-bottom: 24px;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-scroll {
    display: none;
  }

  .features,
  .whatsapp,
  .contact,
  .instagram {
    padding: 72px 0;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-logo img {
    height: 44px;
    margin: 0 auto;
  }

  .whatsapp-card {
    padding: 20px;
  }

  .contact-item-value {
    word-break: break-word;
  }
}

@media (min-width: 769px) {
  .hero-logo {
    width: min(500px, 50vw);
  }

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

@media (max-width: 380px) {
  .whatsapp-card {
    flex-wrap: wrap;
  }

  .whatsapp-arrow {
    display: none;
  }
}
