/* ── Hero ────────────────────────────────────────────────────────────────── */
.tih-hero-wrap {
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  padding-block: clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.tih-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}
.tih-hero-content {
  flex: 1 1 380px;
  min-width: 0;
}
.tih-hero-h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--tih-navy);
  margin: 0 0 16px;
}
.tih-hero-lead {
  font-size: 1.1rem;
  color: var(--tih-text-muted);
  margin: 0 0 28px;
  line-height: 1.7;
}
.tih-hero-trust {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--tih-text-muted);
}
.tih-hero-visual {
  flex: 0 1 440px;
  max-width: 440px;
}
.tih-hero-visual img { width: 100%; height: auto; }

/* ── Search Form ────────────────────────────────────────────────────────── */
.tih-search-form {
  background: #fff;
  border-radius: var(--tih-radius-xl);
  padding: 20px;
  box-shadow: var(--tih-shadow-lg);
  border: 1px solid var(--tih-border);
}
.tih-search-form__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.tih-search-form__field {
  flex: 1 1 180px;
  min-width: 150px;
}
.tih-search-form__field--travellers { flex: 0 1 150px; }
.tih-search-form__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--tih-text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tih-search-form__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--tih-border);
  border-radius: var(--tih-radius-md);
  background: var(--tih-surface);
  transition: border-color 0.15s;
  overflow: hidden;
}
.tih-search-form__input-wrap:focus-within { border-color: var(--tih-primary); }
.tih-search-form__icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  color: var(--tih-text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.tih-search-form__select,
.tih-search-form__input {
  width: 100%;
  padding: 10px 12px 10px 34px;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--tih-text);
  background: transparent;
  appearance: none;
}
.tih-search-form__input--num { padding-left: 34px; max-width: 80px; }
.tih-search-form__suffix { font-size: 0.85rem; color: var(--tih-text-muted); padding-right: 10px; white-space: nowrap; }
.tih-search-form__submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  gap: 8px;
  border-radius: var(--tih-radius-md);
}
.tih-search-form__submit-icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .tih-search-form { padding: 16px 20px; }
  .tih-search-form__fields { margin-bottom: 0; flex: 1; }
}

/* ── Why TIH cards ───────────────────────────────────────────────────────── */
.tih-why-item { padding: 4px 0; }
.tih-why-item__icon-wrap { width: 48px; height: 48px; }
.tih-why-item__icon-wrap svg { width: 48px; height: 48px; }

/* ── How it works ────────────────────────────────────────────────────────── */
.tih-how-it-works {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  counter-reset: step;
  position: relative;
}
.tih-how-it-works::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--tih-border);
  z-index: 0;
}
.tih-step {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.tih-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tih-primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--tih-surface-alt);
}
.tih-step__title { font-size: 1.05rem; font-weight: 700; color: var(--tih-navy); margin: 0 0 8px; }
.tih-step__desc { font-size: 0.9rem; color: var(--tih-text-muted); margin: 0; line-height: 1.6; }

/* ── Coverage types ──────────────────────────────────────────────────────── */
.tih-coverage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
}
.tih-coverage-card {
  flex: 1 1 160px;
  max-width: 220px;
  text-align: center;
  padding: 24px 16px;
  background: var(--tih-surface);
  border: 1.5px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.tih-coverage-card:hover {
  border-color: var(--tih-primary);
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
  transform: translateY(-2px);
}
.tih-coverage-icon { width: 48px; height: 48px; margin: 0 auto 12px; }
.tih-coverage-label { font-size: 0.875rem; font-weight: 600; color: var(--tih-navy); margin: 0; }

/* ── Featured Guides ─────────────────────────────────────────────────────── */
.tih-guide-card-v2 {
  background: var(--tih-surface);
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tih-guide-card-v2:hover { box-shadow: var(--tih-shadow-md); transform: translateY(-2px); }
.tih-guide-card-v2__image {
  height: 180px;
  background: linear-gradient(135deg, var(--tih-sky) 0%, var(--tih-primary-light) 100%);
  position: relative;
}
.tih-guide-card-v2__image-link {
  display: block;
  height: 180px;
  overflow: hidden;
  text-decoration: none;
}
.tih-guide-card-v2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.tih-guide-card-v2:hover .tih-guide-card-v2__img { transform: scale(1.03); }
.tih-guide-card-v2__body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tih-guide-card-v2__label { align-self: flex-start; }
.tih-guide-card-v2__body h3 { margin: 0; }
.tih-guide-card-v2__body p { margin: 0; }
.tih-guide-read-more { font-size: 0.875rem; font-weight: 600; color: var(--tih-primary); text-decoration: none; }
.tih-guide-read-more:hover { text-decoration: underline; }
.tih-guides-grid { gap: 20px !important; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.tih-faq-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 24px;
}
.tih-faq-list { flex: 1 1 480px; min-width: 0; }
.tih-faq-accordion { border-top: 1px solid var(--tih-border); }
.tih-faq-item { border-bottom: 1px solid var(--tih-border); }
.tih-faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--tih-navy);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}
.tih-faq-item__question:hover { color: var(--tih-primary); }
.tih-faq-item__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--tih-primary);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.tih-faq-item--open .tih-faq-item__icon { transform: rotate(45deg); }
.tih-faq-item__answer {
  padding: 0 0 18px;
  font-size: 0.9rem;
  color: var(--tih-text-muted);
  line-height: 1.7;
}
.tih-faq-item__answer p { margin: 0; }
.tih-faq-cta-card {
  flex: 0 1 280px;
  background: var(--tih-sky);
  border-radius: var(--tih-radius-lg);
  padding: 28px;
}
.tih-faq-cta-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--tih-navy); }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.tih-cta-banner {
  background: linear-gradient(135deg, var(--tih-primary) 0%, #1D4ED8 100%);
  padding-block: clamp(40px, 6vw, 64px);
}
.tih-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tih-cta-banner h2 {
  margin: 0;
  color: #fff;
  max-width: 560px;
}

/* ── Responsive overrides ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .tih-hero-visual { display: none; }
  .tih-how-it-works::before { display: none; }
  .tih-coverage-card { flex: 1 1 calc(50% - 8px); max-width: none; }
  .tih-faq-cta-card { flex: 1 1 100%; }
}
