/* ============================================================
   RUSTIC FOREST — ESTILOS
   ------------------------------------------------------------
   Colores y tipografías en :root. Cambiá esos valores para
   ajustar el look de TODO el sitio.
   ============================================================ */

:root {
  /* Paleta tomada del logo (tonos madera) */
  --marron:        #8a5a30;   /* caramelo / madera media */
  --marron-oscuro: #4a2e1a;   /* madera oscura */
  --carbon:        #1c1712;   /* casi negro (letras del logo) */
  --acento:        #c8873f;   /* miel / dorado */
  --crema:         #f4ede1;   /* fondo claro */
  --crema-2:       #efe6d8;   /* fondo alterno */
  --texto:         #2b2117;
  --texto-suave:   #6f6053;
  --verde-wsp:     #25d366;
  --verde-wsp-osc: #128c7e;
  --sombra:        0 8px 30px rgba(28,23,18,.12);
  --radio:         16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; }

.contenedor { width: min(1180px, 92%); margin: 0 auto; }


/* -------------------- ENCABEZADO / NAV -------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(28,23,18,.96);
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.nav__marca { display: flex; align-items: center; gap: 12px; }
.nav__marca img { height: 46px; width: 46px; border-radius: 8px; object-fit: cover; }
.nav__marca b { font-family: Georgia, serif; font-size: 1.25rem; letter-spacing: 1px; }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a { font-weight: 500; opacity: .92; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; color: var(--acento); }
.nav__links .btn { color: #fff; }
.menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.7rem; cursor: pointer; }


/* -------------------- HERO (portada) -------------------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff;
  padding: 80px 0;
  background:
    linear-gradient(rgba(28,23,18,.72), rgba(28,23,18,.78)),
    url("../img/11.png") center/cover no-repeat;
}
.hero__logo {
  width: 190px; max-width: 55%; margin: 0 auto 26px;
  border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: 2px; margin-bottom: 10px; }
.hero p { font-size: clamp(1rem, 2.4vw, 1.3rem); opacity: .95; margin-bottom: 30px; }
.hero__botones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* -------------------- BOTONES -------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.btn--primario { background: var(--acento); color: #fff; }
.btn--secundario { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn--wsp { background: var(--verde-wsp); color: #fff; }
.btn--wsp:hover { background: var(--verde-wsp-osc); }


/* -------------------- SECCIONES -------------------- */
.seccion { padding: 80px 0; }
.seccion--alt { background: var(--crema-2); }
.seccion__titulo { text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--marron-oscuro); }
.seccion__titulo::after {
  content: ""; display: block; width: 70px; height: 4px; margin: 14px auto 0;
  background: var(--acento); border-radius: 4px;
}
.seccion__subtitulo { text-align: center; color: var(--texto-suave); margin: 12px 0 44px; font-size: 1.05rem; }


/* -------------------- FRANJA DE AVISOS -------------------- */
.franja {
  background: var(--marron-oscuro); color: #f4ede1;
  padding: 16px 0; font-size: .95rem;
}
.franja ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center; }
.franja li { display: flex; align-items: center; gap: 8px; }
.franja li::before { content: "✔"; color: var(--acento); font-weight: 700; }


/* -------------------- GRILLA DE PRODUCTOS -------------------- */
.grilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
}

.tarjeta {
  background: #fff; border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.tarjeta:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(28,23,18,.2); }

.tarjeta__foto { position: relative; aspect-ratio: 4 / 3; background: #e7ddd0; overflow: hidden; }
.tarjeta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tarjeta:hover .tarjeta__foto img { transform: scale(1.06); }

.badge {
  position: absolute; font-size: .75rem; font-weight: 700;
  padding: 5px 11px; border-radius: 20px;
}
.badge--madera { top: 12px; left: 12px; background: rgba(28,23,18,.82); color: #fff; }
.badge--top { top: 12px; right: 12px; background: var(--acento); color: #fff; }

.tarjeta__cuerpo { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tarjeta__nombre { font-size: 1.25rem; color: var(--marron-oscuro); margin-bottom: 10px; }
.tarjeta__specs { list-style: none; margin-bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.tarjeta__specs li { font-size: .88rem; color: var(--texto-suave); }
.tarjeta__desc { color: var(--texto-suave); font-size: .93rem; flex: 1; margin-bottom: 16px; }

.tarjeta__precio { border-top: 1px dashed #d8cbb8; padding-top: 12px; margin-bottom: 16px; }
.precio__mesa { font-size: 1.35rem; font-weight: 800; color: var(--marron); }
.precio__mesa span { font-size: .8rem; font-weight: 600; color: var(--texto-suave); text-transform: uppercase; letter-spacing: 1px; margin-right: 4px; }
.precio__juego { font-size: .9rem; color: var(--texto-suave); margin-top: 2px; }

.tarjeta__btn { justify-content: center; }

.vacio { text-align: center; color: var(--texto-suave); grid-column: 1 / -1; padding: 40px; }


/* -------------------- FILTROS -------------------- */
.filtros { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filtro {
  padding: 10px 22px; border-radius: 30px; cursor: pointer;
  border: 1.5px solid var(--marron); background: transparent; color: var(--marron);
  font-weight: 600; font-size: .92rem; transition: all .2s;
}
.filtro:hover { background: rgba(138,90,48,.1); }
.filtro--activo { background: var(--marron); color: #fff; }


/* -------------------- CONTACTO -------------------- */
.contacto__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; margin-bottom: 34px; }
.contacto__item { background: #fff; padding: 24px; border-radius: var(--radio); box-shadow: var(--sombra); }
.contacto__item h4 { color: var(--marron-oscuro); margin-bottom: 8px; font-size: 1.1rem; font-family: Georgia, serif; }
.contacto__item p, .contacto__item a { color: var(--texto-suave); }
.contacto__item a:hover { color: var(--marron); }
.contacto__redes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* -------------------- FOOTER -------------------- */
.footer { background: var(--carbon); color: #e9ddcb; text-align: center; padding: 34px 0; font-size: .92rem; }
.footer b { color: #fff; font-family: Georgia, serif; letter-spacing: 1px; }
.footer a { color: var(--acento); }


/* Botón flotante de WhatsApp */
.wsp-flotante {
  position: fixed; bottom: 22px; right: 22px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--verde-wsp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .2s;
}
.wsp-flotante:hover { transform: scale(1.1); }


/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--carbon); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav__links.abierto { max-height: 400px; padding: 8px 0 16px; }
  .nav__links a { padding: 12px 24px; width: 100%; }
  .nav__links .btn { margin: 8px 24px 0; }
  .seccion { padding: 55px 0; }
}
