/*
 * AB Air Trip website styles (mobile-first).
 * Author: RaKiBuL HaSaN - CEO & Founder, The One Stop BD (theonestopbd.com)
 * Developer Phone: +8801752986368
 * Developer Email: rhs.rakibul@gmail.com
 *
 * Sections: 1 Variables · 2 Base · 3 Layout · 4 Buttons · 5 App bar · 6 Bottom nav ·
 *           7 Desktop header · 8 Hero · 9 Search · 10 Cards · 11 Destinations · 12 Pages ·
 *           13 Forms · 14 Footer · 15 FAB + install banner · 16 Motion · 17 Media queries
 */

/* ---------- 1. Variables ---------- */
:root {
  --brand: #1860A8;
  --brand-dark: #123F73;
  --brand-tint: #e7f0f9;
  --accent: #F08A24;
  --ink: #1a2330;
  --muted: #55606e;
  --line: #e3e8ef;
  --bg: #ffffff;
  --tint: #f5f7fa;
  --ok: #167a46;
  --bad: #b3261e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(20, 35, 60, .08);
  --shadow-sm: 0 2px 8px rgba(20, 35, 60, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --appbar-h: 56px;
  --bottomnav-h: 62px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 1rem; line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding-top: calc(var(--appbar-h) + var(--safe-top));
  padding-bottom: calc(var(--bottomnav-h) + var(--safe-bottom));
}
main { animation: page-in .35s ease both; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; background: var(--tint); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 5.5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3.6vw, 2.1rem); }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.ico { flex: none; vertical-align: -.2em; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid rgba(24, 96, 168, .45); outline-offset: 2px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 .5em; }
.small { font-size: .9rem; }
.note { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 760px; }
.section { padding: 40px 0; }
.section--tint { background: var(--tint); }
.section-head { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 0; }
.section-more { margin: 18px 0 0; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.page-head { background: var(--brand-tint); padding: 30px 0 28px; }
.page-head h1 { margin-bottom: .3em; }
.page-head p:last-child { margin-bottom: 0; color: var(--muted); }
.split { display: grid; gap: 28px; }
.stack { display: grid; gap: 16px; }
.cta { background: var(--brand); color: #fff; padding: 36px 0; }
.cta__in { text-align: center; }
.cta h2, .cta p { color: #fff; }
.cta p { opacity: .9; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); cursor: pointer; text-decoration: none !important;
  transition: transform .12s ease, background-color .2s, border-color .2s, box-shadow .2s, color .2s;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--brand-tint); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-row--tight { margin-top: 12px; }
.btn-row--center { justify-content: center; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .25; pointer-events: none; animation: ripple .55s ease-out forwards; }

/* ---------- 5. Mobile app bar ---------- */
.app-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: calc(var(--appbar-h) + var(--safe-top)); padding: var(--safe-top) 14px 0;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.app-bar__brand { text-decoration: none !important; }
.app-bar__logo { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.app-bar__title { flex: 1; margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar__action { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); }
.app-bar__action:active { background: var(--brand-tint); }

/* ---------- 6. Bottom navigation (mobile) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: calc(var(--bottomnav-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20, 35, 60, .06);
}
.bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: .72rem; font-weight: 600; text-decoration: none !important;
  min-height: 48px; transition: color .15s, transform .12s;
}
.bottom-nav__item:active { transform: scale(.92); }
.bottom-nav__item.is-active { color: var(--brand); }
.bottom-nav__item.is-active .ico { stroke-width: 2.2; }

/* ---------- 7. Desktop / tablet header ---------- */
.site-header { display: none; }
.topline { background: var(--ink); color: #dfe6ee; font-size: .85rem; }
.topline__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topline a { color: #dfe6ee; margin-left: 16px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.15rem; }
.brand__text small { color: var(--muted); font-size: .75rem; }
.brand--light, .brand--light .brand__text small { color: #fff; }
.brand--light .brand__text small { opacity: .8; }
.nav-toggle { background: none; border: 0; color: var(--ink); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: 10px; display: inline-block; text-decoration: none; transition: background .15s, color .15s; }
.main-nav a:hover { background: var(--tint); }
.main-nav a.is-active { color: var(--brand); background: var(--brand-tint); }
.main-nav .nav-cta { color: #fff; }
.main-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.main-nav.is-open ul { flex-direction: column; }
.main-nav.is-open .nav-cta { margin-top: 10px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; color: #fff; background: #0f2f57 var(--hero) center / cover no-repeat;
  padding: 44px 0 90px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 34, 66, .58); }
.hero__in { position: relative; }
.hero .eyebrow { color: #cfe0fb; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead { max-width: 46ch; font-size: 1.05rem; color: #eaf1fc; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- 9. Flight search ---------- */
.search-wrap { margin-top: -62px; position: relative; z-index: 2; }
.search-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 18px; border: 1px solid var(--line); }
.search-card__title { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.trip-toggle { display: flex; gap: 8px; margin-bottom: 14px; }
.trip-toggle label { cursor: pointer; }
.trip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.trip-toggle span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; transition: all .15s; }
.trip-toggle input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.trip-toggle input:focus-visible + span { outline: 3px solid rgba(24, 96, 168, .45); }
.search-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.search-grid .field:nth-child(1), .search-grid .field:nth-child(2) { grid-column: span 2; }
.search-grid .field:nth-child(3), .search-grid .field:nth-child(4) { grid-column: span 2; }
.search-btn { grid-column: span 2; }
.search-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-error { color: var(--bad); font-weight: 600; margin: 10px 0 0; }

/* ---------- 10. Cards ---------- */
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.snap { scroll-snap-type: x mandatory; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--service, .card--contact { padding: 20px; color: var(--ink); text-decoration: none !important; display: block; }
.card--service p, .card--contact p { color: var(--muted); margin-bottom: 0; }
.card--service h3, .card--contact h3 { margin-bottom: .3em; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 12px; transition: transform .3s, background .2s, color .2s; }
.card__icon--sm { width: 44px; height: 44px; margin: 0; }
.card__icon--lg { width: 64px; height: 64px; margin: 0; }
.card:active { transform: scale(.985); }
.card--package img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 16px 18px 18px; }
.card__body h3, .card__body .h3 { margin-bottom: .6em; }
.meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: .4em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px; }
.price { font-size: .85rem; color: var(--muted); }
.price strong { display: block; font-size: 1.35rem; color: var(--brand-dark); line-height: 1.2; }
.row-card { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.row-card h2 { font-size: 1.35rem; margin-bottom: .3em; }
.ticks { list-style: none; display: grid; gap: 6px; margin: 12px 0 16px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ico { color: var(--ok); margin-top: 2px; }
.feature-list { list-style: none; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list h3 { margin-bottom: .15em; }
.feature-list p { color: var(--muted); margin: 0; }
.steps { padding-left: 1.2em; display: grid; gap: 10px; }

/* ---------- 11. Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
.dest { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; text-decoration: none !important; }
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 60%); }
.dest__info { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; line-height: 1.25; }
.dest__info strong { font-size: 1.1rem; }
.dest__info small { opacity: .9; }
.dest.big { grid-column: span 2; grid-row: span 2; }
.dest.wide { grid-column: span 2; }
.dest:active img { transform: scale(1.04); }

/* ---------- 12. Pages ---------- */
.notfound__code { font-size: clamp(4rem, 18vw, 8rem); font-weight: 800; color: var(--brand); line-height: 1; margin: 0; }
.contact-grid { display: grid; gap: 28px; }
.contact-list { list-style: none; display: grid; gap: 10px; margin-bottom: 4px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list li.sub { padding-left: 30px; color: var(--muted); font-size: .95rem; }
.contact-list .ico { color: var(--brand); margin-top: 3px; }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 13. Forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.4 var(--font); /* 16px stops iOS zoom */
  color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(24, 96, 168, .14); }
.field.has-error input, .field.has-error textarea { border-color: var(--bad); }
.form-msg { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; margin: 0; }
.form-msg.is-ok { background: #e7f6ee; color: var(--ok); }
.form-msg.is-bad { background: #fdecea; color: var(--bad); }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: #c9d3df; margin-top: 0; }
.site-footer a { color: #e8eef6; }
.footer-grid { display: none; }
.footer-col h2 { font-size: 1rem; color: #fff; margin-bottom: .8em; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-about p { margin-top: 14px; }
.contact-list li .ico, .footer-col .contact-list .ico { color: #8db4f1; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom__in { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; padding-bottom: 16px; text-align: center; }

/* ---------- 15. Floating action button + install banner ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 16px); z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(24, 96, 168, .4); text-decoration: none !important;
  transition: transform .15s;
}
.fab:active { transform: scale(.92); }
.install-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottomnav-h) + var(--safe-bottom) + 84px); z-index: 85;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; animation: rise .3s ease both;
}
.install-banner[hidden] { display: none; }
.install-banner span { flex: 1; line-height: 1.3; }
.install-banner small { color: var(--muted); }
.install-banner__close { background: none; border: 0; width: 40px; height: 40px; color: var(--muted); }

/* ---------- 16. Motion ---------- */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
img.lazy-fade { opacity: 0; transition: opacity .4s; }
img.lazy-fade.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 17. Media queries ---------- */

/* Phones: horizontally swipeable card rows */
@media (max-width: 767px) {
  .cards.snap { display: flex; overflow-x: auto; gap: 12px; padding: 2px 18px 14px; margin: 0 -18px; -webkit-overflow-scrolling: touch; }
  .cards.snap > .card { flex: 0 0 82%; scroll-snap-align: center; }
  .cards.snap::-webkit-scrollbar { display: none; }
  .btn { min-height: 48px; }
  .hero h1 { max-width: none; }
  .footer-bottom { padding-bottom: 4px; }
  .search-grid .field--sm { grid-column: span 1; }
}

/* Tablet and up: website header, no app chrome */
@media (min-width: 768px) {
  body { padding-top: 0; padding-bottom: 0; }
  .app-bar, .bottom-nav, .install-banner { display: none !important; }
  .fab { bottom: 24px; }
  .site-header { display: block; position: sticky; top: 0; z-index: 80; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-row { position: relative; }
  .section { padding: 56px 0; }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .search-grid { grid-template-columns: repeat(4, 1fr); }
  .search-grid .field:nth-child(1), .search-grid .field:nth-child(2) { grid-column: span 2; }
  .search-btn { grid-column: span 4; }
  .dest-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .row-card { grid-template-columns: auto 1fr; align-items: start; padding: 26px; gap: 22px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; padding-bottom: 12px; }
  .footer-bottom__in { flex-direction: row; justify-content: space-between; text-align: left; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .hero { padding: 80px 0 120px; }
  .search-wrap { margin-top: -80px; }
}

/* Desktop: full navigation, hover effects */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; align-items: center; gap: 14px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .search-grid { grid-template-columns: 1.2fr 1.2fr 1fr .9fr .6fr .8fr auto; }
  .search-grid .field:nth-child(1), .search-grid .field:nth-child(2) { grid-column: auto; }
  .search-btn { grid-column: auto; min-height: 48px; align-self: end; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .9fr 1.3fr; }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6ea; }
  .card--service:hover .card__icon { transform: rotate(-6deg) scale(1.06); background: var(--brand); color: #fff; }
  .dest:hover img { transform: scale(1.06); }
  .btn--primary:hover { box-shadow: 0 6px 16px rgba(24, 96, 168, .3); }
  .search-card { padding: 26px 28px; }
}

@media (min-width: 1280px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .dest-grid { grid-auto-rows: 240px; }
}

/* Hover effects only for real pointers */
@media (hover: none) {
  .card:hover, .dest:hover img, .btn--primary:hover { transform: none; box-shadow: none; }
}

/* ---------- 18. Brand logo ---------- */
.brand__mark { width: auto; height: 36px; background: none; border-radius: 0; display: block; }
.brand__mark--white { height: 40px; }
.app-bar__logo { width: auto; height: 26px; background: none; border-radius: 0; display: block; }
.brand:has(.brand__mark--white) .brand__text { display: none; }

/* ---------- 19. Product and photo motion ---------- */
.card--package { position: relative; border-top: 3px solid transparent; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.card__view {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 14px); opacity: 0;
  background: #fff; color: var(--brand-dark); font-weight: 700; font-size: .85rem; padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: transform .35s ease, opacity .35s ease; pointer-events: none; white-space: nowrap;
}
.card--package .card__foot .price strong { transition: color .25s, transform .25s; transform-origin: left center; }
.dest { transition: box-shadow .35s; }
.dest img { transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.dest::after { transition: background .35s; }
.dest__info small { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .35s ease; }
.dest__info { transition: transform .35s ease; }
.dest__go {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--brand-dark); display: grid; place-items: center;
  opacity: 0; transform: translateY(-8px) scale(.8); transition: transform .35s ease, opacity .35s ease, background .25s, color .25s;
}

@media (hover: hover) and (pointer: fine) {
  .card--package:hover { border-top-color: var(--accent); }
  .card--package:hover .card__media img { transform: scale(1.1); }
  .card--package:hover .card__view { opacity: 1; transform: translate(-50%, 0); }
  .card--package:hover .card__foot .price strong { color: var(--accent); transform: scale(1.06); }
  .dest:hover { box-shadow: 0 18px 40px rgba(20, 35, 60, .22); }
  .dest:hover img { transform: scale(1.12); filter: saturate(1.08); }
  .dest:hover::after { background: linear-gradient(0deg, rgba(10, 34, 66, .78), rgba(10, 34, 66, .05) 65%); }
  .dest:hover .dest__info { transform: translateY(-4px); }
  .dest:hover .dest__info small { max-height: 3em; opacity: 1; }
  .dest:hover .dest__go { opacity: 1; transform: none; }
  .dest__go:hover { background: var(--accent); color: #fff; }
}
/* Touch: press feedback instead of hover */
@media (hover: none) {
  .dest__info small { max-height: 3em; opacity: .9; }
  .card--package:active .card__media img, .dest:active img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .card__media img, .dest img { transition: none !important; }
}