/* === ESTILOS PARA LA PÁGINA DE INICIO === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #FFF8F0;
  color: #2D1B13;
  line-height: 1.6;
}

/* HEADER */
.site-header {
  background: #C75B39;
  padding: 12px 20px;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-logo {
  max-height: 50px;
  width: auto;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}

.header-nav a:hover {
  text-decoration: underline;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #C75B39;
  font-size: 2.5rem;
}

.hero p {
  color: #6B4E3D;
  font-size: 1.1rem;
}

/* GRID DE TARJETAS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* TARJETA */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(199, 91, 57, 0.15);
}

.card .photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #E8E0DA;
}

.card .body {
  padding: 16px 18px 20px;
}

.card .body h2 {
  font-size: 18px;
  color: #C75B39;
  margin: 0 0 6px;
}

.card .body p {
  font-size: 14px;
  color: #6B4E3D;
  margin: 0 0 10px;
}

.card .go {
  display: inline-block;
  color: #C75B39;
  font-weight: 600;
  font-size: 14px;
}

/* FOOTER */
.footer {
  background: #2D1B13;
  color: rgba(255,255,255,0.75);
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  margin-top: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* MENÚ HAMBURGUESA (oculto en PC) */
.menu-overlay {
  display: none;
}

@media (max-width: 760px) {
  .header-nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .menu-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 200;
  }
  .menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #FFF8F0;
    color: #2D1B13;
    padding: 56px 22px 20px;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.25);
  }
  .menu-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    color: #2D1B13;
    cursor: pointer;
  }
  .menu-panel a {
    display: block;
    color: #2D1B13;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 6px;
    border-bottom: 1px solid #E8D5C8;
  }
  .menu-panel a:hover {
    color: #C75B39;
  }
  .menu-footer {
    margin-top: 18px;
    font-size: 11px;
    color: #6B4E3D;
    border-top: 1px solid #E8D5C8;
    padding-top: 12px;
  }
}