:root {
  --color-white: #ffffff;
  --color-cream: #fbfcfd;
  --color-soft: #f3f5f7;
  --color-line: #d9e0e7;
  --color-ink: #263241;
  --color-muted: #5d6b79;
  --color-charcoal: #17202a;
  --color-blue: #163c5a;
  --color-red: #e13c22;
  --color-red-dark: #b52a16;
  --shadow-soft: 0 16px 45px rgba(23, 32, 42, 0.12);
  --shadow-card: 0 10px 30px rgba(23, 32, 42, 0.1);
  --radius: 8px;
  --header-height: 72px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-red);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(225, 60, 34, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-muted {
  background: var(--color-soft);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-charcoal);
  line-height: 1.12;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  font-size: 2.45rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 800;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
}

p {
  margin-bottom: 1rem;
}

.section-lead,
.hero-lead {
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-lead {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.78rem 1.1rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.button-primary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

.button-secondary:hover {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-charcoal);
}

.button-outline {
  border: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-charcoal);
}

.button-outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 224, 231, 0.85);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(23, 32, 42, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 3.75rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-charcoal);
  font-weight: 800;
  min-width: 0;
}

.brand img {
  width: clamp(168px, 47vw, 220px);
  height: 58px;
  object-fit: cover;
  object-position: center;
}

.nav-toggle {
  position: fixed;
  right: 1rem;
  top: 13px;
  z-index: 60;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius);
  background: var(--color-charcoal);
  color: var(--color-white);
  cursor: pointer;
  transform: none;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.5rem);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  color: var(--color-charcoal);
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--color-soft);
  color: var(--color-red);
}

.site-nav .nav-cta {
  background: var(--color-red);
  color: var(--color-white);
  text-align: center;
}

.site-nav .nav-cta:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

.hero {
  position: relative;
  isolation: isolate;
  background-image: linear-gradient(90deg, rgba(23, 32, 42, 0.94), rgba(23, 32, 42, 0.72), rgba(23, 32, 42, 0.42)), url("../../images/camion-frente-1.jpg");
  background-position: center;
  background-size: cover;
  color: var(--color-white);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 10px;
  background: var(--color-red);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 520px;
  align-items: center;
  padding-block: 5.25rem 4rem;
}

.hero-content {
  max-width: 740px;
  min-width: 0;
}

.hero .eyebrow {
  color: #ffb19f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.hero-actions .button {
  width: 100%;
}

.trust-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-line);
}

.trust-grid article {
  min-height: 116px;
  background: var(--color-white);
  padding: 1.15rem;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--color-charcoal);
  font-size: 1.25rem;
  line-height: 1.2;
}

.trust-grid span {
  margin-top: 0.35rem;
  color: var(--color-muted);
}

.split-layout,
.company-layout,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-grid {
  align-items: start;
}

.section-copy {
  max-width: 690px;
}

.check-list,
.company-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.check-list li,
.company-panel li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before,
.company-panel li::before {
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--color-red);
  content: "";
}

.image-card,
.company-panel,
.contact-card,
.contact-map-card,
.principle-card,
.service-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.image-card {
  overflow: hidden;
  margin: 0;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.principle-card {
  padding: 1.35rem;
}

.principle-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
}

.principle-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.company-layout {
  align-items: start;
}

.company-panel {
  padding: 1.5rem;
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.86);
}

.company-panel h3 {
  color: var(--color-white);
}

.company-panel ul {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.company-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.services {
  background: var(--color-white);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-soft);
}

.service-card div {
  padding: 1.25rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.cta-band {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0;
}

.cta-band h2 {
  color: var(--color-white);
}

.cta-band .eyebrow {
  color: #ffb19f;
}

.cta-band p {
  margin-bottom: 0;
}

.cta-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.contact-section {
  background: var(--color-soft);
}

.contact-card {
  padding: 1.25rem;
}

.contact-card--details {
  display: grid;
  gap: 1.25rem;
}

.contact-card__heading p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-list div {
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}

.contact-list dt {
  margin-bottom: 0.25rem;
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--color-muted);
}

.contact-list address {
  margin: 0;
  font-style: normal;
}

.contact-list a,
.contact-card a {
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-map-card {
  overflow: hidden;
}

.map-frame {
  aspect-ratio: 4 / 3;
  min-height: 300px;
  background: var(--color-line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.form-status {
  margin-bottom: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--color-charcoal);
  background: var(--color-soft);
}

.form-status.is-success {
  border-color: #b5d7bd;
  color: #1f5b2d;
  background: #eef8f0;
}

.form-status.is-error {
  border-color: #f0c8c1;
  color: #8b2415;
  background: #fff2ef;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  color: var(--color-charcoal);
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-ink);
  padding: 0.8rem 0.9rem;
}

.form-field textarea {
  resize: vertical;
}

.form-field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: #101820;
  color: rgba(255, 255, 255, 0.76);
  padding: 2.75rem 0 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: #ffb19f;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  color: var(--color-white);
  margin-bottom: 0.65rem;
}

.site-footer p {
  max-width: 28rem;
  margin-bottom: 0;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 0.65rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

.whatsapp-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  pointer-events: none;
}

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

.whatsapp-widget svg {
  display: block;
  flex: 0 0 auto;
  max-width: none;
}

.whatsapp-widget path {
  fill: currentColor;
}

.whatsapp-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--color-charcoal);
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

.whatsapp-toggle__text {
  display: grid;
  width: 156px;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  color: var(--color-charcoal);
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 0.65rem 0.75rem;
  text-align: left;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.whatsapp-toggle__text strong {
  display: block;
  font-size: 0.86rem;
}

.whatsapp-toggle__icon {
  display: inline-flex;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
  color: var(--color-white);
  overflow: hidden;
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.whatsapp-toggle__icon--open {
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
}

.whatsapp-toggle__icon svg {
  width: 33px;
  height: 33px;
  min-width: 33px;
  fill: currentColor;
}

.whatsapp-toggle__icon--close {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1;
  transform: scale(0.72) rotate(-45deg);
}

.whatsapp-widget.is-open .whatsapp-toggle__text {
  width: 0;
  opacity: 0;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(8px);
  visibility: hidden;
}

.whatsapp-widget.is-open .whatsapp-toggle__icon--open {
  opacity: 0;
  transform: scale(0.72) rotate(45deg);
}

.whatsapp-widget.is-open .whatsapp-toggle__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.9rem);
  width: min(350px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 18px 55px rgba(23, 32, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.whatsapp-widget.is-open .whatsapp-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.whatsapp-panel__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  background: #25d366;
  color: var(--color-white);
  padding: 1rem 1.1rem;
}

.whatsapp-panel__brand {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  overflow: hidden;
}

.whatsapp-panel__brand svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.whatsapp-panel h2 {
  margin-bottom: 0.35rem;
  color: var(--color-white);
  font-size: 1.08rem;
}

.whatsapp-panel p {
  margin-bottom: 0;
}

.whatsapp-panel__heading p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.45;
}

.whatsapp-panel__content {
  background: var(--color-cream);
  padding: 1rem;
}

.whatsapp-panel__notice {
  color: #8a97a4;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.whatsapp-contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.whatsapp-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 74px;
  border-left: 3px solid #25d366;
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 0.85rem 0.85rem 0.85rem 0.75rem;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-contact:hover {
  border-color: #16a34a;
  color: var(--color-charcoal);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.12);
  transform: translateY(-2px);
}

.whatsapp-contact__avatar {
  display: inline-flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.14);
  color: #25d366;
  overflow: hidden;
}

.whatsapp-contact__avatar svg,
.whatsapp-contact__action svg {
  width: 31px;
  height: 31px;
  min-width: 31px;
  fill: currentColor;
}

.whatsapp-contact__action svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
}

.whatsapp-contact__txt {
  display: grid;
  min-width: 0;
}

.whatsapp-contact__txt strong {
  overflow: hidden;
  color: var(--color-ink);
  font-size: 0.94rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-contact__txt span,
.whatsapp-contact__txt small {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.whatsapp-contact__action {
  color: #25d366;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.32);
  }

  50% {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (min-width: 640px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .container {
    padding-inline: 1.5rem;
  }

  .hero-grid {
    min-height: 560px;
  }

  .hero-actions .button {
    width: auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principles-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .header-inner {
    padding-right: 0;
  }

  .nav-toggle {
    position: static;
    display: none;
    transform: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0.6rem 0.75rem;
    font-size: 0.94rem;
  }

  .site-nav .nav-cta {
    margin-left: 0.35rem;
    padding-inline: 1rem;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    align-items: center;
  }

  .company-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  }

  .contact-grid {
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.45fr) minmax(220px, 0.6fr);
  }
}

@media (min-width: 1100px) {
  h1 {
    font-size: 3.85rem;
  }

  .section {
    padding: 5.5rem 0;
  }

  .hero-grid {
    min-height: 610px;
    padding-block: 6rem 4.75rem;
  }

  .principles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1240px;
  }

  .hero-grid {
    min-height: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
