@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;500;600&display=swap');

:root {
  --verde:       #2d6a4f;
  --verde2:      #40916c;
  --verde3:      #74c69d;
  --dorado:      #d4a017;
  --dorado2:     #f0c040;
  --crema:       #fdf6ec;
  --crema2:      #f5ede0;
  --cafe:        #7c5c3a;
  --oscuro:      #1a1208;
  --blanco:      #ffffff;
  --gris:        #6b6356;
  --sombra:      0 8px 40px rgba(44,30,10,0.13);
  --sombra2:     0 20px 60px rgba(44,30,10,0.18);
  --radio:       18px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--crema);
  color: var(--oscuro);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  
  position: relative;top: 0; width: 100%; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  transition: background 0.4s, box-shadow 0.4s;
  pointer-events: all;
  background: rgba(10, 25, 15, 0.45);
  backdrop-filter: blur(6px);
}
nav.scrolled {
  background: rgba(253,246,236,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(44,30,10,0.10);
}
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; display: block; }
nav.scrolled .nav-logo img { filter: none; }

.nav-links { display: flex; gap: 0.3rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem; font-weight: 500;
  padding: 0.45rem 1rem; border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
nav.scrolled .nav-links a { color: var(--gris); }
.nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
nav.scrolled .nav-links a:hover { background: var(--crema2); color: var(--verde); }
.nav-links .nav-cta {
  background: var(--dorado); color: var(--oscuro) !important;
  font-weight: 600; padding: 0.45rem 1.2rem;
  box-shadow: 0 2px 12px rgba(212,160,23,0.35);
}
.nav-links .nav-cta:hover { background: var(--dorado2) !important; transform: translateY(-1px); }

/* Hamburger mobile */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: background 0.4s; }
nav.scrolled .nav-toggle span { background: var(--verde); }

/* ── BOTONES GLOBALES ── */
.btn {
  display: inline-block; text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-dorado {
  background: var(--dorado); color: var(--oscuro);
  box-shadow: 0 4px 20px rgba(212,160,23,0.4);
}
.btn-dorado:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,160,23,0.5); }
.btn-blanco {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-blanco:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-verde {
  background: var(--verde); color: #fff;
  box-shadow: 0 4px 20px rgba(45,106,79,0.35);
}
.btn-verde:hover { background: var(--verde2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(45,106,79,0.4); }

/* ── SECTION TAG ── */
.etiqueta {
  display: inline-block;
  background: rgba(116,198,157,0.2);
  color: var(--verde);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(116,198,157,0.4);
}
.etiqueta-blanca {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
}

/* ── TÍTULOS ── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; font-weight: 700; }
.acento { color: var(--verde2); }

/* ── FOOTER ── */
footer {
  background: var(--oscuro);
  color: rgba(255,255,255,0.5);
  padding: 3rem 5% 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--dorado); margin-bottom: 0.5rem;
}
.footer-nav { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; 0; position: relative; z-index: 0; }
.footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--dorado); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 1.5rem; padding-top: 1.5rem; font-size: 0.8rem; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── PAGE HERO PEQUEÑO (páginas internas) ── */
.page-hero {
  height: 340px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  padding: 0 5% 3rem;
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,10,0.75) 0%, rgba(10,20,10,0.3) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff; font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--crema);
    padding: 1rem 5%;
    box-shadow: var(--sombra);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { color: var(--gris) !important; display: block; width: 100%; }
  .nav-toggle { display: flex; }

    .hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}
}
