/* ================================================================
   estilos.css — Sentidos con vida
   ================================================================ */

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

:root {
  --verde-oscuro:    #2d4a3e;
  --verde-medio:     #4a7c6f;
  --verde-claro:     #a8c5bb;
  --crema:           #f5f0e8;
  --crema-oscuro:    #ede6d6;
  --tierra:          #8b6b4a;
  --texto-principal: #1a2e26;
  --texto-suave:     #5a7066;
  --blanco:          #ffffff;
  --font-display:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;
  --radio:           0.5rem;
  --ancho-max:       1100px;
  --sombra:          0 4px 24px rgba(45,74,62,.10);
  --sombra-hover:    0 8px 32px rgba(45,74,62,.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--crema); color: var(--texto-principal); font-size: 1rem; line-height: 1.7; }
a { color: inherit; text-decoration: none; }

/* ── Accesibilidad ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--verde-oscuro); color: var(--blanco);
  padding: .6rem 1.2rem; border-radius: var(--radio);
  font-size: .9rem; z-index: 999; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Cabecera ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,240,232,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--crema-oscuro);
}
.nav-inner {
  max-width: var(--ancho-max); margin: 0 auto;
  padding: 0 2rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 600; color: var(--verde-oscuro); letter-spacing: .01em;
}
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a {
  font-size: .85rem; font-weight: 400; color: var(--texto-suave);
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s; padding: .3rem 0;
  border-bottom: 1.5px solid transparent;
}
nav a:hover, nav a:focus { color: var(--verde-oscuro); border-bottom-color: var(--verde-medio); outline: none; }
nav a:focus-visible { outline: 2px solid var(--verde-medio); outline-offset: 3px; border-radius: 2px; }
nav a[aria-current="page"] { color: var(--verde-oscuro); border-bottom-color: var(--verde-medio); }

/* ── Layout general ── */
.seccion { padding: 5rem 2rem; }
.contenedor { max-width: var(--ancho-max); margin: 0 auto; }

.seccion-titulo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400; color: var(--verde-oscuro);
  margin-bottom: 1.5rem; line-height: 1.2;
}
.seccion-titulo::after {
  content: ''; display: block;
  width: 3rem; height: 2px;
  background: var(--verde-medio); margin-top: .8rem;
}

/* ── Botones ── */
.btn {
  display: inline-block; padding: .85rem 2.2rem;
  border-radius: 3rem; font-family: var(--font-body);
  font-size: .9rem; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase; transition: all .25s;
  cursor: pointer; border: none;
}
.btn:focus-visible { outline: 3px solid var(--verde-medio); outline-offset: 3px; }
.btn-primario  { background: var(--verde-oscuro); color: var(--blanco); }
.btn-primario:hover  { background: var(--verde-medio); box-shadow: var(--sombra-hover); transform: translateY(-2px); }
.btn-secundario { background: transparent; color: var(--verde-oscuro); border: 1.5px solid var(--verde-medio); }
.btn-secundario:hover { background: var(--verde-claro); transform: translateY(-2px); }
.btn-oscuro { background: var(--verde-claro); color: var(--verde-oscuro); font-weight: 600; }
.btn-oscuro:hover { background: var(--blanco); }

/* ── Texto poético (párrafos cortos con salto de línea) ── */
.texto-poetico p { margin-bottom: .8rem; color: var(--texto-suave); }
.texto-poetico p:last-child { margin-bottom: 0; }

/* ── Separador ── */
.separador {
  width: 4rem; height: 1px;
  background: var(--verde-claro);
  margin: 2rem auto;
}

/* ── Pie de página ── */
footer {
  background: #1a2e26;
  color: rgba(255,255,255,.5);
  padding: 2rem; font-size: .85rem;
}
.footer-inner {
  max-width: var(--ancho-max); margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--verde-claro); }

/* ── Animaciones ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .7s ease both; }
.delay-1   { animation-delay: .15s; }
.delay-2   { animation-delay: .30s; }
.delay-3   { animation-delay: .45s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
