/* =========================================================================
   Tour & Car design system: "travel sketchbook"
   Dark navy, blue and white. Gold is kept only for star ratings.
   (Variable names --tc-teal / --tc-paper are historical: teal = primary blue.)
   Loaded after Bootstrap in base.html, so it restyles every page.
   ========================================================================= */

:root {
  --tc-ink: #1b2330;
  --tc-ink-soft: #495057;
  --tc-muted: #6c757d;
  --tc-paper: #f5f7fa;
  --tc-paper-deep: #e9edf2;
  --tc-card: #ffffff;
  --tc-line: #dee2e6;
  --tc-teal: #0d6efd;
  --tc-teal-dark: #0a58ca;
  --tc-teal-soft: #e7f0ff;
  --tc-sun: #ffc107;
  --tc-sun-soft: #fff6dc;
  --tc-clay: #c8553d;
  --tc-blue: #0a3d8f;
  --tc-turq: #4d94ff;
  --tc-accent: #6ea8fe;
  --tc-radius: 16px;
  --tc-radius-sm: 10px;
  --tc-shadow: 0 1px 2px rgba(27, 35, 48, .05), 0 4px 16px rgba(27, 35, 48, .06);
  --tc-shadow-lg: 0 10px 34px rgba(27, 35, 48, .14);
  --tc-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tc-font-head: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Bootstrap variables */
  --bs-body-font-family: var(--tc-font);
  --bs-body-color: var(--tc-ink);
  --bs-body-bg: var(--tc-paper);
  --bs-primary: var(--tc-teal);
  --sec-rgb: 13, 110, 253;
  --bs-primary-rgb: 13, 110, 253;
  --bs-link-color: var(--tc-teal);
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-hover-color: var(--tc-teal-dark);
  --bs-link-hover-color-rgb: 10, 88, 202;
  --bs-border-color: var(--tc-line);
  --bs-secondary-color: var(--tc-muted);
  --bs-dark-rgb: 27, 35, 48;
  --bs-warning-rgb: 255, 193, 7;
  --bs-border-radius: var(--tc-radius-sm);
  --bs-border-radius-lg: var(--tc-radius);
}

/* ---------- Base ---------- */
body {
  font-family: var(--tc-font);
  color: var(--tc-ink);
  background: var(--tc-paper) !important;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6, .tc-serif {
  font-family: var(--tc-font-head);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--tc-ink);
}
h4, h5, h6 { font-weight: 700; letter-spacing: -.005em; }
.text-muted, .text-secondary { color: var(--tc-muted) !important; }
.text-primary { color: var(--tc-teal) !important; }
.bg-primary { background-color: var(--tc-teal) !important; }
.bg-light { background-color: var(--tc-paper) !important; }
.bg-dark { background-color: var(--tc-ink) !important; }
.border-primary { border-color: var(--tc-teal) !important; }
::selection { background: var(--tc-teal-soft); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding-left: 1.1rem; padding-right: 1.1rem; transition: all .18s ease; }
.btn-sm { padding-left: .8rem; padding-right: .8rem; }
.btn-primary {
  --bs-btn-bg: var(--tc-teal); --bs-btn-border-color: var(--tc-teal);
  --bs-btn-hover-bg: var(--tc-teal-dark); --bs-btn-hover-border-color: var(--tc-teal-dark);
  --bs-btn-active-bg: var(--tc-teal-dark); --bs-btn-active-border-color: var(--tc-teal-dark);
  --bs-btn-disabled-bg: var(--tc-teal); --bs-btn-disabled-border-color: var(--tc-teal);
  box-shadow: 0 4px 14px rgba(var(--sec-rgb), .25);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline-primary {
  --bs-btn-color: var(--tc-teal); --bs-btn-border-color: var(--tc-teal);
  --bs-btn-hover-bg: var(--tc-teal); --bs-btn-hover-border-color: var(--tc-teal);
  --bs-btn-active-bg: var(--tc-teal-dark); --bs-btn-active-border-color: var(--tc-teal-dark);
}
.btn-warning {
  --bs-btn-bg: var(--tc-accent); --bs-btn-border-color: var(--tc-accent); --bs-btn-color: #0b1f44;
  --bs-btn-hover-bg: #9ec5fe; --bs-btn-hover-border-color: #9ec5fe; --bs-btn-hover-color: #0b1f44;
  --bs-btn-active-bg: #9ec5fe; --bs-btn-active-border-color: #9ec5fe; --bs-btn-active-color: #0b1f44;
}
.btn-outline-warning { --bs-btn-color: var(--tc-teal); --bs-btn-border-color: var(--tc-accent); --bs-btn-hover-bg: var(--tc-accent); --bs-btn-hover-border-color: var(--tc-accent); --bs-btn-hover-color: #0b1f44; }
.btn-dark { --bs-btn-bg: var(--tc-ink); --bs-btn-border-color: var(--tc-ink); }
.btn-outline-secondary { --bs-btn-color: var(--tc-ink-soft); --bs-btn-border-color: var(--tc-line); --bs-btn-hover-bg: var(--tc-paper-deep); --bs-btn-hover-color: var(--tc-ink); --bs-btn-hover-border-color: var(--tc-line); }

/* ---------- Cards, tables, forms ---------- */
.card { border-color: var(--tc-line); border-radius: var(--tc-radius); background: var(--tc-card); }
.card.border-0, .card.shadow-sm { box-shadow: var(--tc-shadow) !important; }
.card-header { background: transparent; border-bottom-color: var(--tc-line); font-weight: 700; }
.card-header.bg-dark, .card-header.bg-primary { border-radius: var(--tc-radius) var(--tc-radius) 0 0 !important; }
.shadow-sm { box-shadow: var(--tc-shadow) !important; }
.shadow, .shadow-lg { box-shadow: var(--tc-shadow-lg) !important; }
.rounded-4 { border-radius: var(--tc-radius) !important; }
.hover-card { transition: transform .2s ease, box-shadow .2s ease; }
.hover-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-lg) !important; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.table { --bs-table-bg: transparent; --bs-table-border-color: var(--tc-line); }
.table > thead th, .table thead.table-light th, .table-light {
  --bs-table-bg: var(--tc-paper); background: var(--tc-paper) !important;
  color: var(--tc-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700;
  border-bottom-width: 1px;
}
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: rgba(var(--sec-rgb), .04); }

.form-control, .form-select { border-color: var(--tc-line); border-radius: var(--tc-radius-sm); background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--tc-teal); box-shadow: 0 0 0 .2rem rgba(var(--sec-rgb), .15); }
.form-check-input:checked { background-color: var(--tc-teal); border-color: var(--tc-teal); }
.form-label { font-weight: 600; font-size: .92rem; }

.badge { font-weight: 600; letter-spacing: .01em; border-radius: 999px; padding: .38em .7em; }
.badge.bg-primary { background: var(--tc-teal) !important; }
.alert { border-radius: var(--tc-radius-sm); border: 0; box-shadow: var(--tc-shadow); }
.alert-success { background: #e3f3ea; color: #1d5b3a; }
.alert-info { background: var(--tc-teal-soft); color: var(--tc-teal-dark); }
.alert-warning { background: var(--tc-sun-soft); color: #7a4e0e; }
.alert-danger { background: #fbe6e1; color: #8c2f1d; }

.nav-pills .nav-link { border-radius: 999px; color: var(--tc-ink-soft); font-weight: 600; }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--tc-teal); }
.pagination { --bs-pagination-color: var(--tc-teal); --bs-pagination-active-bg: var(--tc-teal); --bs-pagination-active-border-color: var(--tc-teal); --bs-pagination-border-color: var(--tc-line); }
.dropdown-menu { border: 1px solid var(--tc-line); border-radius: var(--tc-radius-sm); box-shadow: var(--tc-shadow-lg); padding: .4rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-weight: 500; }
.dropdown-item:active { background: var(--tc-teal); }
.modal-content { border-radius: var(--tc-radius); border: 0; }

/* ---------- Navbar ---------- */
.tc-nav {
  background: rgba(27, 35, 48, .97) !important;
  backdrop-filter: saturate(140%) blur(8px);
  padding-top: .55rem; padding-bottom: .55rem;
}
.tc-nav .navbar-brand { font-family: var(--tc-font-head); font-size: 1.35rem; letter-spacing: -.01em; }
.tc-nav .brand-amp { color: var(--tc-accent); }
.tc-nav .brand-logo { height: 34px; width: 34px; border-radius: 9px; object-fit: cover; }
.tc-nav .nav-link { color: rgba(255, 255, 255, .78) !important; font-weight: 500; font-size: .95rem; padding: .45rem .7rem !important; border-radius: 999px; white-space: nowrap; }
.tc-nav .nav-link:hover, .tc-nav .nav-link.active { color: #fff !important; background: rgba(255, 255, 255, .08); }
.tc-nav .tc-user-btn { display: flex; align-items: center; gap: .5rem; color: #fff; background: rgba(255, 255, 255, .08); border: 0; border-radius: 999px; padding: .3rem .8rem .3rem .3rem; font-weight: 600; font-size: .92rem; }
.tc-nav .tc-user-btn:hover { background: rgba(255, 255, 255, .15); }
.tc-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--tc-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.tc-nav .dropdown-header { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 991.98px) {
  .tc-nav .navbar-collapse { padding: .75rem 0; }
  .tc-nav .nav-link { padding: .6rem .8rem !important; }
}

/* ---------- Page header (used by panels & listings) ---------- */
.tc-page-head { padding: 2.2rem 0 1.4rem; }
.tc-page-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .25rem; }
.tc-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tc-teal); }

/* ---------- Home: hero ---------- */
.tc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--tc-paper-deep) 0%, var(--tc-paper) 100%);
  border-bottom: 1px solid var(--tc-line);
  padding: 3.5rem 0 3rem;
}
.tc-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.05; }
.tc-hero .lead { color: var(--tc-ink-soft); font-size: 1.15rem; max-width: 34rem; }
.tc-hero-search { background: #fff; border-radius: 999px; padding: .4rem; box-shadow: var(--tc-shadow-lg); max-width: 560px; }
.tc-hero-search .form-control { border: 0; border-radius: 999px; padding: .75rem 1.2rem; font-size: 1.02rem; box-shadow: none; }
.tc-hero-search .btn { padding: .7rem 1.5rem; }
.tc-hero-collage { position: relative; height: 420px; }
.tc-hero-collage .tc-polaroid {
  position: absolute; background: #fff; padding: 10px 10px 34px; border-radius: 6px;
  box-shadow: var(--tc-shadow-lg); width: 58%; transition: transform .3s ease;
}
.tc-hero-collage .tc-polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; filter: contrast(1.05); }
.tc-hero-collage .tc-polaroid span { position: absolute; left: 12px; bottom: 8px; font-family: var(--tc-font-head); font-weight: 600; font-size: .95rem; color: var(--tc-ink-soft); }
.tc-hero-collage .p1 { left: 0; top: 30px; transform: rotate(-5deg); z-index: 1; }
.tc-hero-collage .p2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.tc-hero-collage .p3 { left: 22%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.tc-hero-collage .tc-polaroid:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.tc-hero-chips a { background: #fff; border: 1px solid var(--tc-line); color: var(--tc-ink); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; transition: all .15s; }
.tc-hero-chips a:hover { border-color: var(--tc-teal); color: var(--tc-teal); }
.tc-hero-chips i { color: var(--tc-teal); }

/* ---------- Home: sections ---------- */
.tc-section { padding-top: 3.2rem; padding-bottom: 1rem; }
.tc-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.tc-section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.tc-section-head p { margin: .25rem 0 0; color: var(--tc-muted); }
.tc-link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.tc-link-arrow i { transition: transform .15s; }
.tc-link-arrow:hover i { transform: translateX(3px); }

/* Sketch card: image in a paper frame */
.tc-sketch-card { display: block; text-decoration: none; color: var(--tc-ink); background: #fff; border-radius: var(--tc-radius); padding: 8px; box-shadow: var(--tc-shadow); transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.tc-sketch-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--tc-shadow-lg); color: var(--tc-ink); }
.tc-sketch-card .tc-img { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--tc-paper-deep); }
.tc-sketch-card .tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tc-sketch-card:hover .tc-img img { transform: scale(1.05); }
.tc-sketch-card .tc-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); color: var(--tc-ink); font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }
.tc-sketch-card .tc-title { font-weight: 700; padding: .6rem .3rem .2rem; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-sketch-card.tc-tall .tc-img { aspect-ratio: 3/4; }
.tc-sketch-card.tc-tall .tc-title { font-family: var(--tc-font-head); font-size: 1.15rem; }

/* How it works */
.tc-steps { background: #fff; border-radius: 22px; box-shadow: var(--tc-shadow); padding: 2rem; }
.tc-step-num { width: 44px; height: 44px; border-radius: 12px; background: var(--tc-teal-soft); color: var(--tc-teal); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: .8rem; }
.tc-step h5 { margin-bottom: .35rem; }
.tc-step p { color: var(--tc-muted); margin: 0; font-size: .95rem; }

/* Provider cards (guides / drivers) */
.tc-person-card { background: #fff; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); padding: 1.3rem; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tc-person-card:hover { transform: translateY(-3px); box-shadow: var(--tc-shadow-lg); }
.tc-person-card .tc-person-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--tc-paper-deep); background: var(--tc-paper-deep); }
.tc-person-card .tc-price { font-weight: 800; color: var(--tc-teal); font-size: 1.1rem; }
.tc-person-card .tc-price small { font-weight: 500; color: var(--tc-muted); font-size: .8rem; }
.tc-chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--tc-paper); border: 1px solid var(--tc-line); border-radius: 999px; padding: .15rem .6rem; font-size: .78rem; color: var(--tc-ink-soft); font-weight: 500; }

/* Banners */
.tc-banner { border-radius: 22px; padding: 2.2rem; position: relative; overflow: hidden; }
.tc-banner-teal { background: linear-gradient(120deg, var(--tc-teal) 0%, #3d8bfd 100%); color: #fff; }
.tc-banner-teal h2, .tc-banner-teal h3 { color: #fff; }
.tc-banner-ink { background: var(--tc-ink); color: #fff; }
.tc-banner-ink h2, .tc-banner-ink h3 { color: #fff; }
.tc-banner .tc-banner-deco { position: absolute; right: -30px; bottom: -40px; font-size: 11rem; opacity: .08; }
.tc-trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.tc-trust div { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--tc-ink-soft); font-size: .95rem; }
.tc-trust i { color: var(--tc-teal); font-size: 1.2rem; }

/* ---------- Panels (dashboards) ---------- */
.tc-stat { background: #fff; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); padding: 1.1rem 1.2rem; display: flex; align-items: center; gap: 1rem; height: 100%; }
.tc-stat .tc-stat-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.tc-stat .tc-stat-value { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.tc-stat .tc-stat-label { color: var(--tc-muted); font-size: .82rem; font-weight: 600; margin-top: .25rem; }
.tc-i-teal { background: var(--tc-teal-soft); color: var(--tc-teal); }
.tc-i-sun { background: var(--tc-sun-soft); color: #b58100; }
.tc-i-clay { background: #fbe6e1; color: var(--tc-clay); }
.tc-i-ink { background: #e6e9ee; color: var(--tc-ink); }
.tc-i-green { background: #e3f3ea; color: #25804f; }
.tc-panel { background: #fff; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); overflow: hidden; }
.tc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--tc-line); }
.tc-panel-head h5 { margin: 0; font-size: 1.02rem; display: flex; align-items: center; gap: .55rem; }
.tc-panel-head h5 i { color: var(--tc-teal); }
.tc-panel .table { margin: 0; }
.tc-panel .table td, .tc-panel .table th { padding: .8rem 1rem; }
.tc-status { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .25rem .7rem; font-size: .76rem; font-weight: 700; }
.tc-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tc-status-paid { background: #e3f3ea; color: #25804f; }
.tc-status-pending { background: var(--tc-sun-soft); color: #9a6212; }
.tc-status-booked { background: var(--tc-teal-soft); color: var(--tc-teal); }
.tc-status-cancelled, .tc-status-refunded { background: #eceef1; color: #5b6472; }
.tc-empty { text-align: center; padding: 3rem 1rem; color: var(--tc-muted); }
.tc-empty i { font-size: 2.4rem; color: var(--tc-line); margin-bottom: .8rem; display: block; }

/* ---------- Footer ---------- */
.tc-footer { background: var(--tc-ink); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.tc-footer h6 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.tc-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.tc-footer a:hover { color: #fff; }
.tc-footer .tc-brand { font-family: var(--tc-font-head); font-size: 1.5rem; color: #fff; font-weight: 700; }
.tc-footer .tc-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); }
.tc-footer .tc-social a:hover { background: var(--tc-teal); }
.tc-footer hr { border-color: rgba(255, 255, 255, .12); }

/* Legacy classes from older pages */
.hero-section { background: linear-gradient(rgba(27, 35, 48, .6), rgba(27, 35, 48, .7)), var(--tc-ink); color: #fff; padding: 90px 0; border-radius: 0 0 22px 22px; }
.fs-xs { font-size: .72rem !important; }
.min-w-0 { min-width: 0; }
.tc-hero-search .btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.tc-hero-search .btn i { margin: 0 !important; }

/* Dashboard header + tabs */
.tc-dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem 0 1.5rem; }
.tc-dash-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--tc-shadow); background: var(--tc-paper-deep); }
.tc-dash-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.tc-tabs { background: #fff; border-radius: 999px; padding: .35rem; box-shadow: var(--tc-shadow); display: inline-flex; flex-wrap: wrap; gap: .25rem; }
.tc-tabs .nav-link { padding: .5rem 1.05rem; font-size: .93rem; }
.tc-tabs .nav-link .badge { margin-left: .35rem; background: var(--tc-teal) !important; color: #fff; }
.tc-tabs .nav-link.active .badge { background: #fff !important; color: var(--tc-teal); }
@media (max-width: 575.98px) { .tc-tabs { border-radius: 18px; display: flex; } .tc-tabs .nav-link { flex: 1 1 45%; text-align: center; } }
.tc-status { white-space: nowrap; }

/* Booking card, price summary, trust list */
.tc-book-card { background: #fff; border-radius: 20px; box-shadow: var(--tc-shadow-lg); padding: 1.5rem; position: sticky; top: 88px; }
.tc-book-price { font-size: 2rem; font-weight: 800; color: var(--tc-ink); line-height: 1; }
.tc-book-price small { font-size: .95rem; font-weight: 500; color: var(--tc-muted); }
.tc-summary { background: var(--tc-paper); border-radius: 14px; padding: .9rem 1rem; font-size: .93rem; display: grid; gap: .45rem; }
.tc-summary-now { font-weight: 700; color: var(--tc-teal); border-top: 1px dashed var(--tc-line); border-bottom: 1px dashed var(--tc-line); padding: .45rem 0; }
.tc-trust-list li { display: flex; gap: .65rem; align-items: flex-start; padding: .35rem 0; color: var(--tc-ink-soft); }
.tc-trust-list i { color: var(--tc-teal); width: 18px; margin-top: .15rem; text-align: center; }
.tc-rating { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.tc-rating i { color: var(--tc-sun); }
.tc-profile-hero { background: #fff; border-radius: 22px; box-shadow: var(--tc-shadow); overflow: hidden; }
.tc-profile-hero .tc-band { height: 120px; background: linear-gradient(120deg, var(--tc-blue) 0%, var(--tc-teal) 60%, var(--tc-accent) 130%); }
.tc-profile-hero .tc-avatar-lg { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; margin-top: -66px; background: var(--tc-paper-deep); box-shadow: var(--tc-shadow); }
.tc-facts { display: flex; flex-wrap: wrap; gap: .6rem; }
.tc-fact { background: var(--tc-paper); border-radius: 12px; padding: .55rem .85rem; font-size: .88rem; }
.tc-fact strong { display: block; font-size: 1rem; }
.tc-searchbar { background: #fff; border-radius: 999px; box-shadow: var(--tc-shadow); padding: .35rem; display: flex; gap: .4rem; max-width: 460px; width: 100%; }
.tc-searchbar .form-control, .tc-searchbar .form-select { border: 0; box-shadow: none; border-radius: 999px; }
.tc-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 380px; border-radius: 20px; overflow: hidden; }
.tc-mosaic > * { overflow: hidden; background: var(--tc-paper-deep); }
.tc-mosaic > *:first-child { grid-row: span 2; }
.tc-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tc-mosaic a:hover img { transform: scale(1.04); }
.tc-mosaic.tc-mosaic-1 { grid-template-columns: 1fr; }
@media (max-width: 767.98px) { .tc-mosaic { height: 240px; grid-template-columns: 1fr; } .tc-mosaic > *:not(:first-child) { display: none; } .tc-book-card { position: static; } }

/* ---- Compact homepage (v2) ---- */
.tc-nav .tc-nav-ic { margin-right: .35rem; color: var(--tc-sun); font-size: .82em; opacity: .9; }
.tc-nav .nav-link { font-size: .9rem; padding: .4rem .55rem !important; }
.tc-hero { padding: 2rem 0 1.6rem; }
.tc-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; }
.tc-hero .lead { font-size: 1rem; max-width: 40rem; }
.tc-hero-search { max-width: 520px; }
.tc-hero-search .form-control { padding: .55rem 1rem; font-size: .95rem; }
.tc-hero-search .btn { padding: .5rem 1.2rem; }
.tc-hero-chips a { padding: .3rem .75rem; font-size: .84rem; }
.tc-trust { gap: .5rem 1.5rem; }
.tc-trust div { font-size: .85rem; }
.tc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem 1.5rem; padding: .9rem 1.2rem; margin-top: 1.2rem; border-radius: 16px; }
.tc-steps .tc-step { display: flex; align-items: center; gap: .7rem; }
.tc-steps .tc-step-num { width: 32px; height: 32px; border-radius: 10px; font-size: .9rem; margin: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--tc-teal-soft); color: var(--tc-teal); font-weight: 800; }
.tc-steps strong { display: block; font-size: .92rem; }
.tc-steps span:not(.tc-step-num) { display: block; font-size: .8rem; color: var(--tc-muted); }
@media (max-width: 767.98px) { .tc-steps { grid-template-columns: 1fr; } }
.tc-section { padding-top: 1.8rem; padding-bottom: .4rem; }
.tc-section-head { margin-bottom: .8rem; }
.tc-section-head h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.tc-section-head .tc-eyebrow { font-size: .68rem; }
.tc-sketch-card { padding: 6px; }
.tc-sketch-card .tc-title { font-size: .88rem; padding: .45rem .25rem .1rem; }
.tc-sketch-card.tc-tall .tc-title { font-size: 1rem; }
.tc-banner { padding: 1.5rem; }
.tc-banner h3 { font-size: 1.3rem; }
.tc-person-card { padding: 1rem; }
.tc-sketch-card.tc-tall .tc-img { aspect-ratio: 1 / 1; }

/* ---- Place pages: country / city / sight (sketch gallery) ---- */
.tc-place-hero { padding: 1.4rem 0 1.2rem; }
.tc-place-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; margin-bottom: .4rem; }
.tc-place-hero .tc-desc { color: var(--tc-ink-soft); font-size: .98rem; max-width: 38rem; }
.tc-place-hero .tc-desc.collapsed { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tc-frame { background: #fff; padding: 10px 10px 30px; border-radius: 6px; box-shadow: var(--tc-shadow-lg); transform: rotate(1.2deg); position: relative; }
.tc-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.tc-frame figcaption { position: absolute; left: 12px; bottom: 6px; font-family: var(--tc-font-head); font-weight: 600; font-size: .9rem; color: var(--tc-ink-soft); }
.tc-mini-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0; }
.tc-mini-stats a, .tc-mini-stats span { background: #fff; border: 1px solid var(--tc-line); border-radius: 12px; padding: .4rem .75rem; font-size: .84rem; text-decoration: none; color: var(--tc-ink); }
.tc-mini-stats strong { color: var(--tc-teal); margin-right: .2rem; }
.tc-mini-stats a:hover { border-color: var(--tc-teal); }
.tc-gallery { columns: 5 180px; column-gap: 12px; }
.tc-gallery > a { break-inside: avoid; display: block; margin-bottom: 12px; }
.tc-gallery .tc-sketch-card .tc-img { aspect-ratio: auto; }
.tc-gallery .tc-sketch-card .tc-img img { height: auto; display: block; }
.tc-filter { max-width: 320px; }
.tc-breadcrumb { font-size: .82rem; color: var(--tc-muted); }
.tc-breadcrumb a { color: var(--tc-muted); text-decoration: none; }
.tc-breadcrumb a:hover { color: var(--tc-teal); }
.tc-breadcrumb i { font-size: .6rem; margin: 0 .4rem; }
.tc-menu-item { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; }
.tc-menu-item .tc-dots { flex: 1; border-bottom: 1px dotted var(--tc-line); transform: translateY(-4px); }

/* ---- Homepage v3: blue-white, compact ---- */
.tc-nav .tc-nav-ic { color: var(--tc-turq); opacity: 1; }
.tc-hero { background: linear-gradient(180deg, #e7f0ff 0%, var(--tc-paper) 100%); padding: 1.4rem 0 1.1rem; }
.tc-hero h1 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.2; }
.tc-hero h1 em { color: var(--tc-teal); font-style: italic; }
.tc-hero .lead { font-size: .92rem; }
.tc-hero .tc-trust div { font-size: .8rem; }
.tc-hero .tc-trust i { font-size: 1rem; }
.tc-hero-chips a { padding: .22rem .65rem; font-size: .78rem; background: rgba(255, 255, 255, .75); }

.tc-steps { background: transparent; box-shadow: none; padding: 0; gap: .6rem; margin-top: .9rem; }
.tc-steps .tc-step { background: linear-gradient(120deg, var(--tc-teal) 0%, var(--tc-blue) 100%); color: #fff; border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 4px 14px rgba(var(--sec-rgb), .18); }
.tc-steps .tc-step-num { background: rgba(255, 255, 255, .18); color: #fff; }
.tc-steps strong { color: #fff; }
.tc-steps span:not(.tc-step-num) { color: rgba(255, 255, 255, .82); }

.tc-banner-compact { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 14px; height: 100%; }
.tc-banner-compact .tc-banner-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; color: var(--tc-accent); }
.tc-banner-compact .tc-eyebrow { color: var(--tc-accent); font-size: .64rem; }
.tc-banner-compact h3 { font-size: 1rem; margin: 0; }
.tc-banner-compact p { font-size: .8rem; margin: 0; opacity: .85; }
.tc-banner-compact .btn { flex-shrink: 0; }
.tc-banner-ink { background: linear-gradient(120deg, var(--tc-ink) 0%, #2b3a52 100%); }
@media (max-width: 575.98px) {
  .tc-banner-compact { flex-wrap: wrap; row-gap: .5rem; }
  .tc-banner-compact > .flex-grow-1 { flex: 1 1 calc(100% - 60px); }
  .tc-banner-compact .btn { margin-left: 52px; }
  .tc-steps .tc-step { padding: .5rem .8rem; }
}

.tc-section { padding-top: 1.1rem; padding-bottom: .2rem; }
.tc-section-head { margin-bottom: .6rem; }

/* Sights carousel */
.tc-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 12px) / 6); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; }
.tc-carousel::-webkit-scrollbar { display: none; }
.tc-carousel > .tc-sketch-card { scroll-snap-align: start; }
.tc-carousel > .tc-sketch-card:hover { transform: translateY(-3px); }
@media (max-width: 991.98px) { .tc-carousel { grid-auto-columns: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 575.98px) { .tc-carousel { grid-auto-columns: 44%; } }
.tc-car-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tc-line); background: #fff; color: var(--tc-teal); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--tc-shadow); transition: all .15s; }
.tc-car-btn:hover { background: var(--tc-teal); color: #fff; border-color: var(--tc-teal); }
.tc-banner-teal.tc-banner-compact .tc-eyebrow, .tc-banner-teal.tc-banner-compact .tc-banner-ic { color: #fff; }
.tc-banner-teal .tc-eyebrow { color: rgba(255, 255, 255, .85) !important; }

/* =====================================================================
   Colour-coded sections (v4). Each nav tile and each page section has its
   own colour; body.sec-<key> re-themes buttons, links, icons and eyebrows.
   ===================================================================== */
.sec-home { --tc-teal: #0d6efd; --tc-teal-dark: #0a58ca; --tc-teal-soft: #e7f0ff; --sec-rgb: 13, 110, 253; --bs-primary: #0d6efd; --bs-primary-rgb: 13, 110, 253; --bs-link-color: #0d6efd; --bs-link-color-rgb: 13, 110, 253; --bs-link-hover-color: #0a58ca; --bs-link-hover-color-rgb: 10, 88, 202; }
.sec-explore { --tc-teal: #0d6efd; --tc-teal-dark: #0a58ca; --tc-teal-soft: #e7f0ff; --sec-rgb: 13, 110, 253; --bs-primary: #0d6efd; --bs-primary-rgb: 13, 110, 253; --bs-link-color: #0d6efd; --bs-link-color-rgb: 13, 110, 253; --bs-link-hover-color: #0a58ca; --bs-link-hover-color-rgb: 10, 88, 202; }
.sec-guides { --tc-teal: #6f42c1; --tc-teal-dark: #59359a; --tc-teal-soft: #f1ebfb; --sec-rgb: 111, 66, 193; --bs-primary: #6f42c1; --bs-primary-rgb: 111, 66, 193; --bs-link-color: #6f42c1; --bs-link-color-rgb: 111, 66, 193; --bs-link-hover-color: #59359a; --bs-link-hover-color-rgb: 89, 53, 154; }
.sec-drivers { --tc-teal: #f5b700; --tc-teal-dark: #8a6500; --tc-teal-soft: #fff6d1; --sec-rgb: 245, 183, 0; --bs-primary: #f5b700; --bs-primary-rgb: 245, 183, 0; --bs-link-color: #8a6500; --bs-link-color-rgb: 138, 101, 0; --bs-link-hover-color: #8a6500; --bs-link-hover-color-rgb: 138, 101, 0; }
.sec-stays { --tc-teal: #198754; --tc-teal-dark: #146c43; --tc-teal-soft: #e3f3ea; --sec-rgb: 25, 135, 84; --bs-primary: #198754; --bs-primary-rgb: 25, 135, 84; --bs-link-color: #198754; --bs-link-color-rgb: 25, 135, 84; --bs-link-hover-color: #146c43; --bs-link-hover-color-rgb: 20, 108, 67; }
.sec-cafes { --tc-teal: #9a5b34; --tc-teal-dark: #7a4527; --tc-teal-soft: #f6ece4; --sec-rgb: 154, 91, 52; --bs-primary: #9a5b34; --bs-primary-rgb: 154, 91, 52; --bs-link-color: #9a5b34; --bs-link-color-rgb: 154, 91, 52; --bs-link-hover-color: #7a4527; --bs-link-hover-color-rgb: 122, 69, 39; }
.sec-stories { --tc-teal: #a51d2d; --tc-teal-dark: #7d1520; --tc-teal-soft: #f9e3e5; --sec-rgb: 165, 29, 45; --bs-primary: #a51d2d; --bs-primary-rgb: 165, 29, 45; --bs-link-color: #7d1520; --bs-link-color-rgb: 125, 21, 32; --bs-link-hover-color: #7d1520; --bs-link-hover-color-rgb: 125, 21, 32; }
.sec-reviews { --tc-teal: #0f8b7d; --tc-teal-dark: #0b6b60; --tc-teal-soft: #e1f4f1; --sec-rgb: 15, 139, 125; --bs-primary: #0f8b7d; --bs-primary-rgb: 15, 139, 125; --bs-link-color: #0b6b60; --bs-link-color-rgb: 11, 107, 96; --bs-link-hover-color: #0b6b60; --bs-link-hover-color-rgb: 11, 107, 96; }
.sec-community { --tc-teal: #2f9e44; --tc-teal-dark: #237032; --tc-teal-soft: #e6f6e9; --sec-rgb: 47, 158, 68; --bs-primary: #2f9e44; --bs-primary-rgb: 47, 158, 68; --bs-link-color: #2f9e44; --bs-link-color-rgb: 47, 158, 68; --bs-link-hover-color: #237032; --bs-link-hover-color-rgb: 35, 112, 50; }
.sec-locals { --tc-teal: #0ea5e9; --tc-teal-dark: #0284c7; --tc-teal-soft: #e0f4fd; --sec-rgb: 14, 165, 233; --bs-primary: #0ea5e9; --bs-primary-rgb: 14, 165, 233; --bs-link-color: #0ea5e9; --bs-link-color-rgb: 14, 165, 233; --bs-link-hover-color: #0284c7; --bs-link-hover-color-rgb: 2, 132, 199; }

/* Top bar */
.tc-topbar { background: var(--tc-ink); color: #fff; padding: .45rem 0; position: sticky; top: 0; z-index: 1030; }
.tc-brand-link { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-family: var(--tc-font-head); font-weight: 700; font-size: 1.25rem; }
.tc-brand-link:hover { color: #fff; }
.tc-brand-link .brand-logo { height: 30px; width: 30px; border-radius: 8px; object-fit: cover; }
.tc-brand-link .brand-amp { color: var(--tc-accent); }
.tc-top-link { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .88rem; font-weight: 500; padding: .35rem .6rem; border-radius: 8px; }
.tc-top-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tc-topbar .tc-user-btn { display: flex; align-items: center; gap: .5rem; color: #fff; background: rgba(255, 255, 255, .08); border: 0; border-radius: 999px; padding: .25rem .75rem .25rem .25rem; font-weight: 600; font-size: .88rem; }
.tc-topbar .tc-user-btn:hover { background: rgba(255, 255, 255, .15); }
.tc-topbar .dropdown-header { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

/* Navigation tiles */
.tc-tiles-wrap { background: #fff; border-bottom: 1px solid var(--tc-line); padding: .6rem 0; }
.tc-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .5rem; }
.tc-tile { display: flex; align-items: center; gap: .6rem; padding: .5rem .65rem; border-radius: 12px; background: var(--tc-teal-soft); color: var(--tc-teal-dark); text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s; min-width: 0; }
.tc-tile:hover { color: var(--tc-teal-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(var(--sec-rgb), .2); border-color: rgba(var(--sec-rgb), .35); }
.tc-tile-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tc-teal); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .95rem; }
.tc-tile-txt { min-width: 0; line-height: 1.15; }
.tc-tile strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-tile small { display: block; font-size: .7rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-tile.active { background: var(--tc-teal); color: #fff; box-shadow: 0 6px 18px rgba(var(--sec-rgb), .35); }
.tc-tile.active .tc-tile-ic { background: rgba(255, 255, 255, .22); }
@media (max-width: 1199.98px) { .tc-tile small { display: none; } }
@media (max-width: 991.98px) {
  .tc-tiles { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
  .tc-tiles::-webkit-scrollbar { display: none; }
  .tc-tile { flex: 0 0 auto; scroll-snap-align: start; padding: .4rem .7rem .4rem .45rem; }
  .tc-tile-ic { width: 28px; height: 28px; font-size: .8rem; }
}

/* Page sections recoloured by their own section class */
[class*="sec-"] .tc-eyebrow { color: var(--tc-teal); }
.tc-price { color: var(--tc-teal); }

/* Homepage v4 */
.tc-hero { background: radial-gradient(ellipse at top, #e7f0ff 0%, var(--tc-paper) 70%); border-bottom: 0; padding: 1.3rem 0 .6rem; }
.tc-hero h1 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.tc-hero .lead { font-size: .9rem; margin-bottom: .8rem !important; }
.tc-hero-search { max-width: 480px; }
.tc-cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; }
.tc-cta { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(120deg, var(--tc-teal) 0%, var(--tc-teal-dark) 100%); box-shadow: 0 6px 18px rgba(var(--sec-rgb), .28); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.tc-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--sec-rgb), .38); }
.tc-cta-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.tc-cta strong { display: block; font-size: .95rem; line-height: 1.2; }
.tc-cta small { display: block; font-size: .76rem; opacity: .88; line-height: 1.25; }
.tc-cta .tc-cta-go { margin-left: auto; opacity: .8; transition: transform .15s; }
.tc-cta:hover .tc-cta-go { transform: translateX(3px); }
@media (max-width: 767.98px) { .tc-cta-row { grid-template-columns: 1fr; } }

/* Live ticker */
.tc-live { display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 12px; box-shadow: var(--tc-shadow); padding: .45rem .8rem; font-size: .85rem; overflow: hidden; }
.tc-live-dot { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #dc3545; flex-shrink: 0; }
.tc-live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #dc3545; animation: tcPulse 1.6s infinite; }
@keyframes tcPulse { 0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, .5); } 70% { box-shadow: 0 0 0 7px rgba(220, 53, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } }
.tc-live-items { position: relative; flex: 1; min-width: 0; height: 1.4em; }
.tc-live-item { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; color: var(--tc-ink-soft); text-decoration: none; }
.tc-live-item.on { opacity: 1; transform: none; }
.tc-live-item i { color: var(--tc-teal); margin-right: .35rem; }
.tc-live-item time { color: var(--tc-muted); margin-left: .35rem; font-size: .78rem; }

/* 5-column grids for places */
.tc-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 991.98px) { .tc-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .tc-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.tc-grid-5 .tc-sketch-card .tc-title { font-size: .93rem; }
/* Countries / cities: 6 cards = full rows on phones (2x3) and tablets (3x2); desktop shows 5 */
@media (min-width: 992px) { .tc-grid-6 > :nth-child(n+6) { display: none; } }
.tc-section { padding-top: .9rem; }

/* Activity feed (Explore page) */
.tc-feed { display: grid; gap: .5rem; }
.tc-feed-item { display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: 12px; padding: .55rem .75rem; box-shadow: var(--tc-shadow); text-decoration: none; color: var(--tc-ink); transition: transform .15s; }
a.tc-feed-item:hover { transform: translateX(3px); color: var(--tc-ink); }
.tc-feed-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--tc-teal-soft); color: var(--tc-teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tc-feed-item .tc-feed-txt { flex: 1; min-width: 0; font-size: .88rem; line-height: 1.3; }
.tc-feed-item .tc-feed-where { color: var(--tc-muted); font-size: .8rem; }
.tc-feed-item time { color: var(--tc-muted); font-size: .76rem; white-space: nowrap; }
.tc-counter { display: flex; align-items: center; gap: .65rem; background: #fff; border-radius: 14px; padding: .7rem .8rem; box-shadow: var(--tc-shadow); text-decoration: none; color: var(--tc-ink); border-bottom: 3px solid var(--tc-teal); transition: transform .15s; }
.tc-counter:hover { transform: translateY(-2px); color: var(--tc-ink); }
.tc-counter .tc-feed-ic { width: 38px; height: 38px; }
.tc-counter b { display: block; font-size: 1.25rem; line-height: 1; }
.tc-counter span { font-size: .78rem; color: var(--tc-muted); }
.tc-country-chip { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--tc-line); border-radius: 999px; padding: .25rem .7rem; font-size: .82rem; color: var(--tc-ink); text-decoration: none; }
.tc-country-chip:hover { border-color: var(--tc-teal); color: var(--tc-teal); }
.tc-country-chip small { color: var(--tc-muted); }

/* Demo (example) profiles */
.tc-demo-note { display: flex; align-items: center; gap: .8rem; background: var(--tc-teal-soft); border: 1px dashed rgba(var(--sec-rgb), .45); color: var(--tc-teal-dark); border-radius: 14px; padding: .7rem 1rem; font-size: .88rem; margin: 1.2rem 0 .8rem; }
.tc-demo-note i.fa-circle-info { font-size: 1.2rem; }
.tc-demo { position: relative; cursor: default; }
.tc-demo > *:not(.stretched-link) { opacity: .95; }
.tc-demo::after { content: 'Example'; position: absolute; top: 10px; right: 10px; background: var(--tc-ink); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 999px; opacity: .85; }
.tc-demo:hover { transform: none !important; }
.tc-demo img { filter: none; }
.tc-initials { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--tc-teal) 0%, var(--tc-teal-dark) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; flex-shrink: 0; border: 3px solid var(--tc-paper-deep); }
.tc-initials.sm { width: 36px; height: 36px; font-size: .8rem; border-width: 2px; }

.tc-counters { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 1199.98px) { .tc-counters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .tc-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tc-steps { margin-top: .5rem; }
.col-lg-8 .tc-grid-5 { gap: 10px; }
.tc-page-head { padding: 1.1rem 0 .9rem; }
.tc-page-head h1 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.tc-grid-5 .tc-sketch-card.tc-tall .tc-img { aspect-ratio: 5 / 4; }
.tc-counter span > span { white-space: nowrap; }
.tc-demo-note { margin-top: .2rem; }
@media (max-width: 767.98px) {
  .tc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .tc-steps .tc-step { flex-direction: column; align-items: flex-start; gap: .3rem; padding: .5rem .55rem; }
  .tc-steps strong { font-size: .78rem; line-height: 1.2; }
  .tc-steps span:not(.tc-step-num) { display: none; }
  .tc-steps .tc-step-num { width: 24px; height: 24px; font-size: .75rem; }
}

/* ---- v5 tweaks ---- */
/* Drivers = yellow: dark text on yellow, darker gold for text on white */
.sec-drivers .btn-primary { --bs-btn-color: #2b2100; --bs-btn-hover-color: #2b2100; --bs-btn-active-color: #2b2100; --bs-btn-hover-bg: #e0a800; --bs-btn-hover-border-color: #e0a800; --bs-btn-active-bg: #e0a800; }
.sec-drivers .btn-outline-primary { --bs-btn-color: #8a6500; --bs-btn-hover-color: #2b2100; }
.sec-drivers .tc-eyebrow, .sec-drivers .tc-price, .sec-drivers .text-primary, .sec-drivers .tc-link-arrow,
.sec-drivers .tc-rating i, .sec-drivers .tc-trust-list i, .sec-drivers .tc-panel-head h5 i { color: #8a6500 !important; }
.tc-tile.sec-drivers .tc-tile-ic, .tc-tile.sec-drivers.active { color: #2b2100; }
.tc-tile.sec-drivers.active .tc-tile-ic { background: rgba(0, 0, 0, .1); }
.tc-tile.sec-drivers { color: #6b4e00; }
.sec-drivers .tc-feed-ic, .tc-counter.sec-drivers .tc-feed-ic { color: #8a6500; }
.sec-drivers .tc-demo-note { color: #6b4e00; }
.sec-drivers .nav-pills .nav-link.active, .sec-drivers .tc-tabs .nav-link.active { color: #2b2100; }

/* Stories: normal small page head instead of the big coloured card */
.stories-head { padding: 1.1rem 0 .9rem; }

/* How it works: one soft-yellow card */
.tc-steps { background: #fff8db; border: 1px solid #f3e3a6; border-radius: 14px; box-shadow: none; padding: .6rem .9rem; gap: 0; margin-top: .5rem; }
.tc-steps .tc-step { background: none; box-shadow: none; border-radius: 0; color: var(--tc-ink); padding: .2rem .9rem; }
.tc-steps .tc-step + .tc-step { border-left: 1px solid #f0dc92; }
.tc-steps .tc-step-num { background: #f5b700; color: #2b2100; }
.tc-steps strong { color: var(--tc-ink); }
.tc-steps span:not(.tc-step-num) { color: #6b5a1f; }
@media (max-width: 767.98px) {
  .tc-steps { padding: .5rem .4rem; }
  .tc-steps .tc-step { padding: .2rem .45rem; }
}
/* Example pages */
.tc-mini-cal { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.tc-mini-cal span { text-align: center; font-size: .72rem; font-weight: 700; padding: .35rem 0; border-radius: 6px; background: var(--tc-teal-soft); color: var(--tc-teal-dark); }
.tc-mini-cal span.busy { background: var(--tc-teal); color: #fff; }
.tc-panel-preview { border: 2px dashed rgba(var(--sec-rgb), .35); box-shadow: none; }
a.tc-demo { text-decoration: none; color: inherit; cursor: pointer; }
a.tc-demo:hover > * { opacity: 1; }
.tc-cat-chip { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--tc-teal-dark); font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; }
/* Small navigation buttons above the footer */
.tc-footnav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.2rem; }
.tc-mini-tile { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 10px; background: var(--tc-teal-soft); color: var(--tc-teal-dark); font-size: .82rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, border-color .15s; }
.tc-mini-tile i { color: var(--tc-teal); }
.tc-mini-tile:hover { transform: translateY(-1px); border-color: rgba(var(--sec-rgb), .4); color: var(--tc-teal-dark); }
.tc-mini-tile.active { background: var(--tc-teal); color: #fff; }
.tc-mini-tile.active i { color: #fff; }
.tc-mini-tile.sec-drivers.active, .tc-mini-tile.sec-drivers.active i { color: #2b2100; }
.tc-mini-tile.sec-drivers i { color: #8a6500; }
.tc-mini-tile.tc-top { background: var(--tc-ink); color: #fff; }
.tc-mini-tile.tc-top i { color: #fff; }
.tc-footer { margin-top: 1.2rem; }
/* Bright yellow "see an example page" button on listing pages */
.tc-example-btn { display: inline-flex; align-items: center; gap: .55rem; background: #ffd60a; color: #111 !important; font-weight: 800; font-size: .92rem; padding: .55rem 1.05rem; border-radius: 12px; border: 2px solid #111; text-decoration: none; box-shadow: 4px 4px 0 #111; transition: transform .12s, box-shadow .12s; animation: tcNudge 2.4s ease-in-out infinite; }
.tc-example-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #111; background: #ffe14d; }
.tc-example-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #111; }
@keyframes tcNudge { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-1.5deg); } 96% { transform: rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .tc-example-btn { animation: none; } }
.tc-demo-go { position: relative; z-index: 4; }
.tc-demo { cursor: pointer; }
.tc-footer .tc-footer-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #fff; }
.tc-footer a.tc-brand, .tc-footer a.tc-brand:hover { color: #fff; }
.tc-add-tile { border: 2px dashed rgba(var(--sec-rgb), .35); box-shadow: none; color: var(--tc-teal); min-height: 220px; text-align: center; }
.tc-add-tile:hover { background: var(--tc-teal-soft); color: var(--tc-teal-dark); }
.table td.text-end { white-space: nowrap; }

/* Admin: small maintenance switch in the top-right corner */
.tc-maint-switch { position: absolute; top: .4rem; right: .75rem; z-index: 5; margin: 0; }
.tc-maint-switch .btn { font-size: .75rem; padding: .2rem .7rem; }
.tc-maint-off { background: #ffd60a; color: #1b1b1b; border: 1px solid #e0b800; }
.tc-maint-off:hover { background: #ffcc00; color: #000; }
.tc-maint-switch .btn-danger { animation: tcMaintPulse 1.6s ease-in-out infinite; }
@keyframes tcMaintPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,53,69,.5); } 50% { box-shadow: 0 0 0 6px rgba(220,53,69,0); } }

/* =====================================================================
   v6: mobile-first polish, colour refresh, speed
   ===================================================================== */

/* ---- Homepage hero: deep navy → blue, white text (stronger, cleaner look) ---- */
.tc-hero { background: linear-gradient(160deg, #16233a 0%, #123a7a 55%, #1d5fd1 100%); color: #fff; padding: 1.8rem 0 1.4rem; }
.tc-hero h1 { color: #fff; }
.tc-hero h1 em { color: #9ec5fe; }
.tc-hero .lead { color: rgba(255, 255, 255, .84); }
.tc-hero .tc-trust div { color: rgba(255, 255, 255, .88); }
.tc-hero .tc-trust i { color: #9ec5fe; }
.tc-hero-search { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* ---- Safe booking notice (homepage card + booking forms) ---- */
.tc-safe-card { display: flex; align-items: flex-start; gap: .8rem; background: #e8f7ee; border: 1px solid #b7e4c7; border-radius: 14px; padding: .8rem 1rem; margin-top: .9rem; color: #1d5b3a; }
.tc-safe-card strong { display: block; font-size: .98rem; color: #14532d; margin-bottom: .1rem; }
.tc-safe-card span:not(.tc-safe-ic) { display: block; font-size: .86rem; line-height: 1.4; }
.tc-safe-ic { width: 38px; height: 38px; border-radius: 12px; background: #16a34a; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; }
.tc-safe-card.tc-safe-sm { margin-top: 0; padding: .65rem .8rem; }
.tc-safe-card.tc-safe-sm .tc-safe-ic { width: 32px; height: 32px; font-size: .9rem; }

/* Slim notice bar under the header (inner pages, travellers only) */
.tc-safepay { background: #e8f7ee; border-bottom: 1px solid #b7e4c7; color: #14532d; font-size: .85rem; padding: .4rem 0; }
.tc-safepay-ic { color: #16a34a; }
.tc-safepay .btn-close { font-size: .6rem; padding: .5rem; }

/* ---- "Join us & earn money" button ---- */
.tc-join { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(120deg, #ea580c 0%, #b93b0a 100%); box-shadow: 0 6px 18px rgba(234, 88, 12, .3); margin-bottom: .6rem; }
.tc-join:hover, .tc-join:active { color: #fff; }
.tc-join-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.tc-join-txt { min-width: 0; flex: 1; line-height: 1.2; }
.tc-join-txt strong { display: block; font-size: 1.02rem; }
.tc-join-txt small { display: block; font-size: .78rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-join.tc-join-panel { background: linear-gradient(120deg, #0d6efd 0%, #0a3d8f 100%); box-shadow: 0 6px 18px rgba(13, 110, 253, .3); }
.tc-cta.tc-cta-join { background: linear-gradient(120deg, #ea580c 0%, #b93b0a 100%); box-shadow: 0 6px 18px rgba(234, 88, 12, .28); }
.tc-cta.tc-cta-join:hover { box-shadow: 0 10px 24px rgba(234, 88, 12, .38); }
.sec-locals { --tc-teal-dark: #0369a1; }

/* ---- Vertical navigation buttons (mobile menu + mobile homepage) ---- */
.tc-vnav { display: grid; gap: .45rem; }
.tc-vbtn { display: flex; align-items: center; gap: .75rem; min-height: 54px; padding: .5rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--tc-line); border-left: 4px solid var(--tc-teal); color: var(--tc-ink); text-decoration: none; }
.tc-vbtn:active { background: var(--tc-teal-soft); color: var(--tc-ink); }
.tc-vbtn:hover { color: var(--tc-ink); border-color: rgba(var(--sec-rgb), .5); border-left-color: var(--tc-teal); }
.tc-vbtn-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--tc-teal-soft); color: var(--tc-teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tc-vbtn-txt { flex: 1; min-width: 0; line-height: 1.2; }
.tc-vbtn-txt strong { display: block; font-size: .95rem; }
.tc-vbtn-txt small { display: block; font-size: .76rem; color: var(--tc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-vbtn-go { color: var(--tc-muted); font-size: .8rem; }
.tc-vbtn.active { background: var(--tc-teal-soft); }
.tc-vbtn.sec-drivers .tc-vbtn-ic { color: #8a6500; }

/* Mobile menu panel */
.tc-burger { width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-left: .25rem; }
.tc-burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.tc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.tc-mmenu { background: var(--tc-paper); border-bottom: 1px solid var(--tc-line); position: fixed; top: 52px; left: 0; right: 0; z-index: 1025; max-height: calc(100vh - 52px); max-height: calc(100dvh - 52px); overflow-y: auto; box-shadow: 0 16px 30px rgba(27, 35, 48, .18); }
.tc-mmenu > .container { padding-top: .8rem; padding-bottom: .9rem; }
.tc-mmenu-foot { display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; font-size: .9rem; font-weight: 600; }
.tc-mmenu-foot a { text-decoration: none; color: var(--tc-ink-soft); }

/* ---- Loading bar + busy buttons ---- */
#tcLoadBar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000; background: linear-gradient(90deg, #6ea8fe, #0d6efd); opacity: 0; pointer-events: none; }
#tcLoadBar.go { opacity: 1; width: 85%; transition: width 6s cubic-bezier(.1, .7, .2, 1), opacity .2s; }
.tc-busy { position: relative; pointer-events: none; opacity: .85; }
.tc-busy::after { content: ''; display: inline-block; width: 1em; height: 1em; margin-left: .5em; vertical-align: -.15em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tcSpin .7s linear infinite; }
@keyframes tcSpin { to { transform: rotate(360deg); } }

/* ---- Mobile layout (phones) ---- */
@media (max-width: 767.98px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: .97rem; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Header: compact bar + menu instead of the horizontal tile strip */
  .tc-topbar { padding: .4rem 0; min-height: 52px; display: flex; align-items: center; }
  .tc-topbar > .container { width: 100%; }
  .tc-brand-link { font-size: 1.12rem; }
  .tc-top-link span { display: none; }
  .tc-top-link { padding: .5rem .6rem; font-size: 1rem; }
  .tc-tiles-wrap { display: none; }

  /* Hero */
  .tc-hero { padding: 1.3rem 0 1.1rem; text-align: left !important; }
  .tc-hero .container { text-align: left !important; }
  .tc-hero h1 { font-size: 1.45rem; }
  .tc-hero .lead { font-size: .9rem; margin-left: 0 !important; }
  .tc-hero-search { margin-left: 0 !important; }
  .tc-hero-search .form-control { font-size: 16px; min-width: 0; }  /* 16px stops iPhone zoom */
  .tc-hero-search .btn { padding: .5rem .9rem; }
  .tc-hero .tc-trust { justify-content: flex-start !important; gap: .35rem .9rem; }

  /* Forms: no zoom on focus, easier to tap */
  .form-control, .form-select { font-size: 16px; min-height: 44px; }
  .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-sm { min-height: 34px; }
  .btn.w-100 { display: flex; }

  /* Sections */
  .tc-section-head { flex-wrap: wrap; align-items: center; row-gap: .3rem; }
  .tc-section-head .d-flex.gap-3 { gap: .8rem !important; }
  .tc-grid-5 > :nth-child(n+7) { display: none; }   /* shorter page on phones */
  .tc-sketch-card .tc-title { font-size: .86rem; }
  .tc-person-card .tc-person-img { width: 56px; height: 56px; }
  .tc-live { font-size: .8rem; }

  /* No hover lifts on phones (less repaint work, smoother scrolling) */
  .tc-sketch-card:hover, .tc-person-card:hover, .tc-cta:hover, .tc-tile:hover, .hover-card:hover, .btn-primary:hover { transform: none; }
  .tc-sketch-card:hover .tc-img img { transform: none; }

  /* Footer */
  .tc-footer { padding: 2rem 0 1.2rem; margin-top: 1.5rem; }
  .tc-footer .row > [class*="col-6"] ul { gap: .7rem !important; }
  .tc-footer .d-flex.gap-3 { flex-wrap: wrap; gap: .6rem 1rem !important; }

  /* Tables in panels scroll sideways instead of breaking the page */
  .tc-panel { overflow-x: auto; }
  .tc-page-head, .tc-dash-head { padding-top: .9rem; }
}
@supports (padding: env(safe-area-inset-bottom)) {
  .tc-footer { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); }
}

/* ---- Speed: skip rendering of off-screen homepage sections until needed ---- */
.tc-section { content-visibility: auto; contain-intrinsic-size: auto 420px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- v7: phone homepage = buttons first, small search under them ---- */
.tc-join.tc-join-travel { background: linear-gradient(120deg, #0d6efd 0%, #0a3d8f 100%); box-shadow: 0 6px 18px rgba(13, 110, 253, .3); }
.tc-msearch { margin-top: .9rem; background: linear-gradient(160deg, #16233a 0%, #123a7a 60%, #1d5fd1 100%); border-radius: 16px; padding: .9rem .9rem .75rem; color: #fff; width: calc(100% - 32px); }
.tc-msearch h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .55rem; }
.tc-msearch .tc-hero-search { max-width: none; padding: .3rem; }
.tc-msearch .tc-hero-search .form-control { padding: .45rem .8rem; font-size: 16px; min-height: 40px; }
.tc-msearch .tc-hero-search .btn { padding: 0; width: 44px; min-height: 40px; }
.tc-msearch-trust { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .55rem; font-size: .74rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.tc-msearch-trust i { color: #9ec5fe; margin-right: .3rem; }
@media (max-width: 767.98px) {
  .tc-safe-card { padding: .7rem .8rem; }
  .tc-safe-card span:not(.tc-safe-ic) { font-size: .82rem; }
}
/* Green top notice */
.tc-safepay { padding: .45rem 0; line-height: 1.3; }
@media (max-width: 767.98px) { .tc-safepay { font-size: .8rem; } .tc-safepay-ic { font-size: 1rem; } }

/* Desktop "Travel with us" card (same blue as the mobile button) */
.tc-cta.tc-cta-travel { background: linear-gradient(120deg, #0d6efd 0%, #0a3d8f 100%); box-shadow: 0 6px 18px rgba(13, 110, 253, .28); }
.tc-cta.tc-cta-travel:hover { box-shadow: 0 10px 24px rgba(13, 110, 253, .38); }

/* Desktop hero: two big join buttons side by side (same style as mobile) */
.tc-join-duo { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 680px; text-align: left; }
.tc-join-duo .tc-join { margin-bottom: 0; padding: 1rem 1.2rem; transition: transform .15s, box-shadow .15s; }
.tc-join-duo .tc-join:hover { transform: translateY(-2px); }
.tc-join-duo.tc-join-solo { grid-template-columns: 1fr; max-width: 340px; }

/* Guide profile: language checklist */
.tc-lang-box { max-height: 200px; overflow-y: auto; border: 1px solid #dee2e6; border-radius: 10px; padding: .5rem .75rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .15rem .75rem; background: #fff; }
.tc-lang-opt { font-size: .9rem; cursor: pointer; margin: 0; display: flex; align-items: center; gap: .4rem; }

/* Yellow "profile not complete" notice next to the panel button */
.tc-incomplete { align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: #fff3cd; color: #7a5800; border: 1px solid #ffd666; font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tc-incomplete:hover { background: #ffe8a1; color: #5c4300; }
.tc-incomplete i { color: #e0a100; }
.tc-incomplete-block { display: flex; white-space: normal; border-radius: 12px; padding: .65rem .85rem; margin-bottom: .6rem; font-weight: 400; line-height: 1.3; }
@keyframes tc-incomplete-flash {
  0%, 100% { background: #fff3cd; box-shadow: 0 0 0 0 rgba(255, 193, 7, .7); }
  50% { background: #ffd54f; box-shadow: 0 0 0 6px rgba(255, 193, 7, 0); }
}
.tc-incomplete { animation: tc-incomplete-flash 1.6s ease-in-out infinite; }
.tc-incomplete:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .tc-incomplete { animation-duration: 2.4s; } }

/* ---- What's on (events) ---- */
.tc-card-event { display: flex; align-items: center; gap: .35rem; margin: .1rem .55rem .5rem; padding: .25rem .5rem; border-radius: 8px; background: #fff7e6; color: #7a4b00; font-size: .74rem; line-height: 1.2; min-width: 0; }
.tc-card-event i { color: #e08a00; flex-shrink: 0; }
.tc-card-event .tc-ev-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.tc-card-event .tc-ev-date { flex-shrink: 0; opacity: .8; }
.tc-card-event .tc-ev-more { flex-shrink: 0; background: #ffe2a8; border-radius: 999px; padding: 0 .35rem; font-weight: 700; }
.tc-card-event.is-live { background: #e8f8ee; color: #146c3a; }
.tc-ev-live { display: inline-flex; align-items: center; gap: .25rem; flex-shrink: 0; background: #198754; color: #fff; border-radius: 999px; padding: .05rem .4rem; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.tc-ev-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: tc-ev-blink 1.2s infinite; }
@keyframes tc-ev-blink { 50% { opacity: .2; } }
.tc-event-card { display: flex; gap: .9rem; height: 100%; padding: .9rem; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.07); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tc-event-card.is-live { border-color: #9fdcb8; }
.tc-event-date { flex-shrink: 0; width: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .4rem 0; border-radius: 10px; background: #fff7e6; color: #7a4b00; }
.tc-event-date strong { font-size: 1.45rem; line-height: 1; }
.tc-event-date small { text-transform: uppercase; font-weight: 700; font-size: .72rem; }
.tc-event-body { min-width: 0; }
.tc-event-cat { font-size: .74rem; color: #8a6d3b; font-weight: 600; margin-bottom: .15rem; }
.tc-event-title { font-weight: 700; line-height: 1.25; margin-bottom: .2rem; }
.tc-event-where { font-size: .8rem; color: #6c757d; margin-bottom: .25rem; }
.tc-event-desc { font-size: .82rem; color: #555; margin-bottom: .3rem; }

/* Rotating "Countries with locals & places" grid */
.tc-rotate [data-rot] { transition: opacity .45s ease; }
.tc-rotate .tc-rot-hidden { display: none !important; }
.tc-rotate.is-fading [data-rot]:not(.tc-rot-hidden) { opacity: 0; }
.tc-rot-ctrl { display: flex; align-items: center; gap: .4rem; }
.tc-rot-ctrl button { border: 1px solid rgba(0,0,0,.12); background: #fff; border-radius: 999px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.tc-rot-dots { display: flex; gap: .3rem; }
.tc-rot-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.18); }
.tc-rot-dots span.on { background: var(--tc-sun, #ea580c); }
@media (prefers-reduced-motion: reduce) { .tc-rotate [data-rot] { transition: none; } }

/* ---- Guide / driver booking form: numbered steps ---- */
.tc-book .tc-step-title { display: flex; align-items: center; gap: .55rem; font-size: 1.08rem; font-weight: 700; margin-bottom: .9rem; }
.tc-book .tc-step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--tc-teal, #0d6efd); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.tc-book .tc-step .card { margin-bottom: .8rem !important; }
.tc-book .tc-date-row .form-control { max-width: 260px; }
.tc-date-status { margin-top: .45rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.tc-date-status.is-ok { color: #198754; }
.tc-date-status.is-bad { color: #dc3545; }
.tc-book .tc-qty { max-width: 190px; }
.tc-contract-box { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border: 2px solid var(--tc-line, #dee2e6); border-radius: 12px; background: #fff; cursor: pointer; font-size: .92rem; line-height: 1.4; margin-bottom: .8rem; }
.tc-contract-box:has(input:checked) { border-color: #198754; background: #f0faf4; }
.tc-contract-box input { width: 22px; height: 22px; flex-shrink: 0; margin-top: .1rem; accent-color: #198754; cursor: pointer; }
.tc-checklist { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .3rem; font-size: .88rem; color: #6c757d; }
.tc-checklist li i { width: 18px; margin-right: .35rem; }
.tc-checklist li.done { color: #198754; }
.tc-checklist.shake li:not(.done) { color: #dc3545; animation: tc-shake .4s; }
@keyframes tc-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
#submit-booking-btn.is-waiting { opacity: .55; }
@media (max-width: 991.98px) { .tc-book-side { margin-top: -.5rem; } }

/* Booking form: selected date shown the same way on every device */
.tc-date-pretty { display: flex; align-items: center; padding: .7rem .9rem; border-radius: 12px; border: 2px dashed var(--tc-line, #dee2e6); color: #6c757d; font-weight: 600; font-size: 1.02rem; }
.tc-date-pretty.is-set { border-style: solid; border-color: #198754; color: #14532d; background: #f0faf4; }
.tc-date-pretty.is-set.is-bad { border-color: #dc3545; color: #842029; background: #fff5f5; }
.tc-date-type summary { cursor: pointer; }
.tc-date-type .form-control { max-width: 240px; }
/* Booking calendar: comfortable tap targets on phones */
.tc-book [id^="calendar-grid-"] .btn { min-height: 44px; font-size: 1rem; }
@media (max-width: 575.98px) { .tc-book .tc-step { padding: 1rem !important; } .tc-book .card-header { flex-wrap: wrap; gap: .4rem; } }

/* Fixed booking bar on phones / tablets */
.tc-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
.tc-mbar-price strong { font-size: 1.25rem; }
.tc-mbar-price small { color: #6c757d; }
.tc-mbar-price span { display: block; font-size: .75rem; color: #6c757d; }
.tc-mbar .btn { white-space: nowrap; font-weight: 700; }
.tc-mbar-space { height: 80px; }

/* Tour gallery */
.tc-tour-gallery { position: relative; }
.tc-tour-slide { height: 420px; object-fit: cover; cursor: zoom-in; }
@media (max-width: 767.98px) { .tc-tour-slide { height: 260px; } }
.tc-tour-gallery .carousel-indicators { margin-bottom: .6rem; }
.tc-gal-count { position: absolute; right: 12px; top: 12px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: .15rem .6rem; font-size: .8rem; }
.tc-tour-thumbs { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
.tc-tour-thumbs button { flex: 0 0 auto; width: 92px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; opacity: .65; scroll-snap-align: center; transition: opacity .2s, border-color .2s; }
.tc-tour-thumbs button.active, .tc-tour-thumbs button:hover { opacity: 1; border-color: var(--tc-sun, #ea580c); }
.tc-tour-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tc-photo-full { max-height: 80vh; max-width: 100%; object-fit: contain; }

/* Calendar: month / year always readable, never wider than the screen */
.tc-cal { max-width: 100%; overflow: hidden; }
.tc-cal .tc-cal-ctrl select { width: auto; min-width: 76px; padding-right: 1.6rem; }
.tc-cal .tc-cal-ctrl select[id^="cal-year"] { min-width: 86px; }
.tc-cal [id^="calendar-grid-"] .btn { min-width: 0; }
/* Booking page on phones: full-width cards, no sideways sliding */
@media (max-width: 767.98px) {
  .tc-book { padding-left: 10px; padding-right: 10px; overflow-x: hidden; }
  .tc-book .row { --bs-gutter-x: 0; margin-left: 0; margin-right: 0; }
  .tc-book .row > * { padding-left: 0; padding-right: 0; }
  .tc-book .tc-panel { width: 100%; border-radius: 14px; }
  .tc-book .tc-cal-head { flex-direction: column; align-items: stretch !important; gap: .45rem; }
  .tc-book .tc-cal-ctrl { width: 100%; }
  .tc-book .tc-cal-ctrl select { flex: 1 1 0; min-width: 0; font-size: 1rem; padding-top: .3rem; padding-bottom: .3rem; }
  .tc-book .tc-cal-ctrl .btn { padding: .3rem .7rem; }
  .tc-book .tc-cal .card-body { padding: .6rem !important; }
  .tc-book [id^="calendar-grid-"] { gap: 3px !important; }
  .tc-book .tc-qty { max-width: 100%; flex: 1 1 auto; }
  .tc-book .btn-group label { font-size: .9rem; }
}
html, body { overflow-x: clip; }

/* ---- Provider panels: "Get started" steps ---- */
.tc-setup { background: #fff; border-radius: 20px; box-shadow: var(--tc-shadow, 0 4px 18px rgba(0,0,0,.06)); padding: 1.3rem 1.3rem 1rem; border: 2px solid #ffe2a8; }
.tc-setup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.tc-setup-head h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin: 0 0 .2rem; }
.tc-setup-count { text-align: center; line-height: 1; flex-shrink: 0; color: var(--tc-teal, #0d6efd); }
.tc-setup-count strong { font-size: 2rem; }
.tc-setup-count small { display: block; font-size: .72rem; color: #6c757d; margin-top: .2rem; }
.tc-setup-bar { height: 8px; border-radius: 999px; background: #eef1f4; margin: .9rem 0 1rem; overflow: hidden; }
.tc-setup-bar span { display: block; height: 100%; background: linear-gradient(90deg, #20c997, #198754); border-radius: 999px; transition: width .4s; }
.tc-setup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.tc-setup-step { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; border-radius: 14px; border: 1px solid #e9ecef; background: #fafbfc; }
.tc-setup-step.is-current { border: 2px solid var(--tc-teal, #0d6efd); background: #f3f8ff; }
.tc-setup-step.is-done { background: #f0faf4; border-color: #c9ead6; }
.tc-setup-step.is-optional { opacity: .9; }
.tc-setup-no { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #e9ecef; color: #495057; }
.tc-setup-step.is-current .tc-setup-no { background: var(--tc-teal, #0d6efd); color: #fff; }
.tc-setup-step.is-done .tc-setup-no { background: #198754; color: #fff; }
.tc-setup-txt { flex: 1; min-width: 0; }
.tc-setup-txt strong { display: block; font-size: 1rem; }
.tc-setup-txt span { display: block; font-size: .86rem; color: #6c757d; line-height: 1.35; }
.tc-setup-step.is-done .tc-setup-txt span { display: none; }
.tc-setup-btn { flex-shrink: 0; font-weight: 600; white-space: nowrap; }
.tc-setup-step.is-current .tc-setup-btn { padding: .55rem 1.1rem; }
@media (max-width: 575.98px) {
  .tc-setup { padding: 1rem .8rem .8rem; }
  .tc-setup-step { flex-wrap: wrap; }
  .tc-setup-txt { flex-basis: calc(100% - 50px); }
  .tc-setup-btn { width: 100%; margin-left: 46px; width: calc(100% - 46px); }
  .tc-setup-step.is-done .tc-setup-btn { width: auto; margin-left: auto; padding: .2rem .7rem; font-size: .85rem; }
}
.tc-setup-live { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .9rem 1.1rem; border-radius: 16px; background: #e8f7ee; border: 1px solid #b7e4c7; color: #14532d; }
.tc-setup-live > i { font-size: 1.6rem; color: #198754; }

/* Bigger, easier panel tabs */
.tc-tabs .nav-link { padding: .65rem 1.25rem; font-size: 1rem; font-weight: 600; }
@media (max-width: 575.98px) {
  .tc-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: .35rem; border-radius: 18px; width: 100%; }
  .tc-tabs .nav-link { width: 100%; padding: .75rem .5rem; }
  .tc-dash-head .btn { flex: 1 1 calc(50% - .5rem); }
}
.tc-agree-box { max-height: 340px; overflow-y: auto; border: 1px solid var(--tc-line, #dee2e6); border-radius: 12px; padding: .8rem 1rem; background: #fafbfc; }
.tc-agree-box h2 { font-size: .95rem !important; margin-top: .9rem !important; }

/* Driver car photos */
.tc-car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.tc-car-tile, .tc-car-slot { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.tc-car-tile img, .tc-car-slot img { width: 100%; height: 100%; object-fit: cover; }
.tc-car-tile.is-main { outline: 3px solid #198754; outline-offset: -3px; }
.tc-car-main { position: absolute; left: 6px; top: 6px; background: #198754; color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .1rem .45rem; }
.tc-car-actions { position: absolute; right: 5px; bottom: 5px; display: flex; gap: .25rem; }
.tc-car-actions .btn { padding: .15rem .4rem; }
.tc-car-slot { display: block; cursor: pointer; border: 2px dashed #adb5bd; background: #f8f9fa; margin: 0; }
.tc-car-slot:hover { border-color: var(--tc-teal, #0d6efd); }
.tc-car-slot.is-set { border-style: solid; border-color: #198754; }
.tc-car-slot-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #6c757d; gap: .2rem; }
.tc-car-slot-empty i { font-size: 1.3rem; }
/* Driver page: car photo strip */
.tc-car-strip { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 1.5rem 0; }
.tc-car-strip button { flex: 0 0 auto; width: 96px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; }
.tc-car-strip button:hover, .tc-car-strip button.active { border-color: var(--tc-sun, #ea580c); }
.tc-car-strip img { width: 100%; height: 100%; object-fit: cover; }

/* =================== Road cafés (form, detail, list) =================== */
.tc-h-num { display: inline-flex; width: 28px; height: 28px; border-radius: 9px; background: var(--tc-teal-soft); color: var(--tc-teal); align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; margin-right: .55rem; vertical-align: middle; font-family: var(--tc-font); }
.tc-menu-row { display: grid; grid-template-columns: 1fr 150px 42px; gap: .5rem; margin-bottom: .5rem; }
@media (max-width: 575.98px) { .tc-menu-row { grid-template-columns: 1fr 110px 38px; } }
.tc-checklist { list-style: none; padding: 0; }
.tc-checklist li { padding: .35rem 0 .35rem 1.8rem; position: relative; color: var(--tc-muted); }
.tc-checklist li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tc-line); }
.tc-checklist li.done { color: var(--tc-ink); }
.tc-checklist li.done::before { background: var(--tc-teal); border-color: var(--tc-teal); box-shadow: inset 0 0 0 3px #fff; }
.tc-photo-prev { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-photo-prev img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.tc-cafe-cover-prev { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; display: block; }
.tc-photo-card { position: relative; border-radius: 12px; overflow: hidden; background: var(--tc-paper-deep); aspect-ratio: 4 / 3; }
.tc-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.tc-photo-badge { position: absolute; left: 8px; top: 8px; }
.tc-photo-del { position: absolute; right: 8px; top: 8px; border-radius: 50%; width: 32px; height: 32px; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

.tc-cafe-facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.tc-cafe-fact { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--tc-line); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; color: var(--tc-ink-soft); }
.tc-cafe-fact i { color: var(--tc-teal); }
.tc-mosaic img { cursor: zoom-in; }
.tc-cafe-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tc-cafe-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: filter .2s; }
.tc-cafe-gallery img:hover { filter: brightness(1.07); }
@media (max-width: 575.98px) { .tc-cafe-gallery { grid-template-columns: repeat(3, 1fr); } }
.tc-mosaic-more { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.tc-menu-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
@media (max-width: 767.98px) { .tc-menu-grid { grid-template-columns: 1fr; } }
.tc-cafe-card .tc-img img { transition: transform .4s ease; }
.tc-cafe-card:hover .tc-img img { transform: scale(1.05); }
.tc-cafe-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: rgba(var(--sec-rgb), .55); background: linear-gradient(135deg, var(--tc-teal-soft), #fff); }
.tc-mobile-cta { display: none; }
@media (max-width: 991.98px) {
  .tc-mobile-cta { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.1); }
  .tc-mobile-cta .btn { flex: 1; }
  .tc-has-mobile-cta { padding-bottom: 76px; }
}
.tc-star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.tc-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.tc-star-input label { font-size: 1.6rem; color: var(--tc-line); cursor: pointer; transition: color .1s, transform .1s; }
.tc-star-input label:hover, .tc-star-input label:hover ~ label, .tc-star-input input:checked ~ label { color: var(--tc-sun); }
.tc-star-input label:hover { transform: scale(1.12); }
.tc-star-input input:focus-visible + label { outline: 2px solid var(--tc-teal); border-radius: 4px; }

/* ---------- Country ambassadors ('Represent your country' contributors) ---------- */
.tc-amb-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 991.98px) { .tc-amb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .tc-amb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.tc-amb-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; height: 100%;
  background: #fff; border-radius: var(--tc-radius); padding: 1rem .6rem .9rem; box-shadow: var(--tc-shadow);
  color: var(--tc-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.tc-amb-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-lg); color: var(--tc-ink); }
.tc-amb-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: .45rem;
  border: 3px solid #fff; box-shadow: 0 0 0 2px #2f9e44; background: var(--tc-paper-deep); }
.tc-amb-initial { display: inline-flex; align-items: center; justify-content: center; background: #e6f6e9; color: #2f9e44;
  font-family: var(--tc-font-head); font-size: 2rem; font-weight: 700; }
.tc-amb-name { font-weight: 700; font-size: .95rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-amb-where { font-size: .78rem; color: #2f9e44; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-amb-stats { font-size: .75rem; color: var(--tc-muted); }
.tc-amb-hero-photo { width: 120px; height: 120px; font-size: 3rem; }
.tc-amb-credit { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--tc-ink-soft); text-decoration: none; }
.tc-amb-credit img, .tc-amb-credit .tc-amb-initial { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; font-size: .8rem; box-shadow: none; border: 0; margin: 0; }
.tc-amb-photo[hidden] { display: none !important; }
/* One-line rows (front page: top sights, ambassadors): never wrap, scroll sideways */
.tc-line { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; scrollbar-width: thin; }
.tc-line > * { scroll-snap-align: start; }
@media (max-width: 991.98px) { .tc-line { grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; } }
@media (max-width: 575.98px) { .tc-line { grid-auto-columns: 42%; gap: 10px; } }
.tc-amb-role { display: inline-block; font-size: .7rem; font-weight: 700; color: #fff; background: #2f9e44; border-radius: 999px; padding: .08rem .5rem; }
.tc-amb-place .tc-amb-remark { display: block; font-size: .78rem; color: var(--tc-muted); text-decoration: none; padding: .1rem .3rem .25rem;
  margin-top: .15rem; border-top: 1px dashed var(--tc-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-amb-place .tc-amb-remark strong { color: #2f9e44; }
.tc-amb-place .tc-amb-remark:hover strong { text-decoration: underline; }

/* ===== Guide & driver cards v2: colour cover, bigger avatar, "Licensed" badge ===== */
.tc-pcard { position: relative; padding: 0; overflow: hidden; border: 1px solid rgba(var(--sec-rgb), .14);
  box-shadow: 0 2px 6px rgba(27, 35, 48, .06), 0 10px 26px rgba(var(--sec-rgb), .10); }
.tc-pcard:hover { border-color: rgba(var(--sec-rgb), .45); box-shadow: 0 14px 36px rgba(var(--sec-rgb), .22); }
.tc-pcard-cover { position: relative; height: 74px; flex: 0 0 auto;
  background:
    radial-gradient(circle at 85% -20%, rgba(255, 255, 255, .35) 0 38%, transparent 39%),
    radial-gradient(circle at 10% 130%, rgba(255, 255, 255, .18) 0 30%, transparent 31%),
    linear-gradient(135deg, var(--tc-teal-dark), var(--tc-teal)); }
.tc-pcard-body { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; padding: 0 1.15rem 1.1rem; margin-top: -42px; }
.tc-pcard-avatar { position: relative; width: max-content; margin-bottom: .55rem; }
.tc-pcard .tc-person-img, .tc-dcard .tc-person-img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: block;
  border: 4px solid #fff; background: var(--tc-paper-deep); box-shadow: 0 4px 14px rgba(27, 35, 48, .18); transition: transform .25s ease; }
.tc-pcard:hover .tc-person-img { transform: scale(1.05); }
.tc-pcard-name { font-family: var(--tc-font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--tc-ink); }
.tc-pcard .tc-chip, .tc-dcard .tc-chip { background: var(--tc-teal-soft); border-color: transparent; color: var(--tc-teal-dark); font-weight: 600; }
.tc-pcard .tc-chip i { opacity: .8; }
.tc-pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding-top: .75rem; border-top: 1px dashed rgba(var(--sec-rgb), .3); }
.tc-pcard-foot .tc-price, .tc-dcard .tc-price { font-weight: 800; color: var(--tc-teal-dark); font-size: 1.2rem; }
.tc-pcard-foot .tc-price small, .tc-dcard .tc-price small { font-weight: 500; color: var(--tc-muted); font-size: .78rem; }
.tc-new-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--tc-teal-dark); background: var(--tc-teal-soft); border-radius: 999px; padding: .08rem .5rem; }
.tc-role-tag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700;
  color: #fff; background: rgba(0, 0, 0, .22); backdrop-filter: blur(2px); border-radius: 999px; padding: .18rem .55rem; }

/* Licensed badge (guides + drivers) */
.tc-lic-badge { position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .01em; color: #146c43; background: #fff;
  border-radius: 999px; padding: .22rem .6rem .22rem .5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.tc-lic-badge i { color: #198754; }
.tc-lic-dot { position: absolute; right: 2px; bottom: 4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #198754; color: #fff; font-size: .7rem; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }

/* Driver list card (car photo on top) */
.tc-dcard { border: 1px solid rgba(var(--sec-rgb), .18); box-shadow: 0 2px 6px rgba(27, 35, 48, .06), 0 10px 26px rgba(var(--sec-rgb), .12); display: flex; flex-direction: column; }
.tc-dcard:hover { border-color: rgba(var(--sec-rgb), .5); }
.tc-dcard-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 0 .5rem .45rem; }
.tc-dcard-avatar { margin: -30px 0 0; flex: 0 0 auto; }
.tc-dcard .tc-person-img { width: 64px; height: 64px; border-width: 3px; }
.tc-dcard .tc-lic-dot { width: 20px; height: 20px; font-size: .6rem; border-width: 2px; right: 0; bottom: 2px; }
.tc-dcard .tc-pcard-name { font-size: 1.02rem; }
.tc-dcard .tc-pcard-foot { margin-top: auto; }
@media (max-width: 575.98px) {
  .tc-pcard .tc-person-img { width: 72px; height: 72px; }
  .tc-pcard-body { margin-top: -38px; padding: 0 1rem 1rem; }
}
.tc-pcard-foot .btn { white-space: nowrap; flex: 0 0 auto; }
.tc-dcard .tc-price { line-height: 1.15; }
.tc-dcard .tc-price small { display: block; margin-top: .1rem; }
/* Licensed pill + note on guide / driver detail pages */
.tc-lic-pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: #146c43;
  background: #e3f3ea; border: 1px solid #b7e0c8; border-radius: 999px; padding: .25rem .75rem .25rem .6rem; }
.tc-lic-pill i { color: #198754; }
.tc-lic-note { display: flex; align-items: center; gap: .85rem; text-align: left; background: linear-gradient(90deg, #e9f7ef, #f6fcf8);
  border: 1px solid #b7e0c8; border-left: 4px solid #198754; border-radius: var(--tc-radius-sm); padding: .8rem 1rem; color: #1f4d36; }
.tc-lic-note > i { font-size: 1.5rem; color: #198754; flex: 0 0 auto; }
.tc-lic-note strong { color: #146c43; }
/* Stays page: "Own a hotel? List it free" link next to the yellow example button */
.tc-host-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; text-decoration: none;
  color: #146c43; background: #e3f3ea; border: 2px solid #198754; border-radius: 12px; padding: .5rem 1rem; transition: background .15s, transform .12s; }
.tc-host-link:hover { background: #cfeadb; color: #0f5132; transform: translateY(-1px); }
/* Guides page: compact guide card (photo beside the name, thin colour band) */
.tc-pcard-compact .tc-pcard-cover { height: 40px; }
.tc-pcard-compact .tc-lic-badge { top: 7px; right: 8px; font-size: .68rem; padding: .16rem .5rem .16rem .42rem; }
.tc-pcard-compact .tc-pcard-body { margin-top: -26px; padding: 0 .95rem .85rem; }
.tc-pcard-head { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .5rem; }
.tc-pcard-head > .min-w-0 { padding-top: 30px; }
.tc-pcard-compact .tc-pcard-avatar { margin-bottom: 0; flex: 0 0 auto; }
.tc-pcard-compact .tc-person-img { width: 64px; height: 64px; border-width: 3px; }
.tc-pcard-compact .tc-lic-dot { width: 20px; height: 20px; font-size: .6rem; border-width: 2px; right: 0; bottom: 2px; }
.tc-pcard-compact .tc-pcard-name { font-size: 1.02rem; }
.tc-pcard-compact .tc-pcard-bio { min-height: 2.6em; line-height: 1.3; }
.tc-pcard-compact .tc-chip { font-size: .72rem; padding: .1rem .5rem; }
.tc-pcard-compact .tc-pcard-foot { padding-top: .55rem; }
.tc-pcard-compact .tc-pcard-foot .tc-price { font-size: 1.08rem; }
@media (max-width: 575.98px) { .tc-pcard-compact .tc-person-img { width: 60px; height: 60px; } .tc-pcard-compact .tc-pcard-body { margin-top: -24px; padding: 0 .95rem .85rem; } }
/* Hotel star rating */
.tc-hotel-stars { color: #f5b700; white-space: nowrap; letter-spacing: 1px; }
.tc-hotel-stars i { font-size: .8em; }
