/* ZenVera Viajes - Minimalist Flexbox-Only CSS */
/* RESET & BASELINE NORMALIZATION */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #1a2933;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #225174;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #183b53;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #225174;
  font-weight: 700;
  line-height: 1.15;
}
h1 {font-size: 2.5rem; margin-bottom: 16px;}
h2 {font-size: 2rem; margin-bottom: 12px;}
h3 {font-size: 1.25rem; margin-bottom: 8px;}
@media (max-width: 450px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.35rem;}
  h3 {font-size: 1.05rem;}
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #354857;
}
/* BASE SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,81,116,.05);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 260px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px rgba(34,81,116,0.10);
  transform: translateY(-2px);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  margin-bottom: 20px;
  background: #f6f3ed;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(34,81,116,0.04);
  color: #1a2933;
}
.testimonial-card p {
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: #2a3741;
  text-align: center;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #225174;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* HEADER & MAIN NAV */
header {
  background: #fff;
  border-bottom: 1px solid #e5e6ea;
  padding: 0;
  margin-bottom: 0;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header a img {
  height: 37px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #225174;
  padding: 4px 0;
  transition: color .2s, border-bottom .2s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #16344A;
  border-bottom: 2px solid #225174;
}
/* Primary button */
.btn-primary {
  display: inline-block;
  padding: 10px 28px;
  background: #225174;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  border: none;
  border-radius: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(34,81,116,0.09);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform .13s;
  outline: none;
  margin-left: 14px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2c688a;
  box-shadow: 0 4px 16px rgba(34,81,116,0.12);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
  header > .container {
    gap: 10px;
  }
}
/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #225174;
  padding: 4px 8px;
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:focus{
  outline: 2px solid #225174;
}
@media (max-width: 920px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header > .container {
    gap: 0;
  }
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,81,116,0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.79,.02,.38,1.08);
  z-index: 2000;
  opacity: 1;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin-top: 20px;
  margin-left: 25px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 2001;
  transition: color 0.17s;
}
.mobile-menu-close:focus {
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
  width: 100%;
  padding-left: 38px;
  padding-bottom: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: 7px;
  transition: color 0.18s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #BED6DF;
  background: rgba(34,81,116,0.15);
}
/* HERO SECTIONS */
.hero {
  background: #F6F3ED;
  padding: 60px 0 48px 0;
  margin-bottom: 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1, .thank-you h1 {
  font-size: 2.7rem;
  color: #225174;
  margin-bottom: 10px;
}
.hero p {
  color: #225174;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .hero, .section {
    padding: 24px 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* FEATURES GRID & ICONS */
.features {
  background: #fff;
  margin-bottom: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 0;
}
.feature-grid li {
  background: #F6F3ED;
  border-radius: 12px;
  box-shadow: 0 0.5px 10px rgba(34,81,116,0.03);
  flex: 1 1 245px;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 32px 24px 20px 24px;
  margin-bottom: 20px;
}
.feature-grid img {
  height: 48px;
  margin-bottom: 6px;
}
.feature-grid h3 {
  font-size: 1.14rem;
  color: #225174;
  font-weight: 600;
}
.feature-grid p {
  color: #354857;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}
.services ul,
.tips-grid ul,
.tips ul,
.faq ul,
.article-list ul,
.checklist ul,
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.checklist li, .contact-details li {
  color: #225174;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details img {
  height: 22px;
  margin-right: 8px;
}
.map-location {
  background: #F6F3ED;
  border-radius: 8px;
  padding: 18px 13px;
  margin-top: 14px;
  font-size: 1rem;
  color: #354857;
  box-shadow: 0 1px 12px rgba(34,81,116,0.03);
}
.tips-grid, .tips {
  margin-top: 14px;
}
.tips-grid {
  background: #BED6DF26;
  border-radius: 10px;
  padding: 16px 18px;
}
@media (max-width: 750px) {
  .checklist, .tips, .faq, .services, .article-list {
    padding: 18px 0;
  }
  .feature-grid {
    gap: 14px;
  }
}
/* FAQ LISTS */
.faq ul {
  gap: 24px;
}
.faq strong {
  color: #225174;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.11rem;
  margin-bottom: 7px;
  display: block;
}
.faq p {
  color: #2a3741;
  font-size: 1rem;
}

/* ARTICLE LIST */
.article-list ul li {
  background: #F6F3ED;
  border-radius: 9px;
  box-shadow: 0 1px 10px rgba(34,81,116,0.03);
  padding: 24px 18px 16px 18px;
  margin-bottom: 20px;
}
/* CTA SECTION */
.cta-section {
  background: #BED6DF16;
  padding: 47px 0;
  margin-bottom: 0;
  border-radius: 0 0 14px 14px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cta-section h2 {
  color: #225174;
  font-size: 2rem;
}
.cta-section p {
  color: #354857;
  margin-bottom: 8px;
  font-size: 1.11rem;
}
@media (max-width: 700px) {
  .cta-section {padding: 30px 0;}
}
/* THANK YOU section */
.thank-you {
  background: #F6F3ED;
  padding: 50px 0;
  text-align: center;
}
.thank-you .content-wrapper {
  align-items: center;
  gap: 18px;
}
/* POLICY/TEXT SECTION (legal, privacy, cookies, etc) */
.policy {
  background: #fff;
  padding: 34px 0 60px 0;
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  gap: 10px;
  margin-bottom: 12px;
}
.text-section h2 {
  font-size: 1.13rem;
  color: #225174;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 6px;
}
.text-section p, .text-section li {
  font-size: 1rem;
  color: #2a3741;
}
@media (max-width: 750px) {
  .policy {padding: 14px 0 24px 0;}
}
/* STEPS (ordered) */
.steps ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
  padding-left: 18px;
}
.steps li {
  color: #225174;
  font-size: 1.06rem;
  position: relative;
  padding-left: 4px;
}
.steps strong {
  font-family: 'Montserrat', sans-serif;
}
/* FOOTER */
footer {
  background: #225174;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 30px;
  margin-top: 40px;
}
footer > .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #BED6DF;
  font-size: 1.06rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color 0.16s, text-decoration 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  margin-top: 6px;
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}
@media (max-width: 900px) {
  footer > .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 7px;
  }
}
/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #225174;
  width: 100%;
  box-shadow: 0 -2px 24px rgba(34,81,116,0.07);
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 18px;
  transition: transform 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner p {
  flex: 1 1 auto;
  margin-bottom: 0;
  color: #225174;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  padding: 7px 18px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #225174;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  outline: none;
}
.cookie-btn.reject {
  background: #fff;
  border: 1px solid #225174;
  color: #225174;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #BED6DF;
  color: #225174;
}
.cookie-btn.settings {
  background: #BED6DF;
  color: #225174;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #225174;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #16344A;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; gap: 14px; padding: 16px 12px; }
  .cookie-buttons { width: 100%; justify-content: flex-end;}
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,81,116,.60);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(34,81,116,.18);
  width: 95%;
  max-width: 440px;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  align-items: flex-start;
}
.cookie-modal h2 {
  font-size: 1.37rem;
  color: #225174;
  margin-bottom: 2px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 8px;
  width: 100%;
}
.cookie-category {
  background: #f6f3ed;
  border-radius: 7px;
  padding: 10px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.cookie-category .toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Switch toggle */
.toggle-switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.toggle-switch input {display:none;}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #BED6DF;
  border-radius: 22px;
  transition: background 0.16s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #225174;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 4px; bottom: 3px;
  background: #fff;
  border-radius: 13px;
  transition: transform 0.16s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  width: 100%;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  color: #225174;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #BED6DF;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 6px 8px 13px;
    max-width: 99vw;
  }
  .cookie-modal-actions {
    gap:7px;
  }
}
/* ACCESSIBILITY: Focus styles */
*:focus-visible {
  outline: 2px solid #BED6DF;
  outline-offset: 2px;
}
/* SCROLLBAR STYLES */
::-webkit-scrollbar {
  width: 10px;
  background: #f6f3ed;
}
::-webkit-scrollbar-thumb {
  background: #BED6DF;
  border-radius: 5px;
}
/* MICRO-INTERACTIONS/ANIMATIONS */
.btn-primary, .cookie-btn, .main-nav a, .mobile-menu-toggle, .mobile-nav a {
  transition: background 0.14s, color 0.15s, transform 0.09s, box-shadow 0.17s;
}
.card, .feature-grid li, .article-list ul li, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(34,81,116,0.10);
  transform: translateY(-2px) scale(1.01);
}
/* SPECIAL: Hide mobile menu overlay body scroll when open */
body.menu-open {
  overflow: hidden;
}
/* Ensure all content is spaced apart: Minimum gaps enforced */
.section > *:not(:last-child), .card-container > *:not(:last-child), .content-grid > *:not(:last-child), .testimonial-card:not(:last-child), .feature-item:not(:last-child), .services ul li:not(:last-child), .faq ul li:not(:last-child), .tips ul li:not(:last-child), .article-list ul li:not(:last-child), .checklist ul li:not(:last-child) {
  margin-bottom: 20px;
}
/* RESPONSIVE RULES */
@media (max-width: 768px) {
  .container {padding: 0 7px;}
  .content-wrapper {gap: 14px;}
  .section {padding: 23px 4px; margin-bottom: 36px;}
  .card {padding: 20px 12px;}
}
@media (max-width: 480px) {
  .footer-contact, .footer-nav {font-size: 0.90rem;}
}

/* END ZenVera Viajes Styles */