/* ===================================================
   ORIGIN VIETNAM FOOTER STYLE - OPTIMIZED VERSION
   =================================================== */
:root {
  --ov-accent: #0D4A3E;         
  --ov-accent-dark: #146151;
  --ov-cta: #B54709;
  --ov-heading: #2C1F10;
  --ov-text: #2E2E2E;
  --ov-bg: #F2ECE3 !important;
}

/* ===== Footer Base ===== */
.ov-footer {
  background: var(--ov-bg);
  color: var(--ov-text);
  padding: 30px 0;
}

@media (max-width: 767.98px){
  .ov-footer { padding: 20px 10px; }
}

/* ===== Layout ===== */
.ov-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ov-grid { display: grid; gap: 16px; }
.ov-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-grid-4 { grid-template-columns: 25% 15% 20% 25%; }
.ov-center { text-align: center; }
.ov-mt-20 { margin-top: 20px; }
.ov-mb-10 { margin-bottom: 10px; }
.ov-mb-20 { margin-bottom: 20px; }
.ov-mb-30 { margin-bottom: 30px; }
.ov-muted { opacity: .8; }

@media (max-width: 1024.98px){
  .ov-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px){
  .ov-grid-3,
  .ov-grid-4 { grid-template-columns: 1fr; }
}

/* ===== Feature (Image Box) ===== */
.ov-feature { display: flex; gap: 12px; align-items: flex-start; padding: 0 8px; }
.ov-feature img { width: 18%; max-width: 72px; height: auto; flex: 0 0 auto; }
.ov-feature h3 {
  margin: 0 0 6px; font-size: 21px !important; font-weight: 600; text-transform: uppercase;
  letter-spacing: .8px; color: var(--ov-heading);
}
.ov-feature p { margin: 0; font-size: 15px; }

/* ===== Headings ===== */
.ov-section-title {
  margin: 0 0 12px; font-size: 23px !important; font-weight: 800; text-transform: uppercase;
  color: var(--ov-heading); text-align: center;
}
.ov-col-title {
  margin: 0 0 10px; font-size: 21px !important; font-weight: 500; text-transform: uppercase;
  color: var(--ov-accent);
}

/* ===== Lists ===== */
.ov-list {
  list-style: disc;
  margin-left: 20px;
  padding: 0;
  text-align: left;
}
.ov-list li {
  margin: 8px 0;
  text-align: left;
}
.ov-list a {
  color: #3E2F1C !important;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color .25s, border-color .25s;
}
.ov-list a:hover {
  color: var(--ov-accent-dark);
  border-color: var(--ov-accent-dark);
}
.ov-footer .ov-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ov-accent-dark);
}

/* ===== Associations ===== */
.ov-awards img { width: 68%; height: auto; display: block; margin: 0 auto; }

/* ===== Newsletter ===== */
.ov-newsletter { text-align: center; margin: 20px auto; max-width: 720px; }
.ov-newsletter h2 { margin: 0; font-size: 23px !important; font-weight: 600;}
.ov-newsletter p { margin: 6px 0 16px; font-size: 16px; }
.ov-newsletter form { display: flex; gap: 10px; justify-content: center; }
.ov-newsletter input[type="email"] {
  padding: 12px 14px; font-size: 14px; border: 1px solid #e5e5e5; border-radius: 0;
  width: 100%; max-width: 460px;
}
.ov-newsletter button {
  padding: 12px 18px; font-size: 14px; font-weight: 600; text-transform: uppercase;
  border: 0; border-radius: 0; background: #146151; 
  color: #fff; cursor: pointer;
  box-shadow: 0 0 48px rgba(0,0,0,.11);
  transition: background .25s ease;
}
.ov-newsletter button:hover { background: var(--ov-cta); }

@media (max-width: 767.98px){
  .ov-newsletter form { flex-direction: column; }
  .ov-newsletter button { width: 100%; }
}

/* ===== Right badges ===== */
.ov-badges { display: grid; gap: 10px; place-items: center; }
.ov-badges img { width: 67%; height: auto; }
.ov-badges .dmca-badge img { width: 121px; height: auto; }

/* ===== Social ===== */
.ov-social {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.ov-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ov-accent-dark);
  border: 1px solid transparent;
  transition: all .25s ease;
}
.ov-social a:hover {
  background: var(--ov-cta);
  transform: scale(.96);
}
.ov-social img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* ===== Contact ===== */
.ov-contact-block {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.5;
  text-align: left;
}
.ov-contact-block .ov-contact {
  margin: 2px 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ov-text);
  text-align: left;
  display: flex; 
  align-items: center;
  gap: 6px; 
}
.ov-contact-block .ov-contact strong {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ov-heading);
  margin-bottom: 0;
  line-height: 1.25;
}

/* Link (tel, mail) */
.ov-contact-block .ov-contact a {
  color: var(--ov-accent-dark);
  text-decoration: underline dotted rgba(13, 74, 62, 0.3);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}
.ov-contact-block .ov-contact a:hover {
  color: var(--ov-cta);
  text-decoration-color: var(--ov-cta);
}

.ov-contact-block .ov-icon {
  width: 16px;
  height: 16px;
  color: var(--ov-accent);
  flex-shrink: 0;
  transform: translateY(1px);
  transition: color 0.25s ease;
}
.ov-contact-block a:hover .ov-icon {
  color: var(--ov-cta);
}
.ov-contact-block .ov-muted {
  color: rgba(0, 0, 0, 0.78);
  font-size: 14.5px;
  margin-top: 4px;
  line-height: 1.4;
  text-align: left;
}


/* ===== Footer Columns ===== */
.ov-footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.6fr 0.9fr;
  gap: 32px;
  padding: 40px 0 20px;
  background: var(--ov-bg);
  color: var(--ov-text);
}
@media(max-width:1024px){
  .ov-footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:767.98px){
  .ov-footer-cols { grid-template-columns: 1fr; text-align: left; padding: 30px 12px; }
}

/* ===== Badges Column ===== */
.ov-badges-col {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin-top: 4px;
}
.ov-badges-col img {
  display: block; height: auto; opacity: .9;
  transition: opacity .25s ease;
}
.ov-badges-col a:hover img { opacity: 1; }
.ov-badges-col a:first-child img { max-width: 84px; }
.ov-badges-col a:nth-child(2) img { max-width: 74px; }
.ov-badges-col a:last-child img { max-width: 54px; }

@media(max-width:1024px){
  .ov-badges-col a:first-child img { max-width: 78px; }
  .ov-badges-col a:nth-child(2) img { max-width: 68px; }
  .ov-badges-col a:last-child img { max-width: 50px; }
}
@media(max-width:767.98px){
  .ov-badges-col img { margin: 0 auto; }
  .ov-badges-col a:first-child img { max-width: 72px; }
  .ov-badges-col a:nth-child(2) img { max-width: 62px; }
  .ov-badges-col a:last-child img { max-width: 46px; }
}

/* ===== Copyright ===== */
.ov-copy { text-align: center; font-size: 15px; line-height: 1.3; }
.ov-copy a {
  color: inherit;
  text-decoration: underline dotted transparent;
}
.ov-copy a:hover {
  color: var(--ov-accent-dark);
  text-decoration-color: var(--ov-accent-dark);
}
/* ===================================================
   ORIGIN TRAVEL – CLASSIC LIGHT MEGA MENU (CLEANED, SIMPLIFIED)
   =================================================== */

:root {
  --ov-accent: #146151;
  --ov-accent-dark: #25937D;
  --ov-cta: #973C08;
  --ov-cta-dark: #7f3106;
  --ov-heading: #494F36;
  --ov-text: #444;
  --ov-bg: #F9F5EA;
  --ov-panel-bg: #F9F5EA;
  --ov-border: #E4D7BF;
  --ov-border-light: rgba(0,0,0,0.05);
  --ov-spacing-xs: 4px;
  --ov-spacing-sm: 12px;
  --ov-spacing-md: 24px;
  --ov-spacing-lg: 48px;
  --ov-spacing-xl: 60px;
  --ov-header-height-desktop: 140px;
  --ov-header-height-mobile: 85px;
}
/* Disable transitions until menu fully loaded */
body:not(.nav-ready) .mega,
body:not(.nav-ready) .origin-travel-menu,
body:not(.nav-ready) .mega__row,
body:not(.nav-ready) .mega__col {
  transition: none !important;
  animation: none !important;
}
/* ===============================
   NAVIGATION STRUCTURE (UPDATED)
   =============================== */
.origin-nav {
  flex: 1;
  position: relative;
}

.origin-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ov-heading);
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 10000;
  transition: color 0.2s ease;
}

/* Show toggle on mobile*/
@media (max-width: 992px) {
  .origin-nav__toggle {
    display: block !important;
  }
}

.origin-nav__toggle:focus-visible {
  outline: 2px solid var(--ov-accent);
  outline-offset: 2px;
}

.origin-nav__toggle[aria-expanded="true"] {
  color: var(--ov-accent);
}

/* ===============================
   HAMBURGER ICON
   =============================== */
.origin-nav__toggle::before,
.origin-nav__toggle::after,
.origin-nav__toggle span {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Position 3 bars */
.origin-nav__toggle::before { top: 10px; }
.origin-nav__toggle span { top: 18.5px; }
.origin-nav__toggle::after { bottom: 10px; }

/* ===============================
   MENU OPEN STATUS (CHANGED TO X)
   =============================== */
.origin-nav__toggle[aria-expanded="true"]::before {
  transform: translateX(-50%) rotate(45deg) translateY(6px);
}
.origin-nav__toggle[aria-expanded="true"]::after {
  transform: translateX(-50%) rotate(-45deg) translateY(-6px);
}
.origin-nav__toggle[aria-expanded="true"] span {
  opacity: 0;
}

/* ===============================
   HIỆU ỨNG NHẸ NHÀNG
   =============================== */
.origin-nav__toggle:hover {
  color: var(--ov-accent-dark);
}

/* ===============================
   MAIN MENU
   =============================== */
.origin-travel-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.origin-travel-menu > li {
  position: relative;
}

.origin-travel-menu > li > a {
  display: inline-block;
  padding: 14px 8px;
  color: var(--ov-heading);
  font-size: 15px;  
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.origin-travel-menu > li:hover > a,
.origin-travel-menu > li > a:focus-visible {
  color: var(--ov-accent);
  outline: none;
}
/* =======================================================
   DESKTOP MEGA MENU – MODE B (FIXED BELOW HEADER)
   ======================================================= */
@media (min-width: 993px) {
  .origin-travel-menu > li .mega {
    position: fixed !important;
    left: 0;
    right: 0;
    top: var(--ov-header-height-desktop);
    background: var(--ov-panel-bg);
    width: 100%;
    border-top: 1px solid var(--ov-border-light);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    padding: 20px 0 40px;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    max-height: calc(100vh - var(--ov-header-height-desktop));
    overflow-y: auto;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .origin-travel-menu > li:hover .mega {
    opacity: 1;
    visibility: visible;
  }  .origin-travel-menu > li .mega::-webkit-scrollbar { width: 8px; }
  .origin-travel-menu > li .mega::-webkit-scrollbar-thumb {
    background: var(--ov-accent);
  }
}/* =======================================================
   MEGA MENU INNER GRID
   ======================================================= */
.mega__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
.mega__row {
  display: grid;
  gap: 40px;
}.menu-tours .mega__row       { grid-template-columns: 0.8fr 1fr 1fr 1fr 1fr; }
.menu-collection .mega__row   { grid-template-columns: 0.8fr 1fr 1fr 1fr; }
.menu-itineraries .mega__row  { grid-template-columns: repeat(4,1fr); }
.menu-where .mega__row        { grid-template-columns: repeat(3,1fr); }.mega__col h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ov-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ov-border-light);
}
.mega__col ul {
  list-style: disc;
  padding-left: 16px;
}
.mega__col ul li {
  margin-bottom: 6px;
}
.mega__col ul li a {
  color: #494F33;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .3s ease;
}
.mega__col ul li a:hover {
  color: var(--ov-accent);
}/* =======================================================
   CTA (CALL TO ACTION) COLUMN
   ======================================================= */
.mega__col--cta {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
}
.origin-travel-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--ov-cta);
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
  min-width: 260px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  transition: background .3s ease;
}
.origin-travel-cta:hover {
  background: var(--ov-cta-dark);
}/* =======================================================
   MENU MORE (BLACK MODE)
   ======================================================= */
.menu-more .mega--dark {
  background: #000 !important;
  color: #fff !important;
  border-top: 3px solid var(--ov-accent);
  padding: 60px 0 70px !important;
}.menu-more .mega__row--split {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  align-items: center;
  gap: 60px;
}/* Circle cards */
.menu-more .circle-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.menu-more .circle-card {
  text-align: center;
  transition: transform .2s ease;
}
.menu-more .circle-card img {
  width: 183px;
  height: 183px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform .2s ease;
}
.menu-more .circle-card:hover img {
  transform: scale(1.05);
}
.menu-more .circle-card span {
  display: block;
  margin-top: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}/* About links */
.menu-more .origin-about-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  padding-right: 20px;
}
.menu-more .origin-about-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: color .3s ease;
}
.menu-more .origin-about-links a:hover {
  color: var(--ov-accent);
}
.menu-more .origin-about-links .ov-icon {
  width: 24px;
  height: 24px;
  fill: var(--ov-accent);
  transition: fill .3s ease;
}
.menu-more .origin-about-links a:hover .ov-icon {
  fill: var(--ov-accent);
}/* =======================================================
   MOBILE MENU (SLIDE)
   ======================================================= */
@media (max-width: 992px) {  .origin-travel-menu {
    display: none;
    flex-direction: column;
    background: var(--ov-panel-bg);
    position: fixed;
    top: var(--ov-header-height-mobile);
    left: 0; right: 0;
    height: calc(100vh - var(--ov-header-height-mobile));
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    transition: .35s ease;
    z-index: 9999;
    padding-bottom: 40px;
  }
  .origin-travel-menu.is-open {
    display: flex;
    transform: translateX(0);
    opacity: 1;
  }  .origin-travel-menu > li > a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
  }  .origin-travel-menu > li .mega {
    position: static !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 16px 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
  .origin-travel-menu > li .mega.is-open {
    display: block !important;
  }  .mega__inner {
    padding: 0 12px !important;
  }
  .mega__row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
/* ======= MENU TOURS (5 columns + CTA left) ======= */
.menu-tours .mega__row {
  display: grid !important;
  grid-template-columns: 280px 1fr 1fr 1fr 1fr !important;
  align-items: center !important; 
}/* CTA column */
.menu-tours .mega__col--cta {
  grid-column: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
}/* ======= MENU COLLECTION (4 columns + CTA left) ======= */
.menu-collection .mega__row {
  display: grid !important;
  grid-template-columns: 280px 1fr 1fr 1fr !important;
  align-items: center !important; 
}.menu-collection .mega__col--cta {
  grid-column: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
}
/* COLLECTION: CTA left + content top */.menu-collection .mega__row {
  display: grid !important;
  grid-template-columns: 280px 1fr 1fr 1fr !important;
  grid-template-rows: 1fr;
  align-items: start !important;
}/* Only the CTA is vertically centered */
.menu-collection .mega__col--cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
}
/* TOURS: CTA left + content top */.menu-tours .mega__row {
  display: grid !important;
  grid-template-columns: 280px 1fr 1fr 1fr 1fr !important;
  grid-template-rows: 1fr;
  align-items: start !important; 
}/* Center vertical CTA only */
.menu-tours .mega__col--cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
}
/* ==========================================================
   MOBILE FIX — FORCE ALL MEGA ROWS INTO A SINGLE COLUMN
   ========================================================== */
@media (max-width: 992px) {  /* FORCE 1 COLUMN ON MOBILE */
  .menu-tours .mega__row,
  .menu-collection .mega__row {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    align-items: start !important;
  }  /* CTA becomes own row on mobile */
  .menu-tours .mega__col--cta,
  .menu-collection .mega__col--cta {
    grid-column: 1 !important; /* always first */
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0;
  }
}
@media (max-width: 992px) {  /* RESET card background */
  .origin-travel-menu > li.has-mega > a {
    position: relative;
    display: block;background: none !important;    /* bỏ nền */
box-shadow: none !important; 
border-radius: 0 !important;

padding: 16px 32px 16px 0; 
margin: 0;

font-size: 20px;
font-weight: 500;
text-align: left;               /* căn trái */
color: #0e3f34;

border-bottom: 1px solid rgba(0,0,0,0.1); /* subtle Apple hairline */  }  /* Chevron right (default state) */
  .origin-travel-menu > li.has-mega > a::after {
    content: "›";                 
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: #0e3f34;
  }  /* Open state: no background, just arrow down */
  .origin-travel-menu > li.has-mega.open > a {
    color: #0e3f34;
  }
  .origin-travel-menu > li.has-mega.open > a::after {
    content: "⌄";
  }  /* LEVEL 2 (sub-accordion) matching Apple style */
  .mega__col h3 {
    position: relative;
    padding: 14px 28px 14px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    color: #0e3f34;
    background: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }  .mega__col h3::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 300;
    color: #0e3f34;
  }  .mega__col.open h3::after {
    content: "⌄";
  }  /* UL items (simple, clean) */
  .mega__col ul {
    display: none;
    padding: 8px 0 8px 12px;
  }  .mega__col.open ul {
    display: block;
  }  .mega__col ul li a {
    display: block;
    padding: 6px 0;
    font-size: 16px;
    color: #0e3f34;
  }
}

