/* ═══════════════════════════════════════════════
   CRUISES.CSS — tweaks on top of tours.css
   Vietnam City Breaks — Cruises landing page
   Token-only. Mobile-first.
   ═════════════════════════════════════════════ */

/* ── Breadcrumb inside the hero (reuse t2 pattern) ── */
.cr-breadcrumb { margin-bottom: .85rem; }
.cr-breadcrumb ol {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0; list-style: none; margin: 0; padding: 0;
  font-size: .78rem; color: rgba(255,255,255,.65);
}
.cr-breadcrumb ol li:not(:last-child)::after { content: '/'; margin: 0 .4rem; opacity: .5; }
.cr-breadcrumb ol a { color: rgba(255,255,255,.65); transition: color .2s; }
.cr-breadcrumb ol a:hover { color: #fff; }
.cr-breadcrumb ol li:last-child { color: rgba(255,255,255,.9); }

/* ── Cruise meta line in card (bay · duration · class) ── */
.tc-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
  font-size: .8rem; color: var(--text-b); margin-bottom: .5rem;
}
.tc-meta .tc-meta-dot { color: var(--border); }
.tc-meta strong { color: var(--text-h); font-weight: 600; }
.tc-class-pill {
  font-size: .68rem; font-weight: 700; color: var(--secondary);
  background: var(--secondary-light); padding: .15rem .5rem; border-radius: 4px;
}

/* Pre-checked filter highlight (reuse ck-on idea) */
.ck.ck-on { font-weight: 600; }
.ck.ck-on .ck-lbl { color: var(--primary); }

/* Star-rating filter — gold star icons in place of a text label */
.cr-stars-ico { color: var(--star); letter-spacing: 2px; font-size: .98rem; line-height: 1; }

/* Ship-class stars shown under the cruise title in the main list */
.cr-card-star { color: var(--star); letter-spacing: 2px; font-size: .9rem; line-height: 1; margin-bottom: .4rem; }

/* ═══ WHY BOOK WITH US — icon cards (matches about.html) ═══ */
.cr-why { padding: 4.5rem 0; background: #fff; }
.cr-why-hd { text-align: center; margin-bottom: 2.5rem; }
.cr-why-hd .pill {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem;
}
.cr-why-hd h2 {
  font-family: var(--fh); font-size: clamp(1.41rem, 3vw, 1.97rem);
  font-weight: 800; color: var(--text-h); margin-bottom: .4rem;
}
.cr-why-hd p { color: var(--text-m); font-size: .95rem; max-width: 580px; margin: 0 auto; }
.cr-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.cr-why-card {
  text-align: center; padding: 1.5rem 1rem; background: #fff;
  border-radius: 14px; border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.cr-why-card:hover { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.cr-why-icon {
  width: 68px; height: 68px; margin: 0 auto 1rem; background: var(--primary-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.cr-why-card h3 { font-family: var(--fh); font-size: 18px; font-weight: 700; color: var(--text-h); margin-bottom: .35rem; }
.cr-why-card p { font-size: .83rem; color: var(--text-b); line-height: 1.6; }

/* ═══ INQUIRY FORM — navy section ═══ */
.cr-inquiry { padding: 4.5rem 0; background: var(--text-h); }
.cr-inq-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center;
}
.cr-inq-intro .eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(232,82,26,.14); padding: .35rem .8rem; border-radius: 20px; margin-bottom: 1rem;
}
.cr-inq-intro h2 {
  font-family: var(--fh); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.cr-inq-intro p { color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.7; margin-bottom: 1.5rem; }
.cr-inq-trust { display: flex; flex-direction: column; gap: .7rem; }
.cr-inq-trust li { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.88); font-size: .9rem; }
.cr-inq-trust svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

.cr-form {
  background: #fff; border-radius: var(--r-card); padding: 2rem;
  box-shadow: var(--sh-modal);
}
.cr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cr-field { margin-bottom: 1rem; }
.cr-field label {
  display: block; font-size: .8rem; font-weight: 600; color: var(--text-h); margin-bottom: .35rem;
}
.cr-field input, .cr-field select, .cr-field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--border);
  border-radius: var(--r-input); font-family: var(--fb); font-size: .9rem;
  color: var(--text-h); background: #fff; transition: border-color .2s;
}
.cr-field input:focus, .cr-field select:focus, .cr-field textarea:focus {
  outline: none; border-color: var(--primary);
}
.cr-field textarea { resize: vertical; min-height: 84px; }
.cr-form .btn-primary { margin-top: .35rem; font-size: .95rem; padding: .85rem; }
.cr-form-note { font-size: .76rem; color: var(--text-m); text-align: center; margin-top: .8rem; }
.cr-form-ok {
  display: none; text-align: center; padding: 1rem; margin-top: 1rem;
  background: var(--secondary-light); border-radius: var(--r-btn);
  color: var(--secondary); font-size: .9rem; font-weight: 600;
}
.cr-form-ok.show { display: block; }

/* ═══ SEO ARTICLE ═══ */
.cr-article { padding: 4.5rem 0; background: var(--bg-soft); }
.cr-article-inner { max-width: 860px; margin: 0 auto; }
.cr-article h2 {
  font-family: var(--fh); font-size: clamp(1.41rem, 3vw, 1.97rem); font-weight: 800;
  color: var(--text-h); margin-bottom: 1rem;
}
.cr-article h3 {
  font-family: var(--fh); font-size: 1.2rem; font-weight: 700;
  color: var(--text-h); margin: 1.75rem 0 .7rem;
}
.cr-article p { color: var(--text-b); line-height: 1.8; margin-bottom: 1rem; font-size: .97rem; }
.cr-article ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.cr-article ul li {
  position: relative; padding-left: 1.7rem; margin-bottom: .55rem;
  color: var(--text-b); line-height: 1.6; font-size: .95rem;
}
.cr-article ul li::before {
  content: ''; position: absolute; left: 0; top: .2rem; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8521A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.cr-article .faq-list { margin-top: 1.5rem; }

/* ═══ RELATED CRUISES ═══ */
.cr-related { padding: 4.5rem 0; background: #fff; }
.cr-related-hd { text-align: center; margin-bottom: 2.25rem; }
.cr-related-hd h2 {
  font-family: var(--fh); font-size: clamp(1.41rem, 3vw, 1.97rem); font-weight: 800;
  color: var(--text-h); margin-bottom: .55rem;
}
.cr-related-hd p { font-size: .97rem; color: var(--text-b); }
/* Reuse the exact cruise-card look from index.html (home.css .crcard) */
.cr-related .cruise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cr-related .crcard { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-card); transition: transform .3s, box-shadow .3s; }
.cr-related .crcard:hover { transform: translateY(-5px); box-shadow: var(--sh-hover); }
.cr-related .crcard-img { height: 175px; overflow: hidden; position: relative; }
.cr-related .crcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cr-related .crcard:hover .crcard-img img { transform: scale(1.08); }
.cr-related .crcard-stars { position: absolute; bottom: .6rem; left: .6rem; background: rgba(0,0,0,.5); color: var(--star); font-size: .75rem; padding: .2rem .5rem; border-radius: 4px; backdrop-filter: blur(4px); }
.cr-related .crcard-body { padding: .9rem; }
.cr-related .crcard-title { font-family: var(--fh); font-weight: 700; font-size: 18px; color: var(--text-h); margin-bottom: .35rem; line-height: 1.3; }
.cr-related .crcard-meta { font-size: .75rem; color: var(--text-m); margin-bottom: .65rem; }
.cr-related .tcard-rating-cr { margin-bottom: .7rem; }
.cr-related .crcard-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cr-related .cr-price { font-family: var(--fh); font-weight: 800; font-size: 1.05rem; color: var(--primary); }
.cr-related .cr-price span { font-size: .72rem; font-weight: 400; color: var(--text-m); }
.cr-related .btn-cr { padding: .45rem .9rem; background: var(--secondary); color: #fff; border-radius: var(--r-btn); font-size: .75rem; font-weight: 600; transition: background .2s; }
.cr-related .btn-cr:hover { background: #085858; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .cr-why-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-related .cruise-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-inq-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .cr-form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .cr-why-grid { grid-template-columns: 1fr; }
  .cr-related .cruise-grid { grid-template-columns: 1fr; }
  .cr-inquiry, .cr-article, .cr-related { padding: 3rem 0; }
  .cr-form { padding: 1.5rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .cr-related .crcard:hover .crcard-img img { transform: none; }
}
