html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

::selection {
  background: #f72585 !important;
  color: #ffffff !important;
}

::-moz-selection {
  background: #f72585 !important;
  color: #ffffff !important;
}

.angled-section-up {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -4vw;
}

.angled-section-down {
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
}

.diagonal-hero {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.home-hero {
  height: 921px;
}

.home-hero-title {
  text-transform: none;
}

.home-hero-line {
  display: block;
}

.home-stat-card {
  min-height: 11rem;
}

.home-stat-visual {
  margin-top: auto;
}

.home-stat-label {
  margin-top: auto;
}

.about-visual {
  min-width: 0;
}

.about-gallery {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.about-gallery-track {
  animation: about-gallery-scroll var(--about-gallery-duration, 180s) linear infinite;
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.about-gallery-set {
  display: flex;
  flex: none;
  gap: 1rem;
  height: 100%;
  padding-right: 1rem;
}

.about-gallery-slide {
  flex: 0 0 min(78vw, 30rem);
  height: 100%;
}

.about-gallery-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@keyframes about-gallery-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-gallery {
    overflow-x: auto;
  }

  .about-gallery-track {
    animation: none;
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: #f72585;
}

.faq-item[open] summary h3,
.faq-item[open] .faq-icon {
  color: #f72585;
}

.faq-item summary h3,
.faq-item .faq-icon,
.hard-shadow .text-primary,
.hard-shadow .text-primary-container,
.industrial-card-shadow .text-primary,
.industrial-card-shadow .text-primary-container,
.group .text-primary,
.group .text-primary-container {
  transition: color 300ms ease;
}

.group .border-primary-container {
  transition: border-color 300ms ease, opacity 300ms ease;
}

.faq-item:hover summary h3,
.faq-item:hover .faq-icon,
.hard-shadow:hover .text-primary,
.hard-shadow:hover .text-primary-container,
.industrial-card-shadow:hover .text-primary,
.industrial-card-shadow:hover .text-primary-container,
.group:hover .text-primary,
.group:hover .text-primary-container {
  color: #f72585;
}

.group:hover .border-primary-container {
  border-color: #f72585;
}

.hard-shadow.border-primary-container,
.industrial-card-shadow.border-primary-container,
.storage-dot {
  transition: border-color 300ms ease, background-color 300ms ease;
}

.hard-shadow.border-primary-container:hover,
.industrial-card-shadow.border-primary-container:hover {
  border-color: #f72585;
}

.hard-shadow.border-primary-container:hover .storage-dot,
.industrial-card-shadow.border-primary-container:hover .storage-dot {
  background-color: #f72585;
}

a.bg-primary-container:hover {
  background-color: #f72585;
  color: #ffffff;
}

a.border-primary-container:hover {
  background-color: #f72585;
  border-color: #f72585;
  color: #ffffff;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.rrhh-hero {
  min-height: 720px;
}

.diagonal-footer-top {
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.diagonal-up-right,
.diagonal-up,
.diagonal-cut-up {
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.diagonal-cut-down {
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.diagonal-cut {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.diagonal-cut-reverse {
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
}

.diagonal-cut-hero {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.diagonal-footer {
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.hard-shadow,
.industrial-card-shadow {
  box-shadow: 4px 4px 0px 0px #06131f;
}

.industrial-card-hover:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px 0px #f72585;
}

.process-timeline .hard-shadow {
  transition: transform 300ms ease;
  width: min(100%, 28rem);
}

.process-timeline .hard-shadow p {
  margin-top: 0.85rem;
  color: #3d4952;
  font-family: Manrope, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

.process-timeline .hard-shadow:hover {
  transform: translateY(-0.25rem);
}

.process-timeline > div > div:nth-child(2) {
  transition: background-color 300ms ease;
}

.process-timeline > div:hover > div:nth-child(2) {
  background-color: #f72585;
}

.skew-section {
  transform: skewY(-3deg);
}

.skew-section > * {
  transform: skewY(3deg);
}

.skewed-bg {
  transform: skewY(-3deg);
}

.skewed-content {
  transform: skewY(3deg);
}

.services-hero-bg {
  background-image: url("../../fotos_de_camiones/hero1.jpeg");
}

.services-hero-cut {
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.material-symbols-outlined.icon-fill {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.icon-40 {
  font-size: 40px;
}

.icon-48 {
  font-size: 48px;
}

.whatsapp-logo {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.whatsapp-logo-lg {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
}

.whatsapp-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0.25rem;
  background: #ffffff;
  border-radius: 9999px;
}

.site-brand-link {
  align-items: center;
  gap: 0.75rem;
}

.site-brand-logo {
  display: block;
  flex: none;
  height: 2.75rem;
  object-fit: contain;
  object-position: center;
  width: 2.75rem;
}

#site-navbar .site-brand-logo {
  height: 2.875rem;
  width: 2.875rem;
}

.site-partner-logo {
  display: block;
  flex: none;
  height: clamp(1.45rem, 4vw, 2.1rem);
  max-width: clamp(4.75rem, 18vw, 7rem);
  object-fit: contain;
  object-position: center;
  width: auto;
}

#site-footer .site-brand-logo {
  height: 3.25rem;
  width: 3.25rem;
}

.site-brand-name {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.05;
  white-space: nowrap;
  word-break: keep-all;
}

#site-navbar .site-brand-name {
  font-size: clamp(1.1rem, 4.6vw, 1.5rem);
}

.site-desktop-nav,
.site-quote-link,
.site-mobile-menu {
  display: none;
}

.site-menu-toggle {
  display: flex;
}

.site-mobile-menu.is-open {
  display: block;
}

@media (min-width: 640px) {
  .site-quote-link {
    display: inline-flex;
  }
}

@media (max-width: 639.98px) {
  #site-navbar .site-brand-name {
    display: none;
  }
}

@media (min-width: 1280px) {
  .site-desktop-nav {
    display: flex;
  }

  .site-menu-toggle,
  .site-mobile-menu,
  .site-mobile-menu.is-open {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1279.98px) {
  #site-footer .site-brand-name {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 779.98px) {
  #site-whatsapp-fab {
    right: 1rem;
    bottom: 7rem;
  }
}

@media (min-width: 1024px) and (max-height: 920px) {
  .home-hero {
    height: calc(100vh + 4rem);
    height: calc(100svh + 4rem);
  }

  .home-hero-content {
    transform: translateY(-4rem);
  }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .home-hero-copy {
    --tw-space-y-reverse: 0;
  }

  .home-hero-copy > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
  }

  .home-hero-actions {
    padding-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .text-h2 {
    font-size: clamp(2rem, 8vw, 2.55rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  .hard-shadow,
  .industrial-card-shadow {
    box-shadow: 3px 3px 0px 0px #06131f;
  }

  .h-\[614px\] {
    height: 460px !important;
  }

  .about-visual {
    display: block;
  }

  #site-footer .site-brand-name {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1;
  }

  .home-hero {
    height: auto;
    min-height: 0;
    padding: 2.5rem 0 3rem;
  }

  .home-hero-content {
    height: auto;
    transform: none;
  }

  .home-hero-copy {
    max-width: 100%;
    --tw-space-y-reverse: 0;
  }

  .home-hero-copy > :not([hidden]) ~ :not([hidden]) {
    margin-top: calc(1.125rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.125rem * var(--tw-space-y-reverse));
  }

  .home-hero-title {
    font-size: clamp(1.75rem, 7vw, 1.95rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    max-width: 100%;
    overflow-wrap: normal !important;
    text-transform: none !important;
    word-break: normal !important;
  }

  .home-hero-title .text-primary-container {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .home-hero-actions {
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

  .home-hero-actions a {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    text-align: center;
  }

  .home-hero + section {
    margin-top: 0 !important;
    padding-top: 1.5rem;
  }

  .home-measure-card {
    min-height: 8.75rem;
    padding: 1.25rem 0.75rem !important;
  }

  .home-measure-card .home-stat-visual {
    font-size: clamp(2rem, 8.5vw, 2.35rem) !important;
    line-height: 1.05 !important;
  }

  .home-measure-card .home-stat-label {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }

  body:not(.services-page) main > section:first-child h1.text-h1:not(.home-hero-title),
  body > header h1.text-h1,
  .services-page > section:first-of-type h1.text-h1 {
    font-size: clamp(1.8rem, 7.2vw, 2.35rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .services-page > section:first-of-type {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .services-page > section:first-of-type .text-center {
    text-align: left;
  }

  .services-page > section:first-of-type p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .services-page main {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .services-page main > .grid {
    gap: 1.5rem;
  }

  .services-page main > .grid > * {
    max-width: calc(100% - 4px);
  }

  .services-page main > .grid [class~="p-10"] {
    padding: 1.5rem;
  }

  .services-page main > .grid h3 {
    font-size: clamp(1.35rem, 5.6vw, 1.65rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .services-page main > .grid p {
    overflow-wrap: break-word;
  }

  #proceso-operativo {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #proceso-operativo .text-center {
    margin-bottom: 2.5rem;
  }

  #proceso-operativo h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
  }

  #proceso-operativo .process-timeline {
    position: relative;
    padding-left: 1rem;
  }

  #proceso-operativo .process-timeline::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0.35rem;
    width: 2px;
    background: #c8d4df;
  }

  #proceso-operativo .process-timeline > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.25rem;
  }

  #proceso-operativo .process-timeline > div {
    position: relative;
    display: block;
    padding-left: 1.25rem;
  }

  #proceso-operativo .process-timeline > div > div {
    width: 100%;
    padding: 0;
  }

  #proceso-operativo .process-timeline > div > div:empty:not(:nth-child(2)) {
    display: none;
  }

  #proceso-operativo .process-timeline > div > div:nth-child(2) {
    position: absolute;
    top: 1.55rem;
    left: -1rem;
    margin: 0;
    width: 0.875rem;
    height: 0.875rem;
    border-width: 3px;
  }

  #proceso-operativo .process-timeline .hard-shadow {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
  }

  #proceso-operativo .process-timeline .hard-shadow h4 {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .rrhh-hero {
    min-height: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .rrhh-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
  }

  .rrhh-hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  #site-whatsapp-fab {
    right: 1rem !important;
    bottom: 1rem !important;
    width: 3.25rem !important;
    height: 3.25rem !important;
  }

  #site-whatsapp-fab .whatsapp-logo-lg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@media (min-width: 700px) and (max-width: 767.98px) and (min-height: 900px) {
  #site-whatsapp-fab {
    right: 1rem !important;
    bottom: 7rem !important;
  }
}

.services-page {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.services-page .grid,
.services-page .flex {
  min-width: 0;
}

.services-page .grid > *,
.services-page .flex > * {
  min-width: 0;
}

@media (max-width: 1279.98px) {
  .services-page #site-navbar header,
  .services-page > section,
  .services-page > main,
  .services-page #site-footer footer {
    width: 100%;
    max-width: 100%;
  }

  .services-page .text-h1 {
    font-size: clamp(3rem, 14vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .services-page .text-h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    letter-spacing: 0;
  }

  .services-page .site-desktop-nav {
    display: none !important;
  }

  .services-page .site-menu-toggle {
    display: flex !important;
  }

  .services-page .site-mobile-menu {
    display: none !important;
  }

  .services-page .site-mobile-menu.is-open {
    display: block !important;
  }
}

@media (min-width: 1280px) {
  .services-page .site-desktop-nav {
    display: flex !important;
  }

  .services-page .site-menu-toggle,
  .services-page .site-mobile-menu,
  .services-page .site-mobile-menu.is-open {
    display: none !important;
  }
}
