:root {
  --cargo-blue: #174389;
  --cargo-blue-dark: #0f2f68;
  --cargo-blue-light: #3f72c7;
  --cargo-gold: #1e5fce;
  --cargo-brown-dark: #061a3c;
  --cargo-brown: #0b2a5d;
  --cargo-ink: #0e2347;
}

body {
  background: #f4f7fc;
}

#preloader .loader-logo img {
  width: 250px;
  max-width: 80vw;
  filter: brightness(0) invert(1);
}

.cargo-topbar {
  background: #081c41;
}

.cargo-topbar .topbar-phone a {
  color: inherit;
}

.cargo-topbar .topbar-phone a:hover {
  text-decoration: underline;
}

.tt-brand-logo img {
  max-width: 270px;
}

.cargo-header .tt-brand-logo img.logo {
  filter: brightness(0) invert(1);
}

.cargo-header.header-sticky .tt-brand-logo img.logo-dark,
body.mobile-menu-open .cargo-header .tt-brand-logo img.logo-dark {
  filter: none;
}

.nav-menu > li.active > .nav-link,
.main-nav.mobile-open .nav-menu > li.active > .nav-link {
  color: #4f86df;
}

.hero-section .hero-description {
  max-width: 720px;
}

.hero-section .hero-title {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 65, 0.84) 0%, rgba(8, 28, 65, 0.62) 50%, rgba(8, 28, 65, 0.48) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-content,
.page-header-content {
  position: relative;
  z-index: 2;
}

.hero-quote-section {
  align-items: stretch;
}

.hero-quote-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: clamp(146px, 16vw, 210px) 0 clamp(68px, 8vw, 112px);
}

.hero-quote-grid .hero-content {
  padding: 0;
  max-width: none;
}

.hero-quote-copy {
  max-width: 760px;
}

.hero-quote-grid .hero-buttons {
  flex-wrap: wrap;
}

.hero-quote-grid .hero-stats {
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.hero-quote-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 30px 70px rgba(7, 25, 56, 0.32);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero-quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #174389 0%, #1f57ab 52%, #4f86df 100%);
}

.hero-quote-card-header {
  padding: 28px 28px 0;
}

.hero-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(23, 67, 137, 0.12), rgba(31, 87, 171, 0.16));
  color: var(--cargo-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-quote-card-header h2 {
  margin: 14px 0 10px;
  color: var(--cargo-ink);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.hero-quote-card-header p {
  margin: 0;
  color: #4f6285;
  line-height: 1.7;
}

.hero-quote-form {
  padding: 22px 28px 0;
}

.hero-quote-form .form-label {
  color: #1c3768;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.hero-quote-form .form-control {
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid #d6e3f7;
  box-shadow: none;
  background: #fff;
}

.hero-quote-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.hero-quote-form .form-control:focus {
  border-color: #2b5eb6;
  box-shadow: 0 0 0 0.2rem rgba(23, 67, 137, 0.14);
}

.hero-quote-submit {
  min-height: 56px;
  border-radius: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-quote-footnote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 28px 28px;
  color: #4f6285;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-quote-footnote i {
  margin-top: 3px;
  color: var(--cargo-blue);
  font-size: 1.05rem;
}

.hero-enter.is-hero-visible .hero-quote-card {
  animation: heroCardReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

@keyframes heroCardReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tt-form-card,
.tt-content-card,
.tt-sidebar-card,
.tt-tracking-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(11, 42, 93, 0.1);
}

.tt-form-card .form-control,
.tt-modal-card .form-control,
.track-form-large .form-control {
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid #d9e3f5;
  box-shadow: none;
}

.tt-form-card textarea.form-control {
  min-height: 150px;
}

.tt-form-card .form-control:focus,
.tt-modal-card .form-control:focus,
.track-form-large .form-control:focus {
  border-color: #3f72c7;
  box-shadow: 0 0 0 0.2rem rgba(23, 67, 137, 0.18);
}

.tt-section-title {
  margin-bottom: 24px;
}

.tt-info-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #1f355d;
}

.tt-info-list i {
  color: var(--cargo-blue);
  margin-top: 5px;
}

.tt-whatsapp-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease;
}

.tt-whatsapp-floating:hover {
  transform: translateY(-4px);
}

.tt-whatsapp-floating img {
  width: 170px;
  max-width: 40vw;
  height: auto;
  display: block;
}

.tt-quote-floating-left {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 1195;
  border: 0;
  background: linear-gradient(120deg, #0f2f67 0%, #174389 55%, #1f57ab 100%);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(8, 25, 56, 0.35);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-align: left;
}

.tt-quote-floating-left:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(8, 25, 56, 0.4);
}

.tt-quote-floating-left:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.tt-quote-floating-left-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tt-quote-floating-left-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.tt-quote-floating-left-text strong {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tt-quote-floating-left-text small {
  font-size: 0.68rem;
  opacity: 0.95;
}

.tt-modal-card {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.tt-modal-card .modal-header {
  border: 0;
  background: var(--cargo-blue);
  color: #fff;
}

.tt-modal-card .modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tt-modal-card .btn-close {
  filter: invert(1);
}

.tt-modal-intro {
  color: #4f6285;
}

.tt-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.page-header {
  margin-top: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 65, 0.78) 0%, rgba(8, 28, 65, 0.58) 100%);
}

.page-header .page-header-content {
  position: relative;
  z-index: 2;
}

.tt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tt-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tt-route-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #e4ebf8;
  transition: all 0.2s ease;
}

.tt-route-card:hover {
  border-color: #bfd0ed;
  transform: translateY(-2px);
}

.tt-route-card a {
  color: #163f85;
  font-weight: 600;
}

.tt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.tt-pagination a,
.tt-pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #d6e1f4;
  color: #163f85;
  padding: 0 10px;
  background: #fff;
}

.tt-pagination a.active {
  background: #174389;
  border-color: #174389;
  color: #fff;
}

.tt-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 26px;
}

.tt-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tt-blog-grid .blog-card,
.tt-tax-grid .blog-card {
  height: 100%;
}

.tt-tax-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tt-blog-search .form-control {
  min-height: 48px;
}

.blog-content-render {
  color: #243f70;
  line-height: 1.85;
}

.blog-content-render img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 14px 0;
}

.blog-content-render h2,
.blog-content-render h3,
.blog-content-render h4 {
  margin-top: 24px;
}

.tt-pill-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tt-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf3ff;
  color: #18428b;
  font-size: 0.82rem;
  font-weight: 600;
}

.tt-tracking-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
}

.tt-tracking-status {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #e8effd;
  color: #174389;
}

.tt-status-entregue { background: #e8f8ef; color: #0b7c3f; }
.tt-status-atraso { background: #fff4d9; color: #b56b00; }
.tt-status-cancelado { background: #fdeaea; color: #aa1b1b; }

.tracking-timeline .timeline-item {
  padding-left: 54px;
}

.tracking-timeline .timeline-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #174389;
  color: #fff;
}

.tt-empty-state {
  text-align: center;
  padding: 42px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed #b9cbeb;
}

.tt-partner-footer {
  margin-top: 22px;
}

.footer-title-sm {
  font-size: 1rem;
  margin-bottom: 10px;
}

.tt-partner-footer img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.testimonials-section {
  padding: clamp(72px, 7vw, 108px) 0;
}

.testimonials-section .section-header {
  max-width: 860px;
  margin: 0 auto 26px;
}

.testimonials-section .section-description {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-slider {
  padding: 10px 6px 58px;
}

.testimonials-slider .swiper-wrapper {
  align-items: stretch;
}

.testimonials-slider .swiper-slide {
  display: flex;
  height: auto;
}

.tt-testimonial-card {
  width: 100%;
  height: auto;
  min-height: 320px;
  padding: 28px 30px 26px;
  border-radius: 12px;
}

.tt-testimonial-card .quote-icon {
  top: 14px;
  left: 22px;
  font-size: 1.5rem;
}

.tt-testimonial-card .testimonial-heading {
  font-size: 1.45rem;
  line-height: 1.2;
  color: #12356f;
  margin: 6px 0 14px;
}

.tt-testimonial-card .testimonial-text {
  flex-grow: 0;
  margin-bottom: 20px;
}

.tt-testimonial-card .testimonial-author {
  margin-top: auto;
  margin-bottom: 0;
}

.tt-testimonial-card .author-name {
  margin-bottom: 8px;
}

.tt-popup-quote-trigger-wrap {
  margin: 0 0 16px;
}

.tt-popup-quote-trigger-wrap .btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 600;
}

.tt-popup-quote-trigger-wrap .btn:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.tt-track-points {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.tt-track-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.tt-track-points i {
  margin-top: 4px;
  color: #9cc2ff;
}

.tt-track-actions {
  display: flex;
  justify-content: center;
}

.tt-track-actions .btn {
  border-color: rgba(255, 255, 255, 0.52);
  color: #ffffff;
  font-weight: 700;
  padding-inline: 1.4rem;
}

.tt-track-actions .btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: #ffffff;
}

.tt-home-quote-popup .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(10, 30, 67, 0.28);
}

.tt-home-quote-popup-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 30px 24px;
  background: linear-gradient(120deg, #174389 0%, #0f2f67 100%);
  color: #ffffff;
}

.tt-home-quote-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tt-home-quote-popup-header h2 {
  margin: 14px 0 8px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.tt-home-quote-popup-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
}

.tt-home-quote-popup-header .btn-close {
  margin: 0;
  opacity: 0.95;
}

.tt-home-quote-popup-body {
  background: #ffffff;
  padding: 24px 30px 30px;
}

.tt-home-quote-popup-body .form-label {
  color: #1c3768;
  font-weight: 600;
}

.tt-home-quote-popup-body .form-control {
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid #d6e3f7;
}

.tt-home-quote-popup-body textarea.form-control {
  min-height: 130px;
}

.tt-home-quote-popup-body .form-control:focus {
  border-color: #2b5eb6;
  box-shadow: 0 0 0 0.2rem rgba(23, 67, 137, 0.16);
}

.ui-autocomplete {
  z-index: 3000 !important;
}

@media (max-width: 1124px) {
  .tt-brand-logo img {
    max-width: 220px;
  }

  .tt-whatsapp-floating {
    right: 14px;
    bottom: 14px;
  }

  .tt-quote-floating-left {
    left: 14px;
    bottom: 14px;
  }

  .hero-quote-grid {
    grid-template-columns: 1fr;
    padding: 130px 0 72px;
  }

  .hero-quote-copy,
  .hero-quote-card {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .tt-card-grid,
  .tt-route-grid,
  .tt-tax-grid,
  .tt-blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tt-blog-layout,
  .tt-tracking-summary {
    grid-template-columns: 1fr;
  }

  .tt-home-quote-popup-header,
  .tt-home-quote-popup-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .tt-card-grid,
  .tt-route-grid,
  .tt-tax-grid,
  .tt-blog-grid {
    grid-template-columns: 1fr;
  }

  .tt-form-card,
  .tt-content-card,
  .tt-sidebar-card,
  .tt-tracking-card {
    padding: 20px;
  }

  .tt-whatsapp-floating img {
    width: 144px;
    max-width: 44vw;
  }

  .tt-whatsapp-floating {
    right: 12px;
    bottom: 16px;
  }

  .tt-quote-floating-left {
    left: 12px;
    bottom: 16px;
    padding: 9px 14px 9px 12px;
    border-radius: 16px;
    max-width: calc(50vw - 18px);
  }

  .tt-quote-floating-left-text strong {
    font-size: 0.76rem;
    line-height: 1.02;
  }

  .tt-quote-floating-left-text small {
    display: none;
  }

  .testimonials-section {
    padding: 62px 0;
  }

  .testimonials-slider {
    padding: 4px 2px 48px;
  }

  .tt-testimonial-card {
    min-height: 0;
    padding: 24px 22px 22px;
  }

  .tt-testimonial-card .testimonial-heading {
    font-size: 1.25rem;
  }

  .tt-home-quote-popup-header {
    flex-direction: column;
    padding: 22px 18px 18px;
  }

  .tt-home-quote-popup-body {
    padding: 18px 18px 22px;
  }

  .tt-home-quote-popup .modal-content {
    border-radius: 16px;
  }

  .hero-quote-grid {
    padding: 104px 0 52px;
    gap: 18px;
  }

  .hero-quote-copy {
    text-align: center;
  }

  .hero-quote-grid .hero-label {
    justify-content: center;
  }

  .hero-section .hero-title {
    font-size: clamp(1.95rem, 8.8vw, 3.4rem) !important;
    line-height: 1.03;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-quote-grid .hero-buttons {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero-quote-grid .hero-buttons .btn-hero {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

  .hero-quote-grid .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    width: 100%;
    justify-content: stretch;
  }

  .hero-quote-grid .hero-stats .stat-divider {
    display: none;
  }

  .hero-quote-grid .hero-stats .stat-item {
    margin: 0;
    text-align: center;
    align-items: center;
  }

  .hero-quote-grid .hero-stats .stat-item:last-child {
    grid-column: 1 / -1;
  }

  .hero-quote-grid .hero-stats .stat-number {
    margin-left: 0 !important;
  }

  .hero-quote-card {
    margin-top: 8px;
  }

  .hero-quote-card {
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(7, 25, 56, 0.24);
  }

  .hero-quote-card-header,
  .hero-quote-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-quote-footnote {
    padding: 16px 18px 22px;
  }
}

@media (max-width: 420px) {
  .tt-quote-floating-left {
    left: 12px;
    bottom: 16px;
    max-width: calc(50vw - 14px);
  }

  .hero-section .hero-title {
    font-size: clamp(1.9rem, 8.4vw, 3.2rem) !important;
  }
}

.tt-home-mini-form .form-control {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.96);
}

.tt-home-mini-form .btn {
  min-height: 50px;
}

.tt-mini-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tt-mini-service-grid .service-card {
  margin: 0;
}
