/* ============================================================
   ThaiLawOnline Homepage — &quot;Judicial Elegance&quot;
   ============================================================ */
@import url(&#039;https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Sarabun:wght@300;400;600;700&display=swap&#039;);

:root {
  --tlo-navy:       #0B1D33;
  --tlo-blue:       #1E73BE;
  --tlo-blue-deep:  #14548A;
  --tlo-blue-light: #E8F2FC;
  --tlo-gold:       #C8A45C;
  --tlo-gold-light: #F5EDDA;
  --tlo-white:      #FFFFFF;
  --tlo-off-white:  #F7F8FA;
  --tlo-gray:       #6B7280;
  --tlo-gray-light: #E5E7EB;
  --tlo-text:       #1F2937;
  --tlo-font-heading: &#039;DM Serif Display&#039;, Georgia, serif;
  --tlo-font-body:    &#039;DM Sans&#039;, &#039;Sarabun&#039;, system-ui, sans-serif;
  --tlo-radius:     8px;
  --tlo-shadow:     0 4px 24px rgba(11,29,51,0.08);
  --tlo-shadow-lg:  0 12px 48px rgba(11,29,51,0.12);
  --tlo-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset for template */
.tlo-home, .tlo-home * { box-sizing: border-box; margin: 0; padding: 0; }
.tlo-home { font-family: var(--tlo-font-body); color: var(--tlo-text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.tlo-home img { max-width: 100%; height: auto; display: block; }
.tlo-home a { text-decoration: none; color: inherit; }
.tlo-home ul { list-style: none; }

.tlo-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.tlo-revealed { opacity: 1 !important; transform: translateY(0) !important; }

/* ============================================================
   TOP BAR
   ============================================================ */
.tlo-topbar { background: var(--tlo-navy); color: rgba(255,255,255,0.85); font-size: 0.8125rem; letter-spacing: 0.02em; }
.tlo-topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; flex-wrap: wrap; gap: 8px; }
.tlo-topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.tlo-topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); transition: color var(--tlo-transition); }
.tlo-topbar__phone:hover { color: var(--tlo-gold); }
.tlo-topbar__phone svg { flex-shrink: 0; }
.tlo-topbar__lang { opacity: 0.6; font-size: 0.75rem; }
.tlo-topbar__email a { color: var(--tlo-gold); font-weight: 500; }
.tlo-topbar__email a:hover { color: var(--tlo-gold-light); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.tlo-nav { background: var(--tlo-white); border-bottom: 1px solid var(--tlo-gray-light); position: relative; z-index: 1000; transition: box-shadow var(--tlo-transition); }
.tlo-nav--sticky { position: fixed; top: 0; left: 0; right: 0; box-shadow: var(--tlo-shadow); animation: slideDown 0.35s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.tlo-nav__inner { display: flex; justify-content: space-between; align-items: center; padding: 0; min-height: 64px; }

.tlo-nav__logo { font-family: var(--tlo-font-heading); font-size: 1.5rem; letter-spacing: -0.02em; display: flex; align-items: baseline; }
.tlo-nav__logo-thai { color: var(--tlo-navy); }
.tlo-nav__logo-law { color: var(--tlo-blue); font-weight: 700; }
.tlo-nav__logo-online { color: var(--tlo-gold); font-size: 0.85em; }

.tlo-nav__menu { display: flex; align-items: center; gap: 4px; }
.tlo-nav__menu li a { display: block; padding: 8px 14px; font-size: 0.9rem; font-weight: 500; color: var(--tlo-text); border-radius: var(--tlo-radius); transition: all var(--tlo-transition); }
.tlo-nav__menu li a:hover { color: var(--tlo-blue); background: var(--tlo-blue-light); }
.tlo-nav__cta { background: var(--tlo-blue) !important; color: var(--tlo-white) !important; font-weight: 600 !important; }
.tlo-nav__cta:hover { background: var(--tlo-blue-deep) !important; }

.tlo-nav__toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; }
.tlo-nav__toggle span { display: block; width: 100%; height: 2px; background: var(--tlo-navy); position: absolute; left: 0; transition: all 0.3s ease; }
.tlo-nav__toggle span:nth-child(1) { top: 0; }
.tlo-nav__toggle span:nth-child(2) { top: 11px; }
.tlo-nav__toggle span:nth-child(3) { top: 22px; }
.tlo-nav__toggle--active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.tlo-nav__toggle--active span:nth-child(2) { opacity: 0; }
.tlo-nav__toggle--active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* ============================================================
   HERO
   ============================================================ */
.tlo-hero {
  position: relative;
  background: linear-gradient(135deg, var(--tlo-navy) 0%, #132E4F 40%, var(--tlo-blue-deep) 100%);
  color: var(--tlo-white);
  padding: 60px 0 80px;
  overflow: hidden;
}
.tlo-hero__overlay {
  position: absolute; inset: 0;
  background: url(&quot;data:image/svg+xml,%3Csvg width=&#039;60&#039; height=&#039;60&#039; viewBox=&#039;0 0 60 60&#039; xmlns=&#039;http://www.w3.org/2000/svg&#039;%3E%3Cg fill=&#039;none&#039; fill-rule=&#039;evenodd&#039;%3E%3Cg fill=&#039;%23ffffff&#039; fill-opacity=&#039;0.03&#039;%3E%3Cpath d=&#039;M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z&#039;/%3E%3C/g%3E%3C/g%3E%3C/svg%3E&quot;);
}
.tlo-hero__pattern {
  position: absolute; right: -120px; top: -60px;
  width: 500px; height: 500px;
  border: 1px solid rgba(200,164,92,0.12);
  border-radius: 50%;
}
.tlo-hero__pattern::after {
  content: &#039;&#039;; position: absolute;
  top: 40px; left: 40px; right: 40px; bottom: 40px;
  border: 1px solid rgba(200,164,92,0.08);
  border-radius: 50%;
}
.tlo-hero__content { position: relative; max-width: 680px; }
.tlo-hero__badge {
  display: inline-block;
  background: rgba(200,164,92,0.15);
  border: 1px solid rgba(200,164,92,0.3);
  color: var(--tlo-gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tlo-hero__title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.4);
  font-family: var(--tlo-font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.tlo-hero__title span { color: var(--tlo-gold); }
.tlo-hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 560px;
}
.tlo-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

/* Buttons */
.tlo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--tlo-font-body); font-size: 0.9375rem; font-weight: 600;
  border-radius: var(--tlo-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tlo-transition);
  letter-spacing: 0.01em;
}
.tlo-btn--primary { background: var(--tlo-gold); color: var(--tlo-navy); border-color: var(--tlo-gold); }
.tlo-btn--primary:hover { background: #D4B06A; border-color: #D4B06A; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,164,92,0.3); }
.tlo-btn--outline { background: transparent; color: var(--tlo-white); border-color: rgba(255,255,255,0.35); }
.tlo-btn--outline:hover { border-color: var(--tlo-white); background: rgba(255,255,255,0.08); }
.tlo-btn--outline-white { background: transparent; color: var(--tlo-white); border-color: rgba(255,255,255,0.5); }
.tlo-btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--tlo-white); }
.tlo-btn--white { background: var(--tlo-white); color: var(--tlo-navy); border-color: var(--tlo-white); }
.tlo-btn--white:hover { background: var(--tlo-off-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.tlo-btn--dark { color: var(--tlo-navy); border-color: var(--tlo-navy); }
.tlo-btn--dark:hover { background: var(--tlo-navy); color: var(--tlo-white); }

.tlo-hero__trust { display: flex; align-items: center; gap: 24px; }
.tlo-hero__trust-item { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.tlo-hero__trust-item strong { display: block; font-size: 1.5rem; color: var(--tlo-gold); font-family: var(--tlo-font-heading); }
.tlo-hero__trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.tlo-section-header { text-align: center; margin-bottom: 48px; }
.tlo-section-header__label {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--tlo-blue);
  margin-bottom: 12px;
}
.tlo-section-header__title {
  font-family: var(--tlo-font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--tlo-navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.tlo-section-header__desc {
  color: var(--tlo-gray);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.tlo-practices { padding: 96px 0; background: var(--tlo-white); }
.tlo-practices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tlo-practice-card {
  display: flex; flex-direction: column;
  padding: 36px 28px;
  background: var(--tlo-white);
  border: 1px solid var(--tlo-gray-light);
  border-radius: 12px;
  transition: all var(--tlo-transition);
  position: relative;
  overflow: hidden;
}
.tlo-practice-card::before {
  content: &#039;&#039;;
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tlo-blue), var(--tlo-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.tlo-practice-card:hover { border-color: var(--tlo-blue-light); box-shadow: var(--tlo-shadow-lg); transform: translateY(-4px); }
.tlo-practice-card:hover::before { transform: scaleX(1); }

.tlo-practice-card__icon { width: 52px; height: 52px; margin-bottom: 20px; color: var(--tlo-blue); }
.tlo-practice-card__icon svg { width: 100%; height: 100%; }
.tlo-practice-card:hover .tlo-practice-card__icon { color: var(--tlo-gold); }
.tlo-practice-card__title { font-family: var(--tlo-font-heading); font-size: 1.25rem; color: var(--tlo-navy); margin-bottom: 10px; }
.tlo-practice-card__desc { color: var(--tlo-gray); font-size: 0.9rem; line-height: 1.65; flex: 1; margin-bottom: 16px; }
.tlo-practice-card__link { font-size: 0.875rem; font-weight: 600; color: var(--tlo-blue); transition: color var(--tlo-transition); }
.tlo-practice-card:hover .tlo-practice-card__link { color: var(--tlo-gold); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.tlo-why { padding: 96px 0; background: var(--tlo-off-white); }
.tlo-why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tlo-why__text .tlo-section-header__label { display: block; text-align: left; }
.tlo-why__text .tlo-section-header__title { text-align: left; }
.tlo-why__text p { color: var(--tlo-gray); font-size: 1.0625rem; line-height: 1.75; }
.tlo-why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.tlo-stat {
  background: var(--tlo-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--tlo-gray-light);
  transition: all var(--tlo-transition);
}
.tlo-stat:hover { border-color: var(--tlo-gold); box-shadow: var(--tlo-shadow); }
.tlo-stat__number {
  display: block;
  font-family: var(--tlo-font-heading);
  font-size: 2.5rem;
  color: var(--tlo-blue);
  line-height: 1.1;
  margin-bottom: 8px;
}
.tlo-stat:hover .tlo-stat__number { color: var(--tlo-gold); }
.tlo-stat__label { font-size: 0.8125rem; color: var(--tlo-gray); font-weight: 500; line-height: 1.4; }

/* ============================================================
   ARTICLES
   ============================================================ */
.tlo-articles { padding: 96px 0; background: var(--tlo-white); }
.tlo-articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.tlo-article-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--tlo-white);
  border: 1px solid var(--tlo-gray-light);
  transition: all var(--tlo-transition);
}
.tlo-article-card:hover { box-shadow: var(--tlo-shadow-lg); transform: translateY(-4px); }
.tlo-article-card__image { aspect-ratio: 16/10; overflow: hidden; background: var(--tlo-blue-light); }
.tlo-article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tlo-article-card:hover .tlo-article-card__image img { transform: scale(1.05); }
.tlo-article-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--tlo-blue); opacity: 0.3; }
.tlo-article-card__placeholder svg { width: 48px; height: 48px; }
.tlo-article-card__body { padding: 20px 24px 24px; }
.tlo-article-card__date { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tlo-blue); font-weight: 600; }
.tlo-article-card__title { font-family: var(--tlo-font-heading); font-size: 1.0625rem; color: var(--tlo-navy); margin-top: 8px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.tlo-cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--tlo-navy) 0%, var(--tlo-blue-deep) 100%);
  color: var(--tlo-white);
}
.tlo-cta-banner__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.tlo-cta-banner h2 { font-family: var(--tlo-font-heading); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 8px; }
.tlo-cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.0625rem; }
.tlo-cta-banner__actions { display: flex; gap: 16px; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.tlo-footer { background: var(--tlo-navy); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.tlo-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.tlo-footer__logo { margin-bottom: 16px; }
.tlo-footer__logo .tlo-nav__logo-thai,
.tlo-footer__logo .tlo-nav__logo-law { color: var(--tlo-white); }
.tlo-footer__logo .tlo-nav__logo-online { color: var(--tlo-gold); }
.tlo-footer__logo span { font-family: var(--tlo-font-heading); font-size: 1.4rem; }
.tlo-footer__about { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.tlo-footer__contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.875rem; }
.tlo-footer__contact-item svg { flex-shrink: 0; opacity: 0.5; }
.tlo-footer__contact-item a { color: rgba(255,255,255,0.7); transition: color var(--tlo-transition); }
.tlo-footer__contact-item a:hover { color: var(--tlo-gold); }

.tlo-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.tlo-footer__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: all var(--tlo-transition);
}
.tlo-footer__social a:hover { border-color: var(--tlo-gold); color: var(--tlo-gold); background: rgba(200,164,92,0.08); }
.tlo-footer__social svg { width: 16px; height: 16px; }

.tlo-footer h4 {
  font-family: var(--tlo-font-heading);
  color: var(--tlo-white);
  font-size: 1.0625rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.tlo-footer ul li { margin-bottom: 10px; }
.tlo-footer ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--tlo-transition); }
.tlo-footer ul li a:hover { color: var(--tlo-gold); }

.tlo-footer__offices li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; }
.tlo-footer__offices svg { opacity: 0.4; flex-shrink: 0; }

.tlo-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tlo-practices__grid { grid-template-columns: repeat(2, 1fr); }
  .tlo-why__inner { grid-template-columns: 1fr; gap: 40px; }
  .tlo-why__text .tlo-section-header__label,
  .tlo-why__text .tlo-section-header__title { text-align: center; }
  .tlo-why__text p { text-align: center; }
  .tlo-why__text .tlo-btn { display: block; text-align: center; }
  .tlo-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tlo-topbar__inner { justify-content: center; text-align: center; }
  .tlo-topbar__email { display: none; }

  .tlo-nav__toggle { display: block; }
  .tlo-nav__menu {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--tlo-white);
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--tlo-gray-light);
    box-shadow: var(--tlo-shadow);
  }
  .tlo-nav__menu--open { display: flex; }
  .tlo-nav__menu li a { padding: 12px 0; }

  .tlo-hero { padding: 80px 0 64px; }
  .tlo-hero__title { font-size: 2rem; }
  .tlo-hero__trust { flex-wrap: wrap; gap: 16px; }
  .tlo-hero__trust-divider { display: none; }

  .tlo-practices__grid { grid-template-columns: 1fr; }
  .tlo-articles__grid { grid-template-columns: 1fr; }
  .tlo-practices, .tlo-why, .tlo-articles { padding: 64px 0; }
  .tlo-cta-banner { padding: 56px 0; }
  .tlo-cta-banner__inner { flex-direction: column; text-align: center; }
  .tlo-cta-banner__actions { justify-content: center; }

  .tlo-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .tlo-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .tlo-hero__actions { flex-direction: column; }
  .tlo-hero__actions .tlo-btn { width: 100%; }
  .tlo-why__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tlo-stat { padding: 24px 16px; }
  .tlo-stat__number { font-size: 2rem; }
}

/* Hide Astra&#039;s default header/footer on this template */
.tlo-home .site-header,
.tlo-home .ast-above-header,
.tlo-home .ast-below-header,
.tlo-home .site-footer,
.tlo-home .ast-footer-overlay,
.tlo-home #ast-scroll-top { display: none !important; }
/* ============================================================
   MEGA MENU ADDITIONS
   ============================================================ */

/* Mega menu items */
.tlo-mega__item { position: relative; }
.tlo-mega__trigger { display: flex; align-items: center; gap: 4px; }
.tlo-mega__arrow { transition: transform var(--tlo-transition); flex-shrink: 0; }
.tlo-mega__item:hover > .tlo-mega__trigger .tlo-mega__arrow { transform: rotate(180deg); }

/* Dropdown base */
.tlo-mega__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tlo-white);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(11,29,51,0.15);
  border-top: 3px solid var(--tlo-gold);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tlo-mega__item:hover > .tlo-mega__dropdown {
  display: block;
  opacity: 1;
}

/* Simple dropdown (About, Members) */
.tlo-mega__dropdown--simple {
  min-width: 220px;
  padding: 12px 0;
}
.tlo-mega__dropdown--simple ul li a {
  display: block;
  padding: 8px 24px !important;
  font-size: 0.875rem !important;
  color: var(--tlo-text) !important;
  transition: all var(--tlo-transition);
  border-radius: 0 !important;
  background: transparent !important;
}
.tlo-mega__dropdown--simple ul li a:hover {
  background: var(--tlo-blue-light) !important;
  color: var(--tlo-blue) !important;
  padding-left: 28px !important;
}

/* Wide dropdown (practice areas) */
.tlo-mega__dropdown--wide {
  width: 820px;
  max-width: 95vw;
  padding: 28px 32px;
  left: 50%;
}

/* 3 column variant for criminal law */
.tlo-mega__dropdown--3col {
  width: 660px;
}

/* Columns */
.tlo-mega__cols {
  display: flex;
  gap: 32px;
}
.tlo-mega__col {
  flex: 1;
  min-width: 0;
}
.tlo-mega__col h5 {
  font-family: var(--tlo-font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tlo-navy);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--tlo-gold);
}
.tlo-mega__col ul li a {
  display: block !important;
  padding: 4px 0 !important;
  font-size: 0.8125rem !important;
  color: var(--tlo-gray) !important;
  transition: all var(--tlo-transition);
  line-height: 1.5;
  background: transparent !important;
  border-radius: 0 !important;
}
.tlo-mega__col ul li a:hover {
  color: var(--tlo-blue) !important;
  padding-left: 4px !important;
  background: transparent !important;
}

/* Footer Contact Form */
.tlo-footer__form input,
.tlo-footer__form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--tlo-white, #fff);
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: var(--tlo-font-body, inherit);
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.tlo-footer__form input::placeholder,
.tlo-footer__form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.tlo-footer__form input:focus,
.tlo-footer__form textarea:focus {
  outline: none;
  border-color: var(--tlo-gold, #C8A45C);
}
.tlo-footer__form textarea {
  resize: vertical;
  min-height: 60px;
}
.tlo-footer__form button {
  width: 100%;
  padding: 12px 24px;
  background: var(--tlo-gold, #C8A45C);
  color: var(--tlo-navy, #0B1D33);
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--tlo-font-body, inherit);
  cursor: pointer;
  transition: all var(--tlo-transition, 0.3s);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tlo-footer__form button:hover {
  background: #D4B06A;
  transform: translateY(-1px);
}
.tlo-footer__form-msg {
  font-size: 0.8125rem;
  margin-top: 8px;
  display: none;
}
.tlo-footer__form-msg--ok {
  display: block;
  color: #4caf50;
}
.tlo-footer__form-msg--err {
  display: block;
  color: #f44336;
}

/* Mobile responsive mega menu */
@media (max-width: 768px) {
  .tlo-mega__dropdown {
    position: static;
    transform: none;
    width: 100% !important;
    max-width: 100%;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--tlo-off-white);
    display: none;
    opacity: 1;
    padding: 12px 20px;
  }
  .tlo-mega__item--open > .tlo-mega__dropdown {
    display: block !important;
  }
  .tlo-mega__cols {
    flex-direction: column;
    gap: 16px;
  }
  .tlo-mega__col h5 {
    margin-top: 8px;
  }
  .tlo-mega__arrow {
    margin-left: auto;
  }
  .tlo-mega__item--open > .tlo-mega__trigger .tlo-mega__arrow {
    transform: rotate(180deg);
  }
}

/* Ensure dropdowns appear above hero */
.tlo-nav { z-index: 2000 !important; }

/* ── Vortex Database Badge ─────────── */
.tlo-hero__vortex{display:flex;align-items:flex-start;gap:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-left:3px solid #c9a84c;border-radius:8px;padding:12px 16px;margin:1.25rem 0 1.5rem;max-width:560px}
.tlo-hero__vortex-icon{flex-shrink:0;width:36px;height:36px;background:rgba(201,168,76,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#c9a84c}
.tlo-hero__vortex-text{display:flex;flex-direction:column;gap:4px}
.tlo-hero__vortex-text strong{font-size:.85rem;color:#c9a84c;letter-spacing:.01em}
.tlo-hero__vortex-text span{font-size:.78rem;color:rgba(255,255,255,.72);line-height:1.5}
@media(max-width:600px){.tlo-hero__vortex{max-width:100%}}
/* ── Floating CTA: stack above Chatbase bubble ── */
#thailaw-floating-cta{bottom:90px!important;right:20px!important}
@media(max-width:600px){#thailaw-floating-cta{bottom:84px!important;right:12px!important}}

/* ── Hero Logo ── */
.tlo-hero__logo {
  margin-bottom: 0;
}
.tlo-hero__logo-img {
  width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  display: block;
}
/* Logo + badge side by side */
.tlo-hero__logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tlo-hero__logo-row .tlo-hero__badge {
  margin-bottom: 0;
}
