:root {
  --tf-primary: #0B2A4A;
  --tf-primary-2: #145DA0;
  --tf-accent: #22B8CF;
  --tf-accent-soft: #E8FAFD;
  --tf-success: #16A34A;
  --tf-warning: #F59E0B;
  --tf-danger: #DC2626;
  --tf-bg: #F5FAFF;
  --tf-bg-2: #EEF7FF;
  --tf-card: #FFFFFF;
  --tf-text: #102033;
  --tf-muted: #64748B;
  --tf-border: #DCEAF5;
  --tf-shadow: 0 18px 45px rgba(11, 42, 74, 0.10);
  --tf-shadow-soft: 0 10px 28px rgba(11, 42, 74, 0.08);
  --tf-radius-sm: 10px;
  --tf-radius-md: 16px;
  --tf-radius-lg: 24px;
  --tf-radius-xl: 32px;
  --tf-max: 1180px;
  --tf-font: Arial;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.travelflow-theme {
  margin: 0;
  font-family: var(--tf-font);
  color: var(--tf-text);
  background: radial-gradient(circle at top, #E8F6FF 0, var(--tf-bg) 38%, #FFFFFF 100%);
  min-height: 100vh;
}
body.travelflow-theme a { color: inherit; text-decoration: none; }
body.travelflow-theme button, body.travelflow-theme input, body.travelflow-theme select { font: inherit; }

.tf-container { width: min(100% - 32px, var(--tf-max)); margin-inline: auto; }
.tf-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px); background: rgba(255,255,255,.82); border-bottom: 1px solid rgba(220,234,245,.8); }
.tf-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.tf-logo { font-weight: 900; letter-spacing: .02em; color: var(--tf-primary); font-size: 1.32rem; display: inline-flex; align-items: center; gap: 8px; }
.tf-logo::before { content: ""; width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--tf-primary), var(--tf-accent)); box-shadow: var(--tf-shadow-soft); }
.tf-nav { display: flex; align-items: center; gap: 18px; color: var(--tf-muted); font-weight: 700; font-size: .94rem; }
.tf-nav a:hover { color: var(--tf-primary-2); }
.tf-header__actions { display:flex; align-items:center; gap: 10px; }
.tf-lang { border: 1px solid var(--tf-border); background: white; border-radius: 999px; padding: 8px 12px; color: var(--tf-primary); font-weight: 800; }
.tf-menu { display:none; border:0; background:transparent; font-size:1.4rem; color:var(--tf-primary); }

.tf-btn { min-height: 46px; border: 0; border-radius: 14px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 900; transition: transform .14s ease, box-shadow .18s ease, background .18s ease; }
.tf-btn:hover { transform: translateY(-1px); }
.tf-btn:active { transform: translateY(0); }
.tf-btn--primary { color: white; background: linear-gradient(135deg, var(--tf-primary-2), #0F62D7); box-shadow: 0 14px 24px rgba(20,93,160,.22); }
.tf-btn--secondary { color: var(--tf-primary-2); background: white; border: 1px solid #BFD8EF; }
.tf-btn--success { color: white; background: var(--tf-success); box-shadow: 0 12px 22px rgba(22,163,74,.18); }
.tf-btn--wide { width: 100%; }

.tf-hero { padding: 54px 0 38px; }
.tf-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.tf-kicker { color: var(--tf-primary-2); font-weight: 900; margin-bottom: 10px; }
.tf-title { font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.02; margin: 0 0 14px; color: var(--tf-primary); letter-spacing: -.03em; }
.tf-subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--tf-muted); line-height: 1.65; max-width: 680px; margin: 0 0 24px; }
.tf-search { display:flex; gap: 12px; background: white; border: 1px solid var(--tf-border); box-shadow: var(--tf-shadow); border-radius: 22px; padding: 10px; max-width: 720px; position: relative; }
.tf-search input { flex:1; border:0; outline:0; padding: 0 16px; min-height: 54px; font-size: 1rem; color: var(--tf-text); }
.tf-suggestions { position:absolute; inset-inline: 0; top: calc(100% + 8px); background:white; border:1px solid var(--tf-border); border-radius: 18px; box-shadow: var(--tf-shadow); padding: 8px; display:none; z-index:50; }
.tf-suggestion { width:100%; border:0; background:transparent; border-radius: 12px; padding: 12px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; color:var(--tf-text); }
.tf-suggestion:hover { background: var(--tf-bg-2); }
.tf-trust-row { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 18px; }
.tf-trust { display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border-radius:999px; background:rgba(255,255,255,.84); border:1px solid var(--tf-border); color:var(--tf-primary); font-weight:800; font-size:.92rem; }
.tf-hero-card { border-radius: var(--tf-radius-xl); overflow:hidden; background: linear-gradient(145deg,#fff,#EAF7FF); box-shadow: var(--tf-shadow); border: 1px solid var(--tf-border); min-height: 360px; position:relative; padding: 30px; }
.tf-phone { width: 180px; height: 330px; border-radius: 32px; background: linear-gradient(180deg, var(--tf-primary), #0F62D7); margin-inline:auto; color:white; box-shadow: 0 30px 60px rgba(11,42,74,.28); padding:22px; display:flex; flex-direction:column; justify-content:space-between; align-items:center; }
.tf-phone__qr { width: 96px; height: 96px; background: white; border-radius: 14px; display:grid; place-items:center; color: var(--tf-primary); font-weight:900; }

.tf-section { padding: 34px 0; }
.tf-section-title { margin:0 0 18px; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--tf-primary); }
.tf-grid { display:grid; gap:18px; }
.tf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tf-card { background: var(--tf-card); border:1px solid var(--tf-border); border-radius: var(--tf-radius-lg); box-shadow: var(--tf-shadow-soft); padding: 20px; transition: transform .16s ease, box-shadow .18s ease; }
.tf-card:hover { transform: translateY(-2px); box-shadow: var(--tf-shadow); }
.tf-chip-row { display:flex; flex-wrap:wrap; gap:12px; }
.tf-chip { border:1px solid var(--tf-border); background:white; border-radius: 16px; padding: 12px 14px; display:inline-flex; align-items:center; gap:10px; font-weight:900; color:var(--tf-primary); box-shadow: var(--tf-shadow-soft); }
.tf-chip img { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; }
.tf-region-card { min-height: 150px; display:flex; flex-direction:column; justify-content:flex-end; color:white; background: linear-gradient(135deg, rgba(11,42,74,.65), rgba(20,93,160,.45)), var(--region-bg, linear-gradient(135deg,#145DA0,#22B8CF)); overflow:hidden; }
.tf-region-card h3,
.tf-region-card .tf-card-title { margin:0 0 4px; font-size:1.3rem; font-weight:900; }
.tf-region-card p { margin:0; opacity:.88; }
.tf-benefit-icon { width: 44px; height:44px; border-radius: 14px; background: var(--tf-accent-soft); color: var(--tf-primary-2); display:grid; place-items:center; margin-bottom:12px; }

.tf-destination-hero { margin-top: 24px; padding: 26px; border-radius: var(--tf-radius-xl); background: linear-gradient(135deg, #FFFFFF 0%, #EAF7FF 100%); border:1px solid var(--tf-border); box-shadow: var(--tf-shadow); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.tf-destination-title { margin:0; color:var(--tf-primary); font-size: clamp(1.8rem,4vw,3rem); }
.tf-filter-row { display:flex; flex-wrap:wrap; gap:10px; margin: 20px 0; }
.tf-filter { border:1px solid #BFD8EF; background:white; color:var(--tf-primary-2); border-radius:999px; padding:9px 14px; font-weight:900; }
.tf-filter.is-active { background:var(--tf-primary-2); color:white; }
.tf-plan-card { display:grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items:center; }
.tf-plan-main strong { display:block; color:var(--tf-primary); font-size:1.8rem; line-height:1; }
.tf-plan-main span, .tf-plan-meta { color:var(--tf-muted); }
.tf-price { font-size:1.5rem; font-weight:900; color:var(--tf-primary); }
.tf-price small { font-size:.85rem; color:var(--tf-muted); }
.tf-plan-trust { color: var(--tf-success); font-weight:900; font-size:.9rem; margin-top:8px; }

.tf-checkout-layout { display:grid; grid-template-columns: 1fr 360px; gap: 24px; align-items:start; }
.tf-summary { position: sticky; top: 94px; }
.tf-form-grid { display:grid; gap:14px; }
.tf-field label { display:block; font-weight:900; color:var(--tf-primary); margin-bottom:6px; }
.tf-input { width:100%; border:1px solid var(--tf-border); border-radius:14px; min-height:48px; padding:0 14px; outline:none; background:white; }
.tf-input:focus { border-color:var(--tf-accent); box-shadow: 0 0 0 4px rgba(34,184,207,.14); }
.tf-otp { display:flex; gap:10px; direction:ltr; justify-content:flex-end; }
.tf-otp input { width:52px; text-align:center; font-size:1.2rem; font-weight:900; }
.tf-payment-option { border:1px solid var(--tf-border); border-radius:16px; padding:14px; display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; cursor:pointer; background:white; }
.tf-payment-option.is-active { border-color:var(--tf-primary-2); box-shadow: 0 0 0 4px rgba(20,93,160,.08); }
.tf-step { display:none; animation: tfSlide .22s ease both; }
.tf-step.is-active { display:block; }
@keyframes tfSlide { from { opacity:0; transform: translateY(8px);} to { opacity:1; transform: translateY(0);} }

.tf-success-hero { text-align:center; padding: 32px 0 12px; }
.tf-success-mark { width:66px; height:66px; border-radius:50%; background:#E8F8EE; color:var(--tf-success); display:grid; place-items:center; margin:0 auto 14px; font-size:2rem; font-weight:900; }
.tf-qr { width:min(280px,80vw); aspect-ratio:1; margin: 0 auto 16px; border:12px solid white; border-radius:22px; background: repeating-linear-gradient(45deg,#111 0 8px,#fff 8px 16px); box-shadow: var(--tf-shadow); }
.tf-tabs { display:flex; border:1px solid var(--tf-border); border-radius:16px; overflow:hidden; background:white; margin-bottom:16px; }
.tf-tab { flex:1; border:0; background:white; padding:12px; font-weight:900; cursor:pointer; }
.tf-tab.is-active { background:var(--tf-primary-2); color:white; }
.tf-tab-panel { display:none; }
.tf-tab-panel.is-active { display:block; }

.tf-footer { margin-top: 42px; padding: 32px 0; color:var(--tf-muted); border-top:1px solid var(--tf-border); background:white; }
.tf-sticky-mobile-summary { display:none; position:fixed; inset-inline: 12px; bottom: 12px; z-index:45; background:white; border:1px solid var(--tf-border); border-radius:20px; box-shadow:var(--tf-shadow); padding:12px; align-items:center; justify-content:space-between; gap:12px; }

@media (max-width: 920px) {
  .tf-nav { display:none; }
  .tf-menu { display:inline-flex; }
  .tf-hero__grid, .tf-checkout-layout { grid-template-columns: 1fr; }
  .tf-grid--4, .tf-grid--3 { grid-template-columns: repeat(2,1fr); }
  .tf-summary { position: static; }
}
@media (max-width: 640px) {
  .tf-container { width:min(100% - 22px, var(--tf-max)); }
  .tf-header__inner { min-height:62px; }
  .tf-hero { padding-top: 30px; }
  .tf-search { flex-direction:column; border-radius:20px; }
  .tf-search .tf-btn { width:100%; }
  .tf-grid--4, .tf-grid--3 { grid-template-columns: 1fr; }
  .tf-destination-hero { align-items:flex-start; flex-direction:column; }
  .tf-plan-card { grid-template-columns: 1fr; }
  .tf-sticky-mobile-summary { display:flex; }
  body.has-mobile-summary { padding-bottom: 98px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
