/* Photography-led Thailand layout. Keep the approved typography and copy. */
.th-hero-frame { position: relative; padding: 0 0 22px 18px; }
.th-hero-frame::before { content: ''; position: absolute; inset: 24px 20px 0 0; border: 1px solid #ffffff24; border-radius: 14px; }
.th-hero-frame > img { position: relative; display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 60px #00000026; }
.th-photo-note { position: absolute; bottom: 2px; left: 0; right: 40px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid #dce4ec; border-radius: 10px; background: #fff; color: #0B1F3A; box-shadow: 0 14px 36px #00132e24; }
.th-photo-note > span { flex: 0 0 42px; height: 42px; display: grid; place-items: center; background: #eef6ff; border-radius: 10px; color: #1677ff; }
.th-photo-note svg { width: 24px; height: 24px; }
.th-photo-note small { display: block; font-size: 9px; letter-spacing: .14em; color: #4F6F8F; margin-bottom: 4px; }
.th-photo-note strong { display: block; font-size: 14px; font-weight: 600; }
.th-hero-photo figcaption { margin-top: 18px; }
.th-services { background: #f7f9fc; }
.th-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border: none; }
.th-service { display: flex; flex-direction: column; min-width: 0; gap: 0; padding: 0; border: 1px solid #dce4ec; border-radius: 12px; background: white; overflow: hidden; box-shadow: 0 5px 18px #0b1f3a04; transition: box-shadow .2s, border-color .2s; }
.th-service:hover { background: #fff; border-color: #afc8e7; box-shadow: 0 14px 34px #0b1f3a0c; }
.th-service-photo { position: relative; width: 100%; overflow: hidden; }
.th-service-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; }
.th-service-number { position: absolute; left: 18px; bottom: 15px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #ffffff50; border-radius: 8px; background: #0b1f3aee; color: white; font-size: 12px; }
.th-service-copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 24px; width: 100%; }
.th-service h3 { font-size: 20px; line-height: 1.55; }
.th-service p { font-size: 14px; line-height: 1.85; }
.th-service .th-button--text { margin-top: auto; padding: 10px 0 0; justify-content: space-between; width: 100%; border-top: 1px solid #e6edf5; border-radius: 0; }
.th-service--help, .th-service--help:hover { grid-column: span 2; display: grid; grid-template-columns: .85fr 1fr; background: #0B1F3A; border-color: #0B1F3A; }
.th-help-image { position: relative; min-height: 100%; }
.th-help-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 45%,#0b1f3a55); }
.th-help-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-service--help .th-service-copy { justify-content: center; padding: 32px; }
.th-service--help h3 { font-size: 25px; }
.th-service--help .th-button { margin-top: 24px; }
.th-editorial-caption { color: #4F6F8F; font-size: 11px; margin-top: 18px; text-align: right; }
.th-partner { background: #eef6ff; }
.th-partner-grid { grid-template-columns: 1.08fr 1fr; gap: 42px 64px; align-items: center; }
.th-partner-grid > div:first-child { max-width: none; }
.th-principles { gap: 26px; }
.th-principles article { background: #ffffffc9; border: 1px solid #d9e6f3; border-radius: 10px; padding: 26px 22px; align-self: stretch; }
.th-principles .th-kicker { color: #1262d4; }
.th-data-photo { position: relative; margin: 30px 0 0; padding-bottom: 24px; }
.th-data-photo img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.7; border-radius: 12px; box-shadow: 0 14px 35px #0b1f3a12; }
.th-data-photo figcaption { position: relative; margin: -30px 24px 0; padding: 15px 18px; border-radius: 8px; background: white; border: 1px solid #d9e6f3; display: flex; gap: 12px; align-items: center; font-size: 12px; box-shadow: 0 8px 20px #0b1f3a08; }
.th-data-photo figcaption svg { width: 22px; height: 22px; flex-shrink: 0; color: #1677ff; }
.th-data-flow { grid-column: 1/-1; border-top: 1px solid #cedeed; padding-top: 30px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; }
.th-data-flow .th-kicker { display: block; margin-bottom: 8px; font-size: 9px; }
.th-data-flow p { color: #4F6F8F; font-size: 13px; }
.th-data-flow ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; list-style: none; }
.th-data-flow li { font-size: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border-left: 1px solid #bed1e5; padding-left: 16px; }
.th-data-flow li span { font-size: 11px; font-weight: 700; color: #1262d4; }
.th-steps { gap: 24px; margin-top: 42px; }
.th-steps li { overflow: hidden; padding: 0; border: 1px solid #ffffff24; border-radius: 12px; background: #15314f; }
.th-step-heading { display: flex; align-items: center; gap: 18px; padding: 28px 26px 0; }
.th-step-number { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #a6c9ff45; border-radius: 10px; color: #c4dcff; background: #ffffff07; font-size: 18px; font-weight: 600; }
.th-step-rule { height: 1px; background: #ffffff20; flex: 1; }
.th-step-icon { display: grid; place-items: center; color: #a6c9ff; }
.th-step-icon svg { width: 24px; height: 24px; }
.th-step-copy { padding: 24px 26px 30px; }
.th-steps h3 { font-size: 19px; }
.th-steps p { font-size: 14px; color: #c5d3e4; }
.th-faq-grid { align-items: start; gap: 64px; }
.th-faq .faq-item { border: 1px solid #dce4ec; border-radius: 10px; background: #fafcfe; }
.th-faq .faq-item.is-open { background: #fff; border-color: #b4cfee; box-shadow: 0 6px 20px #0b1f3a06; }
.th-contact { background: #f7f9fc; border-top: 1px solid #e4edf5; }
.th-contact .th-faq-grid { align-items: center; grid-template-columns: 1.1fr 1fr; }
.th-workspace-photo { margin-top: 28px; }
.th-workspace-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; border-radius: 12px; }
.th-workspace-photo figcaption { font-size: 10px; color: #4F6F8F; margin-top: 10px; }
.th-contact-card { padding: 36px; border: 1px solid #dce4ec; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px #0b1f3a08; }
.th-contact-card .th-kicker { margin-bottom: 10px; }
.th-contact-card h3 { font-size: 24px; margin-bottom: 26px; }
.th-closing { padding: 60px 0; background: #fff; }
.th-closing .container { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 34px; border: 1px solid #dce4ec; border-radius: 14px; padding: 36px 40px; background: #eef6ff; width: calc(100% - 2 * var(--gutter)); }
.th-closing h2 { font-size: clamp(23px,2vw,30px); }
.th-closing .th-kicker { margin-bottom: 12px; font-size: 9px; }
.th-closing p:not(.th-kicker) { margin-top: 12px; font-size: 14px; }
@media (max-width:1100px) {
  .th-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .th-service--help, .th-service--help:hover { grid-column: auto; grid-template-columns: 1fr; }
  .th-help-image { min-height: 0; }
  .th-help-image img { height: auto; aspect-ratio: 1.8; }
  .th-partner-grid { gap: 32px; }
  .th-principles { gap: 16px; }
  .th-principles article { padding: 20px; }
  .th-faq-grid { gap: 32px; }
  .th-closing .container { gap: 24px; }
  .th-closing .th-button { grid-column: 2; justify-self: start; }
}
@media (max-width:760px) {
  .th-hero-frame { padding-left: 10px; }
  .th-hero-frame > img { aspect-ratio: 1.3; }
  .th-photo-note { right: 20px; padding: 14px; }
  .th-photo-note strong { font-size: 12px; }
  .th-photo-note small { font-size: 8px; }
  .th-service-grid { grid-template-columns: 1fr; gap: 22px; }
  .th-service { padding: 0; }
  .th-service-copy { padding: 24px; }
  .th-service--help .th-service-copy { padding: 28px; }
  .th-partner-grid, .th-data-flow, .th-contact .th-faq-grid { grid-template-columns: 1fr; }
  .th-partner-grid { gap: 28px; }
  .th-data-photo { padding-bottom: 0; }
  .th-data-flow { gap: 22px; }
  .th-steps { gap: 24px; }
  .th-contact-card { padding: 28px 24px; }
  .th-closing .container { grid-template-columns: 1fr; padding: 22px; }
  .th-closing .th-button { grid-column: 1; }
}
@media (max-width:380px) {
  .th-principles { grid-template-columns: 1fr; }
  .th-data-flow ol { gap: 10px; }
  .th-data-flow li { padding-left: 10px; font-size: 11px; }
  .th-photo-note { right: 12px; gap: 10px; }
  .th-photo-note > span { flex-basis: 32px; height: 32px; }
}
/* Fill the tall, two-column consultation card without a blank strip. */
@media (min-width:1101px) {
  .th-service--help, .th-service--help:hover { align-items: stretch; }
  .th-help-image img { position: absolute; inset: 0; height: 100%; }
}

/* Service finder and more informative cards. */
.th-services .th-section-head { margin-bottom: 28px; }
.th-service-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.th-service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.th-service-filters button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; min-height: 44px; border: 1px solid #dce4ec; border-radius: 8px; background: white; color: #4F6F8F; font-size: 12px; line-height: 1.7; transition: background .18s, border-color .18s, color .18s; }
.th-service-filters button > span { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 5px; border-radius: 5px; background: #eef3f9; font-size: 10px; font-weight: 600; }
.th-service-filters button:hover { background: #eef6ff; border-color: #adc9ec; }
.th-service-filters button[aria-pressed="true"] { background: #0B1F3A; border-color: #0B1F3A; color: white; }
.th-service-filters button[aria-pressed="true"] > span { background: #ffffff20; color: #c5dcfa; }
.th-service-filters button:focus-visible { outline: 3px solid #80b6ff; outline-offset: 3px; }
.th-service-count { flex-shrink: 0; color: #4F6F8F; font-size: 12px; }
.th-service-grid > [hidden] { display: none !important; }
.th-service-copy { padding: 22px; }
.th-service-audience { width: 100%; margin-top: 18px; padding: 12px 14px; border-left: 2px solid #7dacdf; border-radius: 0 7px 7px 0; background: #f2f7fc; }
.th-service-audience > span { display: block; font-weight: 600; font-size: 11px; color: #1262d4; margin-bottom: 4px; }
.th-service-audience p { font-size: 12px; line-height: 1.8; color: #4F6F8F; }
.th-service-scope { padding-block: 18px; width: 100%; }
.th-service-scope h4 { font-size: 11px; font-weight: 600; color: #4F6F8F; margin-bottom: 9px; }
.th-service-scope ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.th-service-scope li { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.7; color: #0B1F3A; }
.th-service-scope li svg { flex: 0 0 15px; width: 15px; height: 15px; color: #1262d4; margin-top: 3px; }
@media (min-width: 1101px) {
  .th-service-grid[data-help-compact="true"] .th-service--help { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .th-service-grid[data-help-compact="true"] .th-help-image { min-height: 0; }
  .th-service-grid[data-help-compact="true"] .th-help-image img { position: static; height: auto; aspect-ratio: 1.8; }
  .th-service-grid[data-help-compact="true"] .th-service--help .th-service-copy { padding: 26px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .th-service-grid[data-even="true"] .th-service--help { grid-column: 1/-1; grid-template-columns: .85fr 1fr; }
  .th-service-grid[data-even="true"] .th-help-image img { position: absolute; inset: 0; height: 100%; }
}
@media (max-width: 1000px) {
  .th-service-tools { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .th-service-filters { gap: 7px; }
  .th-service-filters button { padding: 9px 11px; font-size: 11px; gap: 7px; }
}
