/* ========================================
   FRONT PAGE V2 STYLES
   Isolated homepage layer for front-page.php
   ======================================== */

.tdr-homepage {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.tdr-hero-v2 {
  position: relative;
  padding: 3rem 0 4.5rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.76) 100%),
    var(--tdr-home-hero-image) center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.tdr-hero-v2::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.16) 100%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .tdr-hero-v2 {
    padding: 4rem 0 5.5rem;
  }
}

.tdr-hero-v2 .tdr-container {
  position: relative;
  z-index: 1;
}

.tdr-hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tdr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f8fafc;
  font-size: 0.9375rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.tdr-hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--tdr-yellow);
}

.tdr-hero-v2__content {
  max-width: 920px;
  margin: 0 auto;
}

.tdr-hero-v2__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: clamp(2.9rem, 8.2vw, 5.8rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}

.tdr-hero-v2__title-accent {
  color: var(--tdr-yellow);
}

.tdr-hero-v2__subtitle {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 768px) {
  .tdr-hero-v2__subtitle {
    font-size: 1.25rem;
  }
}

.tdr-hero-v2__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.tdr-btn--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 56px;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 0.875rem;
  text-decoration: none;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tdr-btn--hero svg {
  flex-shrink: 0;
}

.tdr-btn--hero-primary {
  background: var(--tdr-yellow);
  border-color: var(--tdr-yellow);
  color: var(--text-primary);
  box-shadow: 0 14px 34px rgba(249, 178, 23, 0.28);
}

.tdr-btn--hero-primary:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(249, 178, 23, 0.34);
}

.tdr-btn--hero-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(10px);
}

.tdr-btn--hero-dark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--text-primary);
}

.tdr-trust-bar-v2 {
  padding: 2.5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.tdr-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

@media (min-width: 768px) {
  .tdr-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.tdr-trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.tdr-trust-item__number {
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1;
  color: var(--tdr-blue);
}

.tdr-trust-item__text {
  display: flex;
  flex-direction: column;
}

.tdr-trust-item__label {
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.tdr-trust-item__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.tdr-brands-section,
.tdr-about-section-v2,
.tdr-services-section-v2,
.tdr-cta-section-v2 {
  padding: 4.5rem 0;
}

.tdr-brands-section {
  background: #fff;
}

.tdr-about-section-v2,
.tdr-cta-section-v2 {
  background: var(--bg-slate-50);
}

@media (min-width: 768px) {
  .tdr-brands-section,
  .tdr-about-section-v2,
  .tdr-services-section-v2,
  .tdr-cta-section-v2 {
    padding: 6rem 0;
  }
}

.tdr-section-header-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .tdr-section-header-v2 {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

.tdr-section-header-v2--center {
  align-items: center;
  text-align: center;
}

.tdr-section-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tdr-blue);
}

.tdr-section-title {
  margin: 0;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.tdr-section-header-v2__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 900px) {
  .tdr-section-header-v2__right {
    max-width: 430px;
    align-items: flex-end;
    text-align: right;
  }
}

.tdr-section-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tdr-btn--outline-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid var(--text-primary);
  border-radius: 0.875rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tdr-btn--outline-v2:hover {
  background: var(--text-primary);
  color: #fff;
}

.tdr-brand-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .tdr-brand-grid-v2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.tdr-brand-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.tdr-brand-card-v2:hover {
  border-color: rgba(34, 154, 214, 0.32);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.tdr-brand-card-v2__image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
}

.tdr-brand-card-v2__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tdr-brand-card-v2__placeholder {
  color: var(--text-muted);
}

.tdr-brand-card-v2__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
}

.tdr-brand-card-v2__name {
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}

.tdr-brand-card-v2__arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tdr-blue);
  color: #fff;
  flex-shrink: 0;
}

.tdr-about-grid-v2 {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .tdr-about-grid-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 4rem;
    align-items: start;
  }
}

.tdr-about-image-v2__wrapper {
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.tdr-about-image-v2__wrapper img {
  width: 100%;
  display: block;
}

.tdr-about-image-v2__cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: -1.75rem 1.25rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--tdr-blue) 0%, #1a7eb3 100%);
  color: #fff;
  font-size: 0.975rem;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(34, 154, 214, 0.25);
}

.tdr-about-image-v2__cta span {
  flex: 1;
}

.tdr-about-image-v2__cta-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tdr-yellow);
  color: var(--text-primary);
  text-decoration: none;
}

.tdr-about-content-v2 {
  padding-top: 0.5rem;
}

.tdr-about-title-v2 {
  margin: 0 0 1rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.tdr-about-text-v2 {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.tdr-about-signature {
  margin: 0 0 2rem;
  font-style: italic;
  font-weight: 700;
  color: var(--tdr-blue);
}

.tdr-about-features-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tdr-about-feature-v2 {
  display: flex;
  gap: 1rem;
}

.tdr-about-feature-v2__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 1rem;
  background: var(--tdr-blue-light);
  color: var(--tdr-blue);
}

.tdr-about-feature-v2__content h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}

.tdr-about-feature-v2__content p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tdr-stats-section-v2 {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--tdr-blue) 0%, #1a7eb3 100%);
}

.tdr-stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.tdr-stat-v2__value {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  font-weight: 900;
  color: #fff;
}

.tdr-stat-v2__label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.tdr-services-section-v2 {
  background: #fff;
}

.tdr-services-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .tdr-services-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .tdr-services-grid-v2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.tdr-service-card-v2 {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  background: var(--bg-slate-50);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.tdr-service-card-v2__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tdr-service-card-v2__icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--tdr-blue);
}

.tdr-service-card-v2__number {
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(34, 154, 214, 0.16);
}

.tdr-service-card-v2__title {
  margin: 0 0 0.625rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}

.tdr-service-card-v2__desc {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tdr-services-strip-v2 {
  background: var(--text-primary);
  overflow: hidden;
}

.tdr-services-strip-v2__scroll {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tdr-services-strip-v2__scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .tdr-services-strip-v2__scroll {
    justify-content: center;
    gap: 1rem;
  }
}

.tdr-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  white-space: nowrap;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tdr-cta-box-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, #0f172a 100%);
  text-align: center;
}

@media (min-width: 900px) {
  .tdr-cta-box-v2 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    text-align: left;
  }
}

.tdr-cta-box-v2__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display), 'Arial Narrow', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.tdr-cta-box-v2__text {
  margin: 0;
  max-width: 580px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767px) {
  .tdr-btn--hero,
  .tdr-btn--outline-v2 {
    width: 100%;
  }

  .tdr-hero-v2__ctas {
    align-items: stretch;
  }

  .tdr-stats-grid-v2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tdr-about-image-v2__cta {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    padding: 1rem;
  }
}
