/* =============================
   PLANTAMA — Global Stylesheet
   Verde: #56775e | Blanco: #fff | Gris: #f4f6f4 | Texto: #1a1a1a
   ============================= */

:root {
  --verde:       #56775e;
  --verde-light: #6f9478;
  --verde-pale:  #eef3ef;
  --blanco:      #ffffff;
  --gris-fondo:  #f8faf8;
  --gris-borde:  #dde4de;
  --texto:       #1a1a1a;
  --texto-suave: #5a6a5c;
  --sombra:      0 4px 24px rgba(86,119,94,0.10);
  --radio:       12px;
  --transicion:  0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--verde);
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; }
p  { line-height: 1.75; color: var(--texto-suave); }

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

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

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gris-borde);
  height: 92px;
  display: flex;
  align-items: center;
}

.nav-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto);
  transition: color var(--transicion);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--verde);
  transition: width var(--transicion);
}
.nav-links a:hover,
.nav-links a.activo { color: var(--verde); }
.nav-links a:hover::after,
.nav-links a.activo::after { width: 100%; }

/* Botón Home */
.btn-home {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde);
  border: 1.5px solid var(--verde);
  padding: 7px 18px;
  border-radius: 50px;
  margin-left: 0;
  transition: all var(--transicion);
  white-space: nowrap;
}
.btn-home:hover {
  background: var(--verde);
  color: var(--blanco);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--verde);
  border-radius: 2px;
  transition: all var(--transicion);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 92px; left: 0; right: 0;
  background: var(--blanco);
  border-bottom: 1px solid var(--gris-borde);
  padding: 20px 32px 28px;
  gap: 20px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-mobile.visible { display: flex; }
.nav-mobile a {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto);
  padding: 10px 0;
  border-bottom: 1px solid var(--gris-borde);
  transition: color var(--transicion);
}
.nav-mobile a:hover, .nav-mobile a.activo { color: var(--verde); }

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.87rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transicion);
}
.btn-primary {
  background: var(--verde);
  color: var(--blanco);
  box-shadow: 0 4px 16px rgba(86,119,94,0.28);
}
.btn-primary:hover {
  background: var(--verde-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86,119,94,0.32);
}
.btn-outline {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-outline:hover {
  background: var(--verde);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* ── CONTENEDOR ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── ETIQUETA SECCIÓN ── */
.etiqueta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  background: var(--verde-pale);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ── DIVISOR DECORATIVO ── */
.divisor {
  width: 48px;
  height: 3px;
  background: var(--verde);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divisor.centro { margin: 16px auto 24px; }

/* ── FOOTER ── */
footer {
  background: var(--verde);
  color: var(--blanco);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-brand img {
  height: 120px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--blanco);
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  transition: color var(--transicion);
}
.footer-col ul a:hover { color: var(--blanco); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}

/* ── ANIMACIONES REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-brand { gap: 8px; }
  .nav-logo img { height: 140px; }
  .btn-home {
    font-size: 0.68rem;
    padding: 5px 10px;
    letter-spacing: 0.08em;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
