/* =========================================
   GROPPER GARDEN · Estilos comunes
   ========================================= */

:root {
  --green-deep: #0A2818;
  --green-mid: #1F4D33;
  --green-primary: #2D6B45;
  --green-medium: #3D8B1C;
  --green-bright: #7CB342;
  --green-glow: #A8E063;
  --green-soft: rgba(124, 179, 66, 0.15);
  
  --cream-lightest: #FBF6EC;
  --cream-light: #F4EEDD;
  --cream-medium: #EAE5D0;
  --cream-greenish: #D4DEC2;
  --cream-green-deep: #BFCFAE;
  
  --orange: #D97706;
  --ink: #0A1A12;
  --text-main: #1A2420;
  --text-soft: #3F4843;
  --text-dim: #6B7269;
  
  --border-soft: rgba(45, 107, 69, 0.25);
  --border-light: #D4CCAE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-main);
  background: linear-gradient(180deg, 
    #FBF6EC 0%, 
    #F4EEDD 25%, 
    #EAE5D0 55%, 
    #D4DEC2 85%, 
    #BFCFAE 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', Georgia, serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }

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

/* ========== NAVBAR ========== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
  width: 140px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { color: var(--green-primary); }
.nav-link.active { color: var(--green-primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
}
.nav-cta {
  background: var(--green-deep);
  color: var(--cream-lightest);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  width: 32px; height: 32px;
  background: transparent; border: none;
  cursor: pointer; padding: 0;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--green-deep); margin: 5px auto;
  transition: all 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Manrope', sans-serif;
}
.btn-primary { background: var(--green-deep); color: var(--cream-lightest); }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 40, 24, 0.25); }
.btn-secondary {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}
.btn-secondary:hover { background: var(--green-deep); color: var(--cream-lightest); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1FA855; }

/* ========== HERO BASE ========== */
.page-hero {
  background: var(--green-deep);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  color: var(--cream-lightest);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 179, 66, 0.15);
  color: var(--green-bright);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(124, 179, 66, 0.3);
}
.hero-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--cream-lightest);
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-bright);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(251, 246, 236, 0.95);
  margin-bottom: 36px;
  max-width: 640px;
}

/* ========== SECTIONS ========== */
section { padding: 100px 0; }

.section-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--green-primary);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  color: var(--green-primary);
}
.section-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 60px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--green-deep);
  color: rgba(251, 246, 236, 0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-brand-logo .logo-img { width: 120px; height: 48px; }
.footer-tagline {
  font-size: 14px; line-height: 1.6; max-width: 280px;
}
.footer-col h4 {
  color: var(--cream-lightest); font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--green-bright); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(251, 246, 236, 0.15);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(251, 246, 236, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; color: white; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-inner { padding: 12px 20px; }
  .logo-img { width: 110px; height: 44px; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-lightest); flex-direction: column; padding: 24px; gap: 16px; border-top: 1px solid var(--border-soft); box-shadow: 0 12px 24px rgba(10, 40, 24, 0.1); }
  .nav-menu.open { display: flex; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .nav-menu .nav-cta { display: inline-flex; align-self: stretch; justify-content: center; }
  
  .hero-title { font-size: 38px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .section-title { font-size: 30px; letter-spacing: -1px; }
  .section-sub { font-size: 15px; margin-bottom: 40px; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  
  section { padding: 60px 0; }
  .page-hero { padding: 40px 0 30px; }
  
  .whatsapp-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 10px 18px; }
  .logo-img { width: 96px; height: 40px; }
  .hero-title { font-size: 30px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 15px; line-height: 1.55; }
  .hero-tag { font-size: 12px; padding: 6px 12px; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .footer-tagline { font-size: 13px; }
  .footer-col h4 { font-size: 12px; }
  .footer-col li { font-size: 13px; }
}
