/* ============================================================
   tf-site.css — site-wide chrome (utility strip + main header +
   newsletter + footer + back-to-top). Loaded by every public
   page via _partials/page_head.php.

   Uses Plus Jakarta Sans (body) + Fraunces (display).
   ============================================================ */

:root {
  --tf-navy:        #102A43;
  --tf-navy-deep:   #0A1F33;
  --tf-blue:        #1E4D7B;
  --tf-blue-mid:    #2C5F94;
  --tf-blue-light:  #4A7BB0;
  --tf-sky:         #E8F0F7;
  --tf-mist:        #F5F8FB;
  --tf-line:        #E5EBF1;
  --tf-text:        #102A43;
  --tf-text-muted:  #5A7896;
  --tf-white:       #FFFFFF;
}

/* Scope `body` reset only — pages with their own body styling override us. */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.tfh-utility, .tfh-utility *,
.tfh-header, .tfh-header *,
.tff-newsletter, .tff-newsletter *,
.tff-footer, .tff-footer *,
.tff-totop, .tff-totop * {
  box-sizing: border-box;
}
.tfh-utility, .tfh-header,
.tff-newsletter, .tff-footer, .tff-totop {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.tf-symbol, .ms {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal; font-style: normal;
  display: inline-block; line-height: 1;
  text-transform: none; letter-spacing: normal;
  word-wrap: normal; white-space: nowrap;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* =========================================================
   COMMON PAGE CONTENT CHROME
   Used by manage, checkin, payment_*, ticket_* — all the
   secondary pages that include page_head + page_header.
   ========================================================= */
.tf-page-shell {
  max-width: 920px; margin: 0 auto;
  padding: 32px 24px 48px;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  color: var(--tf-text);
}
.tf-page-shell a { color: inherit; text-decoration: none; }

.tf-page-banner {
  background: #fff; border: 1px solid var(--tf-line);
  border-radius: 14px; padding: 24px 28px; margin-bottom: 18px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
}
.tf-page-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--tf-blue); font-weight: 700; margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tf-page-eyebrow .ms { font-size: 14px; }
.tf-page-title {
  font-family: 'Fraunces', serif;
  font-size: 30px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--tf-navy); margin: 0; line-height: 1.15;
}
.tf-page-sub { color: var(--tf-text-muted); font-size: 14px; margin: 8px 0 0; max-width: 600px; line-height: 1.6; }

.tf-card {
  background: #fff; border: 1px solid var(--tf-line);
  border-radius: 14px; padding: 24px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(16,42,67,0.04);
}
.tf-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px; letter-spacing: -0.01em;
  font-weight: 600; margin: 0 0 16px; color: var(--tf-navy);
  display: flex; align-items: center; gap: 10px;
}
.tf-card h3 .ms { font-size: 20px; color: var(--tf-blue); background: var(--tf-sky); padding: 6px; border-radius: 8px; }

.tf-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.tf-field label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--tf-text-muted); font-weight: 600; margin-bottom: 6px;
}
.tf-field input[type=text],
.tf-field input[type=email],
.tf-field input[type=tel],
.tf-field input[type=date],
.tf-field input[type=number],
.tf-field input[type=password],
.tf-field select,
.tf-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--tf-line);
  background: #fff; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px; color: var(--tf-text); font-weight: 500;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tf-field input:focus, .tf-field select:focus, .tf-field textarea:focus {
  outline: none; border-color: var(--tf-blue);
  box-shadow: 0 0 0 3px rgba(30,77,123,0.12);
}
.tf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf-field-row.r3 { grid-template-columns: 1fr 1fr 1fr; }
.tf-hint { font-size: 12px; color: var(--tf-text-muted); margin-top: 4px; }

.tf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer;
  border: none; text-decoration: none;
  transition: all 0.25s ease;
}
.tf-btn-primary,
a.tf-btn-primary,
.tf-page-shell a.tf-btn-primary {
  background: linear-gradient(135deg, var(--tf-blue) 0%, var(--tf-navy) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(30,77,123,0.30);
}
.tf-btn-primary:hover,
a.tf-btn-primary:hover,
.tf-page-shell a.tf-btn-primary:hover {
  transform: translateY(-2px); color: #fff; text-decoration: none;
  box-shadow: 0 12px 28px rgba(30,77,123,0.40);
}
.tf-btn-secondary,
a.tf-btn-secondary,
.tf-page-shell a.tf-btn-secondary {
  background: #fff; color: var(--tf-text);
  border: 1px solid var(--tf-line);
}
.tf-btn-secondary:hover,
a.tf-btn-secondary:hover,
.tf-page-shell a.tf-btn-secondary:hover {
  border-color: var(--tf-blue); color: var(--tf-blue); text-decoration: none;
}
.tf-btn-block { width: 100%; }
.tf-btn .ms { font-size: 18px; }

.tf-alert {
  padding: 14px 16px; border-radius: 10px;
  font-size: 14px; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.tf-alert.is-success { background: #E8F5EE; color: #1F8A4C; border: 1px solid rgba(31,138,76,0.25); }
.tf-alert.is-error   { background: #FCE7EA; color: #C81E2C; border: 1px solid rgba(200,30,44,0.25); }
.tf-alert.is-warn    { background: #FFF8E1; color: #876200; border: 1px solid #F4C430; }
.tf-alert.is-info    { background: var(--tf-sky); color: var(--tf-navy); border: 1px solid rgba(30,77,123,0.25); }
.tf-alert .ms { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.tf-checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border: 1.5px solid var(--tf-line);
  border-radius: 10px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.tf-checkbox.is-checked { border-color: var(--tf-blue); background: var(--tf-sky); }
.tf-checkbox input { margin-top: 3px; flex-shrink: 0; }
.tf-checkbox span { font-size: 14px; color: var(--tf-text); line-height: 1.55; }

@media (max-width: 768px) {
  .tf-page-shell { padding: 24px 16px 40px; }
  .tf-page-title { font-size: 22px; }
  .tf-field-row, .tf-field-row.r3 { grid-template-columns: 1fr; }
  .tf-page-banner { padding: 20px; }
}

/* =========================================================
   TOP UTILITY STRIP
   ========================================================= */
.tfh-utility {
  background: linear-gradient(90deg, var(--tf-navy) 0%, var(--tf-blue) 100%);
  color: rgba(255,255,255,0.78);
  padding: 7px 0;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tfh-utility-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tfh-utility-left, .tfh-utility-right { display: flex; align-items: center; gap: 24px; }
.tfh-utility-right { gap: 18px; }
.tfh-utility-item {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.82); text-decoration: none;
  transition: color 0.2s ease;
}
.tfh-utility-item:hover { color: #fff; text-decoration: none; }
.tfh-utility-item { white-space: nowrap; }
.tfh-utility-item .tf-symbol { font-size: 15px; color: rgba(255,255,255,0.85); }
.tfh-utility-item strong { font-weight: 600; color: #fff; white-space: nowrap; }
.tfh-utility-item .tfh-wa-icon { display: inline-block; vertical-align: -2px; color: #25D366; }
.tfh-utility-item.tfh-utility-wa:hover .tfh-wa-icon { color: #4FE38A; }
.tfh-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }
.tfh-lang {
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; color: rgba(255,255,255,0.82);
  transition: color 0.2s ease;
}
.tfh-lang:hover { color: #fff; }
.tfh-lang .tf-symbol { font-size: 14px; }

/* =========================================================
   MAIN HEADER
   ========================================================= */
.tfh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--tf-line);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: background 0.38s ease, border-color 0.38s ease, box-shadow 0.38s ease;
}
.tfh-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(16,42,67,0.09);
  border-bottom-color: rgba(31,55,81,0.10);
}

/* Dark mood — applied by tf-header.js while the hero is in view. The header is
   `position: sticky`, so it sits in flow above the hero rather than overlapping
   it; that means a heavily-translucent fill bleeds the white body through and
   produces a washed-out gray-blue band between the navy utility strip and the
   dark hero. We use a near-opaque dark navy with the same gradient family as
   the utility strip so the top of the page reads as one continuous dark band. */
.tfh-header.is-dark {
  background: linear-gradient(90deg, var(--tf-navy) 0%, var(--tf-blue) 100%);
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tfh-header.is-dark .tfh-logo-text { color: #fff; }
.tfh-header.is-dark .tfh-logo-text em { color: #7EC8E3; }
.tfh-header.is-dark .tfh-logo-img { filter: brightness(0) invert(1); }
.tfh-header.is-dark .tfh-nav-link { color: rgba(255,255,255,0.85); }
.tfh-header.is-dark .tfh-nav-link:hover,
.tfh-header.is-dark .tfh-nav-link.active { color: #fff; background: rgba(255,255,255,0.09); }
.tfh-header.is-dark .tfh-nav-link .tf-symbol { color: rgba(255,255,255,0.50); }
.tfh-header.is-dark .tfh-nav-item:hover .tfh-nav-link .tf-symbol { color: rgba(255,255,255,0.90); }
.tfh-header.is-dark .tfh-nav-link::after { background: rgba(255,255,255,0.65); }
.tfh-header.is-dark .tfh-mobile-toggle {
  border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff;
}

.tfh-header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* LOGO */
.tfh-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--tf-text); flex-shrink: 0;
}
.tfh-logo:hover { text-decoration: none; color: var(--tf-text); }

.tfh-logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--tf-blue) 0%, var(--tf-navy) 100%);
  border-radius: 10px;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(30,77,123,0.26);
  position: relative; overflow: hidden; flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tfh-logo-mark::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%);
}
.tfh-logo-mark .tf-symbol { color: #fff; font-size: 22px; position: relative; z-index: 1; }
.tfh-logo:hover .tfh-logo-mark { transform: scale(1.05); box-shadow: 0 6px 18px rgba(30,77,123,0.34); }
.tfh-logo-text {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
  color: var(--tf-navy); transition: color 0.35s ease;
}
.tfh-logo-text em { font-style: italic; font-weight: 500; color: var(--tf-blue); transition: color 0.35s ease; }

/* Image logo variant */
.tfh-logo--image { gap: 12px; }
.tfh-logo-img {
  height: 52px; width: auto; display: block;
  transition: transform 0.2s ease, filter 0.35s ease;
}
.tfh-logo--image:hover .tfh-logo-img { transform: scale(1.04); }
.tfh-logo-img--footer {
  height: 80px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

/* PRIMARY NAV */
.tfh-nav {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
  flex: 1; justify-content: center;
}
.tfh-nav-item { position: relative; }
.tfh-nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 15px;
  color: var(--tf-text); text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.tfh-nav-link::after {
  content: '';
  position: absolute; bottom: 5px; left: 15px; right: 15px;
  height: 2px; border-radius: 2px;
  background: var(--tf-blue);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.34,1.56,0.64,1);
}
.tfh-nav-link:hover { color: var(--tf-blue); background: var(--tf-sky); text-decoration: none; }
.tfh-nav-link:hover::after,
.tfh-nav-link.active::after { transform: scaleX(1); }
.tfh-nav-link.active { color: var(--tf-blue); background: var(--tf-sky); }
.tfh-nav-link .tf-symbol {
  font-size: 17px; color: var(--tf-text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}
.tfh-nav-item:hover .tfh-nav-link .tf-symbol { color: var(--tf-blue); transform: rotate(180deg); }

/* DROPDOWN */
.tfh-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 520px; background: #fff;
  border: 1px solid var(--tf-line); border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 56px rgba(16,42,67,0.14), 0 4px 12px rgba(16,42,67,0.05),
              inset 0 1px 0 rgba(255,255,255,0.6);
  opacity: 0; visibility: hidden;
  transition: all 0.28s cubic-bezier(0.2,0.8,0.2,1);
  z-index: 50;
}
.tfh-nav-item:hover .tfh-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.tfh-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--tf-line); border-top: 1px solid var(--tf-line);
  border-radius: 2px 0 0 0;
}
.tfh-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tfh-dropdown-title {
  grid-column: span 2;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--tf-text-muted); font-weight: 700;
  margin-bottom: 8px; padding: 0 12px;
}
.tfh-drop-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: 12px;
  text-decoration: none; color: var(--tf-text);
  transition: background 0.18s ease, transform 0.18s ease;
}
.tfh-drop-item:hover {
  background: var(--tf-mist); text-decoration: none;
  color: var(--tf-text); transform: translateX(2px);
}
.tfh-drop-icon {
  width: 36px; height: 36px;
  background: var(--tf-sky); border-radius: 9px;
  display: grid; place-items: center; flex-shrink: 0;
  transition: all 0.2s ease;
}
.tfh-drop-icon .tf-symbol { color: var(--tf-blue); font-size: 19px; }
.tfh-drop-item:hover .tfh-drop-icon { background: var(--tf-blue); }
.tfh-drop-item:hover .tfh-drop-icon .tf-symbol { color: #fff; }
.tfh-drop-text strong { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.tfh-drop-text span { font-size: 12px; color: var(--tf-text-muted); line-height: 1.4; }
.tfh-dropdown-foot {
  grid-column: span 2; margin-top: 12px; padding-top: 16px;
  border-top: 1px solid var(--tf-line);
  display: flex; align-items: center; justify-content: space-between;
}
.tfh-dropdown-foot a {
  color: var(--tf-blue); text-decoration: none;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; padding: 0 12px;
}
.tfh-dropdown-foot a:hover { color: var(--tf-navy); text-decoration: none; }
.tfh-dropdown-foot a .tf-symbol { font-size: 15px; transition: transform 0.2s ease; }
.tfh-dropdown-foot a:hover .tf-symbol { transform: translateX(3px); }

/* RIGHT ACTIONS */
.tfh-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tfh-signin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; color: var(--tf-text); text-decoration: none;
  font-size: 14px; font-weight: 600; border-radius: 9px; transition: all 0.2s ease;
}
.tfh-signin:hover { color: var(--tf-blue); background: var(--tf-sky); text-decoration: none; }
.tfh-signin .tf-symbol { font-size: 18px; }

.tfh-checkin {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #1D88C0 0%, var(--tf-navy) 100%);
  color: #fff; text-decoration: none; border-radius: 50px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 4px 16px rgba(29,136,192,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative; overflow: hidden;
}
.tfh-checkin::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
  transition: left 0.55s ease;
}
.tfh-checkin:hover::before { left: 100%; }
.tfh-checkin:hover {
  transform: translateY(-1px); color: #fff; text-decoration: none;
  box-shadow: 0 8px 22px rgba(29,136,192,0.42), inset 0 1px 0 rgba(255,255,255,0.22);
}
.tfh-checkin .tf-symbol { font-size: 19px; }
.tfh-checkin-pulse {
  width: 7px; height: 7px; background: #7ED9A6; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(126,217,166,0.7);
  animation: tfhPulse 2s infinite; margin-right: -2px;
}
@keyframes tfhPulse {
  0%   { box-shadow: 0 0 0 0 rgba(126,217,166,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(126,217,166,0); }
  100% { box-shadow: 0 0 0 0 rgba(126,217,166,0); }
}

.tfh-mobile-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--tf-line); background: transparent;
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--tf-text);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tfh-mobile-toggle:hover { background: var(--tf-sky); border-color: rgba(29,136,192,0.3); color: var(--tf-blue); }
.tfh-mobile-toggle .tf-symbol { font-size: 23px; }

/* =========================================================
   MOBILE DRAWER (slides in from right when burger clicked)
   ========================================================= */
.tfh-drawer {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none; opacity: 0;
  transition: opacity 0.25s ease;
}
.tfh-drawer.is-open { pointer-events: auto; opacity: 1; }
.tfh-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,31,51,0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.tfh-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86%, 360px);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}
.tfh-drawer.is-open .tfh-drawer-panel { transform: translateX(0); }
.tfh-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--tf-line);
}
.tfh-drawer-title {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 600; color: var(--tf-navy);
  letter-spacing: -0.01em;
}
.tfh-drawer-close {
  background: none; border: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--tf-text);
  padding: 0; width: 36px; height: 36px; border-radius: 8px;
}
.tfh-drawer-close:hover { background: var(--tf-mist); }
.tfh-drawer-nav { display: flex; flex-direction: column; padding: 12px 8px; gap: 2px; overflow-y: auto; }
.tfh-drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; color: var(--tf-text);
  font-size: 15px; font-weight: 500;
  border-radius: 10px; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.tfh-drawer-nav a:hover { background: var(--tf-sky); color: var(--tf-blue); text-decoration: none; }
.tfh-drawer-nav a.is-primary {
  background: linear-gradient(135deg, var(--tf-blue), var(--tf-navy));
  color: #fff; margin: 6px 8px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(30,77,123,0.28);
}
.tfh-drawer-nav a.is-primary:hover { color: #fff; }
.tfh-drawer-nav a .tf-symbol { font-size: 18px; flex-shrink: 0; color: var(--tf-blue); }
.tfh-drawer-nav a.is-primary .tf-symbol { color: #fff; }
.tfh-drawer-nav hr {
  border: none; border-top: 1px solid var(--tf-line);
  margin: 8px 16px;
}
.tfh-drawer-section {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--tf-text-muted); font-weight: 700;
  padding: 14px 16px 6px;
}

/* =========================================================
   NEWSLETTER STRIP
   ========================================================= */
.tff-newsletter {
  background: linear-gradient(135deg, var(--tf-blue) 0%, var(--tf-navy) 100%);
  padding: 48px 32px;
  position: relative; overflow: hidden;
}
.tff-newsletter::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px; pointer-events: none;
}
.tff-newsletter::after {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74,123,176,0.3) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.tff-news-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.tff-news-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px; font-weight: 500; color: #fff;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px;
}
.tff-news-text h3 em { font-style: italic; color: #A8C5E0; font-weight: 400; }
.tff-news-text p {
  font-size: 15px; color: rgba(255,255,255,0.7);
  line-height: 1.55; max-width: 440px; margin: 0;
}
.tff-news-form {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 7px;
}
.tff-news-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 14px 16px; color: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 500;
}
.tff-news-form input::placeholder { color: rgba(255,255,255,0.5); }
.tff-news-form button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 22px; background: #fff; color: var(--tf-navy);
  border: none; border-radius: 9px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.25s ease;
}
.tff-news-form button:hover { background: var(--tf-sky); transform: translateX(2px); }
.tff-news-form button .tf-symbol { font-size: 16px; }
.tff-news-meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.tff-news-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tff-news-meta .tf-symbol { font-size: 13px; color: #7ED9A6; }
.tff-news-msg {
  margin-top: 12px; padding: 14px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.5;
}
.tff-news-msg.is-ok,
.tff-newsletter .tff-news-msg.is-ok  { background: rgba(126,217,166,0.18); color: #FFFFFF !important; border: 1px solid rgba(126,217,166,0.45); }
.tff-news-msg.is-ok::before { content: ""; }
.tff-news-msg.is-err,
.tff-newsletter .tff-news-msg.is-err { background: rgba(255,107,107,0.18); color: #FFFFFF !important; border: 1px solid rgba(255,107,107,0.45); }

/* =========================================================
   MAIN FOOTER
   ========================================================= */
.tff-footer {
  background: var(--tf-navy-deep);
  color: rgba(240,244,248,0.7);
  padding: 80px 32px 0;
  position: relative; overflow: hidden;
}
.tff-footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 32px 32px; pointer-events: none;
}
.tff-footer-grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}

.tff-brand .tfh-logo { margin-bottom: 20px; }
.tff-brand .tfh-logo-text,
.tff-brand .tfh-logo { color: #fff; }
.tff-brand-desc {
  font-size: 14.5px; line-height: 1.7; margin: 0 0 24px;
  max-width: 340px; color: rgba(240,244,248,0.7);
}
.tff-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.tff-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(240,244,248,0.75);
  text-decoration: none; line-height: 1.5;
  transition: color 0.2s ease;
}
.tff-contact-item:hover { color: #fff; text-decoration: none; }
.tff-contact-item .tf-symbol {
  font-size: 18px; color: var(--tf-blue-light);
  flex-shrink: 0; margin-top: 1px;
}
.tff-contact-item strong {
  display: block; color: #fff; font-weight: 600;
  margin-bottom: 2px; font-size: 13px;
}

.tff-social { display: flex; gap: 10px; }
.tff-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: rgba(240,244,248,0.75); text-decoration: none;
  transition: all 0.25s ease;
}
.tff-social a:hover {
  background: var(--tf-blue); border-color: var(--tf-blue);
  color: #fff; transform: translateY(-2px);
}
.tff-social .tf-symbol { font-size: 18px; }

.tff-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 500; color: #fff;
  margin: 0 0 22px; letter-spacing: -0.01em;
  position: relative; padding-bottom: 14px;
}
.tff-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--tf-blue-light); border-radius: 2px;
}
.tff-col ul { list-style: none; margin: 0; padding: 0; }
.tff-col li { margin-bottom: 11px; }
.tff-col a {
  color: rgba(240,244,248,0.7); text-decoration: none;
  font-size: 14px; transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.tff-col a:hover { color: #fff; transform: translateX(3px); text-decoration: none; }
.tff-col a .tf-symbol {
  font-size: 14px; color: var(--tf-blue-light);
  opacity: 0; transition: opacity 0.2s ease;
}
.tff-col a:hover .tf-symbol { opacity: 1; }

/* TRUST BAR */
.tff-trust {
  max-width: 1320px; margin: 0 auto; padding: 32px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
  flex-wrap: wrap;
}
.tff-trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(240,244,248,0.65);
}
.tff-trust-item .tf-symbol { color: #7ED9A6; font-size: 20px; }
.tff-trust-item strong { color: #fff; font-weight: 600; }
.tff-payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tff-pay-pill {
  padding: 7px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; color: rgba(240,244,248,0.85);
}

/* FOOTER BOTTOM */
.tff-bottom {
  max-width: 1320px; margin: 0 auto;
  padding: 24px 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(240,244,248,0.5);
  flex-wrap: wrap; gap: 16px;
  position: relative; z-index: 1;
}
.tff-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.tff-bottom-links a {
  color: rgba(240,244,248,0.5); text-decoration: none;
  transition: color 0.2s ease;
}
.tff-bottom-links a:hover { color: #fff; text-decoration: none; }
.tff-gctech {
  color: rgba(240,244,248,0.85); text-decoration: none;
  font-weight: 600; transition: color 0.2s ease;
}
.tff-gctech:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.tff-totop {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--tf-blue), var(--tf-navy));
  color: #fff; border: none; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(30,77,123,0.35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 99;
}
.tff-totop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.tff-totop:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30,77,123,0.45);
}
.tff-totop .tf-symbol { font-size: 22px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .tfh-nav { display: none; }
  .tfh-mobile-toggle { display: flex; }
  .tfh-signin span:not(.tf-symbol) { display: none; }
}
@media (max-width: 900px) {
  .tff-news-inner { grid-template-columns: 1fr; gap: 28px; }
  .tff-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tff-trust { justify-content: center; text-align: center; }
  .tff-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
@media (max-width: 768px) {
  .tfh-utility-left .tfh-utility-item:nth-child(2) { display: none; }
  .tfh-utility-inner { padding: 0 20px; }
  .tfh-header-inner { padding: 0 20px; height: 70px; gap: 12px; }
  .tfh-logo-text { font-size: 19px; }
  .tfh-logo-mark { width: 38px; height: 38px; }
  .tfh-logo-mark .tf-symbol { font-size: 22px; }
  .tfh-logo-img { height: 44px; }
  .tfh-logo-img--footer { height: 64px; }
  .tfh-checkin { padding: 11px 16px; font-size: 13.5px; }
  .tfh-checkin .tfh-checkin-pulse { display: none; }
  .tff-newsletter { padding: 40px 24px; }
  .tff-news-text h3 { font-size: 26px; }
  .tff-news-form { flex-direction: column; gap: 6px; }
  .tff-news-form button { justify-content: center; padding: 14px; }
  .tff-footer { padding: 56px 24px 0; }
  .tff-footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .tff-totop { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  .tfh-utility-left .tfh-utility-label { display: none; }
  .tfh-utility-left .tfh-utility-item { gap: 6px; }
  .tfh-lang span:not(.tf-symbol) { display: none; }
  .tfh-utility-right .tfh-divider { display: none; }
  .tfh-utility-right { gap: 14px; }
  .tfh-checkin span:not(.tf-symbol):not(.tfh-checkin-pulse) { display: none; }
  .tfh-checkin { padding: 11px 13px; }
  /* Logo image is inherently wide (text-mark PNG, ~6:1 aspect). On <=480px
     phones the natural width pushes the action bar past the viewport edge,
     which is what makes the booking widget below look shifted right. Cap
     it explicitly here. */
  .tfh-header-inner { padding: 0 14px; gap: 8px; }
  .tfh-utility-inner { padding: 0 14px; }
  .tfh-logo { flex: 0 1 auto; min-width: 0; }
  .tfh-logo-img { height: 36px; max-width: 56vw; }
}
/* Global overflow-x guard — any future single-element overflow won't cause
   the whole page to scroll sideways and shift the hero. */
html, body { overflow-x: hidden; max-width: 100%; }
