/* =========================
  Sabores Viajantes Style CSS
  "warm_friendly" Aesthetic
  Brand: Vibrante, Acogedor, Cosmopolita
  ========================= */

/* ==== CSS RESET & NORMALIZE ==== */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4EAD5;
  color: #25405B;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-top: 0;
  color: #B33B24;
  letter-spacing: 0.01em;
}
h1 { font-size: 2rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.17rem; margin-bottom: 12px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: #25405B;
  font-size: 1rem;
}
a {
  color: #DB4325;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B33B24;
  text-decoration: underline;
}
ul, ol {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 22px;
}
li {
  margin-bottom: 10px;
}
img {
  max-width: 100%;
  border-radius: 18px;
  vertical-align: middle;
}
strong {
  color: #B33B24;
  font-weight: 600;
}

/* ==== LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
main {
  width: 100%;
}

/* ====== HEADER & NAV ====== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(221, 111, 68, 0.07), 0 1px 4px rgba(38, 37, 36, 0.035);
  padding: 0;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 18px 0 18px 0;
  position: relative;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #25405B;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4EAD5;
  color: #B33B24;
  text-decoration: none;
}
.main-nav .btn-primary {
  background: #DB4325;
  color: #FFF;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  box-shadow: 0 3px 9px rgba(219, 67, 37, 0.16);
  padding: 10px 26px;
  margin-left: auto;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  position: relative;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: #B33B24;
  color: #FFF;
  box-shadow: 0 2px 12px rgba(219, 67, 37, 0.26);
  transform: translateY(-2px) scale(1.03);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1100;
  background: #DB4325;
  border: none;
  font-size: 2rem;
  color: #FFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: background 0.2s;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(219,67,37,0.07);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #B33B24;
}
.mobile-menu {
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244,234,213,0.98);
  box-shadow: 0 6px 36px rgba(38,37,36,0.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.6,.14,.35,.95);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 20px;
  margin-right: 22px;
  padding: 0;
  background: #DB4325;
  color: #FFF;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.17s;
  box-shadow: 0 3px 8px rgba(219,67,37,0.07);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #B33B24;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 25px 36px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #B33B24;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid #e8dbc5;
  transition: color 0.18s, background 0.18s;
  border-radius: 12px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #25405B;
  background: #FFD9C2;
}
@media (max-width: 1020px) {
  .main-nav a:not(.btn-primary) {
    font-size: 0.97rem;
    padding: 7px 11px;
  }
  .main-nav img {
    height: 43px;
  }
}
@media (max-width: 880px) {
  .main-nav {
    gap: 12px;
    padding: 13px 0 13px 0;
  }
  .main-nav .btn-primary {
    font-size: 0.98rem;
    padding: 8px 16px;
  }
}
@media (max-width: 740px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== SPACING & CARD CONTAINERS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(38,64,91, 0.08);
  padding: 28px 22px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 44px rgba(219,67,37,0.09), 0 3px 14px rgba(38,37,36,0.07);
  transform: translateY(-3px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(71,40,9,0.08);
  margin-bottom: 24px;
  border-left: 6px solid #DB4325;
  color: #25405B;
  font-style: italic;
  font-size: 1.02rem;
  transition: box-shadow 0.19s;
}
.testimonial-card span {
  font-style: normal;
  color: #B33B24;
  font-size: 0.99rem;
  padding-left: 12px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: .01em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 36px rgba(219,67,37,0.1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(71,40,9,0.06);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* ===== CONTENT WRAPPER CLASSES (Home & Variants) ===== */
.content-wrapper {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(219,67,37,0.04);
  padding: 36px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}
.hero-home, .hero-about, .hero-cocinas, .hero-callejera,.hero-galeria,.hero-historias,.hero-thanks, .hero-contacto {
  align-items: center;
  text-align: center;
  background: #FFD9C2;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(219,67,37,.07);
  padding: 48px 10px 42px 10px;
  margin-bottom: 36px;
  width: 100%;
}
.features-home ul, .features-cocinas ul, .features-callejera ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 0;
  list-style: none;
  margin: 0 0 10px 0;
}
.features-home li, .features-cocinas li, .features-callejera li {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(71,40,9,0.06);
  padding: 24px 20px;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.features-home li:hover, .features-cocinas li:hover, .features-callejera li:hover {
  box-shadow: 0 7px 30px rgba(219,67,37,0.09), 0 2px 8px rgba(38,37,36,0.04);
  transform: translateY(-2px) scale(1.01);
}
.features-home img, .features-cocinas img {
  height: 52px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(38,64,91,0.02);
}

.about-summary ul, .about ul, .about .text-section ul {
  list-style:square inside;
  color: #B33B24;
  font-size: 1rem;
  margin-bottom: 0;
  padding-left: 0;
}
.about-summary li, .about li, .about .text-section li {
  color: #25405B;
  padding-left: 0;
  margin-left: 0;
}
.story-snippet, .visual-narrative-snippet {
  background: #F4EAD5;
  border-radius: 15px;
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(219,67,37,0.04);
  color: #25405B;
}

.stories-highlight a, .features-cocinas ul li a, .services-cocinas ul li a {
  font-weight: 600;
  color: #DB4325;
  text-decoration: underline dotted #B33B24 2px;
}
.stories-highlight a:hover, .features-cocinas ul li a:hover, .services-cocinas ul li a:hover {
  color: #25405B;
}

.cta-banner {
  align-items: center;
  background: #DB4325;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(219,67,37,0.08);
  padding: 38px 16px 38px 16px;
  width: 100%;
  text-align: center;
  color: #FFF;
}
.cta-banner h2, .cta-banner p {
  color: #FFF;
}

.local-tips {
  margin-top: 26px;
  background: #F9F4EB;
  border-radius: 14px;
  padding: 18px 16px;
}
.local-tips ul {
  padding-left: 0;
  list-style: disc inside;
}

/* Variations for features sections (across pages) */
.features-cocinas ul, .features-callejera ul {
  gap: 24px;
}
.features-cocinas li, .features-callejera li {
  min-width: 230px;
  max-width: 340px;
  text-align: left;
  align-items: flex-start;
}

/* ========== FORMS, INPUTS, BUTTONS ========== */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid #e1d6c6;
  padding: 10px 13px;
  margin-bottom: 18px;
  background: #f8f7f4;
  transition: border-color 0.19s, box-shadow 0.19s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #DB4325;
  box-shadow: 0 0 0 2px rgba(219,67,37,0.12);
}
button, .btn-primary {
  background: #DB4325;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 3px 12px rgba(219,67,37,0.13);
  cursor: pointer;
  transition: background 0.21s, transform 0.16s, box-shadow 0.22s;
  display: inline-block;
}
button:hover, button:focus, .btn-primary:hover, .btn-primary:focus {
  background: #B33B24;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 5px 26px rgba(179,59,36,0.18);
  color: #fff;
  text-decoration: none;
}

/* ==== FOOTER ==== */
footer {
  background: #25405B;
  color: #F4EAD5;
  padding: 44px 20px 12px 20px;
  border-radius: 24px 24px 0 0;
  margin-top: 60px;
  box-shadow: 0 -1px 16px rgba(71,40,9,0.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F4EAD5;
  font-weight: 600;
  text-decoration: underline dotted #DB4325 1.5px;
  border-radius: 8px;
  padding: 2px 8px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #DB4325;
  background: #FFF6EF;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #F4EAD5;
}
.footer-contact a {
  color: #DB4325;
}
.footer-copy {
  text-align: center;
  font-size: 0.93rem;
  opacity: .92;
  color: #E6D6C8;
  margin: 0 0 4px 0;
}

/* ========== COOKIE CONSENT BANNER (MANDATORY) ========== */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFD9C2;
  box-shadow: 0 -4px 28px rgba(219,67,37,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 16px 20px 16px;
  font-size: 1rem;
  border-radius: 26px 26px 0 0;
  transition: transform 0.28s cubic-bezier(.6,.14,.35,.95), opacity 0.18s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  flex: 1;
  color: #25405B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  background: #DB4325;
  color: #fff;
  border: none;
  border-radius: 19px;
  font-size: .98rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 23px;
  transition: background .19s, color .16s;
  cursor: pointer;
}
.cookie-btn.settings {
  background: #FFF6EF;
  color: #DB4325;
  border: 1px solid #DB4325;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD9C2;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #B33B24;
}
.cookie-btn.reject {
  background: #F4EAD5;
  color: #DB4325;
  border: 1px solid #DB4325;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFF;
}

/* ========== COOKIE MODAL POPUP ========== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3400;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,64,91,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 8px 54px rgba(179,59,36,0.20), 0 1px 6px rgba(38,37,36,0.10);
  max-width: 380px;
  width: 95vw;
  padding: 34px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-size: 1rem;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  color: #DB4325;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #25405B;
}
.cookie-category input[type="checkbox"] {
  accent-color: #DB4325;
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.cookie-modal .actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 13px;
  background: #F4EAD5;
  border: none;
  color: #B33B24;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .close-modal:focus, .cookie-modal .close-modal:hover {
  background: #FFD9C2;
}
.cookie-category .category-label {
  font-weight: 600;
  color: #DB4325;
}
.cookie-category.essential label::after {
  content: '(Siempre activo)';
  color: #939393;
  font-size: 0.92rem;
  margin-left: 8px;
}
.cookie-category.essential input {
  display: none!important;
}

/* ===== LISTS, BLOCKS, & MISC. ===== */
.address-block, .business-hours, .phone-email {
  background: #F4EAD5;
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 18px;
  color: #25405B;
}
.phone-email img, .contact ul img {
  height: 22px;
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 8px;
}
.map-location {
  background: #FFF6EF;
  border-radius: 15px;
  padding: 12px 18px 13px 18px;
  color: #25405B;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* === Story grid (historias-de-viaje) === */
.story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.story-grid > div {
  background: #FFD9C2;
  border-radius: 15px;
  flex: 1 1 255px;
  min-width: 210px;
  max-width: 370px;
  padding: 18px 14px;
  color: #25405B;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(38,64,91,0.04);
}

/* === Responsive: Mobile First === */
@media (max-width: 950px) {
  .container { max-width: 96vw; }
  .card { min-width: 200px; }
  .features-home ul, .features-cocinas ul, .features-callejera ul {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding-left: 9px; padding-right: 9px; }
  .content-wrapper, .hero-home, .hero-about, .hero-cocinas, .hero-callejera, .hero-galeria, .hero-historias, .cta-banner {
    padding: 22px 6px 18px 6px;
    border-radius: 14px;
  }
  .features-home ul, .features-cocinas ul, .features-callejera ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .features-home li, .features-cocinas li, .features-callejera li {
    width: 98%;
    min-width: 0;
    max-width: 97vw;
    padding: 16px 8px;
  }
  .story-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 15px 8px;
    font-size: 0.98rem;
  }
  .cta-banner { padding: 25px 7px 27px 7px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.20rem; }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .footer-contact {
    font-size: 0.97rem;
    gap: 5px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 6px 15px 9px;
    gap: 17px;
    font-size: 0.94rem;
  }
}
@media (max-width: 450px) {
  .hero-home, .hero-about, .hero-cocinas, .hero-callejera, .hero-galeria, .hero-historias, .cta-banner {
    padding: 10px 2px 9px 2px;
    border-radius: 9px;
  }
  .content-wrapper {
    padding: 11px 2px 11px 2px;
    border-radius: 9px;
  }
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-home, .hero-about, .hero-cocinas, .hero-callejera, .hero-galeria, .hero-historias, .hero-thanks, .cta-banner {
  animation: fadeInUp .76s cubic-bezier(.45,.18,.51,1.12);
}

/* ===== Visually Hidden (for accessibility with modals/menus) ===== */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* ====== MISC MINOR UTILS ====== */
.nowrap { white-space:nowrap; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== END OF CSS ===== */
