/*
Theme Name: Insurance Department
Theme URI: https://theinsurancedept.com
Author: The Insurance Department, LLC
Description: Custom theme for The Insurance Department — outsourced insurance solutions for auto dealerships.
Version: 1.0
License: Private
Text Domain: insurance-dept
*/

/* ============================================================
   RESET & ROOT VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #C8102E;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface2: #F3F1EE;
  --dark: #1A1A1A;
  --body-color: #3D3D3D;
  --muted: #888;
  --border: rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.tid-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 80px;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.tid-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
  padding: 12px 0;
}
.tid-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--dark); text-decoration: none;
}
.tid-nav-logo span { color: var(--red); }
.tid-nav-links { display: flex; gap: 36px; list-style: none; }
.tid-nav-links a {
  font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.tid-nav-links a:hover { color: var(--dark); }
.tid-nav-cta {
  background: var(--red); color: #fff;
  padding: 10px 24px; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; border: none; cursor: pointer;
  transition: opacity 0.2s; text-decoration: none;
  display: inline-block;
}
.tid-nav-cta:hover { opacity: 0.85; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.tid-hero {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px; position: relative; overflow: hidden;
}
.tid-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(200,16,46,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(200,16,46,0.04) 0%, transparent 60%);
}
.tid-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.tid-hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px 80px 80px; position: relative; z-index: 2;
}
.tid-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 32px;
}
.tid-hero-tag::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--red);
}
.tid-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 900; line-height: 1.0;
  color: var(--dark); margin-bottom: 28px;
}
.tid-hero-title em { font-style: italic; color: var(--red); }
.tid-hero-sub {
  font-size: 1rem; line-height: 1.75;
  color: var(--body-color); max-width: 480px;
  margin-bottom: 48px; font-weight: 300;
}
.tid-hero-actions { display: flex; gap: 16px; align-items: center; }
.tid-hero-phone {
  margin-top: 56px; display: flex; align-items: center;
  gap: 14px; padding-top: 40px; border-top: 1px solid var(--border);
}
.tid-hero-phone-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(200,16,46,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1rem; flex-shrink: 0;
}
.tid-hero-phone-label {
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.tid-hero-phone-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--dark);
}
.tid-hero-right {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; padding: 80px 48px;
}
.tid-hero-card {
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
  padding: 40px; width: 100%; max-width: 400px; position: relative;
}
.tid-hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
}
.tid-card-label {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 24px;
}
.tid-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--dark); margin-bottom: 32px;
}
.tid-card-field { margin-bottom: 16px; }
.tid-card-field label {
  display: block; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.tid-card-field input,
.tid-card-field select {
  width: 100%; padding: 12px 16px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--dark); font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; outline: none; transition: border-color 0.2s;
}
.tid-card-field input:focus,
.tid-card-field select:focus { border-color: var(--red); }
.tid-card-submit {
  width: 100%; margin-top: 8px; background: var(--red);
  color: #fff; padding: 14px; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; border: none; cursor: pointer;
  transition: opacity 0.2s; font-family: 'DM Sans', sans-serif;
}
.tid-card-submit:hover { opacity: 0.85; }

/* ============================================================
   BUTTONS
   ============================================================ */
.tid-btn-primary {
  background: var(--red); color: #fff;
  padding: 16px 36px; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; border: none; cursor: pointer;
  transition: all 0.25s; text-decoration: none;
  display: inline-block; font-family: 'DM Sans', sans-serif;
}
.tid-btn-primary:hover { background: #a50d25; color: #fff; }
.tid-btn-ghost {
  color: var(--dark); padding: 16px 36px;
  font-size: 0.85rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid rgba(26,26,26,0.25);
  cursor: pointer; transition: all 0.25s;
  text-decoration: none; display: inline-block;
  background: transparent; font-family: 'DM Sans', sans-serif;
}
.tid-btn-ghost:hover { border-color: var(--dark); color: var(--dark); }
.tid-btn-white {
  flex-shrink: 0; background: #fff; color: var(--red);
  padding: 16px 36px; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; border: none; cursor: pointer;
  transition: opacity 0.2s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif; text-decoration: none;
  display: inline-block;
}
.tid-btn-white:hover { opacity: 0.9; color: var(--red); }

/* ============================================================
   STATS BAR
   ============================================================ */
.tid-stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.tid-stat {
  padding: 40px 32px; border-right: 1px solid var(--border);
  text-align: center;
}
.tid-stat:last-child { border-right: none; }
.tid-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--red); line-height: 1; margin-bottom: 8px;
}
.tid-stat-label {
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.tid-section { padding: 100px 80px; }
.tid-section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
}
.tid-section-tag::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--red);
}
.tid-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700; color: var(--dark); line-height: 1.15;
}

/* ============================================================
   SERVICES
   ============================================================ */
.tid-services { background: var(--surface2); padding: 100px 80px; }
.tid-services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 64px;
}
.tid-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.tid-service-card {
  background: var(--surface2); padding: 48px 40px;
  position: relative; transition: background 0.3s; cursor: default;
}
.tid-service-card:hover { background: #fff; }
.tid-service-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(200,16,46,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 28px;
  transition: all 0.3s; background: #fff;
}
.tid-service-card:hover .tid-service-icon {
  border-color: var(--red); background: rgba(200,16,46,0.05);
}
.tid-service-num {
  position: absolute; top: 32px; right: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 900;
  color: rgba(0,0,0,0.04); line-height: 1;
}
.tid-service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--dark); margin-bottom: 14px;
}
.tid-service-desc { font-size: 0.88rem; line-height: 1.75; color: var(--body-color); }

/* ============================================================
   WHY SECTION
   ============================================================ */
.tid-why {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 100px 80px; background: var(--bg);
}
.tid-why-visual { position: relative; min-height: 460px; }
.tid-why-bg-rect {
  position: absolute; width: 80%; height: 80%;
  top: 10%; left: 10%; background: var(--surface2);
  border: 1px solid var(--border);
}
.tid-why-accent-rect {
  position: absolute; width: 60%; height: 50%;
  top: 5%; left: -8%; border: 2px solid var(--red); opacity: 0.3;
}
.tid-why-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 16px; padding: 40px;
}
.tid-why-big-text {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; font-weight: 900;
  color: var(--red); line-height: 1; text-align: center;
}
.tid-why-big-sub {
  font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); text-align: center;
}
.tid-why-badge {
  position: absolute; bottom: -20px; right: 24px;
  background: var(--red); color: #fff;
  padding: 20px 28px; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
}
.tid-why-list { margin-top: 44px; display: flex; flex-direction: column; }
.tid-why-item {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.tid-why-item:first-child { border-top: 1px solid var(--border); }
.tid-why-check {
  flex-shrink: 0; width: 32px; height: 32px;
  border: 1px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 0.75rem; margin-top: 3px;
}
.tid-why-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--dark); margin-bottom: 6px;
}
.tid-why-item-desc { font-size: 0.85rem; line-height: 1.7; color: var(--body-color); }

/* ============================================================
   BILINGUAL BANNER
   ============================================================ */
.tid-bilingual {
  background: var(--red); padding: 60px 80px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.tid-bilingual-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #fff; font-weight: 700;
}
.tid-bilingual-text span { opacity: 0.75; font-style: italic; }
.tid-bilingual-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
  max-width: 380px; line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.tid-cta {
  text-align: center; padding: 120px 80px;
  position: relative; overflow: hidden;
  background: var(--surface2);
}
.tid-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,16,46,0.06) 0%, transparent 70%);
}
.tid-cta-inner { position: relative; z-index: 2; }
.tid-cta .tid-section-tag { justify-content: center; }
.tid-cta-sub {
  color: var(--body-color); font-size: 1rem;
  max-width: 480px; margin: 16px auto 48px; line-height: 1.7;
}
.tid-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.tid-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px 80px 40px;
}
.tid-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px; margin-bottom: 60px;
}
.tid-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: #fff; margin-bottom: 16px;
}
.tid-footer-logo span { color: var(--red); }
.tid-footer-desc {
  font-size: 0.85rem; line-height: 1.75;
  color: rgba(255,255,255,0.45); margin-bottom: 24px;
}
.tid-footer-contact { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.tid-footer-col-title {
  font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 20px; font-weight: 500;
}
.tid-footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tid-footer-links a {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.tid-footer-links a:hover { color: #fff; }
.tid-footer-hours-time {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: #fff; margin-bottom: 6px;
}
.tid-footer-hours-days {
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.tid-footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
}
.tid-footer-bottom-links { display: flex; gap: 24px; }
.tid-footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; }
.tid-footer-bottom-links a:hover { color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes tid-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tid-hero-tag   { animation: tid-fadeUp 0.6s 0.0s ease both; }
.tid-hero-title { animation: tid-fadeUp 0.6s 0.1s ease both; }
.tid-hero-sub   { animation: tid-fadeUp 0.6s 0.2s ease both; }
.tid-hero-actions { animation: tid-fadeUp 0.6s 0.3s ease both; }
.tid-hero-phone { animation: tid-fadeUp 0.6s 0.4s ease both; }
.tid-hero-card  { animation: tid-fadeUp 0.6s 0.3s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tid-nav { padding: 16px 24px; }
  .tid-nav-links { display: none; }
  .tid-hero { grid-template-columns: 1fr; min-height: auto; }
  .tid-hero-left { padding: 100px 24px 48px; }
  .tid-hero-right { padding: 24px 24px 60px; }
  .tid-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .tid-stat:nth-child(2) { border-right: none; }
  .tid-services { padding: 60px 24px; }
  .tid-services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tid-services-grid { grid-template-columns: 1fr; }
  .tid-why { grid-template-columns: 1fr; padding: 60px 24px; gap: 60px; }
  .tid-why-visual { min-height: 300px; }
  .tid-bilingual { flex-direction: column; padding: 48px 24px; gap: 24px; }
  .tid-cta { padding: 80px 24px; }
  .tid-footer { padding: 60px 24px 32px; }
  .tid-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .tid-stats-bar { grid-template-columns: 1fr 1fr; }
  .tid-footer-grid { grid-template-columns: 1fr; }
  .tid-hero-actions { flex-direction: column; align-items: flex-start; }
  .tid-cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.tid-faq {
  background: var(--bg);
  padding: 100px 80px;
}
.tid-faq-inner {
  max-width: 860px;
  margin: 0 auto;
}
.tid-faq-header {
  margin-bottom: 56px;
}
.tid-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.tid-faq-item {
  border-bottom: 1px solid var(--border);
}
.tid-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 700;
  transition: color 0.2s;
}
.tid-faq-q:hover { color: var(--red); }
.tid-faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 300;
  color: var(--red);
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}
.tid-faq-item.open .tid-faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.tid-faq-a {
  display: none;
  padding: 0 0 24px 0;
}
.tid-faq-item.open .tid-faq-a { display: block; }
.tid-faq-a p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--body-color);
  max-width: 720px;
}

/* ============================================================
   CONTACT SECTION (NINJA FORMS)
   ============================================================ */
.tid-contact-section {
  background: var(--surface2);
  padding: 100px 80px;
}
.tid-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.tid-contact-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body-color);
  margin: 16px 0 40px;
  max-width: 400px;
}
.tid-contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tid-contact-detail {
  display: flex;
  gap: 16px;
  align-items: center;
}
.tid-contact-detail-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(200,16,46,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1rem;
}
.tid-contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.tid-contact-detail-value {
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
}
.tid-contact-detail-value:hover { color: var(--red); }

.tid-contact-right {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 40px;
  position: relative;
}
.tid-contact-right::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
}

/* ── Ninja Forms style overrides ────────────────────── */
.tid-contact-right .nf-form-cont,
.tid-hero-card .nf-form-cont {
  font-family: 'DM Sans', sans-serif !important;
}
.tid-contact-right .nf-field-label label,
.tid-hero-card .nf-field-label label {
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important;
}
.tid-contact-right .ninja-forms-field,
.tid-hero-card .ninja-forms-field {
  width: 100% !important;
  padding: 12px 16px !important;
  background: var(--surface2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--dark) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  box-shadow: none !important;
}
.tid-contact-right .ninja-forms-field:focus,
.tid-hero-card .ninja-forms-field:focus {
  border-color: var(--red) !important;
}
.tid-contact-right .nf-form-cont .submit-container input[type=button],
.tid-contact-right .nf-form-cont .submit-container button,
.tid-hero-card .nf-form-cont .submit-container input[type=button],
.tid-hero-card .nf-form-cont .submit-container button {
  background: var(--red) !important;
  color: #fff !important;
  padding: 14px 32px !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  font-family: 'DM Sans', sans-serif !important;
  width: 100% !important;
  transition: opacity 0.2s !important;
}
.tid-contact-right .nf-form-cont .submit-container input[type=button]:hover,
.tid-hero-card .nf-form-cont .submit-container input[type=button]:hover {
  opacity: 0.85 !important;
}
.tid-contact-right .nf-error .ninja-forms-field,
.tid-hero-card .nf-error .ninja-forms-field {
  border-color: var(--red) !important;
}
.tid-contact-right .nf-error-msg,
.tid-hero-card .nf-error-msg {
  color: var(--red) !important;
  font-size: 0.78rem !important;
}

/* ============================================================
   MOBILE NAV HAMBURGER
   ============================================================ */
.tid-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.tid-nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: all 0.25s;
}
.tid-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tid-nav-toggle.open span:nth-child(2) { opacity: 0; }
.tid-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Nav */
  .tid-nav { padding: 0 24px; height: 56px; }
  .tid-nav-toggle { display: flex; }
  .tid-nav-links {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(250,250,248,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    z-index: 999;
  }
  .tid-nav-links.open { display: flex; }
  .tid-nav-links li { border-bottom: 1px solid var(--border); }
  .tid-nav-links li:last-child { border-bottom: none; }
  .tid-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 0.9rem;
  }

  /* Hero */
  .tid-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }
  .tid-hero-left { padding: 56px 24px 40px; }
  .tid-hero-right { padding: 0 24px 56px; }
  .tid-hero-card { max-width: 100%; }

  /* Stats */
  .tid-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .tid-stat:nth-child(2) { border-right: none; }
  .tid-stat:nth-child(3) { border-top: 1px solid var(--border); }
  .tid-stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  /* Services */
  .tid-services { padding: 64px 24px; }
  .tid-services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tid-services-grid { grid-template-columns: 1fr 1fr; }

  /* Why */
  .tid-why { grid-template-columns: 1fr; padding: 64px 24px; gap: 48px; }
  .tid-why-visual { min-height: 280px; }

  /* Bilingual */
  .tid-bilingual { flex-direction: column; padding: 48px 24px; gap: 24px; text-align: center; }
  .tid-bilingual-sub { max-width: 100%; }

  /* CTA */
  .tid-cta { padding: 80px 24px; }

  /* FAQ */
  .tid-faq { padding: 64px 24px; }

  /* Contact */
  .tid-contact-section { padding: 64px 24px; }
  .tid-contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .tid-contact-sub { max-width: 100%; }

  /* Footer */
  .tid-footer { padding: 60px 24px 32px; }
  .tid-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {

  /* Stats */
  .tid-stats-bar { grid-template-columns: 1fr 1fr; }

  /* Services */
  .tid-services-grid { grid-template-columns: 1fr; }

  /* Hero actions */
  .tid-hero-actions { flex-direction: column; align-items: flex-start; }
  .tid-btn-primary,
  .tid-btn-ghost { width: 100%; text-align: center; }

  /* CTA actions */
  .tid-cta-actions { flex-direction: column; align-items: center; }
  .tid-cta-actions .tid-btn-primary,
  .tid-cta-actions .tid-btn-ghost { width: 100%; max-width: 320px; text-align: center; }

  /* Footer */
  .tid-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .tid-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .tid-footer-bottom-links { justify-content: center; }
}

/* ============================================================
   LOGO IMAGE
   ============================================================ */
.tid-nav-logo-img {
  height: 60px !important;
  width: auto !important;
  max-width: 160px !important;
  min-width: unset !important;
  display: block !important;
  object-fit: contain !important;
}
.tid-footer-logo-img {
  height: 60px !important;
  width: auto !important;
  max-width: 160px !important;
  min-width: unset !important;
  display: block !important;
  margin-bottom: 16px !important;
  filter: brightness(0) invert(1) !important;
  object-fit: contain !important;
}

@media (max-width: 1024px) {
  .tid-nav-logo-img { height: 48px !important; max-width: 130px !important; }
}
