/* Guadiana Comercial - custom overrides on top of the Trucker template */

/* More breathing room around the "Cross-Border Trucking You Can Count On" section */
.trucker__about-area_home-2 {
  padding-top: 130px !important;
  padding-bottom: 130px !important;
  top: 0 !important;
}

@media (max-width: 767px) {
  .trucker__about-area_home-2 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}

/* Keep the real fleet photo nicely framed regardless of source size */
.trucker__about-area_home-2 .trucker__about-left-site img {
  width: 100%;
  max-width: 560px;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .trucker__about-area_home-2 .trucker__about-left-site img {
    height: auto;
    max-width: 100%;
  }
}

/* Dark overlay on the hero photo so the white headline/subtitle stay readable */
.trucker__hero-area-home-2 .trucker__hero-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.68) 100%);
  z-index: 1;
}

/* Force reliable vertical centering of the hero text block (the template's
   absolute-position/top:45% approach doesn't render consistently) */
.trucker__hero-area-home-2 .trucker__hero-item {
  display: flex;
  align-items: center;
}

.trucker__hero-area-home-2 .trucker__hero-item .trucker__container {
  width: 100%;
}

.trucker__hero-area-home-2 .trucker__hero-item .trucker__hero-content-wrapper {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 5 !important;
}

.trucker__hero-area-home-2 .trucker__hero-item .trucker__hero-item-shep {
  position: relative;
  z-index: 2;
}

.trucker__hero-area-home-2 .trucker__hero-btn {
  margin-top: 8px;
}

/* Give the About page's "665x629" content photo the same clean framing */
.trucker__about-area-home-1 .trucker__about-left-site img {
  width: 100%;
  max-width: 560px;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .trucker__about-area-home-1 .trucker__about-left-site img {
    height: auto;
    max-width: 100%;
  }
}

/* "How to Get a Quote" step cards were unstyled (white text on white background) */
.trucker__pricing-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.trucker__pricing-item {
  background: #062E39;
  border-radius: 14px;
  padding: 45px 32px;
  flex: 1 1 300px;
  max-width: 360px;
  text-align: center;
}

.trucker__quote-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2A9D8F;
  margin-bottom: 18px;
}

.trucker__pricing-item h4 {
  margin-bottom: 10px;
}

/* Real client logo sizing (source files are large/wide) */
.trucker__header-menu .trucker__logo img,
.trucker__menu-header .trucker__logo img {
  width: auto;
  height: 48px;
  max-width: 260px;
  object-fit: contain;
}

.trucker__footer-logo img {
  width: auto;
  height: 56px;
  max-width: 280px;
  object-fit: contain;
}

.trucker__loader_logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .trucker__header-menu .trucker__logo img,
  .trucker__menu-header .trucker__logo img {
    height: 38px;
    max-width: 190px;
  }
}

/* Detailed services page: category blocks with checklists / step lists */
.trucker__services-detail-area {
  padding: 100px 0;
}

@media (max-width: 767px) {
  .trucker__services-detail-area {
    padding: 60px 0;
  }
}

.trucker__services-block {
  padding: 40px 0;
  border-bottom: 1px solid #E5E7E9;
}

.trucker__services-block:last-child {
  border-bottom: none;
}

.trucker__services-block-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.trucker__services-block-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #062E39;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trucker__services-block-icon i {
  color: #2A9D8F;
  font-size: 28px;
}

.trucker__services-block-header h3 {
  color: #062E39;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.trucker__services-block-header p {
  color: #747474;
  font-size: 16px;
  margin: 0;
}

.trucker__check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
}

.trucker__check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #062E39;
  font-size: 16px;
}

.trucker__check-list li i {
  color: #2A9D8F;
  margin-top: 4px;
  flex-shrink: 0;
}

.trucker__step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.trucker__step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.trucker__step-list li:last-child {
  margin-bottom: 0;
}

.trucker__step-list li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2A9D8F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.trucker__step-list li span {
  color: #062E39;
  font-size: 16px;
  padding-top: 3px;
}

@media (max-width: 767px) {
  .trucker__check-list {
    grid-template-columns: 1fr;
  }

  .trucker__services-block-header {
    flex-direction: column;
    gap: 12px;
  }
}

/* "Learn More" link under each service category on the overview page */
.trucker__feature-btn-2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #2A9D8F;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.trucker__feature-btn-2:hover {
  text-decoration: underline;
}

.trucker__services-block-header h3 a {
  color: inherit;
  text-decoration: none;
}

.trucker__services-block-header h3 a:hover {
  color: #2A9D8F;
}

/* Sidebar "Need a Quote?" box on service detail pages */
.trucker__quote-box {
  background: #062E39;
  border-radius: 12px;
  padding: 28px;
  margin-top: 30px;
}

.trucker__quote-box h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trucker__quote-box p {
  color: #c8d3d6;
  font-size: 15px;
  margin-bottom: 18px;
}

/* Fix: trucker__btn-style-1 is an inline <a> by default, which breaks into a
   disjointed background if its text wraps to two lines in a narrow container
   (e.g. this sidebar). Force it to behave as a proper block-level button. */
.trucker__quote-box .trucker__btn-style-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  box-sizing: border-box;
}

.trucker__quote-box .trucker__btn-style-1 i {
  right: 0;
}

/* ============================================================
   Header: universal fixes (apply to BOTH languages, not just
   Spanish) so a language-attribute mismatch on hosting/CMS side
   can never cause these to silently not apply.
   ============================================================ */

/* trucker__btn-style-1 is an inline <a> by default -> if its text
   ever wraps to 2 lines (long ES labels, narrow containers) the
   green background renders as a broken/disjointed shape. Force it
   to behave as a single-line button everywhere, permanently. */
.trucker__btn-style-1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Guarantee breathing room around the nav block regardless of how
   much leftover space justify-content:space-between finds. */
.trucker__header-menu .trucker__menu-wrapper .trucker__logo {
  margin-right: 24px;
}

.trucker__header-menu .trucker__menu-wrapper .trucker__header-menu-right {
  margin-left: 24px;
}

/* Slightly tighter nav gap on both languages so there is always
   leftover space left over for the two rules above. */
.trucker__header-menu .trucker__menu-wrapper .trucker__menu__inner .trucker__menu {
  gap: 40px;
}

@media (max-width: 1299px) {
  .trucker__header-menu .trucker__menu-wrapper .trucker__menu__inner .trucker__menu {
    gap: 28px;
  }
}

/* ============================================================
   Spanish-only refinements — ES labels ("Preguntas Frecuentes",
   "Solicitar Cotización", the full legal name in the logo) run
   longer than English, so trim size/padding a bit further here.
   ============================================================ */

html[lang="es"] .trucker__header-menu .trucker__menu-wrapper .trucker__menu__inner .trucker__menu {
  gap: 26px;
}

html[lang="es"] .trucker__header-menu .trucker__menu-wrapper .trucker__menu__inner .trucker__menu li a {
  font-size: 15px;
}

html[lang="es"] .trucker__header-menu .trucker__logo img {
  height: 36px;
}

html[lang="es"] .trucker__header-btn .trucker__btn-style-1 {
  padding: 16px 22px 16px 18px;
  font-size: 14px;
}

@media (max-width: 1500px) {
  html[lang="es"] .trucker__header-menu .trucker__menu-wrapper .trucker__menu__inner .trucker__menu {
    gap: 18px;
  }
}
