:root {
  --accent: #2d6a4f;
  --text: #1b1b1b;
  --muted: #5f5f5f;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: "Fraunces", Georgia, serif; }

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

.demo-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}

.demo-banner strong { font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover { color: var(--text); }

.site-header .header-cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.site-header .header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

@media (max-width: 700px) {
  .site-header nav { display: none; }
}

.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-content .category {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: #fff;
  font-weight: 600;
  opacity: 0.85;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0.4rem 0 0.7rem;
  line-height: 1.05;
}

.hero-content p { max-width: 560px; color: #f0f0f0; font-size: 1.05rem; }

.cta-button {
  display: inline-block;
  margin-top: 1.3rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.32);
}

section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

section.soft { background: var(--bg-soft); max-width: none; }
section.soft > .inner { max-width: 900px; margin: 0 auto; }

h2 {
  font-size: 1.9rem;
  margin-bottom: 1.3rem;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.gallery img {
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery img:hover { transform: scale(1.03); }

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card .icon { font-size: 1.4rem; margin-bottom: 0.5rem; display: block; }

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.list-item:last-child { border-bottom: none; }

.list-item .price { color: var(--accent); font-weight: 700; white-space: nowrap; }

.muted { color: var(--muted); font-size: 0.95rem; }

footer {
  background: #14140f;
  color: #ccc;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}

footer strong { color: #fff; }
footer a { color: #fff; }

.whatsapp-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 10;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover { transform: translateY(-2px) scale(1.03); }

.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }

/* Solo se ocultan antes de aparecer si JS confirma que puede revelarlas
   despues (mejora progresiva): sin JS, el contenido es visible siempre. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 600px) {
  .whatsapp-float { font-size: 0.85rem; padding: 0.7rem 1rem; }
}
