/* ═══════════════════════════════════════════════════════════
   El Jardín del Genio · Landing page — estética zen/japonesa
   ═══════════════════════════════════════════════════════════ */

:root {
  --l-bg:       #fafaf7;
  --l-ink:      #1c1410;
  --l-verde:    #3d5a33;
  --l-gold:     #c4973a;
  --l-stone:    #8a7a6a;
  --l-cream:    #f0ebe2;
  --l-line:     #d4c9bc;
  --l-hero-bg:  #1e3518;
}

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--l-bg);
  color: var(--l-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Nav ─────────────────────────────────────────────────── */
.l-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(20, 42, 16, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(158, 202, 138, 0.15);
}

.l-nav-logo {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e8f5e0;
  letter-spacing: 0.04em;
}

.l-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.l-nav-links a {
  font-size: 0.87rem;
  color: rgba(232, 245, 224, 0.72);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.l-nav-links a:hover { color: #e8f5e0; }

.l-nav-gestion {
  font-size: 0.8rem !important;
  color: rgba(196, 151, 58, 0.75) !important;
  border: 1px solid rgba(196, 151, 58, 0.3);
  border-radius: 3px;
  padding: 0.2rem 0.65rem;
  transition: all 0.2s !important;
}
.l-nav-gestion:hover {
  color: var(--l-gold) !important;
  border-color: rgba(196, 151, 58, 0.6);
}

/* ── Hero ────────────────────────────────────────────────── */
.l-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--l-hero-bg);
  background-image:
    radial-gradient(ellipse at 15% 65%, rgba(61, 90, 51, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 20%, rgba(196, 151, 58, 0.07) 0%, transparent 45%);
  overflow: hidden;
}

.l-hero-bamboo {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 88%;
  opacity: 0.45;
  pointer-events: none;
}

.l-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 9rem 2.5rem 6rem;
  text-align: center;
}

.l-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--l-gold);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.l-hero-title {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: #f5ede0;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}

.l-hero-rule {
  width: 2.5rem;
  height: 1px;
  background: var(--l-gold);
  margin: 0 auto 1.6rem;
  opacity: 0.6;
}

.l-hero-tagline {
  font-size: 1rem;
  color: rgba(245, 237, 224, 0.58);
  letter-spacing: 0.04em;
  max-width: 36rem;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.l-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.l-btn-primary {
  display: inline-block;
  background: var(--l-verde);
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 3px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.l-btn-primary:hover {
  background: #4a7040;
  transform: translateY(-1px);
}

.l-btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(245, 237, 224, 0.72);
  padding: 0.85rem 2.2rem;
  border-radius: 3px;
  border: 1px solid rgba(245, 237, 224, 0.22);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  transition: all 0.2s;
}
.l-btn-ghost:hover {
  border-color: rgba(245, 237, 224, 0.5);
  color: #f5ede0;
}

/* Scroll hint */
.l-hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.3;
  pointer-events: none;
}
.l-hero-scroll span {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5ede0;
}
.l-hero-scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, #f5ede0, transparent);
  animation: l-scroll 2.2s ease-in-out infinite;
}
@keyframes l-scroll {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}

/* ── Divisor japonés ─────────────────────────────────────── */
.l-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 24rem;
  margin: 0 auto 2.8rem;
}
.l-divider-line { flex: 1; height: 1px; background: var(--l-line); }
.l-divider-mark { font-size: 0.5rem; color: var(--l-stone); letter-spacing: 0.2em; }

/* ── Secciones genéricas ─────────────────────────────────── */
.l-section {
  padding: 5.5rem 0;
}
.l-section-cream {
  background: var(--l-cream);
}
.l-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.l-section-title {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--l-ink);
  text-align: center;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.l-section-sub {
  text-align: center;
  font-size: 0.88rem;
  color: var(--l-stone);
  margin-bottom: 2rem;
  letter-spacing: 0.06em;
}

/* ── Tarjetas categorías ─────────────────────────────────── */
.l-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.l-cat-card {
  background: #fff;
  border: 1px solid var(--l-line);
  border-top: 2px solid var(--l-verde);
  border-radius: 3px;
  padding: 2.2rem 1.8rem 1.8rem;
  text-align: center;
  transition: box-shadow 0.22s, transform 0.22s;
}
.l-cat-card:hover {
  box-shadow: 0 8px 28px rgba(28, 20, 16, 0.09);
  transform: translateY(-4px);
}
.l-cat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.l-cat-card h3 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--l-ink);
  margin-bottom: 0.6rem;
}
.l-cat-card p {
  font-size: 0.86rem;
  color: var(--l-stone);
  line-height: 1.65;
  margin-bottom: 1.3rem;
}
.l-cat-link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--l-verde);
  font-weight: 600;
  transition: color 0.2s;
}
.l-cat-link:hover { color: var(--l-gold); }

/* ── Tarjetas acciones ───────────────────────────────────── */
.l-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.l-accion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 2rem 1.3rem;
  background: #fff;
  border: 1px solid var(--l-line);
  border-radius: 3px;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  cursor: pointer;
}
.l-accion-card:hover {
  box-shadow: 0 6px 20px rgba(28, 20, 16, 0.08);
  transform: translateY(-3px);
  border-color: var(--l-verde);
}
.l-accion-icon {
  font-size: 1.7rem;
  line-height: 1;
}
.l-accion-card strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--l-ink);
}
.l-accion-card span {
  font-size: 0.78rem;
  color: var(--l-stone);
  line-height: 1.45;
}

/* ── Footer ──────────────────────────────────────────────── */
.l-footer {
  background: #edf4e8;
  border-top: 1px solid #c8dfc0;
  padding: 3rem 0 2.5rem;
}
.l-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.l-footer-name {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 0.95rem;
  color: #3d5a33;
  letter-spacing: 0.06em;
}
.l-footer-diamond {
  color: #c4973a;
  font-size: 0.6rem;
}
.l-footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.l-footer-nav a {
  font-size: 0.8rem;
  color: #6b5c45;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.l-footer-nav a:hover { color: #3d5a33; }
.l-footer-legal {
  font-size: 0.72rem;
  color: #9c8c78;
  margin-top: 0.2rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .l-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .l-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .l-hero-bamboo { opacity: 0.3; right: 0; }
}

@media (max-width: 600px) {
  .l-nav { padding: 0.85rem 1.2rem; }
  .l-nav-links { gap: 1.2rem; }
  .l-nav-gestion { display: none; }
  .l-hero-inner { padding: 7rem 1.5rem 5rem; }
  .l-hero-bamboo { display: none; }
  .l-grid-3, .l-grid-4 { grid-template-columns: 1fr; }
  .l-section { padding: 3.5rem 0; }
  .l-hero-ctas { flex-direction: column; align-items: center; }
}
