/* ==========================================================================
   EnTour Travel - Inbound Tourism Site
   Mobile-first. No external dependency. No CDN.
   ========================================================================== */

:root {
  --teal-900: #0b3b42;
  --teal-800: #0f5262;
  --teal-700: #14657a;
  --teal-600: #1a7f8e;
  --teal-100: #dcecee;
  --teal-50: #eef6f6;
  --clay-700: #a8512c;
  --clay-600: #c96a3f;
  --clay-100: #f7e2d6;
  --sand-50: #faf7f2;
  --ink-900: #16211f;
  --ink-700: #35443f;
  --ink-500: #5f6f6a;
  --ink-400: #84938e;
  --line: #e2e6e2;
  --white: #ffffff;
  --ok: #2f7d54;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 40, 40, .06), 0 8px 24px rgba(16, 40, 40, .06);
  --shell: 1180px;
  --nav-h: 60px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--teal-700); }
button { font-family: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 6.2vw, 3rem); }
h2 { font-size: clamp(1.35rem, 4.4vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.05rem; color: var(--ink-500); max-width: 62ch; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay-600); margin: 0 0 10px;
}

section { padding: 56px 0; }
section.tight { padding: 40px 0; }
.section-head { margin-bottom: 28px; }

/* ---------- placeholder art (replace with real photos) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #cfe4e6 0%, #e6efec 46%, #dbe8dd 47%, #c3d8cb 100%);
}
.ph::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(0deg, rgba(11, 59, 66, .34), rgba(11, 59, 66, 0));
  clip-path: polygon(0 62%, 12% 40%, 24% 58%, 38% 28%, 52% 52%, 66% 34%, 80% 56%, 92% 42%, 100% 60%, 100% 100%, 0 100%);
}
.ph > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}
.ph > img.missing { display: none; }
.ph-note {
  position: absolute; z-index: 3; left: 12px; bottom: 10px;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(11, 59, 66, .55);
  padding: 3px 8px; border-radius: 99px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 99px;
  font-size: .95rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--clay-600); color: #fff; }
.btn-primary:hover { background: var(--clay-700); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: #fff; color: var(--teal-700); border-color: var(--teal-100); }
.btn-outline:hover { border-color: var(--teal-600); }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; }

/* ---------- header / nav ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-in {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 14px;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--teal-700); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: .95rem; font-weight: 700; }
.brand-text span { font-size: .68rem; color: var(--ink-400); letter-spacing: .06em; }

.nav-desktop { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 99px;
  background: var(--sand-50); padding: 2px;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  min-width: 40px; min-height: 34px; border-radius: 99px;
  font-size: .8rem; font-weight: 600; color: var(--ink-500);
}
.lang-switch button[aria-pressed="true"] { background: var(--teal-700); color: #fff; }

.burger {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.burger span {
  display: block; width: 17px; height: 1.6px; background: var(--ink-900);
  margin: 3.4px 0; border-radius: 2px; transition: .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff; padding: 8px 0 22px;
}
.drawer.open { display: block; }
.drawer a {
  display: block; padding: 14px 4px; text-decoration: none;
  color: var(--ink-900); font-weight: 550; border-bottom: 1px solid var(--line);
}
.drawer a:last-of-type { border-bottom: 0; }
.drawer .btn { margin-top: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-700) 100%);
  padding: 64px 0 84px;
  overflow: hidden;
}
.hero-scene {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 150px;
  opacity: .5; pointer-events: none;
}
.hero-scene svg { width: 100%; height: 100%; display: block; }
.hero-in { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.02rem; max-width: 54ch; }
.hero .btn-row { margin-top: 26px; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px;
  font-size: .82rem; color: rgba(255,255,255,.85);
}
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #7fd6c6; flex: none; }

.trust-bar {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-top: -34px; position: relative; z-index: 5;
}
.trust-bar div { background: #fff; padding: 16px 18px; }
.trust-bar b { display: block; font-size: .95rem; }
.trust-bar span { font-size: .8rem; color: var(--ink-500); }

/* ---------- tour cards ---------- */
.card-grid { display: grid; gap: 20px; }

.tour-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; display: flex; flex-direction: column;
  transition: .18s ease;
}
.tour-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tour-card .ph { aspect-ratio: 16 / 10; }
.tour-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.tour-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-400);
}
.tour-meta .pill-days {
  background: var(--teal-50); color: var(--teal-700);
  border-radius: 99px; padding: 2px 9px; font-weight: 700;
}
.tour-card h3 { margin: 0; }
.tour-card h3 a { color: inherit; text-decoration: none; }
.tour-card h3 a:hover { color: var(--clay-600); }
.tour-desc { font-size: .9rem; color: var(--ink-500); margin: 0; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .74rem; color: var(--ink-700); background: var(--sand-50);
  border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px;
}
.tour-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px;
}
.price { line-height: 1.2; }
.price small { display: block; font-size: .7rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; }
.price b { font-size: 1.15rem; color: var(--teal-800); }
.price i { font-style: normal; font-size: .78rem; color: var(--ink-400); }
.link-more {
  font-size: .86rem; font-weight: 650; text-decoration: none; color: var(--clay-600);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}

/* ---------- why us ---------- */
.why { background: var(--sand-50); }
.why-grid { display: grid; gap: 18px; }
.why-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.why-icon {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: var(--teal-50); color: var(--teal-700);
  display: grid; place-items: center;
}
.why-icon svg { width: 21px; height: 21px; }
.why-item b { display: block; margin-bottom: 3px; }
.why-item p { margin: 0; font-size: .88rem; color: var(--ink-500); }

/* ---------- practical info ---------- */
.info-grid { display: grid; gap: 16px; }
.info-card {
  border: 1px solid var(--line); border-left: 3px solid var(--teal-600);
  border-radius: var(--radius-sm); padding: 18px 18px 4px; background: #fff;
}
.info-card h4 { font-size: 1rem; margin-bottom: 6px; }
.info-card p { font-size: .88rem; color: var(--ink-500); }
.info-card ul { margin: 0 0 14px; padding-left: 18px; font-size: .88rem; color: var(--ink-500); }
.info-card li { margin-bottom: 4px; }

/* ---------- detail view ---------- */
.detail-hero { position: relative; background: var(--teal-900); color: #fff; }
.detail-hero .ph { position: absolute; inset: 0; }
.detail-hero .ph::after { display: none; }
.detail-hero .veil {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(0deg, rgba(11,59,66,.92) 4%, rgba(11,59,66,.62) 55%, rgba(11,59,66,.5) 100%);
}
.detail-hero .shell { position: relative; z-index: 4; padding-top: 30px; padding-bottom: 30px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82);
  text-decoration: none; font-size: .86rem; margin-bottom: 20px;
}
.detail-hero h1 { color: #fff; max-width: 22ch; }
.detail-hero .sub { color: rgba(255,255,255,.85); margin: 12px 0 0; max-width: 56ch; }
.detail-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px;
}
.detail-facts div {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm); padding: 10px 13px;
}
.detail-facts small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.detail-facts b { font-size: .95rem; font-weight: 600; }

.day-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day {
  border-bottom: 1px solid var(--line); background: #fff;
}
.day:last-child { border-bottom: 0; }
.day summary {
  list-style: none; cursor: pointer; padding: 15px 18px;
  display: flex; align-items: flex-start; gap: 13px; min-height: 54px;
}
.day summary::-webkit-details-marker { display: none; }
.day .dnum {
  flex: none; min-width: 54px; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--clay-600); padding-top: 3px;
}
.day .dtitle { font-weight: 600; flex: 1; }
.day .chev { flex: none; color: var(--ink-400); transition: .2s; }
.day[open] .chev { transform: rotate(180deg); }
.day .dbody { padding: 0 18px 18px 85px; font-size: .9rem; color: var(--ink-500); }
.day .dbody p { margin: 0 0 8px; }
.day .dbody p:last-child { margin-bottom: 0; }

.two-col { display: grid; gap: 26px; }
.panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  background: #fff;
}
.panel h3 { margin-bottom: 12px; }
.inc-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.inc-list li { display: flex; gap: 9px; padding: 6px 0; color: var(--ink-700); }
.inc-list .mark { flex: none; font-weight: 700; }
.inc-yes .mark { color: var(--ok); }
.inc-no .mark { color: #b4553a; }

.sticky-quote { position: sticky; top: calc(var(--nav-h) + 20px); }
.departures { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.departures span {
  font-size: .78rem; border: 1px solid var(--line); border-radius: 99px;
  padding: 4px 11px; background: var(--sand-50); color: var(--ink-700);
}
.price-big { font-size: 1.6rem; font-weight: 700; color: var(--teal-800); line-height: 1.1; }
.price-big i { font-style: normal; font-size: .8rem; font-weight: 400; color: var(--ink-400); }
.mini-note { font-size: .78rem; color: var(--ink-400); margin: 10px 0 16px; }

/* ---------- inquiry / contact ---------- */
.inquire { background: var(--teal-900); color: #fff; }
.inquire h2 { color: #fff; }
.inquire .lead { color: rgba(255,255,255,.78); }
.form-card { background: #fff; border-radius: var(--radius); padding: 22px; color: var(--ink-900); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink-900);
  font-size: 16px; /* keeps iOS from zooming on focus */
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(26,127,142,.14);
}
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; gap: 14px; }
.hint { font-size: .76rem; color: var(--ink-400); }
.form-status {
  display: none; margin-top: 14px; padding: 14px;
  border-radius: var(--radius-sm); background: var(--teal-50);
  border: 1px solid var(--teal-100); font-size: .88rem;
}
.form-status.show { display: block; }
.form-status pre {
  white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 10px; margin: 10px 0;
}
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { margin-bottom: 14px; font-size: .9rem; }
.contact-lines small { display: block; color: var(--ink-400); font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; }
.contact-lines a, .contact-lines span { color: #fff; text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: #7fd6c6; }

/* ---------- footer ---------- */
.footer { background: #0a2a2f; color: rgba(255,255,255,.68); padding: 40px 0 110px; font-size: .84rem; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
.footer h4 { color: #fff; font-size: .92rem; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .76rem; color: rgba(255,255,255,.5);
}

/* ---------- mobile sticky action bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 -4px 18px rgba(16,40,40,.08);
}
.mobile-cta .mc-info { flex: 1; min-width: 0; line-height: 1.25; }
.mobile-cta .mc-info small { display: block; font-size: .68rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; }
.mobile-cta .mc-info b { font-size: .95rem; color: var(--teal-800); }
.mobile-cta .btn { min-height: 44px; padding: 0 18px; font-size: .9rem; flex: none; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Tablet - 640px
   ========================================================================== */
@media (min-width: 640px) {
  .shell { padding: 0 28px; }
  section { padding: 72px 0; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .detail-facts { grid-template-columns: repeat(4, 1fr); }
  .form-card { padding: 26px; }
  .hero { padding: 78px 0 96px; }
}

/* ==========================================================================
   Desktop - 960px
   ========================================================================== */
@media (min-width: 960px) {
  :root { --nav-h: 72px; }
  .shell { padding: 0 32px; }
  .nav-desktop {
    display: flex; align-items: center; gap: 26px; margin-left: auto;
  }
  .nav-desktop a {
    text-decoration: none; color: var(--ink-700); font-size: .9rem; font-weight: 550;
  }
  .nav-desktop a:hover { color: var(--clay-600); }
  .burger { display: none; }
  .drawer { display: none !important; }

  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1.55fr .95fr; align-items: start; gap: 34px; }
  .two-col.narrow { grid-template-columns: 1fr 1fr; }
  .contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px; align-items: start; }

  .hero { padding: 96px 0 120px; }
  .hero-in { max-width: 700px; }
  .footer { padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .mobile-cta { display: none; }
  .day .dbody { padding-left: 100px; padding-right: 26px; }
}

@media (min-width: 1100px) {
  .hero-scene { height: 190px; }
}
