/* ==========================================================================
   Components – buttons, header, footer, cards, widgets
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; transition: all .2s var(--tc-ease); }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: .42rem .8rem; font-size: .85rem; border-radius: 10px; }
.tc-btn-primary { background: var(--tc-blue); color: #fff; border: 1px solid var(--tc-blue); box-shadow: 0 6px 16px rgba(11, 99, 229, .25); }
.tc-btn-primary:hover, .tc-btn-primary:focus { background: var(--tc-blue-600); border-color: var(--tc-blue-600); color: #fff; transform: translateY(-1px); }
.tc-btn-outline { background: #fff; color: var(--tc-blue); border: 1.5px solid var(--tc-blue-100); }
.tc-btn-outline:hover { border-color: var(--tc-blue); color: var(--tc-blue); background: var(--tc-blue-50); }
.tc-btn-soft { background: var(--tc-blue-50); color: var(--tc-blue); border: 1px solid transparent; }
.tc-btn-soft:hover { background: var(--tc-blue-100); color: var(--tc-blue-600); }
.tc-btn-light { background: #fff; color: var(--tc-navy); border: 1px solid #fff; }
.tc-btn-light:hover { background: var(--tc-blue-50); color: var(--tc-navy); transform: translateY(-1px); }
.tc-btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.tc-btn-glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.tc-btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.tc-btn-whatsapp { background: var(--tc-whatsapp); color: #fff; border: 1px solid var(--tc-whatsapp); }
.tc-btn-whatsapp:hover { background: #178a45; color: #fff; }
.tc-btn-youtube { background: #ff0033; color: #fff; }
.tc-btn-youtube:hover { background: #d9002b; color: #fff; }
.tc-btn-call { background: var(--tc-green); color: #fff; border: 1px solid var(--tc-green); }
.tc-btn-call:hover { background: #12833c; color: #fff; }
.tc-link-btn { background: none; border: 0; padding: 0; color: var(--tc-blue); font-weight: 600; text-align: left; }
.tc-link-btn:hover { color: var(--tc-blue-600); }
.tc-link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; white-space: nowrap; }
.tc-link-arrow i { transition: transform .2s; }
.tc-link-arrow:hover i { transform: translateX(3px); }
.tc-icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--tc-line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--tc-navy); transition: all .2s;
}
.tc-icon-btn:hover { background: var(--tc-blue-50); color: var(--tc-blue); border-color: var(--tc-blue-100); }

/* ---------- Logo ---------- */
.tc-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--tc-navy); flex-shrink: 0; }
.tc-logo:hover { color: var(--tc-navy); }
.tc-logo__mark { width: 40px; height: 40px; flex-shrink: 0; }
.tc-logo__mark-bg { fill: var(--tc-blue); }
.tc-logo__wave { stroke: var(--tc-saffron); }
.tc-logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--tc-font-display); }
.tc-logo__word { display: flex; gap: .3rem; font-weight: 800; font-size: 1.32rem; letter-spacing: .03em; }
.tc-logo__name { color: var(--tc-brand-green); }
.tc-logo__city { color: var(--tc-brand-red); }
.tc-logo__sub { font-family: var(--tc-font-body); font-size: .64rem; font-weight: 600; color: var(--tc-muted); letter-spacing: .04em; margin-top: 3px; }
.tc-logo__badge { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 3px 4px; border-radius: 12px; background: #fff; flex-shrink: 0; }
.tc-logo__mark-img { height: 100%; width: auto; display: block; }
.tc-logo--light, .tc-logo--light:hover { color: #fff; }
.tc-logo--light .tc-logo__name { color: #3ddc68; }
.tc-logo--light .tc-logo__city { color: #ff5a6a; }
.tc-logo--light .tc-logo__sub { color: rgba(255, 255, 255, .6); }
.tc-logo__full { width: 100%; max-width: 260px; height: auto; border-radius: var(--tc-radius); background: #fff; }
@media (max-width: 359.98px) { .tc-logo__sub { display: none; } .tc-logo__word { font-size: 1.15rem; } }

/* ---------- Header ---------- */
.tc-header { position: sticky; top: 0; z-index: 1030; }
.tc-topbar { background: var(--tc-navy); color: rgba(255, 255, 255, .8); font-size: .8rem; padding: 6px 0; }
.tc-topbar__item i { color: #8fb9ff; margin-right: 4px; }
.tc-topbar__tagline { font-family: var(--tc-font-display); letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; color: #ffd3a8; }
.tc-navbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--tc-line); transition: box-shadow .25s; }
.tc-header.is-scrolled .tc-navbar { box-shadow: 0 8px 30px rgba(11, 31, 58, .08); }
.tc-navbar__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--tc-header-h); }
.tc-navbar__actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.tc-nav { align-items: center; gap: .1rem; margin-left: auto; }
.tc-nav__link {
  position: relative; padding: .55rem .6rem; border-radius: 10px; font-weight: 600; font-size: .92rem;
  color: var(--tc-navy); background: none; border: 0; white-space: nowrap;
}
.tc-nav__link:hover { color: var(--tc-blue); background: var(--tc-blue-50); }
.tc-nav__link.active { color: var(--tc-blue); }
.tc-nav__link.active::after { content: ''; position: absolute; left: .6rem; right: .6rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--tc-saffron); }
.tc-nav + .tc-navbar__actions { margin-left: .5rem; }
@media (min-width: 1200px) { .tc-nav__link { padding: .55rem .8rem; font-size: .95rem; } .tc-nav { gap: .2rem; } }
.tc-dropdown { border: 1px solid var(--tc-line); border-radius: 14px; box-shadow: var(--tc-shadow-lg); padding: .5rem; min-width: 240px; }
.tc-dropdown .dropdown-item { border-radius: 8px; padding: .55rem .75rem; font-weight: 500; display: flex; gap: .6rem; align-items: center; }
.tc-dropdown .dropdown-item i { color: var(--tc-blue); }
.tc-dropdown .dropdown-item:hover { background: var(--tc-blue-50); color: var(--tc-blue); }

.tc-search-panel { border-top: 1px solid var(--tc-line); padding: 14px 0 18px; background: #fff; animation: tc-drop .25s var(--tc-ease); }
@keyframes tc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.tc-offcanvas { width: min(88vw, 360px) !important; }
.tc-offcanvas .offcanvas-header { border-bottom: 1px solid var(--tc-line); }
.tc-offcanvas__heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tc-muted); font-weight: 700; margin: 1rem 0 .4rem; }
.tc-offcanvas__link { display: flex; gap: .8rem; align-items: center; padding: .7rem .75rem; border-radius: 12px; color: var(--tc-navy); font-weight: 600; }
.tc-offcanvas__link i { font-size: 1.15rem; color: var(--tc-blue); width: 22px; }
.tc-offcanvas__link:hover, .tc-offcanvas__link.active { background: var(--tc-blue-50); color: var(--tc-blue); }
.tc-offcanvas__footer { border-top: 1px solid var(--tc-line); margin-top: 1rem; padding-top: 1rem; }

/* ---------- Search box ---------- */
.tc-search { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--tc-line); border-radius: 16px; padding: 6px 6px 6px 46px; transition: border-color .2s, box-shadow .2s; }
.tc-search:focus-within { border-color: var(--tc-blue); box-shadow: 0 0 0 4px rgba(11, 99, 229, .12); }
.tc-search__icon { position: absolute; left: 17px; color: var(--tc-muted); font-size: 1.05rem; }
.tc-search__input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: 1rem; padding: .55rem 0; background: transparent; }
.tc-search__input::-webkit-search-cancel-button { cursor: pointer; }
.tc-search__btn { border: 0; background: var(--tc-blue); color: #fff; font-weight: 600; border-radius: 12px; padding: .6rem 1.1rem; min-height: 44px; min-width: 44px; }
.tc-search__btn:hover { background: var(--tc-blue-600); }
.tc-search--hero { border: 0; box-shadow: var(--tc-shadow-lg); padding: 8px 8px 8px 50px; border-radius: 18px; }
.tc-search--hero .tc-search__input { font-size: 1.05rem; padding: .7rem 0; }
.tc-search--hero .tc-search__btn { padding: .75rem 1.5rem; border-radius: 14px; }
.tc-search__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50; background: #fff; border-radius: 16px;
  box-shadow: var(--tc-shadow-lg); border: 1px solid var(--tc-line); padding: .6rem; text-align: left; color: var(--tc-text);
}
.tc-search__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--tc-muted); margin: .3rem .5rem .5rem; }
.tc-search__suggestion { display: flex; gap: .75rem; align-items: center; width: 100%; border: 0; background: none; padding: .5rem; border-radius: 10px; text-align: left; }
.tc-search__suggestion:hover { background: var(--tc-blue-50); }
.tc-search__type { width: 36px; height: 36px; border-radius: 10px; background: var(--tc-blue-50); color: var(--tc-blue); display: grid; place-items: center; flex-shrink: 0; }
.tc-search__text { display: flex; flex-direction: column; min-width: 0; }
.tc-search__text strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-search__text small { color: var(--tc-muted); }
.tc-search__all { width: 100%; border: 0; background: var(--tc-bg); border-radius: 10px; padding: .6rem; font-weight: 600; color: var(--tc-blue); margin-top: .35rem; }
.tc-search__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .4rem .4rem; }

/* ---------- Chips & tags ---------- */
.tc-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tc-chip-row--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.tc-chip-row--scroll::-webkit-scrollbar { display: none; }
.tc-chip {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .5rem .95rem; min-height: 40px;
  border-radius: 999px; border: 1px solid var(--tc-line); background: #fff; color: var(--tc-navy); font-weight: 600; font-size: .88rem; transition: all .2s;
}
.tc-chip:hover { border-color: var(--tc-blue); color: var(--tc-blue); }
.tc-chip.active { background: var(--tc-navy); border-color: var(--tc-navy); color: #fff; }
.tc-chip small { background: rgba(11, 31, 58, .08); border-radius: 999px; padding: 0 .45rem; font-size: .72rem; }
.tc-chip.active small { background: rgba(255, 255, 255, .2); }
.tc-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tc-tag { background: var(--tc-blue-50); color: var(--tc-blue); border-radius: 8px; padding: .25rem .6rem; font-size: .82rem; font-weight: 600; }
.tc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); display: inline-block; }

/* ---------- Badges ---------- */
.tc-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--tone, var(--tc-blue)); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.tc-badge--static { position: static; display: inline-block; box-shadow: none; }
.tc-badge-text { display: inline-block; color: var(--tone, var(--tc-blue)); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tc-badge-text--light { color: #ffd3a8; }

/* ---------- Section header ---------- */
.tc-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.tc-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tc-saffron); margin-bottom: .45rem; }
.tc-eyebrow--light { color: #ffd3a8; }
.tc-section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; margin: 0; line-height: 1.12; }
.tc-section-subtitle { color: var(--tc-muted); margin: .6rem 0 0; max-width: 640px; font-size: 1.02rem; }
.tc-section-header--light .tc-section-title { color: #fff; }
.tc-section-header--light .tc-section-subtitle { color: rgba(255, 255, 255, .72); }
.tc-section-header--light .tc-eyebrow { color: #ffd3a8; }
.tc-section-header--light .tc-link-arrow { color: #fff; }
.tc-subheading { font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
@media (max-width: 575.98px) {
  .tc-section-header { flex-direction: column; align-items: flex-start; margin-bottom: 1.25rem; }
}

/* ---------- Cards (shared) ---------- */
.tc-card {
  position: relative; display: flex; flex-direction: column; height: 100%; background: var(--tc-surface);
  border-radius: var(--tc-radius); box-shadow: var(--tc-shadow-sm); border: 1px solid rgba(227, 233, 242, .7);
  overflow: hidden; transition: transform .3s var(--tc-ease), box-shadow .3s var(--tc-ease);
}
.tc-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-lg); }
.tc-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8eef7; }
.tc-card__media--tall { aspect-ratio: 4 / 3.4; }
.tc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tc-card:hover .tc-card__media img.is-loaded { transform: scale(1.05); }
.tc-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.tc-card__title { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin: .35rem 0 .5rem; }
.tc-card__title a { color: var(--tc-text); }
.tc-card__title a:hover { color: var(--tc-blue); }
.tc-card__text { color: var(--tc-muted); font-size: .93rem; margin-bottom: .8rem; }
.tc-card__sub { color: var(--tc-muted); font-size: .88rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .4rem; }
.tc-card__sub i { color: var(--tc-blue); }
.tc-card__more { margin-top: auto; font-weight: 600; color: var(--tc-blue); font-size: .92rem; display: inline-flex; gap: .35rem; align-items: center; }
.tc-card:hover .tc-card__more i { transform: translateX(3px); }
.tc-card__more i { transition: transform .2s; }
.tc-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .8rem; }
.tc-meta { color: var(--tc-muted); font-size: .82rem; display: inline-flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.tc-meta i { margin-right: 2px; }

/* News */
.tc-news-card--lead { display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) {
  .tc-news-card--lead { grid-template-columns: 1.35fr 1fr; }
  .tc-news-card--lead .tc-card__media { aspect-ratio: auto; min-height: 360px; }
  .tc-news-card--lead .tc-card__body { padding: 2rem 2.2rem; justify-content: center; }
  .tc-news-card--lead .tc-card__title { font-size: 1.8rem; }
  .tc-news-card--lead .tc-card__text { font-size: 1.02rem; }
  .tc-news-card--lead .tc-card__more { margin-top: .5rem; }
}
.tc-news-compact { display: flex; gap: .85rem; padding: .75rem 0; border-bottom: 1px solid var(--tc-line); }
.tc-news-compact:last-child { border-bottom: 0; }
.tc-news-compact__media { flex-shrink: 0; width: 88px; height: 70px; border-radius: 12px; overflow: hidden; background: #e8eef7; }
.tc-news-compact__media img { width: 100%; height: 100%; object-fit: cover; }
.tc-news-compact__title { font-size: .95rem; font-weight: 600; line-height: 1.3; margin: .15rem 0 .25rem; font-family: var(--tc-font-body); }
.tc-news-compact__title a { color: var(--tc-text); }
.tc-news-compact__title a:hover { color: var(--tc-blue); }

/* Business / restaurant */
.tc-business-card .tc-card__title { margin-top: 0; }
.tc-rating-pill { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: #fff; color: var(--tc-navy); border-radius: 999px; font-weight: 700; font-size: .82rem; padding: .25rem .6rem; box-shadow: var(--tc-shadow); }
.tc-rating-pill i { color: #f59e0b; }
.tc-verified { color: var(--tc-blue); font-size: 1.05rem; }
.tc-status { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 600; margin-bottom: .35rem; }
.tc-status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.tc-status--open { color: var(--tc-green); }
.tc-status--soon { color: #d97706; }
.tc-status--closed { color: var(--tc-rose); }

/* Place */
.tc-distance { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(11, 31, 58, .78); color: #fff; font-size: .78rem; font-weight: 600; padding: .3rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); }

/* Event */
.tc-date-tile {
  position: absolute; right: 14px; top: 14px; z-index: 2; background: #fff; border-radius: 14px; text-align: center; min-width: 58px;
  padding: .35rem .5rem .45rem; font-size: .72rem; font-weight: 700; color: var(--tc-saffron); letter-spacing: .08em; box-shadow: var(--tc-shadow);
  display: flex; flex-direction: column; line-height: 1.1;
}
.tc-date-tile strong { font-family: var(--tc-font-display); font-size: 1.55rem; color: var(--tc-navy); letter-spacing: 0; }
.tc-date-tile--lg { position: static; display: inline-flex; min-width: 76px; margin-bottom: 1rem; border: 1px solid var(--tc-line); }
.tc-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.tc-facts li { display: flex; gap: .55rem; font-size: .88rem; color: var(--tc-muted); }
.tc-facts i { color: var(--tc-blue); }

/* Job */
.tc-job-card { padding: 1.25rem; gap: 1rem; }
.tc-job-card.is-highlighted { outline: 3px solid var(--tc-saffron); }
.tc-job-card__head { display: flex; gap: .9rem; align-items: flex-start; }
.tc-avatar {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--tone-bg, var(--tc-blue-50)); color: var(--tone, var(--tc-blue)); font-family: var(--tc-font-display); font-weight: 800; font-size: 1.3rem;
}
.tc-avatar--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
.tc-job-card__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tc-job-card__chips li { background: var(--tc-bg); border-radius: 8px; padding: .3rem .6rem; font-size: .82rem; color: var(--tc-navy); display: inline-flex; gap: .35rem; align-items: center; }
.tc-job-card__chips i { color: var(--tc-blue); }
.tc-job-card__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; border-top: 1px dashed var(--tc-line); padding-top: .9rem; }

/* Video */
.tc-video-card { color: inherit; }
.tc-video-card__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--tc-radius); overflow: hidden; background: #0e2240; }
.tc-video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tc-video-card__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); }
.tc-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255, 0, 51, .92); color: #fff; font-size: 2rem; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255, 0, 51, .35);
  transition: transform .25s var(--tc-ease);
}
.tc-play i { margin-left: 4px; }
.tc-video-card__thumb:hover .tc-play { transform: scale(1.1); }
.tc-video-card__thumb:hover img.is-loaded { transform: scale(1.04); }
.tc-duration { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: rgba(0, 0, 0, .75); color: #fff; font-size: .75rem; font-weight: 600; padding: .15rem .45rem; border-radius: 6px; }
.tc-video-card__body { padding: .85rem .15rem 0; }
.tc-video-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: .25rem 0 .35rem; }
.tc-video-card__title .tc-link-btn { color: inherit; font-weight: inherit; }
.tc-section--dark .tc-video-card__title .tc-link-btn:hover { color: #9cc3ff; }
.tc-section--dark .tc-meta { color: rgba(255, 255, 255, .6); }

/* Category card */
.tc-category-card {
  position: relative; display: block; aspect-ratio: 1 / 1.05; border-radius: var(--tc-radius); overflow: hidden; color: #fff; background: var(--tc-navy);
  box-shadow: var(--tc-shadow-sm); isolation: isolate; transition: transform .3s var(--tc-ease), box-shadow .3s;
}
@media (min-width: 768px) { .tc-category-card { aspect-ratio: 4 / 3.3; } }
.tc-category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tc-category-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 31, 58, .05) 20%, rgba(11, 31, 58, .88) 100%); }
.tc-category-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-lg); color: #fff; }
.tc-category-card:hover img.is-loaded { transform: scale(1.07); }
.tc-category-card__icon {
  position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--tone); font-size: 1.25rem; box-shadow: var(--tc-shadow);
}
.tc-category-card__body { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; }
.tc-category-card__name { font-family: var(--tc-font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
.tc-category-card__count { font-size: .8rem; color: rgba(255, 255, 255, .78); margin-top: .15rem; }
.tc-category-card__arrow { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.tc-category-card:hover .tc-category-card__arrow { opacity: 1; }
@media (min-width: 992px) { .tc-category-card__name { font-size: 1.22rem; } }

/* Directory tiles */
.tc-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 576px) { .tc-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .tc-directory-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .tc-directory-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tc-directory-tile {
  display: flex; align-items: center; gap: .7rem; padding: .75rem .85rem; min-height: 60px; border-radius: 14px; background: #fff;
  border: 1px solid var(--tc-line); color: var(--tc-navy); font-weight: 600; font-size: .9rem; transition: all .2s var(--tc-ease); min-width: 0; overflow-wrap: anywhere;
}
.tc-directory-tile:hover { border-color: var(--tc-blue-100); box-shadow: var(--tc-shadow); color: var(--tc-blue); transform: translateY(-2px); }
.tc-directory-tile__icon { width: 38px; height: 38px; border-radius: 11px; background: var(--tone-bg); color: var(--tone); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }

/* Contact card */
.tc-contact-card { display: flex; align-items: center; gap: .9rem; height: 100%; background: #fff; border-radius: var(--tc-radius); padding: 1rem; border: 1px solid var(--tc-line); box-shadow: var(--tc-shadow-sm); }
.tc-contact-card--urgent { border-left: 4px solid var(--tc-rose); }
.tc-contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tone-bg); color: var(--tone); font-size: 1.35rem; flex-shrink: 0; }
.tc-contact-card__body { flex: 1; min-width: 0; }
.tc-contact-card__name { font-size: 1rem; font-weight: 700; margin: 0; font-family: var(--tc-font-body); }
.tc-contact-card__desc { font-size: .8rem; color: var(--tc-muted); margin: .1rem 0 .15rem; line-height: 1.35; }
.tc-contact-card__phone { font-family: var(--tc-font-display); font-weight: 800; font-size: 1.35rem; color: var(--tc-navy); margin: 0; letter-spacing: .02em; }
.tc-contact-card__address { font-size: .82rem; color: var(--tc-muted); margin: 0; }
.tc-contact-card .btn { flex-shrink: 0; min-height: 44px; }
@media (max-width: 399.98px) { .tc-contact-card { flex-wrap: wrap; } .tc-contact-card .btn { width: 100%; } }

/* ---------- Ticker ---------- */
.tc-ticker { background: var(--tc-navy); color: #fff; border-bottom: 3px solid var(--tc-saffron); }
.tc-ticker__inner { display: flex; align-items: center; gap: 1rem; min-height: 52px; }
.tc-ticker__label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .55rem; background: var(--tc-saffron); color: var(--tc-navy);
  font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 8px;
}
.tc-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--tc-rose); box-shadow: 0 0 0 0 rgba(225, 29, 72, .6); animation: tc-pulse 1.6s infinite; }
@keyframes tc-pulse { 70% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); } }
.tc-ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tc-ticker__track { display: inline-flex; white-space: nowrap; animation: tc-marquee linear infinite; }
.tc-ticker__track:hover, .tc-ticker__track:focus-within { animation-play-state: paused; }
@keyframes tc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tc-ticker__item { color: #fff; padding: 0 2rem 0 0; font-weight: 500; font-size: .93rem; display: inline-flex; align-items: center; gap: .6rem; }
.tc-ticker__item:hover { color: #ffd3a8; }
.tc-ticker__tag { color: #8fb9ff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tc-ticker__item::after { content: '•'; color: var(--tc-saffron); margin-left: 2rem; }
@media (max-width: 575.98px) { .tc-ticker__label { padding: .4rem .5rem; font-size: 0; gap: 0; } .tc-ticker__label::after { content: 'Update'; font-size: .7rem; margin-left: .4rem; } }
@media (prefers-reduced-motion: reduce) { .tc-ticker__viewport { overflow-x: auto; } }

/* ---------- Weather ---------- */
.tc-weather {
  border-radius: var(--tc-radius-lg); padding: 1.4rem; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 10%, rgba(255, 196, 120, .45), transparent 40%), linear-gradient(145deg, #0b63e5, #0b1f3a);
  box-shadow: var(--tc-shadow-lg);
}
.tc-weather__head { display: flex; justify-content: space-between; align-items: flex-start; }
.tc-weather__place { font-weight: 700; margin: 0; font-size: 1.05rem; }
.tc-weather__date { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.tc-weather__live { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: rgba(255, 255, 255, .16); padding: .25rem .55rem; border-radius: 999px; }
.tc-weather__now { display: flex; align-items: center; gap: 1rem; margin: 1.1rem 0; }
.tc-weather__icon { font-size: 3.6rem; color: #ffd08a; line-height: 1; }
.tc-weather__temp { font-family: var(--tc-font-display); font-size: 3.4rem; font-weight: 800; margin: 0; line-height: 1; }
.tc-weather__temp sup { font-size: 1.3rem; top: -1.5em; }
.tc-weather__condition { margin: .2rem 0 0; font-weight: 600; color: rgba(255, 255, 255, .88); }
.tc-weather__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.tc-weather__stats > div { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: .6rem; }
.tc-weather__stats dt { font-size: .7rem; font-weight: 500; color: rgba(255, 255, 255, .75); }
.tc-weather__stats dd { margin: .15rem 0 0; font-weight: 700; font-size: 1rem; }
.tc-weather__loading { display: flex; gap: 1rem; align-items: center; margin-top: 1.2rem; }
.tc-weather__loading .tc-skel { background: rgba(255, 255, 255, .2); }
.tc-weather__error { margin-top: 1rem; }

/* ---------- Masonry gallery ---------- */
.tc-masonry { columns: 2; column-gap: .75rem; }
@media (min-width: 768px) { .tc-masonry { columns: 3; column-gap: 1rem; } }
@media (min-width: 1200px) { .tc-masonry { columns: 4; } }
.tc-masonry__item { break-inside: avoid; margin: 0 0 .75rem; }
@media (min-width: 768px) { .tc-masonry__item { margin-bottom: 1rem; } }
.tc-masonry__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--tc-radius); overflow: hidden; background: #e8eef7; }
.tc-masonry__item--portrait .tc-masonry__btn { aspect-ratio: 3 / 4; }
.tc-masonry__item--landscape .tc-masonry__btn { aspect-ratio: 4 / 3; }
.tc-masonry__item--square .tc-masonry__btn { aspect-ratio: 1; }
.tc-masonry__btn img { width: 100%; height: 100%; object-fit: cover; }
.tc-masonry__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; text-align: left; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 58, .85)); display: flex; flex-direction: column; gap: .1rem;
  transform: translateY(35%); opacity: 0; transition: all .3s var(--tc-ease);
}
.tc-masonry__caption strong { font-size: .95rem; }
.tc-masonry__zoom { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--tc-navy); display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.tc-masonry__btn:hover .tc-masonry__caption, .tc-masonry__btn:focus-visible .tc-masonry__caption { transform: none; opacity: 1; }
.tc-masonry__btn:hover .tc-masonry__zoom { opacity: 1; }
.tc-masonry__btn:hover img.is-loaded { transform: scale(1.05); }
@media (hover: none) { .tc-masonry__caption { transform: none; opacity: 1; } }

/* ---------- Map ---------- */
.tc-map__filters { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .5rem; margin-bottom: 1rem; scrollbar-width: none; }
.tc-chip--layer:not(.active) { opacity: .55; }
.tc-chip--layer.active { background: #fff; color: var(--tc-navy); border-color: var(--tc-navy); }
.tc-map__canvas { position: relative; height: 480px; border-radius: var(--tc-radius-lg); overflow: hidden; box-shadow: var(--tc-shadow); border: 1px solid var(--tc-line); background: #e9f0e6; }
@media (max-width: 767.98px) { .tc-map__canvas { height: 400px; } }
.tc-map--compact .tc-map__canvas { height: 300px; }
.tc-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc-map__land { fill: #eef3ea; }
.tc-map__blocks rect { fill: #e2e9df; }
.tc-map__park { fill: #cfe8c6; }
.tc-map__canal { fill: none; stroke: #9cc9f5; stroke-width: 22; stroke-linecap: round; }
.tc-map__roads path { fill: none; stroke: #fff; stroke-width: 12; }
.tc-map__roads path.minor { stroke-width: 6; }
.tc-map__label { font: 700 11px var(--tc-font-body); fill: #8a97a8; letter-spacing: .2em; }
.tc-map__label--water { fill: #4f8ed6; }
.tc-map__marker {
  position: absolute; z-index: 2; width: 38px; height: 38px; margin: -38px 0 0 -19px; border: 0; padding: 0;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--tone); color: #fff; box-shadow: 0 6px 14px rgba(11, 31, 58, .3);
  transition: transform .2s var(--tc-ease);
}
.tc-map__marker i { display: inline-block; transform: rotate(45deg); font-size: 1rem; }
.tc-map__marker:hover, .tc-map__marker.active { transform: rotate(-45deg) scale(1.2); z-index: 3; }
.tc-map__popup {
  position: absolute; z-index: 5; left: 16px; bottom: 16px; width: min(320px, calc(100% - 32px)); background: #fff; border-radius: 16px;
  box-shadow: var(--tc-shadow-lg); overflow: hidden; display: flex; animation: tc-drop .25s var(--tc-ease);
}
.tc-map__popup img { width: 96px; object-fit: cover; flex-shrink: 0; }
.tc-map__popup-body { padding: .8rem .9rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tc-map__popup-body strong { font-size: .98rem; line-height: 1.25; }
.tc-map__popup-body small { color: var(--tc-muted); }
.tc-map__close { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--tc-bg); display: grid; place-items: center; }
.tc-map__compass { position: absolute; top: 14px; right: 14px; background: #fff; border-radius: 12px; padding: .35rem .6rem; font-weight: 700; font-size: .8rem; box-shadow: var(--tc-shadow-sm); }
.tc-map__open { position: absolute; right: 14px; bottom: 14px; background: #fff; border-radius: 10px; padding: .4rem .7rem; font-size: .8rem; font-weight: 600; box-shadow: var(--tc-shadow-sm); }
@media (max-width: 575.98px) { .tc-map__open { top: 14px; left: 14px; right: auto; bottom: auto; } .tc-map__compass { display: none; } }

.tc-location-map { border-radius: var(--tc-radius); overflow: hidden; border: 1px solid var(--tc-line); }
.tc-location-map__frame { aspect-ratio: 16 / 8; background: #e9f0e6; }
@media (max-width: 575.98px) { .tc-location-map__frame { aspect-ratio: 4 / 3; } }
.tc-location-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tc-location-map__bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: #fff; font-size: .9rem; }
.tc-location-map__bar i { color: var(--tc-rose); }

/* ---------- Social ---------- */
.tc-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.tc-social__link { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; color: #fff; transition: transform .2s; }
.tc-social__link:hover { color: #fff; transform: translateY(-2px); }
.tc-social__link--facebook { background: #1877f2; }
.tc-social__link--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tc-social__link--youtube { background: #ff0033; }
.tc-social__link--whatsapp { background: var(--tc-whatsapp); }
.tc-social--mini .tc-social__link { width: 28px; height: 28px; border-radius: 8px; font-size: .85rem; background: rgba(255, 255, 255, .1); }
.tc-social--mini .tc-social__link:hover { background: rgba(255, 255, 255, .22); }
.tc-social-list li a { display: inline-flex; gap: .6rem; align-items: center; }
.tc-social-card {
  display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.2rem; border-radius: var(--tc-radius); color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: all .25s var(--tc-ease);
}
.tc-social-card:hover { color: #fff; background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.tc-social-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: .5rem; }
.tc-social-card--facebook .tc-social-card__icon { background: #1877f2; }
.tc-social-card--instagram .tc-social-card__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tc-social-card--youtube .tc-social-card__icon { background: #ff0033; }
.tc-social-card--whatsapp .tc-social-card__icon { background: var(--tc-whatsapp); }
.tc-social-card__name { font-family: var(--tc-font-display); font-weight: 700; font-size: 1.15rem; }
.tc-social-card__text { font-size: .84rem; color: rgba(255, 255, 255, .72); }
.tc-social-card__cta { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .88rem; color: #ffd3a8; }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 12px; border-color: var(--tc-line); padding: .65rem .85rem; min-height: 46px; }
.form-control:focus, .form-select:focus { border-color: var(--tc-blue); box-shadow: 0 0 0 4px rgba(11, 99, 229, .12); }
.form-label { font-weight: 600; font-size: .88rem; color: var(--tc-navy); }
.tc-input-group .input-group-text { border-radius: 12px 0 0 12px; background: var(--tc-bg); border-color: var(--tc-line); font-weight: 600; }
.tc-input-group .form-control { border-radius: 0 12px 12px 0; }
.tc-field-error { color: var(--tc-rose); font-size: .82rem; margin-top: .3rem; }
.form-control.is-invalid, .form-select.is-invalid { background-image: none; }

.tc-subscribe__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.tc-subscribe__note { font-size: .84rem; color: var(--tc-muted); margin: 1rem 0 0; }
.tc-subscribe__note i { color: var(--tc-green); }
.tc-subscribe__note--done { color: var(--tc-green); font-weight: 600; }
@media (max-width: 575.98px) { .tc-subscribe__actions .btn { width: 100%; } }

/* ---------- Ads ---------- */
.tc-ad { margin: 1.5rem 0; }
.tc-ad__label { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; margin-bottom: .35rem; text-align: center; }
.tc-ad__creative img { width: 100%; border-radius: var(--tc-radius); }
.tc-ad__house {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--tc-radius); color: var(--tc-navy);
  background: linear-gradient(120deg, var(--tc-saffron-50), #fff 60%); border: 1px dashed #ffc58f; transition: box-shadow .2s;
}
.tc-ad__house:hover { color: var(--tc-navy); box-shadow: var(--tc-shadow); }
.tc-ad__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--tc-saffron); color: #fff; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.tc-ad__copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tc-ad__copy strong { font-family: var(--tc-font-display); font-size: 1.05rem; }
.tc-ad__copy span { font-size: .87rem; color: var(--tc-muted); }
.tc-ad__cta { font-weight: 700; color: #c35f07; white-space: nowrap; }
.tc-ad--square .tc-ad__house { flex-direction: column; align-items: flex-start; }
@media (max-width: 575.98px) { .tc-ad__house { flex-wrap: wrap; } .tc-ad__cta { width: 100%; } }
.tc-footer .tc-ad { margin: 0 0 2.5rem; }
.tc-footer .tc-ad__house { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.tc-footer .tc-ad__copy span { color: rgba(255, 255, 255, .7); }
.tc-footer .tc-ad__cta { color: #ffd3a8; }

/* ---------- Skeletons & states ---------- */
.tc-skel { display: block; border-radius: 8px; background: linear-gradient(110deg, #e6ecf5 30%, #f3f6fb 50%, #e6ecf5 70%); background-size: 200% 100%; animation: tc-shimmer 1.3s linear infinite; }
@keyframes tc-shimmer { to { background-position: -200% 0; } }
.tc-skel--line { height: 12px; margin-bottom: 10px; }
.tc-skel--title { height: 22px; margin-bottom: 12px; }
.tc-skel--media { aspect-ratio: 16 / 10; border-radius: 0; }
.tc-skel--hero { aspect-ratio: 16 / 8; border-radius: var(--tc-radius); margin: 1rem 0 1.5rem; }
.tc-skel--thumb { width: 88px; height: 70px; border-radius: 12px; flex-shrink: 0; }
.tc-skel--circle { width: 64px; height: 64px; border-radius: 50%; }
.tc-skel-card { background: #fff; border-radius: var(--tc-radius); overflow: hidden; border: 1px solid var(--tc-line); height: 100%; }
.tc-skel-card--category .tc-skel--media { aspect-ratio: 4 / 3.3; }
.tc-skel-compact { display: flex; gap: .85rem; padding: .75rem 0; }
.tc-section--dark .tc-skel-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }

.tc-state { text-align: center; padding: 2.5rem 1rem; }
.tc-state--page { padding: 5rem 1rem; }
.tc-state__icon { width: 72px; height: 72px; border-radius: 22px; display: inline-grid; place-items: center; font-size: 2rem; background: var(--tc-blue-50); color: var(--tc-blue); margin-bottom: 1rem; }
.tc-state__icon--error { background: #ffe8ee; color: var(--tc-rose); }
.tc-state__icon--ok { background: #e7f7ed; color: var(--tc-green); }
.tc-state__title { font-family: var(--tc-font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: .35rem; }
.tc-state__text { color: var(--tc-muted); max-width: 460px; margin: 0 auto 1.2rem; }
.tc-state--light .tc-state__title { color: #fff; }
.tc-state--light .tc-state__text { color: rgba(255, 255, 255, .7); }
.tc-404 { font-family: var(--tc-font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--tc-blue), var(--tc-saffron)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Pagination ---------- */
.tc-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; }
.tc-page-btn { min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--tc-line); background: #fff; font-weight: 600; color: var(--tc-navy); display: inline-flex; align-items: center; justify-content: center; gap: .3rem; }
.tc-page-btn:hover:not(:disabled) { border-color: var(--tc-blue); color: var(--tc-blue); }
.tc-page-btn.active { background: var(--tc-blue); border-color: var(--tc-blue); color: #fff; }
.tc-page-btn:disabled { opacity: .45; }
.tc-page-btn.gap { border: 0; background: none; }

/* ---------- Breadcrumbs ---------- */
.tc-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; }
.tc-breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; color: var(--tc-muted); }
.tc-breadcrumbs li + li::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .65rem; opacity: .6; }
.tc-breadcrumbs a { color: var(--tc-muted); }
.tc-breadcrumbs a:hover { color: var(--tc-blue); }
.tc-breadcrumbs [aria-current] { color: var(--tc-navy); font-weight: 600; }
.tc-breadcrumbs--light li, .tc-breadcrumbs--light a { color: rgba(255, 255, 255, .7); }
.tc-breadcrumbs--light a:hover { color: #fff; }
.tc-breadcrumbs--light [aria-current] { color: #fff; }

/* ---------- Share ---------- */
.tc-share { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.tc-share__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tc-muted); margin-right: .2rem; }
.tc-share__btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--tc-line); background: #fff; color: var(--tc-navy); font-size: 1.05rem; transition: all .2s; }
.tc-share__btn:hover { transform: translateY(-2px); color: #fff; background: var(--tc-navy); border-color: var(--tc-navy); }
.tc-share__btn--facebook:hover { background: #1877f2; border-color: #1877f2; }
.tc-share__btn--whatsapp:hover { background: var(--tc-whatsapp); border-color: var(--tc-whatsapp); }
.tc-page-hero .tc-share__label { color: rgba(255, 255, 255, .7); }

/* ---------- Rating ---------- */
.tc-rating { display: inline-flex; align-items: center; gap: .15rem; color: #f59e0b; font-size: .9rem; }
.tc-rating strong { color: var(--tc-navy); margin-left: .35rem; }
.tc-rating small { color: var(--tc-muted); margin-left: .25rem; }

/* ---------- Lightbox & modal ---------- */
.tc-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 12, 24, .94); display: flex; align-items: center; justify-content: center; padding: 60px 12px; animation: tc-fade .2s; }
@keyframes tc-fade { from { opacity: 0; } }
.tc-lightbox__stage { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.tc-lightbox__img { max-width: 100%; max-height: calc(100vh - 190px); border-radius: 14px; object-fit: contain; }
.tc-lightbox__video { width: min(1100px, 92vw); aspect-ratio: 16 / 9; }
.tc-lightbox__video iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; }
.tc-lightbox__caption { color: #fff; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: .15rem; }
.tc-lightbox__caption span { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.tc-lightbox__caption small { color: rgba(255, 255, 255, .5); }
.tc-lightbox__close, .tc-lightbox__nav { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; display: grid; place-items: center; }
.tc-lightbox__close:hover, .tc-lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.tc-lightbox__close { top: 14px; right: 14px; }
.tc-lightbox__nav--prev { left: 14px; top: 50%; margin-top: -24px; }
.tc-lightbox__nav--next { right: 14px; top: 50%; margin-top: -24px; }
@media (max-width: 575.98px) { .tc-lightbox__nav { top: auto; bottom: 14px; margin: 0; } }

.tc-modal { position: fixed; inset: 0; z-index: 1900; background: rgba(5, 12, 24, .6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: tc-fade .2s; }
@media (min-width: 576px) { .tc-modal { align-items: center; padding: 1rem; } }
.tc-modal__dialog { background: #fff; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 1.5rem; animation: tc-sheet .3s var(--tc-ease); }
@media (min-width: 576px) { .tc-modal__dialog { border-radius: 24px; padding: 1.75rem; } }
@keyframes tc-sheet { from { transform: translateY(40px); opacity: 0; } }
.tc-modal__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.tc-modal__title { font-size: 1.4rem; font-weight: 800; margin: 0 0 .2rem; }
.tc-modal__summary { background: var(--tc-bg); border-radius: 14px; padding: 1rem; margin-bottom: 1.25rem; font-size: .92rem; color: var(--tc-muted); }
.tc-modal__summary p { margin: 0; }

/* ---------- Toasts ---------- */
.tc-toasts { position: fixed; z-index: 2100; left: 50%; transform: translateX(-50%); bottom: calc(var(--tc-bottom-nav-h) + 16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .5rem; width: min(420px, calc(100% - 32px)); pointer-events: none; }
@media (min-width: 992px) { .tc-toasts { left: auto; right: 24px; transform: none; bottom: 24px; } }
.tc-toast { pointer-events: auto; display: flex; align-items: center; gap: .7rem; background: var(--tc-navy); color: #fff; border-radius: 14px; padding: .85rem 1rem; box-shadow: var(--tc-shadow-lg); animation: tc-sheet .3s var(--tc-ease); font-weight: 500; }
.tc-toast > span { flex: 1; }
.tc-toast--success i:first-child { color: #4ade80; }
.tc-toast--error i:first-child { color: #fb7185; }
.tc-toast--info i:first-child { color: #93c5fd; }
.tc-toast__close { border: 0; background: none; color: rgba(255, 255, 255, .6); font-size: 1.2rem; }

/* ---------- Back to top ---------- */
.tc-back-to-top {
  position: fixed; right: 16px; bottom: calc(var(--tc-bottom-nav-h) + 16px + env(safe-area-inset-bottom)); z-index: 1020; width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: var(--tc-blue); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 24px rgba(11, 99, 229, .35);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .3s var(--tc-ease);
}
.tc-back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 992px) { .tc-back-to-top { bottom: 24px; right: 24px; } }

/* ---------- Bottom navigation (mobile) ---------- */
.tc-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--tc-bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--tc-line); box-shadow: 0 -6px 24px rgba(11, 31, 58, .06);
}
.tc-bottom-nav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--tc-muted); font-size: .7rem; font-weight: 600; position: relative; }
.tc-bottom-nav__item i { font-size: 1.3rem; transition: transform .2s; }
.tc-bottom-nav__item.active { color: var(--tc-blue); }
.tc-bottom-nav__item.active i { transform: translateY(-1px); }
.tc-bottom-nav__item.active::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--tc-blue); }

/* ---------- Footer ---------- */
.tc-footer { background: var(--tc-navy); color: rgba(255, 255, 255, .72); padding-top: 3rem; margin-top: 0; }
.tc-footer__main { padding-bottom: 2.5rem; }
.tc-footer__about { margin: 1.1rem 0 .6rem; max-width: 360px; font-size: .95rem; }
.tc-footer__tagline { font-family: var(--tc-font-display); color: #ffd3a8; font-weight: 600; letter-spacing: .02em; }
.tc-footer__title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.tc-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.tc-footer__list a { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.tc-footer__list a:hover { color: #fff; }
.tc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; font-size: .85rem; }
.tc-footer__made i { color: var(--tc-saffron); }
