/* ==========================================================================
   Expert Travel Services — custom styles (layered on Bootstrap 5.3)
   Palette sampled from the logo: sky blue #15b0f8, white, tree grey #6b6b6b.
   Deeper blues are used for text and buttons to keep WCAG AA contrast.
   ========================================================================== */

:root {
  --ets-sky: #15b0f8;          /* logo background — decorative fills only */
  --ets-sky-soft: #e6f6fe;
  --ets-sky-mist: #f4fbff;
  --ets-blue: #0369a1;         /* links/buttons: 5.9:1 on white */
  --ets-blue-dark: #075985;
  --ets-navy: #0b2a3d;         /* headings */
  --ets-grey: #4b5563;         /* body text: 7.5:1 on white */
  --ets-tree: #6b6b6b;
  --ets-line: #dbe7ef;
  --ets-warm: #f6c35b;         /* small sun accent */
  --ets-radius: 1rem;
  --ets-shadow: 0 .5rem 1.5rem rgba(11, 42, 61, .08);
  --ets-shadow-lg: 0 1rem 2.5rem rgba(11, 42, 61, .12);
  --ets-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --bs-body-color: var(--ets-grey);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --bs-link-color-rgb: 3, 105, 161;
  --bs-link-hover-color-rgb: 7, 89, 133;
  --bs-border-color: var(--ets-line);
}

html { scroll-padding-top: 7rem; }
body { background: #fff; overflow-x: hidden; line-height: 1.65; }
img, svg, iframe { max-width: 100%; }

h1, h2, h3, .h1, .h2, .h3 { font-family: var(--ets-serif); color: var(--ets-navy); font-weight: 700; letter-spacing: -.01em; }
h4, h5, h6, .h4, .h5, .h6 { color: var(--ets-navy); font-weight: 650; }
h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.12; }
h2, .h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); line-height: 1.2; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.15em; }

/* Focus: always visible for keyboard users */
:focus-visible { outline: 3px solid var(--ets-blue); outline-offset: 2px; border-radius: .25rem; }
.btn:focus-visible, .form-control:focus, .form-select:focus { box-shadow: 0 0 0 .25rem rgba(3, 105, 161, .35); }
main:focus { outline: none; }

.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: var(--ets-navy); color: #fff; padding: .6rem 1rem; border-radius: .5rem; }
.skip-link:focus { color: #fff; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.35rem; }
.btn-lg { padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: var(--ets-blue); --bs-btn-border-color: var(--ets-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ets-blue-dark); --bs-btn-hover-border-color: var(--ets-blue-dark);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ets-navy); --bs-btn-active-border-color: var(--ets-navy); }
.btn-outline-brand { --bs-btn-color: var(--ets-blue); --bs-btn-border-color: var(--ets-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ets-blue); --bs-btn-hover-border-color: var(--ets-blue);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ets-blue-dark); --bs-btn-active-border-color: var(--ets-blue-dark); }
.btn-light { --bs-btn-color: var(--ets-blue-dark); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon, .link-arrow:focus-visible .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--ets-line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); } }
.info-bar { background: var(--ets-navy); color: #e2eef5; font-size: .85rem; padding: .4rem 0; }
.info-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.info-bar a:hover { color: #bfe9fd; text-decoration: underline; }
.info-bar .icon { color: #7fd3fb; }

.main-nav { padding: .55rem 0; }
.brand-logo { width: 48px; height: auto; border-radius: .6rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--ets-serif); font-weight: 700; color: var(--ets-navy); font-size: 1.15rem; }
.brand-tagline { font-size: .78rem; color: var(--ets-grey); letter-spacing: .02em; }
.main-nav .nav-link { color: var(--ets-navy); font-weight: 550; padding: .6rem .8rem; border-radius: .5rem; }
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible { color: var(--ets-blue); }
.main-nav .nav-link.active { color: var(--ets-blue); }
@media (min-width: 992px) {
  .main-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--ets-sky); border-radius: 0; }
}
.dropdown-menu { border: 1px solid var(--ets-line); border-radius: .85rem; box-shadow: var(--ets-shadow-lg); padding: .5rem; }
.dropdown-item { border-radius: .5rem; padding: .55rem .85rem; color: var(--ets-navy); }
.dropdown-item .icon { color: var(--ets-blue); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--ets-sky-soft); color: var(--ets-blue-dark); }
.dropdown-item[aria-current="page"] { background: var(--ets-sky-soft); font-weight: 600; }
.navbar-toggler { border-color: var(--ets-line); padding: .5rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(3, 105, 161, .35); }
@media (max-width: 991.98px) {
  .navbar-collapse { max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav .nav-link { padding: .8rem .5rem; border-bottom: 1px solid var(--ets-line); width: 100%; text-align: left; }
  .main-nav .dropdown-menu { box-shadow: none; border: 0; background: var(--ets-sky-mist); margin-bottom: .5rem; }
}
@media (max-width: 380px) { .brand-tagline { display: none; } .brand-name { font-size: 1rem; } }

.breadcrumb-wrap { background: var(--ets-sky-mist); border-bottom: 1px solid var(--ets-line); padding: .65rem 0; font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.section-alt { background: var(--ets-sky-mist); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ets-blue); margin-bottom: .6rem; }
.lead { color: #374151; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #d9f2fe 0%, #eef9ff 55%, #fff 100%); padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 0; }
.hero-content { position: relative; z-index: 2; }
.hero h1 span { color: var(--ets-blue); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 1.5rem 0 0; list-style: none; font-weight: 550; color: var(--ets-navy); }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: var(--ets-blue); }
.hero-art { display: block; width: 100%; height: auto; margin-top: 2.5rem; }
.hero-badge { background: #fff; border-radius: var(--ets-radius); box-shadow: var(--ets-shadow-lg); padding: 1.25rem 1.4rem; }
.hero-badge a { text-decoration: none; font-weight: 650; }

.page-hero { background: linear-gradient(180deg, #e3f5fe, #fff); padding: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero .lead { max-width: 44rem; }

/* ---------- Cards ---------- */
.card-soft { background: #fff; border: 1px solid var(--ets-line); border-radius: var(--ets-radius); box-shadow: var(--ets-shadow); height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.card-soft:hover { transform: translateY(-4px); box-shadow: var(--ets-shadow-lg); }
.service-card { padding: 1.75rem; display: flex; flex-direction: column; }
.service-card p { flex-grow: 1; }
.icon-tile { width: 3.25rem; height: 3.25rem; border-radius: .9rem; display: grid; place-items: center; background: var(--ets-sky-soft); color: var(--ets-blue); margin-bottom: 1.1rem; }
.icon-tile .icon { width: 1.6rem; height: 1.6rem; }
.stretched-focus a:focus-visible { outline-offset: 4px; }

.package-card { overflow: hidden; display: flex; flex-direction: column; }
.package-visual { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 1rem 1.25rem; color: #fff; overflow: hidden; }
.package-visual svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.package-visual .route { position: relative; font-weight: 650; font-size: .9rem; background: rgba(11, 42, 61, .55); padding: .3rem .75rem; border-radius: 999px; }
.package-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.package-body .list-check { flex-grow: 1; }
.badge-sample { background: #fff4d6; color: #7a4d00; font-weight: 650; border: 1px solid #f3d48a; }
.theme-gt { background: linear-gradient(160deg, #f8b26a 0%, #e9775a 55%, #b8456a 100%); }
.theme-bg { background: linear-gradient(160deg, #7fd3fb 0%, #15b0f8 55%, #0369a1 100%); }
.theme-bc { background: linear-gradient(160deg, #b9d98a 0%, #5ea66b 55%, #2f6b55 100%); }
.theme-vn { background: linear-gradient(160deg, #ffd27a 0%, #f39b4b 50%, #6a4c93 100%); }

.list-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.list-check li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--ets-sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230369a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / .8rem no-repeat; }

.feature { display: flex; gap: 1rem; }
.feature .icon-tile { margin: 0; flex-shrink: 0; }
.feature h3 { font-family: inherit; font-size: 1.1rem; margin-bottom: .35rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.5rem 3.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ets-blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.1rem; top: 2.5rem; bottom: .3rem; width: 2px; background: var(--ets-line); }
.steps h3 { font-family: inherit; font-size: 1.05rem; margin-bottom: .2rem; }

/* Itinerary */
.itinerary { list-style: none; padding: 0; margin: 0; }
.itinerary > li { position: relative; padding: 0 0 2rem 4.25rem; }
.itinerary > li::before { content: ""; position: absolute; left: 1.55rem; top: 3rem; bottom: 0; width: 2px; background: linear-gradient(var(--ets-sky), var(--ets-line)); }
.itinerary > li:last-child::before { display: none; }
.day-badge { position: absolute; left: 0; top: 0; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: var(--ets-sky-soft); color: var(--ets-blue-dark); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: .7rem; line-height: 1.1; text-transform: uppercase; }
.day-badge strong { display: block; font-size: 1.2rem; }
.itinerary h3 { font-family: inherit; font-size: 1.15rem; margin-bottom: .35rem; }
.city-tag { display: inline-block; font-size: .8rem; font-weight: 650; color: var(--ets-blue-dark); background: var(--ets-sky-soft); border-radius: 999px; padding: .1rem .6rem; margin-bottom: .5rem; }

.note-box { border-left: 4px solid var(--ets-warm); background: #fffaf0; border-radius: .75rem; padding: 1.1rem 1.25rem; color: #4a3a12; }
.note-box strong { color: #3d2f0b; }
.sticky-aside { position: sticky; top: 8rem; }

/* Accordion */
.accordion { --bs-accordion-border-color: var(--ets-line); --bs-accordion-active-bg: var(--ets-sky-soft); --bs-accordion-active-color: var(--ets-blue-dark); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(3, 105, 161, .3); --bs-accordion-border-radius: .85rem; --bs-accordion-inner-border-radius: .85rem; }
.accordion-button { font-weight: 600; color: var(--ets-navy); }

/* CTA band */
.cta-band { padding-top: 0; }
.section-alt + .cta-band, .cta-band.pt { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.cta-inner { background: linear-gradient(135deg, var(--ets-blue) 0%, var(--ets-blue-dark) 60%, var(--ets-navy) 100%); color: #e8f5fd; border-radius: 1.5rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: flex; flex-direction: column; gap: 1.5rem; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); pointer-events: none; }
.cta-inner h2 { color: #fff; }
.cta-inner .btn-outline-light { --bs-btn-hover-color: var(--ets-blue-dark); }
@media (min-width: 992px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--ets-line); border-radius: 1.25rem; box-shadow: var(--ets-shadow); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.form-label { font-weight: 600; color: var(--ets-navy); }
.form-control, .form-select { border-radius: .65rem; padding: .7rem .9rem; border-color: #b9cbd8; min-height: 3rem; }
.form-control:focus, .form-select:focus { border-color: var(--ets-blue); }
.req { color: #b42318; }
.invalid-feedback { color: #b42318; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #b42318; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--ets-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon-tile { margin: 0; width: 2.75rem; height: 2.75rem; }
.contact-list .icon-tile .icon { width: 1.3rem; height: 1.3rem; }
.contact-list a { font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.map-wrap { position: relative; width: 100%; height: clamp(320px, 45vw, 480px); background: var(--ets-sky-soft); border-top: 1px solid var(--ets-line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ets-navy); color: #cfdde7; padding: 4rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #9fe0fd; text-decoration: underline; }
.site-footer a.btn-light, .site-footer a.btn-light:hover { color: var(--ets-blue-dark); text-decoration: none; }
.footer-brand { color: #fff; }
.footer-brand img { background: var(--ets-sky); border-radius: .6rem; }
.footer-title { font-family: inherit; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #9fe0fd; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .65rem; font-style: normal; }
.footer-contact .icon { margin-top: .3rem; color: #7fd3fb; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; }

/* ---------- Scroll reveal (progressive enhancement) ----------
   Content is only hidden when JS has run (html.js) and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card-soft:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .map-wrap, .breadcrumb-wrap { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
