/*
Theme Name: Mato Travels
Theme URI: https://matotravels.com
Description: Custom travel-agency child theme for Mato Travels — professional design, brand identity, styled forms, header and footer.
Author: Mato Travels
Template: twentytwentyfive
Version: 1.0.0
Text Domain: matotravels
*/

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --mt-ocean: #221551;
  --mt-teal: #3a2a72;
  --mt-sunset: #ff690f;
  --mt-gold: #ff9d5c;
  --mt-ink: #160f30;
  --mt-shadow: 0 10px 30px rgba(19, 42, 51, 0.10);
  --mt-shadow-sm: 0 4px 14px rgba(19, 42, 51, 0.08);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- Top info bar ---------- */
.mt-topbar {
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}
.mt-topbar a { color: inherit; text-decoration: none; }
.mt-topbar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.mt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(19,42,51,.08), 0 6px 20px rgba(19,42,51,.04);
}
.mt-header .wp-block-site-title a {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mt-ocean);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mt-header .wp-block-site-title a::before { content: "✈ "; color: var(--mt-sunset); }

/* Navigation */
.mt-header .wp-block-navigation {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
}
.mt-header .wp-block-navigation a { color: var(--mt-ink); }
.mt-header .wp-block-navigation a:hover { color: var(--mt-sunset); }
.mt-header .wp-block-navigation .current-menu-item a { color: var(--mt-sunset); }

/* Header CTA button */
.mt-cta .wp-block-button__link {
  background: var(--mt-sunset);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 6px 16px rgba(255,105,15,.30);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mt-cta .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,105,15,.38);
}

/* ---------- Buttons (global) ---------- */
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(19,42,51,.18); }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 2px; font-weight: 600; }

/* ---------- Hero ---------- */
.mt-hero { position: relative; }
.mt-hero .wp-block-cover__inner-container { max-width: 820px; }
.wp-block-cover h1 { text-shadow: 0 2px 20px rgba(0,0,0,.35); }

/* Eyebrow label */
.mt-eyebrow {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: .8rem;
}

/* ---------- Cards ---------- */
.mt-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mt-shadow-sm);
  border: 1px solid rgba(19,42,51,.07);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.mt-card:hover { transform: translateY(-6px); box-shadow: var(--mt-shadow); }
.mt-card img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* ---------- Service cards ("What We Do") — equal height, elegant hover ---------- */
.mt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.mt-grid-4 > * { margin: 0 !important; }
@media (max-width: 1000px) { .mt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .mt-grid-4 { grid-template-columns: 1fr; } }

.mt-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(22,15,48,.09);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mt-svc::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mt-sunset), var(--mt-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.mt-svc:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(22,15,48,.13); border-color: transparent; }
.mt-svc:hover::before { transform: scaleX(1); }

.mt-svc .mt-svc-ico {
  width: 62px; height: 62px; margin: 0 0 1.15rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; line-height: 1;
  border-radius: 16px;
  background: color-mix(in srgb, var(--mt-ocean) 10%, #fff);
  transition: background .25s ease, transform .25s ease;
}
.mt-svc:hover .mt-svc-ico {
  background: linear-gradient(135deg, var(--mt-ocean), var(--mt-teal));
  transform: scale(1.06) rotate(-3deg);
}
.mt-svc h3 { font-family: "Poppins", sans-serif; font-size: 1.18rem; margin: 0 0 .5rem; }
.mt-svc p { margin: 0; font-size: .94rem; color: color-mix(in srgb, var(--mt-ink) 72%, #fff); }
.mt-svc .mt-svc-link { margin-top: auto; padding-top: 1.15rem; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .9rem; }
.mt-svc .mt-svc-link a { color: var(--mt-sunset); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.mt-svc .mt-svc-link a::after { content: "→"; transition: transform .2s ease; }
.mt-svc:hover .mt-svc-link a::after { transform: translateX(5px); }
.mt-svc .mt-svc-link a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Service icon tiles (legacy — used on other pages) */
.mt-service {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(19,42,51,.08);
  box-shadow: var(--mt-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  height: 100%;
}
.mt-service:hover { transform: translateY(-6px); box-shadow: var(--mt-shadow); border-color: rgba(58,42,114,.4); }
.mt-service .mt-ico { font-size: 2.4rem; line-height: 1; }

/* Price / destination overlay cards */
.mt-dest { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--mt-shadow-sm); }
.mt-dest img { width:100%; height: 300px; object-fit: cover; display:block; transition: transform .5s ease; }
.mt-dest:hover img { transform: scale(1.06); }
.mt-dest .mt-dest-label {
  position:absolute; left:0; right:0; bottom:0;
  padding: 2.2rem 1.2rem 1.1rem;
  color:#fff; font-family:"Poppins",sans-serif; font-weight:600; font-size:1.15rem;
  background: linear-gradient(to top, rgba(34,21,81,.92), rgba(34,21,81,0));
}
/* Whole destination card is clickable via a stretched link */
.mt-dest { cursor: pointer; }
.mt-dest-label a { color:#fff; text-decoration:none; }
.mt-dest-label a::after { content:""; position:absolute; inset:0; z-index:1; }

/* Card title links (tour listing) */
.mt-card h3 a { color: var(--mt-ink); text-decoration:none; }
.mt-card:hover h3 a { color: var(--mt-sunset); }
.mt-card figure a { display:block; }

/* ---------- Card grid (standard CSS Grid — replaces fragile WP columns) ---------- */
.mt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.mt-grid > * { margin: 0 !important; }           /* neutralise WP flow-layout margins */
@media (max-width: 960px) { .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mt-grid { grid-template-columns: 1fr; } }

/* Equal-height cards with the action button pinned to the bottom */
.mt-grid .mt-card { display: flex; flex-direction: column; }
.mt-card .mt-card-body { flex: 1; display: flex; flex-direction: column; }
.mt-card .mt-card-body .wp-block-buttons { margin-top: auto; padding-top: .5rem; }

/* Feature ("Want something custom?") card */
.mt-card--feature {
  background: var(--mt-ocean);
  color: #fff;
  justify-content: center;
  padding: 2rem 1.8rem;
}
.mt-card--feature:hover { transform: none; box-shadow: var(--mt-shadow-sm); }
.mt-card--feature h3, .mt-card--feature p { color: #fff; }

/* Stat counters */
.mt-stat .wp-block-heading { font-family:"Poppins",sans-serif; color: var(--mt-ocean); }

/* ---------- Tables ---------- */
.wp-block-table table { border-collapse: separate; border-spacing: 0; width:100%; border-radius: 12px; overflow: hidden; box-shadow: var(--mt-shadow-sm); }
.wp-block-table th {
  background: var(--mt-ocean); color:#fff; font-family:"Poppins",sans-serif;
  font-weight:600; text-align:left; padding: 14px 18px; font-size:.98rem;
}
.wp-block-table td { padding: 13px 18px; border-bottom: 1px solid rgba(19,42,51,.08); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--mt-ocean-light, #f0eef8); }
.wp-block-table tbody tr:hover { background: #f3f1fb; }
.wp-block-table figcaption { color:#5a6b72; font-size:.85rem; }

/* ================= Visa page: destination cards ================= */
.mt-visa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
@media (max-width: 900px) { .mt-visa-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .mt-visa-grid { grid-template-columns: 1fr; } }

.mt-visa {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(22,15,48,.10); border-radius: 16px;
  padding: 1.4rem 1.4rem 1.25rem; text-decoration: none; color: var(--mt-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mt-visa:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(22,15,48,.13); border-color: var(--mt-teal); }
.mt-visa-top { display: flex; align-items: center; gap: .85rem; margin-bottom: .9rem; }
.mt-visa .flag { width: 46px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(0,0,0,.25); flex: 0 0 auto; }
.mt-visa h3 { font-family: "Poppins", sans-serif; font-size: 1.06rem; margin: 0 0 .25rem; line-height: 1.2; }
.mt-visa .vtype {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  color: var(--mt-teal); background: color-mix(in srgb, var(--mt-teal) 12%, #fff);
  padding: 2px 9px; border-radius: 999px;
}
.mt-visa .mt-visa-meta { font-size: .85rem; color: color-mix(in srgb, var(--mt-ink) 62%, #fff); margin: 0 0 1rem; }
.mt-visa .mt-visa-foot {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid rgba(22,15,48,.08);
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
}
.mt-visa .from { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--mt-ink) 55%, #fff); }
.mt-visa .price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--mt-ocean); }
.mt-visa .go { color: var(--mt-sunset); font-family: "Poppins", sans-serif; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.mt-visa .go::after { content: " →"; transition: transform .2s ease; display: inline-block; }
.mt-visa:hover .go::after { transform: translateX(4px); }
.mt-visa-note { text-align: center; color: color-mix(in srgb, var(--mt-ink) 60%, #fff); font-size: .88rem; margin-top: 1.6rem; }

/* ================= Visa page: how it works ================= */
.mt-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; counter-reset: step; }
@media (max-width: 900px) { .mt-steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .mt-steps { grid-template-columns: 1fr; } }
.mt-step { position: relative; }
.mt-step .n {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, var(--mt-ocean), var(--mt-teal));
  box-shadow: 0 8px 18px rgba(34,21,81,.25); margin-bottom: 1rem;
}
.mt-step h3 { font-family: "Poppins", sans-serif; font-size: 1.08rem; margin: 0 0 .4rem; }
.mt-step p { margin: 0; font-size: .92rem; color: color-mix(in srgb, var(--mt-ink) 72%, #fff); }

/* ================= Visa page: checklist ================= */
.mt-checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem 2rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 600px) { .mt-checklist { grid-template-columns: 1fr; } }
.mt-checklist li { position: relative; padding-left: 2rem; font-size: .98rem; }
.mt-checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--mt-teal);
}

/* ================= Visa page: FAQ accordion ================= */
.wp-block-details {
  background: #fff; border: 1px solid rgba(22,15,48,.10); border-radius: 12px;
  padding: 2px 20px; margin-bottom: 12px; box-shadow: var(--mt-shadow-sm);
}
.wp-block-details summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--mt-ink);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
/* no inset focus box on mouse click; keep a tidy ring for keyboard users only */
.wp-block-details summary:focus { outline: none; }
.wp-block-details summary:focus:not(:focus-visible) { outline: none; }
.wp-block-details summary:focus-visible { outline: 2px solid var(--mt-sunset); outline-offset: 4px; border-radius: 8px; }
.wp-block-details summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--mt-sunset); transition: transform .2s ease;
}
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > *:not(summary) { color: color-mix(in srgb, var(--mt-ink) 78%, #fff); }
/* animated body wrapper (added by accordion.js). Keep spacing INSIDE the last
   child as padding so the wrapper itself collapses to a true zero height. */
.wp-block-details .mt-acc-body { box-sizing: border-box; }
.wp-block-details .mt-acc-body > * { margin-top: 0; }
.wp-block-details .mt-acc-body > :last-child { margin-bottom: 0; padding-bottom: 16px; }
/* no-JS fallback: give the raw content bottom spacing when opened */
.wp-block-details:not(:has(.mt-acc-body)) > *:not(summary):last-child { padding-bottom: 16px; }

/* ================= Tour packages: filter + rich cards ================= */
.mt-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.mt-filter button {
  font: inherit; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .9rem;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(22,15,48,.16); background: #fff; color: var(--mt-ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.mt-filter button:hover { border-color: var(--mt-teal); }
.mt-filter button.on { background: var(--mt-ocean); border-color: var(--mt-ocean); color: #fff; }
.mt-filter button:focus-visible { outline: 2px solid var(--mt-sunset); outline-offset: 2px; }

.mt-pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.6rem; }
@media (max-width: 960px) { .mt-pkg-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .mt-pkg-grid { grid-template-columns: 1fr; } }

.mt-pkg {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid rgba(22,15,48,.09); border-radius: 18px;
  text-decoration: none; color: var(--mt-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .22s ease;
}
.mt-pkg:hover { transform: translateY(-7px); box-shadow: 0 22px 44px rgba(22,15,48,.14); border-color: transparent; }
.mt-pkg.hide { display: none; }
/* Filter transitions — subtle fade + lift */
.mt-pkg.is-out { opacity: 0; transform: translateY(8px); }
.mt-pkg.is-in { animation: mtFadeUp .4s ease both; }
@keyframes mtFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .mt-pkg, .mt-pkg.is-in { animation: none !important; transition: none !important; }
  .mt-pkg.is-out { opacity: 1; transform: none; }
}
.mt-pkg-media { position: relative; overflow: hidden; }
.mt-pkg-media img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .5s ease; }
.mt-pkg:hover .mt-pkg-media img { transform: scale(1.07); }
.mt-pkg-dur {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(22,15,48,.82); color: #fff; font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: .74rem; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(2px);
}
.mt-pkg-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--mt-sunset); color: #fff; font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: .72rem; padding: 5px 11px; border-radius: 999px;
}
.mt-pkg-body { padding: 1.3rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.mt-pkg-rating { font-size: .84rem; color: var(--mt-gold); letter-spacing: .05em; margin-bottom: .45rem; }
.mt-pkg-rating span { color: color-mix(in srgb, var(--mt-ink) 55%, #fff); margin-left: .3rem; letter-spacing: 0; }
.mt-pkg h3 { font-family: "Poppins", sans-serif; font-size: 1.16rem; margin: 0 0 .4rem; line-height: 1.2; }
.mt-pkg-body > p { font-size: .9rem; color: color-mix(in srgb, var(--mt-ink) 68%, #fff); margin: 0 0 1.1rem; }
.mt-pkg-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(22,15,48,.08); display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.mt-pkg-foot .from { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--mt-ink) 55%, #fff); }
.mt-pkg-foot .price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.22rem; color: var(--mt-ocean); }
.mt-pkg-foot .pp { font-size: .74rem; color: color-mix(in srgb, var(--mt-ink) 55%, #fff); }
.mt-pkg-btn { color: var(--mt-sunset); font-family: "Poppins", sans-serif; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.mt-pkg-btn::after { content: " →"; display: inline-block; transition: transform .2s ease; }
.mt-pkg:hover .mt-pkg-btn::after { transform: translateX(4px); }
.mt-filter-empty { text-align: center; color: color-mix(in srgb, var(--mt-ink) 60%, #fff); padding: 1rem 0; display: none; }

/* Why-book feature row */
.mt-why { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .mt-why { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .mt-why { grid-template-columns: 1fr; } }
.mt-why .item { text-align: center; }
.mt-why .item .ic {
  width: 60px; height: 60px; margin: 0 auto .9rem; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: color-mix(in srgb, var(--mt-sunset) 14%, #fff);
}
.mt-why .item h3 { font-family: "Poppins", sans-serif; font-size: 1.05rem; margin: 0 0 .35rem; }
.mt-why .item p { margin: 0; font-size: .9rem; color: color-mix(in srgb, var(--mt-ink) 70%, #fff); }

/* ---------- Contact Form 7 ---------- */
.wpcf7 { font-family: "Manrope", sans-serif; }
.wpcf7 .mt-form-row { display:flex; gap: 1.75rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.wpcf7 .mt-form-row > p { flex:1 1 220px; min-width: 0; margin: 0; }
.wpcf7 p { margin: 0 0 1.25rem; }
.wpcf7 label { display:block; font-weight:600; color: var(--mt-ink); margin-bottom:.4rem; font-size:.95rem; }
.wpcf7 .wpcf7-form-control-wrap { display:block; }
.wpcf7-form-control:not(.wpcf7-submit):not([type=checkbox]):not([type=radio]) {
  box-sizing: border-box;
  width:100%; padding: 13px 15px;
  border:1.5px solid #d8e0e3; border-radius:10px;
  font-size:1rem; background:#fff; color:var(--mt-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.wpcf7 textarea.wpcf7-form-control { min-height: 140px; resize: vertical; }
.wpcf7-form-control:focus {
  outline:none; border-color: var(--mt-teal);
  box-shadow: 0 0 0 3px rgba(58,42,114,.15);
}
.wpcf7-submit {
  background: var(--mt-sunset); color:#fff; border:none;
  padding: 14px 34px; border-radius:10px; cursor:pointer;
  font-family:"Poppins",sans-serif; font-weight:600; font-size:1.02rem;
  box-shadow: 0 8px 18px rgba(255,105,15,.30);
  transition: transform .15s ease, box-shadow .15s ease;
  width:auto;
}
.wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255,105,15,.4); }
.wpcf7-spinner { margin-top: 12px; }
.wpcf7 .wpcf7-response-output {
  border-radius:10px; padding: 12px 16px; margin: 1rem 0 0; font-size:.95rem;
}

/* Contact info list */
.mt-contact-item { display:flex; gap:.9rem; align-items:flex-start; margin-bottom: 1.3rem; }
.mt-contact-item .mt-ico {
  flex:0 0 44px; width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
  background: rgba(58,42,114,.12); color: var(--mt-teal);
}

/* ---------- Footer ---------- */
.mt-footer {
  background: var(--mt-ocean);
  color: #d6e4ea;
  font-size: .96rem;
}
.mt-footer .wp-block-heading { color:#fff; font-family:"Poppins",sans-serif; font-size:1.05rem; margin-bottom:1rem; }
.mt-footer a { color:#d6e4ea; text-decoration:none; }
.mt-footer a:hover { color:#fff; text-decoration:underline; }
.mt-footer .wp-block-navigation { display:block; }
.mt-footer .wp-block-navigation ul { display:block; }
.mt-footer .wp-block-navigation li { margin-bottom:.55rem; }
.mt-footer-bottom { border-top:1px solid rgba(255,255,255,.15); color:#9fbcc7; font-size:.86rem; }
.mt-footer-brand { font-family:"Poppins",sans-serif; font-weight:700; font-size:1.4rem; color:#fff; }
.mt-footer-brand::before { content:"✈ "; color: var(--mt-gold); }

/* ---------- Seamless full-width sections ---------- */
/* Kill the flow-layout margin between top-level sections so colored bands
   sit flush against each other with no white gap showing through. */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .mt-section {
  margin-block-start: 0;
  margin-block-end: 0;
}
/* No gap between the header and the first hero, or footer and last section */
main.wp-block-group { margin-top: 0; }
main.wp-block-group > .wp-block-post-content > *:first-child { margin-block-start: 0; }
/* Footer template part sits at the site root and inherits a flow-layout top
   margin — remove it so the last section flushes into the footer. */
.wp-site-blocks > footer,
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0; }

/* ---------- Section helpers ---------- */
.mt-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.mt-badge {
  display:inline-block; background: rgba(255,105,15,.14); color: var(--mt-sunset);
  font-family:"Poppins",sans-serif; font-weight:600; font-size:.8rem;
  letter-spacing:.12em; text-transform:uppercase;
  padding:.4rem .9rem; border-radius:99px;
}

/* =====================================================================
   RESPONSIVE  — make every section adapt cleanly from desktop → mobile
   ===================================================================== */

/* ---- Tablet (≤ 960px): any multi-column card/content row wraps to 2-up ---- */
@media (max-width: 960px) {
  .mt-section .wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: wrap; }
  .mt-section .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex: 1 1 calc(50% - 1rem) !important;
    min-width: 0;
  }
  .mt-grid  { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---- Phone/portrait tablet (≤ 781px) ---- */
@media (max-width: 781px) {
  /* Tighter vertical rhythm + side gutters so content never touches edges */
  .mt-section { padding-top: 3rem; padding-bottom: 3rem; padding-left: 20px; padding-right: 20px; }
  .wp-block-cover__inner-container { padding-left: 18px; padding-right: 18px; }

  /* Everything stacks to a single column */
  .mt-section .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex: 1 1 100% !important;
  }

  /* Hero: shorter and readable */
  .mt-hero { min-height: 64vh !important; }
  .wp-block-cover h1 { font-size: 2.1rem !important; }
  .mt-header .wp-block-site-title a { font-size: 1.25rem; }

  /* Top contact bar: centred and allowed to wrap */
  .mt-topbar .wp-block-group { justify-content: center; text-align: center; gap: 2px 14px; }
  .mt-topbar { font-size: 0.8rem; }

  /* Cards */
  .mt-card img, .mt-dest img { height: 210px; }

  /* Wide tables scroll horizontally instead of squashing */
  .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wp-block-table table { min-width: 600px; font-size: .92rem; }
  .wp-block-table th, .wp-block-table td { padding: 11px 13px; }

  /* Contact form: paired inputs stack full width */
  .wpcf7 .mt-form-row { flex-direction: column; gap: 0; }

  /* Footer columns get breathing room when stacked */
  .mt-footer .wp-block-columns { gap: 2rem; }
}

/* ---- Small phones (≤ 600px) ---- */
@media (max-width: 600px) {
  .mt-grid { grid-template-columns: 1fr; }
  .wp-block-cover h1 { font-size: 1.85rem !important; }
  .mt-section .wp-block-columns { gap: 1.5rem; }
  .wp-block-buttons { justify-content: center; }
}
