/*
 * Cargotech — the public site.
 *
 * A copy of the previous site's look (the "LANSER" template by Awesome Themez,
 * on Bootstrap 3), rewritten without Bootstrap, jQuery or its plugins: the same
 * sizes, colours and fonts, the same breakpoints (768, 992 and 1200 px for the
 * grid; 1000 px for the mobile menu).
 *
 * The site's photos are <img> elements, not CSS backgrounds, because they can
 * be replaced in /admin and the security policy allows no inline styles. The
 * "fixed" photos behind the first screen and "Nuestros productos" stay still
 * while the page scrolls, like the template's background-attachment: fixed.
 */

/*
 * Fonts, served from this site (public/assets/fonts; SIL Open Font License, see
 * the OFL-*.txt files there; Fontsource 5.3.0): Open Sans for the text, Titillium
 * Web for headings, menus and buttons. Browsers only download a file when the page
 * has text in that face and range.
 */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sans-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/titillium-web-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/titillium-web-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/titillium-web-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/titillium-web-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/titillium-web-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Titillium Web";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/titillium-web-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #1d2236;
  --navy-bar: rgba(29, 34, 54, 0.95);
  --red: #f05554;
  /* The template's pure red (#ff0000) is 4.0:1 on white; this one passes WCAG AA (4.8:1). */
  --link: #e60000;
  /* Hover and focus on light backgrounds: 8.2:1 on white (the template's yellow was 1.5:1).
     The header, footer and holding page set their own, for their dark backgrounds. */
  --link-hover: #a30000;
  /* Buttons on hover and focus: white text on it is 5.6:1 (the template's #f05554 was 3.4:1). */
  --button-hover: #c62828;
  --text: #4c4c4c;
  --heading: #333;
  --border: #bfbfbf;
  --footer: #333;
  --header-height: 80px;
  --gutter: 30px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 69px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px;
  padding: 0;
  color: var(--heading);
  font-family: 'Titillium Web', sans-serif;
  font-weight: 400;
  line-height: 1.1;
}

p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  line-height: 25px;
}

ul {
  margin: 0 0 15px;
  padding-left: 15px;
  list-style: square outside none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--link);
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover,
a:focus,
a:active {
  color: var(--link-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* "Saltar al contenido": out of sight until reached with the keyboard. */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
  color: #fff;
  transform: none;
}

/* ---------- Grid (Bootstrap 3's widths, with the template's 30 px gutters) ---------- */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(-1 * var(--gutter));
  margin-left: calc(-1 * var(--gutter));
}

.col {
  width: 100%;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }

  .col-sm-4 {
    width: 33.3333%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-8 {
    width: 66.6667%;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }

  .col-md-4 {
    width: 33.3333%;
  }

  .col-md-6 {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

@media (min-width: 768px) and (max-width: 991px), (max-width: 650px) {
  :root {
    --gutter: 15px;
  }
}

.section {
  padding: 90px 0 60px;
}

@media (max-width: 767px) {
  .section {
    padding: 50px 0 20px;
  }
}

.black-bg {
  background-color: var(--footer);
  color: #fff;
}

/* ---------- Buttons ---------- */

.t-btn {
  display: inline-block;
  padding: 12px 32px;
  border: none;
  outline: none;
  background-color: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.t-btn:hover,
.t-btn:active,
.t-btn:focus {
  background-color: var(--button-hover);
  color: #fff;
}

.t-btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}

/* Navy once the page scrolls (main.js), and always on the pages without a main photo. */
.site-header.small-height,
.inner-page .site-header {
  background-color: var(--navy-bar);
}

.header-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.site-title {
  display: inline-block;
  max-width: 250px;
  line-height: 30px;
}

.site-title img {
  width: 250px;
  max-width: 100%;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 100%;
}

.primary-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.primary-nav-list .menu-item {
  position: relative;
  margin-right: 33px;
}

.primary-nav-list .menu-item:last-child {
  margin-right: 0;
}

.primary-nav-list .menu-item > a {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

.primary-nav-list .menu-item > a:hover,
.primary-nav-list .menu-item > a:focus,
.primary-nav-list .menu-item > a.active {
  color: var(--red);
}

/* ES | EN, after the sections. */
.menu-item--lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.primary-nav-list .menu-item--lang > a {
  color: rgba(255, 255, 255, 0.7);
}

.primary-nav-list .menu-item--lang > a[aria-current] {
  color: #fff;
  font-weight: 600;
}

/* A submenu (Contenido → Menú): its title opens a list under it, with or without JavaScript (<details>). */
.sub-menu-wrap > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--header-height);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.sub-menu-wrap > summary::-webkit-details-marker {
  display: none;
}

/* A small chevron that turns over while the list is open. */
.sub-menu-wrap > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.sub-menu-wrap[open] > summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.sub-menu-wrap > summary:hover,
.sub-menu-wrap > summary:focus,
.sub-menu-wrap[open] > summary,
.menu-item--parent:has(a.active) .sub-menu-wrap > summary {
  color: var(--red);
}

.sub-menu {
  position: absolute;
  top: calc(var(--header-height) - 14px);
  left: -20px;
  z-index: 10;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  border-top: 3px solid var(--red);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  list-style: none;
}

.primary-nav-list .sub-menu .menu-item {
  margin-right: 0;
}

.primary-nav-list .sub-menu .menu-item > a {
  height: auto;
  padding: 9px 20px;
  white-space: nowrap;
}

/* The mobile menu's button: three lines that turn into an X. */
.m-menu-btn {
  display: none;
  position: relative;
  width: 30px;
  height: 27px;
  margin: 15px 0 15px 25px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.m-menu-btn span:first-child,
.m-menu-btn span:first-child::before,
.m-menu-btn span:first-child::after {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
}

.m-menu-btn span:first-child {
  position: relative;
  margin: 0 auto;
  transition: background-color 0s 0.2s;
}

.m-menu-btn span:first-child::before,
.m-menu-btn span:first-child::after {
  content: '';
  position: absolute;
  transition-property: margin, transform;
  transition-duration: 0.2s;
  transition-delay: 0.2s, 0s;
}

.m-menu-btn span:first-child::before {
  margin-top: -8px;
}

.m-menu-btn span:first-child::after {
  margin-top: 8px;
}

.m-menu-btn[aria-expanded='true'] span:first-child {
  background-color: transparent;
}

.m-menu-btn[aria-expanded='true'] span:first-child::before,
.m-menu-btn[aria-expanded='true'] span:first-child::after {
  margin-top: 0;
  transition-delay: 0s, 0.2s;
}

.m-menu-btn[aria-expanded='true'] span:first-child::before {
  transform: rotate(45deg);
}

.m-menu-btn[aria-expanded='true'] span:first-child::after {
  transform: rotate(-45deg);
}

@media (max-width: 1000px) {
  :root {
    --header-height: 70px;
  }

  .site-header > .container {
    width: 100%;
    padding: 0;
  }

  .site-branding {
    margin-left: 15px;
  }

  .site-title {
    max-width: min(250px, calc(100vw - 100px));
  }

  .primary-nav {
    position: static;
  }

  .m-menu-btn {
    display: block;
    margin-right: 15px;
  }

  .primary-nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: 295px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(30, 30, 30, 0.97);
  }

  .primary-nav-list.is-open {
    display: block;
  }

  .primary-nav-list .menu-item {
    margin-right: 0;
  }

  .primary-nav-list .menu-item > a {
    display: block;
    height: auto;
    padding: 6px 15px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .primary-nav-list .menu-item > a:hover,
  .primary-nav-list .menu-item > a:focus {
    background-color: #2b2b2b;
  }

  .sub-menu-wrap > summary {
    height: auto;
    padding: 6px 15px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .sub-menu-wrap > summary:hover,
  .sub-menu-wrap > summary:focus {
    background-color: #2b2b2b;
  }

  .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 4px;
    border-top: 0;
    background: none;
    box-shadow: none;
  }

  .primary-nav-list .sub-menu .menu-item > a {
    padding: 6px 15px 6px 30px;
    white-space: normal;
  }

  .menu-item--lang {
    padding: 0 15px 6px;
  }

  .primary-nav-list .menu-item--lang > a {
    padding: 6px 0;
  }

  .primary-nav--lang .primary-nav-list {
    display: flex;
    position: static;
    width: auto;
    background: none;
  }

  .primary-nav--lang .menu-item--lang {
    padding: 0 15px 0 0;
  }
}

/* ---------- Photos that stay still while the page scrolls ---------- */

.parallax {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* Clips the fixed image to this section. */
  clip-path: inset(0);
}

.parallax__img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100lvh;
  object-fit: cover;
}

/* ---------- First screen ---------- */

.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 70px;
  text-align: center;
}

.hero .parallax__img {
  object-position: 50% 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero__mark {
  display: inline-block;
  max-width: 110px;
  margin-bottom: 30px;
}

.hero h1 {
  position: relative;
  margin-bottom: 29px;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero__subtitle {
  margin-bottom: 32px;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.hero-btn-wrap {
  margin-top: 60px;
}

.hero-btn {
  display: inline-block;
  padding: 8px 45px;
  border: 2px solid #fff;
  background-color: #fff;
  color: #191919;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-btn:hover,
.hero-btn:focus {
  border-radius: 5px;
  background-color: transparent;
  color: #fff;
}

@media (max-width: 650px) {
  .hero h1 {
    margin-bottom: 24px;
    font-size: 40px;
  }

  .hero-btn-wrap {
    margin-top: 50px;
  }
}

/* ---------- Highlights (the three boxes under the first screen) ---------- */

.feature.section {
  padding-bottom: 0;
}

.single-feature .icon {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  fill: var(--navy);
}

.single-feature__title {
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.single-feature p {
  max-width: 75%;
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .single-feature p {
    max-width: 90%;
  }
}

@media (max-width: 991px) {
  .single-feature p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .single-feature {
    margin-bottom: 30px;
  }

  .feature .col:last-child .single-feature {
    margin-bottom: 0;
  }
}

/* ---------- ¿Quiénes somos? ---------- */

.about-us {
  margin-bottom: 50px;
}

.about-img {
  margin-bottom: 30px;
}

.about-img img {
  width: 100%;
}

.about-details {
  margin-bottom: 30px;
}

.about-details__kicker {
  margin-bottom: 20px;
  color: var(--heading);
  font-family: 'Titillium Web', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.about-details h2 {
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

.about-details p {
  line-height: 25px;
  text-align: justify;
}

.about-details__part + .about-details__part {
  margin-top: 37px;
}

@media (max-width: 991px) {
  .what-we-do {
    flex-direction: column-reverse;
  }
}

@media (max-width: 767px) {
  .about-us {
    margin-bottom: 20px;
  }
}

@media (max-width: 650px) {
  .about-details h2 {
    margin-bottom: 18px;
    font-size: 27px;
    line-height: 30px;
  }
}

/* ---------- Section headings: a title between two lines, with three red dots ---------- */

.section-header {
  display: inline-block;
  position: relative;
  left: 50%;
  margin-bottom: 60px;
  overflow: hidden;
  text-align: center;
  transform: translateX(-50%);
}

.section-header h2 {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-header h2::before,
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 1.5px;
  width: 50%;
  height: 2px;
  background-color: #444;
}

.section-header h2::before {
  left: 0;
  margin-left: -17px;
}

.section-header h2::after {
  right: 0;
  margin-right: -16px;
}

.section-separator {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--red);
  transform: translateX(-50%);
}

.section-separator::before,
.section-separator::after {
  content: '';
  position: absolute;
  bottom: 0.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--red);
}

.section-separator::before {
  left: -8px;
}

.section-separator::after {
  right: -8px;
}

.section-header.white h2 {
  color: #fff;
}

.section-header.white h2::before,
.section-header.white h2::after,
.white .section-separator::before,
.white .section-separator::after {
  background-color: #e4dfdf;
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: 35px;
  }
}

/* ---------- Nuestros productos ---------- */

.service {
  position: relative;
  background-color: #1b1d24;
}

.service.section {
  padding-bottom: 10px;
}

.service .parallax__img {
  object-position: center center;
}

.service .container {
  position: relative;
  z-index: 1;
}

.service .section-header {
  margin-bottom: 70px;
}

.single-service {
  position: relative;
  margin-bottom: 70px;
  padding-left: 50px;
}

.single-service .icon {
  position: absolute;
  top: -5px;
  left: 0;
  width: 30px;
  height: 30px;
  fill: var(--red);
  transition: all 0.3s ease;
}

.single-service:hover .icon {
  fill: #fff;
}

.single-service h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.single-service ul {
  color: #fff;
}

.single-service li {
  font-size: 14px;
}

@media (max-width: 767px) {
  .service .section-header {
    margin-bottom: 50px;
  }

  .single-service {
    margin-bottom: 40px;
  }
}

/* ---------- Contáctanos ---------- */

.single-info {
  position: relative;
  margin-bottom: 40px;
  padding-left: 45px;
}

.single-info .icon,
.single-info .social-icon {
  position: absolute;
  top: 3px;
  left: 0;
  width: 15px;
  height: 15px;
  fill: var(--heading);
}

.single-info h3,
.single-info__name {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.single-info p {
  margin: 0;
  line-height: 20px;
}

.single-info__name {
  margin-bottom: 4px;
}

.single-info .single-info__role {
  color: var(--heading);
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
}

.single-info .phone-link {
  color: var(--text);
}

.single-info .phone-link:hover,
.single-info .phone-link:focus {
  color: var(--link-hover);
}

/* Comerciales, Atención a Clientes…: a centred heading over its people. */
.contact-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-area__title {
  flex-basis: 100%;
  margin-bottom: 10px;
  font-size: 26px;
  text-align: center;
}

/* ---------- «Contáctanos» without the form (Ajustes → Sitio) ----------
   Plain type on the white section: the general phone and email large, as the
   way to reach Cargotech, and the people of each area beside them. */

.contact-direct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: start;
}

.contact-direct--single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

/* One line between the general details and the people. */
.contact-direct:not(.contact-direct--single) .contact-people {
  padding-left: 56px;
  border-left: 1px solid #e3e3e3;
}

@media (max-width: 991px) {
  .contact-direct {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-direct:not(.contact-direct--single) .contact-people {
    padding-top: 40px;
    padding-left: 0;
    border-top: 1px solid #e3e3e3;
    border-left: 0;
  }
}

.contact-main__title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.contact-main__lead {
  max-width: 34em;
  margin: 0 0 28px;
}

.contact-main__lines {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.contact-main__lines li + li {
  margin-top: 14px;
}

/* The way to reach Cargotech, the largest type in the section. */
.contact-main__line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.contact-main__line:hover,
.contact-main__line:focus {
  color: var(--link);
}

.contact-main__line .icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: var(--link);
}

.contact-main__whatsapp {
  margin: 0 0 30px;
}

.contact-main__whatsapp .t-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-main__whatsapp .social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-main__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px 32px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #dfe2e6;
}

.contact-main__facts dt {
  margin-bottom: 4px;
  color: var(--navy);
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.contact-main__facts dd {
  margin: 0;
  line-height: 21px;
}

.contact-people__area + .contact-people__area {
  margin-top: 36px;
}

.contact-people__title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 600;
}

.contact-people__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-person__name {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
}

.contact-person p {
  margin: 0;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.contact-person .contact-person__role {
  margin-bottom: 6px;
  color: var(--heading);
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
}

.contact-person .phone-link {
  color: var(--text);
}

.contact-person .phone-link:hover,
.contact-person .phone-link:focus {
  color: var(--link);
}

@media (max-width: 767px) {
  .contact-main__title {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .single-info {
    margin-bottom: 30px;
  }
}

/* The form. */
.contact-form {
  margin-bottom: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 5px 10px;
  border: 1px solid #767676; /* 4.5:1 on white: the field's edge is visible */
  border-radius: 3px;
  outline: none;
  background: #fff;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px; /* below 16px, iPhones zoom in when the field gets focus */
  line-height: 22px;
  transition: all 0.3s ease;
}

.contact-form textarea {
  height: 160px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #757575; /* the only visible label: 4.6:1 on white */
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(29, 34, 54, 0.15);
}

.contact-form [aria-invalid='true'] {
  border-color: #c62828;
}

.form-error {
  margin: -16px 0 16px;
  color: #c62828;
  font-size: 13px;
  line-height: 18px;
}

.form-error[hidden] {
  display: none;
}

/* A list's first line is its label, in the placeholders' grey until something is chosen. */
.contact-form select {
  height: 34px;
}

.contact-form select:has(option[value='']:checked) {
  color: #757575;
}

/* A box to tick: the box, then its label. */
.form-field--check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-form .form-field--check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--navy);
}

.form-field--check label {
  flex: 1 1 0;
  font-size: 14px;
  line-height: 22px;
}

.form-field--check .form-error {
  flex-basis: 100%;
  margin: 0;
}

/* A PDF: a label above it, and what it may be under it. */
.form-field--file label {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 14px;
  line-height: 20px;
}

.contact-form .form-field--file input {
  margin-bottom: 6px;
  padding: 6px 10px;
  font-size: 14px;
}

.form-hint {
  margin: 0 0 20px;
  color: #6b6b6b;
  font-size: 13px;
  line-height: 18px;
}

/* The field only bots see. */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin: -6px 0 16px;
  font-size: 12px;
  line-height: 18px;
}

/* A link in a sentence is told apart by more than its colour. */
.form-privacy a {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 10px 32px;
  border-radius: 3px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.alert {
  margin: 0 0 20px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  line-height: 20px;
}

.alert-success {
  border-color: #d6e9c6;
  background-color: #dff0d8;
  color: #3c763d;
}

.alert-danger {
  border-color: #ebccd1;
  background-color: #f2dede;
  color: #a94442;
}

/* ---------- Map ---------- */

.map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 650px) {
  .map iframe {
    height: 300px;
  }
}

/* ---------- Footer ---------- */

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 30px;
  min-height: 80px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.social-btn {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 2px 5px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
}

.social-btn a:hover,
.social-btn a:focus {
  border-color: var(--link);
  background-color: var(--link);
  color: #fff;
}

.social-btn .social-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.footer-fine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.copy-right {
  margin: 0;
  color: #a8a8a8;
  font-size: 12px;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #a8a8a8;
  font-size: 12px;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-links a[aria-current] {
  color: #fff;
}

/* «Preferencias de cookies»: a button that looks like the links next to it. */
.footer-links__button {
  padding: 0;
  border: 0;
  background: none;
  color: #a8a8a8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.footer-links__button:hover,
.footer-links__button:focus {
  color: #fff;
}

/* Room for the back-to-top button, which sits over the footer's right end on narrower screens. */
@media (max-width: 1240px) {
  .site-footer .container {
    padding-right: calc(var(--gutter) + 50px);
  }
}

@media (max-width: 550px) {
  .site-footer .container {
    flex-direction: column;
    justify-content: center;
    padding-right: var(--gutter);
    padding-bottom: 60px;
  }

  .footer-fine {
    justify-content: center;
  }
}

/* ---------- Back to top, WhatsApp ---------- */

.scrollup {
  position: fixed;
  right: 25px;
  bottom: -60px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 5px;
  border: 0;
  background-color: rgba(29, 34, 54, 0.6);
  color: #fff;
  cursor: pointer;
  visibility: hidden;
  transition: all 0.4s ease;
}

.scrollup svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* The buttons' hover red: the white arrow on it is 5.6:1 (the template's yellow was 1.6:1). */
.scrollup:hover,
.scrollup:focus {
  background-color: var(--button-hover);
}

.scrollup.scrollup-show {
  bottom: 25px;
  visibility: visible;
}

.whatsapp-button {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 25;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}

.whatsapp-button:hover,
.whatsapp-button:focus {
  color: #fff;
  transform: scale(1.06);
}

.whatsapp-button .social-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .scrollup,
  .whatsapp-button,
  .site-header {
    transition: none;
  }
}

/* ---------- Cookie notice ---------- */

/* Bottom left on a first visit, across the bottom on a phone; both choices the same size. */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 150;
  width: calc(100% - 40px);
  max-width: 380px;
  padding: 20px 24px;
  border-top: 3px solid var(--link);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__title {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: 'Titillium Web', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.cookie-notice__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 22px;
}

.cookie-notice__actions {
  display: flex;
  gap: 10px;
}

.cookie-notice__button {
  flex: 1 1 0;
  padding: 11px 12px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.cookie-notice__policy {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 550px) {
  .cookie-notice {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  }
}

/* Clear of the notice for people signed in to /admin, which sits across the bottom. */
body:has(.admin-notice) .cookie-notice {
  bottom: 90px;
}

/* While it's open the page scrolls clear of it, so the footer's links (the privacy notice) stay
   reachable before a choice. consent.js keeps --cookie-notice-height up to date. */
body:has(.cookie-notice:not([hidden])) .site-footer {
  padding-bottom: calc(var(--cookie-notice-height, 0px) + 20px);
}

.landing-page:has(.cookie-notice:not([hidden])) .landing {
  padding-bottom: calc(var(--cookie-notice-height, 0px) + 40px);
}

/* ---------- Text pages (privacy notice…), the 404 page and the form's answer ---------- */

.text-page {
  padding: calc(var(--header-height) + 60px) 0 60px;
}

.text-page__inner {
  max-width: 860px;
}

.text-page__head {
  margin-bottom: 30px;
}

.text-page__title {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

.text-page__updated {
  color: #6b6b6b;
  font-size: 13px;
}

.text-page__body h2 {
  margin: 30px 0 12px;
  font-size: 22px;
  font-weight: 700;
}

.text-page__body h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.text-page__body ul,
.text-page__body ol {
  margin: 0 0 15px;
  padding-left: 20px;
  color: var(--text);
}

.text-page__body li {
  margin-bottom: 4px;
}

.text-page__body blockquote {
  margin: 0 0 15px;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--red);
}

.text-page__body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Images added in Contenido → Páginas: the column's width at most. */
.text-page__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

/* A form under the page's text (Contenido → Formularios). */
.text-page__form {
  max-width: 640px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

/* ---------- Holding page ---------- */

.landing-page {
  background: var(--navy);
}

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 60px 24px;
  text-align: center;
}

.landing__brand {
  margin: 0 0 26px;
}

.landing__brand img {
  width: 300px;
}

.landing__separator {
  position: relative;
  bottom: auto;
  left: auto;
  margin-bottom: 30px;
  transform: none;
}

.landing__text {
  max-width: 560px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.landing__text[lang] {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.landing__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.landing__contact a {
  color: #fff;
}

.landing__contact a:hover,
.landing__contact a:focus {
  color: var(--red);
}

/* The privacy notice, the cookie policy and «Preferencias de cookies», small, at the bottom. */
.landing__legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.landing__legal a,
.landing__legal button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.landing__legal a:hover,
.landing__legal a:focus,
.landing__legal button:hover,
.landing__legal button:focus {
  color: #fff;
}

/* ---------- Notice for people signed in to /admin ---------- */

.admin-notice {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 22px;
  padding: 10px 5vw;
  background: #1f6fd1;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.admin-notice__text {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.admin-notice__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body:has(.admin-notice) .site-footer {
  padding-bottom: 60px;
}

/* ---------- Icons ---------- */

.icon {
  fill: currentColor;
}

.social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media print {
  .site-header,
  .scrollup,
  .whatsapp-button,
  .cookie-notice,
  .map,
  .parallax {
    display: none;
  }

  .hero,
  .service {
    min-height: 0;
    background: none;
  }

  .hero h1,
  .hero__subtitle,
  .section-header.white h2,
  .single-service h3,
  .single-service ul {
    color: #000;
  }
}

/* ---------- Promotion pop-up (Contenido → Promociones) ---------- */

/* A card in the middle of the dimmed page; a sheet from the bottom on a phone. */
.promo {
  width: calc(100% - 32px);
  max-width: 460px;
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-top: 4px solid var(--link);
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.promo::backdrop {
  background: rgba(29, 34, 54, 0.6);
}

.promo__close-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  margin: 0;
}

.promo__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  color: var(--navy);
  cursor: pointer;
}

.promo__close:hover,
.promo__close:focus {
  background: var(--navy);
  color: #fff;
}

.promo__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.promo__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.promo__body {
  padding: 28px 28px 30px;
}

.promo__title {
  margin: 0 44px 10px 0;
  color: var(--navy);
  font-family: 'Titillium Web', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

/* Under an image the × sits on the photo, so the title takes the whole width. */
picture + .promo__body .promo__title {
  margin-right: 0;
}

.promo__text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 24px;
}

.promo__text:last-child {
  margin-bottom: 0;
}

.promo__button {
  display: block;
  border-radius: 3px;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 550px) {
  .promo {
    width: 100%;
    max-width: none;
    max-height: 90%;
    margin: auto auto 0;
  }

  .promo__body {
    padding: 24px 20px calc(26px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .promo[open] {
    animation: promo-in 0.3s ease-out;
  }

  .promo[open]::backdrop {
    animation: promo-fade 0.3s ease-out;
  }
}

@keyframes promo-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes promo-fade {
  from {
    opacity: 0;
  }
}
