.page-nosotros .main-content h3,
.page-nosotros .main-content h4,
.page-nosotros .service-stats h3 {
  font-family: var(--font-heading);
  color: #ffd700;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.page-nosotros .main-content h4 {
  font-size: 1.5rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  z-index: 140;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.whatsapp-float svg {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  outline: none;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
@font-face {
  font-family: 'Evil Empire';
  src: url('../fonts/Evil%20Empire.otf') format('opentype');
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --color-primary: #f5c400;
  --color-primary-dark: #cfa300;
  --color-secondary: #111111;
  --color-accent: #f5c400;
  --text-light: #f7f7f7;
  --font-base: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-heading: 'Evil Empire', 'Times New Roman', serif;
  --container-max-width: 1120px;
  --header-offset: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1.5rem;
  line-height: 1.7;
  background: #191919;
  color: #191919;
  padding-top: var(--header-offset);
  overflow-x: hidden;
}

body p {
  color: #ffffff;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

main h2 {
  font-family: var(--font-heading);
  color: #ffd700;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

@media (max-width: 1023px) {
  :root {
    --header-offset: 88px;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  font-family: var(--font-base);
  font-size: 1.5rem;
  line-height: 1.7;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 110;
  pointer-events: auto;
}

.site-header .navbar {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 24px;
  position: relative;
  color: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-condensed .navbar {
  background-color: rgba(17, 17, 17, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  flex: 1;
}

.site-header .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand-logo img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: none;
}

.site-header .brand-logo__label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: currentColor;
}

.site-header .navbar-burger {
  color: var(--text-light);
  margin-left: auto;
  margin-right: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 46px;
  height: 46px;
  align-items: center;
  background: transparent;
  padding: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header .navbar-burger span {
  width: 18px;
  height: 2px;
  background-color: currentColor;
  display: block;
  border-radius: 1px;
}

.site-header .navbar-burger span + span {
  margin-top: 4px;
}

.site-header .navbar-burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header .navbar-burger.is-active {
  color: var(--color-primary);
}


.site-header .navbar-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 26px 24px 30px;
  background-color: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: none;
}

.site-header .navbar-menu.is-active {
  display: flex;
}

.site-header .navbar-end {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-header .navbar-item {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  width: 100%;
  background-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-header .navbar-item.is-active {
  color: var(--color-primary);
}

.site-header .navbar-item:hover,
.site-header .navbar-item:focus-visible {
  color: #ffffff;
  background-color: transparent;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-underline-offset: 8px;
  outline: none;
}

.site-header .navbar-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  position: relative;
}

.nav-search__toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nav-search__toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-search__toggle:hover,
.nav-search__toggle:focus-visible,
.nav-search.is-active .nav-search__toggle {
  color: var(--color-primary);
  border-color: var(--color-primary);
  outline: none;
}

.nav-search__form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.nav-search.is-active .nav-search__form input[type="search"] {
  border-bottom-color: var(--color-primary);
}

.nav-search__form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #ffffff;
  padding: 6px 4px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease;
}

.nav-search__form input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
  text-transform: none;
  letter-spacing: 0;
}

.nav-search__form input[type="search"]:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.nav-search__form[hidden] {
  display: none;
}

.nav-languages {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-languages__link {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-languages__link:hover,
.nav-languages__link:focus-visible,
.nav-languages__link.is-active {
  color: #ffffff;
  border-bottom-color: var(--color-primary);
  outline: none;
}

.nav-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 24px;
  background-color: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-quote:hover,
.nav-quote:focus-visible {
  color: #111111;
  border-color: var(--color-primary-dark);
  background-color: rgba(245, 196, 0, 0.15);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 1023px) {
  .site-header .brand-logo img {
    height: 48px;
  }

  .site-header .brand-logo__label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 1024px) {
  .site-header .navbar {
    padding: 0 56px;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 32px;
  }

  .site-header .navbar-brand {
    flex: 0 0 auto;
  }

  .site-header .navbar-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    padding: 0;
    width: auto;
    background: none;
    backdrop-filter: none;
    border: none;
    margin-left: auto;
  }

  .site-header .navbar-end {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
  }

  .site-header .navbar-actions {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: auto;
    padding-top: 0;
    border-top: none;
  }

  .site-header .navbar-item {
    width: auto;
    min-height: 72px;
    padding: 0 16px;
  }

  .nav-search {
    width: auto;
  }

  .nav-search__form {
    max-width: 260px;
  }

  .site-header .navbar-burger {
    display: none;
  }
}

@media (max-width: 1023px) {
  .site-header .navbar {
    padding: 0 20px;
  }

  .site-header .navbar-brand {
    flex: 0 0 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .brand-logo img {
    max-height: 44px;
  }

  .site-header .navbar-menu {
    border-radius: 0 0 20px 20px;
  }

  .site-header .navbar-item {
    font-size: 1.05rem;
  }

  .nav-search {
    width: 100%;
  }

  .nav-search__form {
    width: 100%;
    margin-top: 6px;
  }

  .nav-languages {
    width: 100%;
    justify-content: center;
  }

  .nav-quote {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }
}

.brand-logo img {
  width: auto;
  height: auto;
  max-height: 56px;
}

.hero {
  position: relative;
  min-height: max(480px, calc(100vh - 148px));
  color: var(--text-light);
  text-align: center;
  margin-top: calc(-1 * var(--header-offset));
  overflow: hidden;
}

.hero::before,
.page-hero::before,
.service-hero-gallery__viewport::before,
.service-detail__hero-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-logo, none), var(--hero-qr, none);
  background-repeat: no-repeat, no-repeat;
  background-position: 6% calc(var(--header-offset) - 6px), right clamp(16px, 6vw, 64px) top calc(var(--header-offset) + 12px);
  background-size: clamp(128px, 19.2vw, 272px), clamp(96px, 12vw, 180px);
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

@media (min-width: 1024px) {
  .hero::before,
  .page-hero::before,
  .service-hero-gallery__viewport::before,
  .service-detail__hero-figure::before {
    background-size: clamp(176px, 16vw, 320px), clamp(120px, 10vw, 200px);
    background-position: 6% 0, right clamp(16px, 6vw, 64px) top calc(var(--header-offset) + 12px);
  }
}

.hero-slider {
  touch-action: pan-y;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-offset) + 120px) clamp(18px, 6vw, 92px) clamp(84px, 7vw, 120px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 2;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  z-index: 1;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-image, none) center/cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.06);
  transition: transform 9s ease;
}

.hero-slide__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.24) 0%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(120deg, rgba(3, 7, 18, 0.75) 0%, rgba(3, 7, 30, 0.15) 62%);
  z-index: 1;
}

.hero-slide__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide[data-hero-media="video"] .hero-slide__media {
  background: none;
}

.hero-slide.is-active .hero-slide__media {
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: min(760px, 92vw);
  padding: 0 16px;
  margin: clamp(24px, 4vw, 48px) auto 0;
}

.hero-content__tagline {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #f1c75b;
  margin-bottom: 12px;
}

.hero-content h1,
.hero-content p,
.hero-content span,
.hero-content a,
.hero-content__copy,
.hero-content__copy p {
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.hero-content__copy {
  color: #ffffff;
}

.hero-content__copy p {
  margin: 0;
}

.hero-content__copy p + p {
  margin-top: 12px;
}


.hero-content h1 {
  margin-bottom: 18px;
}

.hero-content__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 32px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.92);
  color: #0f172a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-content__cta:hover,
.hero-content__cta:focus-visible {
  background: rgba(250, 204, 21, 1);
  color: #111827;
  transform: translateY(-2px);
  outline: none;
}

.hero-slider__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(12, 18, 28, 0.16);
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.hero-slider__control span {
  font-size: 2.1rem;
  line-height: 1;
}

.hero-slider__control--prev {
  left: clamp(18px, 4vw, 48px);
}

.hero-slider__control--next {
  right: clamp(18px, 4vw, 48px);
}

.hero-slider__control:hover,
.hero-slider__control:focus-visible {
  background: rgba(15, 23, 42, 0.38);
  border-color: rgba(250, 204, 21, 0.65);
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.hero-slider__dots {
  position: absolute;
  display: inline-flex;
  gap: 10px;
  bottom: clamp(28px, 6vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(12, 18, 28, 0.22);
  transition: width 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.hero-slider__dot.is-active {
  width: 34px;
  border-color: rgba(250, 204, 21, 0.9);
  background: rgba(250, 204, 21, 0.6);
}

@media (max-width: 1280px) {
  .hero {
    min-height: max(440px, calc(100vh - 132px));
  }

  .hero-slider__control {
    width: 50px;
    height: 50px;
  }

  .hero-slider__control span {
    font-size: 1.8rem;
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: max(420px, calc(100vh - 120px));
  }

  .hero-slide {
    padding: calc(var(--header-offset) + 72px) clamp(18px, 6vw, 42px) clamp(72px, 10vw, 108px);
  }

  .hero-slider__control {
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.32);
  }

  .hero-slider__control span {
    font-size: 1.6rem;
  }

  .hero-slider__dots {
    gap: 8px;
  }

  .hero-slider__dot {
    width: 10px;
    height: 10px;
  }

  .hero-slider__dot.is-active {
    width: 26px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 420px;
  }

  .hero-slide {
    padding: calc(var(--header-offset) + 66px) clamp(18px, 8vw, 28px) 96px;
  }

  .hero-content h1 {
    font-size: clamp(1.45rem, 5vw, 1.8rem);
  }

  .hero-content p {
    font-size: clamp(0.95rem, 3.3vw, 1.15rem);
  }

  .hero-slider__control {
    display: none;
  }

  .hero-slider__dots {
    bottom: 40px;
  }
}

.page-hero {
  position: relative;
  min-height: 360px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-offset) + 120px) 16px 90px;
  background: #111111;
  margin-top: calc(-1 * var(--header-offset));
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin-top: clamp(20px, 3vw, 36px);
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-hero-content p {
  margin: 0;
  color: #e4e4e4;
}

.page-hero-content h1,
.page-hero-content p,
.page-hero-content span,
.page-hero-kicker {
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.page-hero--bright::after {
  background: rgba(0, 0, 0, 0.26);
}

.page-hero--nosotros {
  background-image: url('../../nosotros/hero/hero-logistica-industrial.jpg');
  background-position: center;
  background-size: cover;
}

.page-hero--nosotros::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 8%, rgba(0, 0, 0, 0.35) 82%);
}

.page-hero--nosotros .page-hero-content h1 {
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.page-hero--nosotros .page-hero-content p,
.page-hero--nosotros .page-hero-content span {
  color: #f2f2f2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.page-hero--services {
  background: #111111;
}

.page-hero--services::after {
  background: rgba(0, 0, 0, 0.58);
}

.page-hero--services .page-hero-content h1 {
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.page-hero--services .page-hero-content p {
  color: #f3f3f3;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.page-hero--services .page-hero__media {
  opacity: 0.55;
}

.page-hero--contact {
  background-image: url('../img/contact-hero.jpg');
  background-position: center;
  background-size: cover;
}

.page-hero--contact::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 12%, rgba(0, 0, 0, 0.35) 88%);
}

.page-hero-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #f1c75b;
  margin: 0 0 12px;
}

.page-hero--logistica {
  background-image: url('../../servicios/servicio/hero.jpg');
  background-position: center;
  background-size: cover;
}

@media (max-width: 768px) {
  .page-hero--nosotros {
    background-image: url('../../nosotros/hero/hero-equipo-industrial.jpg');
  }
}

.main-content {
  position: relative;
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
  background: #191919;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  filter: none !important;
}

.page-hero + .main-content {
  margin-top: clamp(48px, 8vw, 96px);
}

.main-content > *:not(.parallax-block) {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.main-content > nav.breadcrumb {
  margin-bottom: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #767676;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: #111;
  font-weight: 600;
}

.main-content .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f7f7f7;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 28px;
}

.main-content .breadcrumb span:last-child {
  color: #bababa;
}

.parallax-grid {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  width: min(1400px, calc(100% - 24px));
  margin: clamp(24px, 5vw, 48px) auto;
}

.parallax-grid--about,
.parallax-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .parallax-grid--about,
  .parallax-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .parallax-grid--about,
  .parallax-grid--services {
    grid-template-columns: 1fr;
  }
}

.parallax-block {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  overflow: hidden;
  border-radius: 0;
}

.page-nosotros .parallax-block {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-nosotros .parallax-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.28);
}

.parallax-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(184deg, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.78) 88%);
}

.parallax-block__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(24px, 4vw, 36px);
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.parallax-block__inner h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.parallax-block__inner p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.parallax-grid--services .parallax-block__inner h3 {
  font-size: clamp(0.7rem, 1vw, 1.2rem);
  line-height: 1.3;
}

.parallax-block--about-logistics {
  background-image: url('../../nosotros/resumen/resumen-operadores-industriales.jpg');
}

.parallax-block--about-maintenance {
  background-image: url('../../nosotros/resumen/resumen-ingenieria-colaborativa.jpg');
}

.parallax-block--about-alliances {
  background-image: url('../../nosotros/resumen/resumen-equipo-reunion.jpg');
}

.parallax-block--service-construction {
  background-image: url('../../nosotros/servicios/servicio-construccion-industrial.jpg');
}

.parallax-block--service-maintenance {
  background-image: url('../../nosotros/servicios/servicio-mantenimiento-integral.jpg');
}

.parallax-block--service-logistics {
  background-image: url('../../nosotros/servicios/servicio-logistica-portuaria.jpg');
}

.parallax-block--service-outsourcing {
  background-image: url('../../nosotros/servicios/servicio-outsourcing-seguridad.jpg');
}

.parallax-block--service-ports {
  background-image: url('../../nosotros/servicios/servicio-seguridad-industrial.jpg');
}

.parallax-block--service-environment {
  background-image: url('../../nosotros/servicios/servicio-gestion-residuos.jpg');
}

@media (max-width: 960px) {
  .parallax-block__inner {
    padding: clamp(24px, 6vw, 36px);
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 48px 0 72px;
    width: min(100%, calc(100% - 24px));
  }

  .main-content > *:not(.parallax-block) {
    width: min(100%, calc(100% - 32px));
  }

  .parallax-block__inner {
    padding: clamp(24px, 8vw, 32px);
  }
}


.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hero p {
  letter-spacing: 0.02em;
  margin: 0;
  color: #e4e4e4;
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(1.1rem, 3.2vw, 1.6rem);
  }

  .page-hero-content h1 {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
  }
}

.section-heading {
  text-align: center;
  margin: 56px auto 24px;
  width: min(1200px, 92vw);
}

.section-heading h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.3rem);
  margin-bottom: 16px;
}

.section-heading p,
.section-heading__copy {
  margin: 0;
  color: #ffffff;
}

.section-heading__copy p {
  margin: 0;
}

.section-heading__copy p + p {
  margin-top: 14px;
}

.section-heading__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241, 199, 91, 0.9);
}

.page-home h4 {
  color: #ffd700;
}

.brand-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: min(1200px, 92vw);
  margin: 0 auto 72px;
}

.home-services {
  width: min(1200px, 92vw);
  margin: 96px auto;
  display: grid;
  gap: 32px;
}

.home-gallery {
  margin-top: 0;
}

.home-services .section-heading {
  margin: 0 auto 12px;
}

.home-services__cta {
  display: flex;
  justify-content: center;
}

.home-services__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(241, 199, 91, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #3a2a00;
  background: rgba(241, 199, 91, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-services__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.home-clients {
  width: min(1200px, 92vw);
  margin: 120px auto;
  display: grid;
  gap: 36px;
}

.home-clients .section-heading {
  margin: 0 auto;
  width: 100%;
}

.home-clients .section-heading p {
  max-width: none;
}

.clients-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 1280px) {
  .clients-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.client-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 24px 20px 26px;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-card__logo {
  width: 100%;
  max-width: 240px;
  height: 200px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.client-card__logo img {
  max-width: 200px;
  max-height: 200px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.client-card h3 {
  margin: 0;
  font-size: 0.95rem;
  /*font-weight: 600;*/
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f1f1f;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.18);
}

.client-card:hover .client-card__logo img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .client-card__logo {
    max-width: 200px;
    height: 180px;
  }
}

@media (max-width: 640px) {
  .home-clients {
    margin: 88px auto;
  }

  .client-card {
    padding: 20px 16px 22px;
    border-radius: 18px;
  }

  .client-card__logo {
    height: 160px;
  }
}

.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  display: grid;
  grid-template-rows: 1fr auto;
  text-align: center;
}

.brand-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  filter: saturate(1.05);
  display: block;
}

.brand-card span {
  display: block;
  padding: 12px 18px 18px;
  background: transparent;
  color: #1f1f1f;
  font-size: 0.95rem;
  /*font-weight: 600;*/
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.brand-card.featured {
  grid-column: span 2;
}

.brand-card.featured img {
  height: 340px;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.26);
}

.about-media-grid,
.services-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  margin: 48px 0 56px;
}

.about-media-card,
.services-media-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  color: #ffffff;
}

.about-media-card img,
.services-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 0.3s ease;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-overview {
  width: min(1500px, 92vw);
  margin: 72px auto 120px;
}

.services-overview__intro {
  text-align: center;
  display: grid;
  gap: 16px;
  width: min(1200px, 92vw);
  margin: 0 auto 32px;
}

.services-overview__intro h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-overview__intro p {
  margin: 0;
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  /*border-radius: 20px;*/
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #ffffff;
  background: #000;
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card picture,
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card__media img,
.service-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(186deg, rgba(0, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0.82) 88%);
  transition: background 0.3s ease;
}

.service-card__body {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: grid;
  gap: 10px;
}

.service-card__kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 199, 91, 0.85);
}

.service-card h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f5f5f5;
}

.service-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(241, 199, 91, 0.22);
  border: 1px solid rgba(241, 199, 91, 0.42);
  color: #ffffff;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 46px rgba(0, 0, 0, 0.3);
}

.service-card:hover::after {
  background: linear-gradient(186deg, rgba(0, 0, 0, 0.2) 16%, rgba(0, 0, 0, 0.78) 92%);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card:hover .service-card__media video {
  transform: scale(1.05);
}

.gallery-card {
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: #fff;
}

.gallery-card:focus-visible {
  outline: 3px solid rgba(241, 199, 91, 0.7);
  outline-offset: 4px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.gallery-modal.is-active {
  display: flex;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
}

.gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 94vw);
  max-height: 88vh;
  background: #0f0f0f;
  color: #ffffff;
  border-radius: 24px;
  padding: 24px 24px 18px;
  display: grid;
  gap: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.gallery-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.gallery-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gallery-modal__header h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.gallery-modal__header span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-modal__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.gallery-modal__slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  min-height: 280px;
}

.gallery-modal__slide img,
.gallery-modal__slide video {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-modal__controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.gallery-modal__nav {
  flex: 1;
  border: 1px solid rgba(241, 199, 91, 0.4);
  background: rgba(241, 199, 91, 0.12);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 16px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .gallery-modal__dialog {
    padding: 18px 16px 16px;
  }

  .gallery-modal__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-modal__slide img,
  .gallery-modal__slide video {
    max-height: 60vh;
  }
}

.service-card:hover h3,
.service-card:hover .service-card__cta {
  color: var(--color-primary);
}

.home-services__cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.home-services__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffd700;
  color: #000000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-services__link:hover,
.home-services__link:focus-visible {
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .services-overview {
    margin: 48px auto 80px;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card {
    min-height: 220px;
  }
}

.service-detail {
  /*width: min(1100px, 92vw);*/
  margin: 56px auto 120px;
  display: grid;
  gap: 56px;
}

.service-detail__header {
  display: grid;
  gap: 24px;
}

.service-detail__header h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
}

.service-detail__header p {
  margin: 0;
}
.service-hero-gallery {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.service-hero-gallery__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
  background: #0f0f0f;
}

.service-hero-gallery__viewport::before {
  background-image: none;
}

.service-hero-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  will-change: transform;
}

.service-hero-gallery__slide.is-active {
  transform: translateX(0);
}

.service-hero-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-gallery__slide video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #0f0f0f;
  display: block;
}

.service-hero-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-hero-gallery__thumb {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  width: 96px;
  height: 64px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-hero-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-gallery__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f0f0f;
}

.service-hero-gallery__thumb.is-video {
  position: relative;
}

.service-hero-gallery__thumb.is-video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.05) 70%);
  transform: translateY(6px);
  pointer-events: none;
  z-index: 2;
}

.service-hero-gallery__thumb.is-video::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 2;
}

.service-hero-gallery__thumb.is-video video {
  position: relative;
  z-index: 1;
}

.service-hero-gallery__thumb.is-active,
.service-hero-gallery__thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

@media (max-width: 720px) {
  .service-hero-gallery__viewport {
    aspect-ratio: 4 / 3;
  }

  .service-hero-gallery__thumbs {
    justify-content: center;
  }

  .service-hero-gallery__thumb {
    width: 82px;
    height: 54px;
  }
}

.service-detail__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.service-detail__highlights li {
  background: rgba(241, 199, 91, 0.16);
  border: 1px solid rgba(241, 199, 91, 0.32);
  color: #4a3200;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.service-detail__content {
  display: grid;
  gap: 40px;
}

.service-detail__body h3 {
  margin: 0 0 18px;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-detail__body p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.service-detail__hero-figure {
  position: relative;
  margin: 0 0 24px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.26);
}

.service-detail__hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-detail__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ffffff;
}

.service-detail__richtext h2,
.service-detail__richtext h3,
.service-detail__richtext h4 {
  margin-top: 32px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-detail__richtext p {
  margin: 0 0 18px;
  line-height: 1.8;
  color: #ffffff;
}

.service-detail__richtext ul,
.service-detail__richtext ol {
  margin: 0 0 22px 22px;
  line-height: 1.7;
  color: #ffffff;
}

.service-detail__cta-card {
  background: #0f0f0f;
  color: #f6f6f6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  min-height: 220px;
}

.service-detail__cta-card h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.service-detail__cta-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e7e7e7;
}

.service-detail__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #111111;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  align-self: flex-start;
}

.service-detail__cta-button:hover {
  background: var(--color-primary-dark);
  color: #111111;
}

.service-detail__related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-detail__related-list a {
  color: #f6f6f6;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.service-detail__related-list a:hover {
  color: var(--color-primary);
}

.service-detail__gallery {
  margin-top: 48px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-detail__gallery-item {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.service-detail__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail__back {
  margin-top: 40px;
}

.service-detail__back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.service-detail__back-link:hover {
  color: var(--color-primary);
}

.service-detail__list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: #333333;
}

.service-detail__sidebar {
  display: grid;
  gap: 24px;
}

.service-stats {
  background: #0f0f0f;
  color: #f5f5f5;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.service-stats h3 {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.service-stats ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.service-gallery {
  display: grid;
  gap: 24px;
}

.service-gallery h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.3rem;
}

.service-gallery__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-gallery__item {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 0;
}

.service-gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-gallery__item figcaption {
  margin: 0;
  padding: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333;
}

.service-detail__cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(241, 199, 91, 0.18), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(241, 199, 91, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.service-detail__cta h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-detail__cta p {
  margin: 0;
  color: #3a3a3a;
  line-height: 1.6;
}

.service-detail__cta-link {
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-detail__cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

@media (min-width: 960px) {
  .service-detail__header {
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    align-items: end;
  }

  .service-detail__highlights {
    justify-items: start;
  }

  .service-detail__content {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .service-detail__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .service-gallery__item img {
    height: 180px;
  }

  .service-detail {
    margin: 48px auto 90px;
    gap: 40px;
  }

  .service-detail__cta {
    gap: 16px;
  }
}

.about-media-card::after,
.services-media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(188deg, rgba(12, 12, 12, 0.1) 8%, rgba(8, 8, 8, 0.72) 86%);
}

.about-media-card:hover img,
.services-media-card:hover img {
  transform: scale(1.04);
}

.about-media-card__content,
.services-media-card__content {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.about-media-card h3,
.services-media-card h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.about-media-card p,
.services-media-card p {
  margin: 0;
  line-height: 1.6;
  color: #f2f2f2;
}

@media (max-width: 720px) {
  .about-media-grid,
  .services-media-grid {
    margin: 36px 0 48px;
    gap: 18px;
  }

  .about-media-card,
  .services-media-card {
    min-height: 220px;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  }

  .about-media-card__content,
  .services-media-card__content {
    padding: 24px;
  }
}

.clients-intro {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.page-nosotros .clients-intro {
  /*width: min(960px, 92vw);*/
  margin: 0 auto 72px;
  justify-items: center;
}

.clients-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
}

.page-nosotros .clients-card {
  background: #1a1a1a;
  color: #f3f3f3;
  text-align: center;
  /*max-width: 320px;*/
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-nosotros .clients-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.28);
}

.clients-card h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  font-size: 1rem;
}

.page-nosotros .clients-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
}

.clients-card p {
  margin: 0;
  line-height: 1.7;
  color: #4a4a4a;
}

.page-nosotros .clients-card p {
  color: rgba(255, 255, 255, 0.82);
}

.catalog-intro {
  width: min(1120px, 92vw);
  margin: 48px auto 24px;
  display: grid;
  gap: 20px;
  color: #3e3e3e;
}

.catalog-intro p {
  margin: 0;
  line-height: 1.7;
}

.catalog-grid {
  width: min(1120px, 92vw);
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}

.catalog-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 124px;
}

.catalog-card img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
  border-color: rgba(0, 0, 0, 0.16);
}

.catalog-note {
  width: min(1120px, 92vw);
  margin: -48px auto 96px;
  padding: 24px 28px;
  border-radius: 14px;
  background: rgba(241, 196, 0, 0.12);
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  background: #000000;
  border-radius: 18px;
  padding: 28px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 16px;
}

.contact-card strong {
  color: #ffd700;
}

.contact-card h3 {
  margin: 12px 0 4px;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.contact-form {
  background: #000;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.contact-form label {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-base);
  font-size: 1.1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.25);
}

.contact-form button {
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: #3c3c3c
}

.map-embed {
  margin-top: 48px;
  display: grid;
  gap: 16px;
}

.map-embed h2 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

footer {
  background: #0d0d0d;
  color: #d4d4d4;
  padding: 48px 32px 28px;
}

.footer-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}

.footer-block h4 {
  margin: 0 0 16px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.footer-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-block a {
  color: #f1f1f1;
  transition: color 0.2s ease;
}

.footer-block a:hover,
.footer-block a:focus-visible {
  color: var(--color-primary);
  outline: none;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 12px;
}

.footer-brand address {
  font-style: normal;
  line-height: 1.6;
  color: #d0d0d0;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
}

.social-links img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-note {
  width: min(1200px, 92vw);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6f6f6f;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}


.brand-hero {
  background: url('../img/hero-mining.svg') center/cover no-repeat;
  min-height: 320px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--header-offset) + 120px) 16px 60px;
  text-align: center;
  margin-top: calc(-1 * var(--header-offset));
}

.brand-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.brand-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.brand-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.brand-hero p {
  margin: 0;
  font-size: 1rem;
  color: #e0e0e0;
}

.brand-intro {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.brand-intro figure {
  margin: 0;
  flex: 0 0 240px;
  padding: 24px;
  border-radius: 18px;
  background: #fafafa;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.brand-intro img {
  width: 100%;
  display: block;
}

.brand-intro-content {
  flex: 1 1 320px;
}

.brand-intro-content p {
  line-height: 1.7;
  color: #ffffff;
}

.feature-list {
  padding-left: 20px;
  line-height: 1.8;
  color: #ffffff;
}

.cta-panel {
  margin-top: 48px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #111;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-panel a {
  background: #111;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .site-header .navbar-menu {
    background-color: var(--color-secondary);
    padding: 12px 16px;
  }

  .site-header .navbar-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brand-card.featured {
    grid-column: span 1;
  }

  .brand-card img,
  .brand-card.featured img {
    height: 200px;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

@media (max-width: 720px) {
  .brand-card img,
  .brand-card.featured img {
    height: 180px;
  }

  .map-embed iframe {
    height: 300px;
  }

  .brand-intro {
    flex-direction: column;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-card {
    height: 110px;
  }
}
