:root {
  --primary-color: #f4e041;
  --accent-color: #000;
  --bg-color: #fff;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
}

/* --- Base existentes --- */
* { box-sizing: border-box; }
body, html { margin: 0; padding: 0; }
.background {
  background: url('fondo-limon.jpg') repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 2rem;
}
.container {
  background: white;
  max-width: 800px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}
body { font-family: var(--font-body); color: var(--accent-color); }
header { text-align: center; margin-bottom: 2rem; }
header h1 { font-family: var(--font-title); font-size: 2.0rem; margin: 0.25rem 0 0; }
header h2 { font-size: 1rem; margin: 0.5rem 0; letter-spacing: 1px; }
section { margin: 2rem 0; }
h3 {
  background: var(--primary-color);
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  font-weight: bold;
  border-left: 6px solid var(--accent-color);
  margin-bottom: 1rem;
  border-radius: 6px;
}
ul { list-style: none; padding: 0; }
li { margin-bottom: 1.5rem; }
.logo { max-width: 250px; width: 100%; display: block; margin: 0 auto 1rem auto; }
.social-icons { margin-top: 1rem; text-align: center; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 45px; height: 45px; margin: 0 10px;
  background-color: #f4e041; color: #000; border-radius: 50%;
  font-size: 1.25rem; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease;
}
.social-icons a:hover { background-color: #000; color: #f4e041; }
.section-image {
  width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; object-fit: cover; max-height: 300px;
}
.price { font-weight: bold; }
.footer { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #ccc; }
.footer img { max-width: 180px; margin: 1rem 0; }
.desc { font-size: 0.85rem; color: #555; margin-top: 0.25rem; font-style: italic; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1rem; }
.btn {
  background: var(--accent-color); color: white; padding: 1rem 2rem; border-radius: 5px; text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.2rem; text-transform: uppercase;
}
.btn .subline {
  font-family: 'Montserrat', sans-serif; font-weight: lighter; font-size: 0.75rem; display: block; margin-top: 4px; color: #f4e041;
}
.menu-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding-bottom: 4px; border-bottom: 1px dotted #ccc; }
.item-name { font-weight: bold; font-size: 1rem; word-break: break-word; }
.price { font-weight: bold; font-size: 1rem; white-space: nowrap; text-align: right; }

/* --- FORMULARIO: nuevos estilos --- */
.req { color: #b00020; }
form { width: 100%; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

label { display: inline-block; font-weight: 600; margin-bottom: .35rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: #bbb;
  box-shadow: 0 0 0 3px rgba(244,224,65,.35);
}

fieldset {
  border: 1px dashed #ddd;
  padding: 1rem;
  border-radius: 10px;
}
legend { padding: 0 .5rem; font-weight: 700; }

.hint { font-size: .85rem; color: #666; }

.counter { font-size: .8rem; color: #666; text-align: right; margin-top: .25rem; }

.checkbox-list, .chips {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center;
}
.checkbox-list label { font-weight: 500; }

.badge {
  display: inline-block; font-size: .85rem; background: #f6f6f6; border: 1px solid #e8e8e8;
  padding: .35rem .6rem; border-radius: 999px;
}

.actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem;
}
.btn-primary {
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.btn-secondary {
  background: #f6f6f6; border: 1px solid #ddd; color: #111; padding: 1rem 2rem; border-radius: 5px; cursor: pointer;
}

.notice {
  display: none;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-weight: 600;
}
.notice.success { background: #e7f8ec; border: 1px solid #91d9a9; color: #0c6b2e; }
.notice.error   { background: #fdecec; border: 1px solid #f5b1b1; color: #8a1111; }

/* --- Responsivo --- */
@media (max-width: 900px){
  .col-6{grid-column: span 12;}
  .col-4{grid-column: span 6;}
  .col-3{grid-column: span 6;}
}
@media (max-width: 600px) {
  .container { padding: 1rem; }
  li { flex-direction: column; align-items: flex-start; }
  .background {
    background-image: url('fondo-movil.jpg');
    background-size: contain;
    background-position: center;
    opacity: 1;
    top: 0; left: 0; height: auto; width: auto; z-index: -1;
  }
  .price { margin-top: 0.25rem; }
}