:root {
  --ink: #071417;
  --ink-soft: #163237;
  --panel: #0b2529;
  --panel-2: #12373d;
  --teal: #009aa6;
  --teal-bright: #00c2cc;
  --purple: #842091;
  --purple-soft: #a13ab0;
  --green: #25d366;
  --white: #ffffff;
  --paper: #f6f8f8;
  --muted: #647477;
  --line: rgba(7, 20, 23, 0.12);
  --shadow: 0 24px 70px rgba(3, 18, 21, 0.18);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 9px max(20px, calc((100vw - 1160px) / 2));
  background: rgba(3, 18, 21, 0.86);
  font-size: 0.86rem;
  backdrop-filter: blur(14px);
}

.topbar a {
  opacity: 0.9;
}

.topbar a:hover {
  color: var(--teal-bright);
}

.navbar {
  width: var(--container);
  min-height: 78px;
  margin-inline: auto;
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  background: rgba(6, 37, 41, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 188px;
  min-width: 160px;
}

.brand img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-bright), var(--purple-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--green);
  color: #052411;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.22);
}

.nav-cta svg,
.btn svg,
.floating-whatsapp svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 21, 0.92) 0%, rgba(3, 18, 21, 0.76) 42%, rgba(3, 18, 21, 0.28) 100%),
    linear-gradient(0deg, rgba(3, 18, 21, 0.78) 0%, rgba(3, 18, 21, 0.08) 44%),
    url("assets/images/camion-trans-pablo.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  padding: 210px 0 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-bright);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 10vw, 8.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--green);
  color: #052411;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.24);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 48px 0 0;
}

.hero-metrics div {
  min-height: 96px;
  padding: 18px;
  border-left: 3px solid var(--teal-bright);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  font-size: 1.35rem;
  font-weight: 950;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.service-strip {
  background: linear-gradient(90deg, var(--teal), var(--purple));
  color: var(--white);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.strip-grid span {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 20px;
  font-weight: 900;
  background: rgba(3, 18, 21, 0.16);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.section-heading h2,
.feature-copy h2,
.quote-copy h2,
.trust-grid h2,
.contact-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.25vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

#cobertura-title {
  max-width: 680px;
  font-size: clamp(1.8rem, 2.85vw, 3rem);
  line-height: 1.12;
}

#cobertura-title span {
  display: inline;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.quote-copy p,
.contact-grid p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-grid > *,
.feature-grid > *,
.process-list > *,
.quote-grid > *,
.gallery-grid > *,
.trust-grid > *,
.contact-grid > *,
.footer-grid > * {
  min-width: 0;
}

.service-card {
  min-height: 262px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(3, 18, 21, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 154, 166, 0.14), rgba(132, 32, 145, 0.16));
  color: var(--purple);
  font-weight: 950;
}

.service-card h3,
.process-list h3,
.trust-points h3 {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p,
.process-list p,
.trust-points p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-band {
  padding: 96px 0;
  background: var(--panel);
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.feature-copy h2,
.quote-copy h2,
.trust-grid h2,
.contact-grid h2 {
  color: inherit;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: inset 0 0 0 4px var(--panel);
}

.feature-photo {
  position: relative;
  min-height: 430px;
}

.feature-photo::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 2px solid rgba(0, 194, 204, 0.34);
  border-radius: var(--radius);
}

.feature-photo img {
  position: relative;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-section {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list li {
  min-height: 244px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f4f7f8);
}

.process-list span {
  color: var(--teal);
  font-weight: 950;
}

.quote-section {
  padding: 104px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 18, 21, 0.94), rgba(6, 37, 41, 0.88)),
    url("assets/images/equipo-cargando.jpg") center / cover no-repeat;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: start;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 20, 23, 0.15);
  border-radius: 6px;
  background: #f9fbfb;
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
}

.quote-form textarea {
  min-height: 132px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 154, 166, 0.12);
}

.form-submit {
  width: 100%;
  min-height: 56px;
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(3, 18, 21, 0.1);
}

.gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 28px);
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(3, 18, 21, 0.76);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.trust-section {
  padding: 92px 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
}

.trust-points {
  display: grid;
  gap: 16px;
}

.trust-points article {
  min-height: 138px;
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.trust-points h3 {
  margin-top: 0;
}

.contact-section {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 18, 21, 0.92), rgba(3, 18, 21, 0.7)),
    url("assets/images/mudanza-comercial.jpg") center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: center;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.contact-details a,
.contact-details span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #030f11;
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.footer-grid img {
  width: 180px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.footer-grid p {
  margin: 0;
  line-height: 1.5;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green);
  color: #052411;
  box-shadow: 0 20px 48px rgba(37, 211, 102, 0.36);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.lightbox {
  width: min(980px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #030f11;
  color: var(--white);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #030f11;
}

.lightbox p {
  margin: 0;
  padding: 16px 18px 18px;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .topbar {
    display: none;
  }

  .site-header {
    position: absolute;
  }

  .navbar {
    grid-template-columns: auto auto;
    margin-top: 16px;
  }

  .brand {
    width: 170px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 96px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(3, 18, 21, 0.97);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  .nav-cta {
    display: none;
  }

  .hero-content {
    padding-top: 150px;
  }

  .services-grid,
  .process-list,
  .feature-grid,
  .quote-grid,
  .trust-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .process-list {
    border: 0;
    gap: 12px;
    overflow: visible;
  }

  .process-list li {
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(1160px, calc(100% - 28px));
  }

  .navbar {
    min-height: 70px;
    padding: 10px 12px;
  }

  .brand {
    width: 154px;
    min-width: 140px;
  }

  .brand img {
    height: 48px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(3, 18, 21, 0.94) 0%, rgba(3, 18, 21, 0.78) 100%),
      linear-gradient(0deg, rgba(3, 18, 21, 0.78) 0%, rgba(3, 18, 21, 0.04) 44%),
      url("assets/images/camion-trans-pablo.jpg") 58% center / cover no-repeat;
    transform: none;
  }

  .hero-content {
    padding: 138px 0 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .contact-pills {
    flex-direction: column;
  }

  .btn,
  .contact-pills a {
    width: 100%;
  }

  .hero-metrics,
  .strip-grid,
  .services-grid,
  .field-row,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-metrics div {
    min-height: 84px;
  }

  .strip-grid span {
    min-height: 62px;
  }

  .section,
  .quote-section,
  .feature-band,
  .trust-section,
  .contact-section {
    padding: 72px 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .quote-copy h2,
  .trust-grid h2,
  .contact-grid h2 {
    font-size: clamp(1.8rem, 8.8vw, 2.45rem);
    line-height: 1.12;
  }

  #cobertura-title {
    font-size: clamp(1.55rem, 6.7vw, 1.95rem);
    line-height: 1.16;
  }

  #cobertura-title span {
    display: block;
  }

  .service-card {
    min-height: auto;
  }

  .feature-photo {
    min-height: 0;
  }

  .feature-photo::before {
    display: none;
  }

  .feature-photo img {
    height: 340px;
  }

  .quote-form {
    padding: 20px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-grid {
    justify-items: start;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
