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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background-color: #f9fafb;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: radial-gradient(circle at top, #f9fafb 0, #ffffff 55%, #e5edff 100%);
}

.page-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  opacity: var(--section-opacity, 1);
  transform: translateY(calc((1 - var(--section-opacity, 1)) * 20px));
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}

.page-section > .container {
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(2.4rem, 3vw + 1.2rem, 3.2rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.04em;
}

@media (min-width: 960px) {
  #services .section-title,
  #logistica .section-title,
  #catalogos .section-title,
  #metricas .section-title {
    white-space: nowrap;
  }
}

.section-subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(234, 88, 12, 0.65);
}

.btn-secondary {
  border-color: rgba(15, 23, 42, 0.12);
  background-color: rgba(255, 255, 255, 0.9);
  color: #111827;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #f97316;
  color: #f97316;
  background-color: #ffffff;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border-color: transparent;
}

.btn-small {
  padding: 0.55rem 1.2rem;
  font-size: 0.86rem;
}

.btn-full {
  width: 100%;
}

/* Header glass */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  transition: backdrop-filter 180ms ease, background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.site-header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(22px);
  border-color: rgba(148, 163, 184, 0.2);
  transform: translateY(-2px);
}

.site-header.header-scrolled .header-inner {
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-plain {
  height: 30px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: #4b5563;
  font-weight: 500;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.main-nav a:hover {
  color: #111827;
  border-color: rgba(249, 115, 22, 0.6);
}

.main-nav .nav-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  border-bottom: none;
  box-shadow: 0 12px 32px rgba(234, 88, 12, 0.55);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: #111827;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

/* Global video layer + grain */
.hero-video-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), transparent 58%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(to bottom, rgba(248, 250, 252, 0.82), rgba(248, 250, 252, 0.92));
}

.hero-grain {
  position: absolute;
  inset: -40px;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.1) 0, rgba(15, 23, 42, 0.1) 1px, transparent 1px, transparent 4px),
    repeating-radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.06) 0, rgba(15, 23, 42, 0.06) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: soft-light;
  opacity: 0.35;
  filter: blur(0.4px);
}

/* Aurora effect */
:root {
  --aurora-white: #f9fafb;
  --aurora-black: #020617;
  --aurora-transparent: transparent;
  --aurora-orange-500: #f97316;
  --aurora-orange-300: #fdba74;
  --aurora-amber-400: #fbbf24;
  --aurora-orange-200: #fed7aa;
  --aurora-red-400: #f87171;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 10%, rgba(249, 115, 22, 0.40), transparent 50%),
    radial-gradient(ellipse at 95% 50%, rgba(253, 186, 116, 0.30), transparent 45%),
    radial-gradient(ellipse at 55% 45%, rgba(251, 146, 60, 0.20), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(254, 215, 170, 0.22), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(249, 115, 22, 0.10), transparent 40%),
    #ffffff;
}

.hero-aurora-layer {
  --aurora-gradient: repeating-linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 6%,
    rgba(249, 115, 22, 0.25) 10%,
    rgba(253, 186, 116, 0.3) 14%,
    rgba(255, 255, 255, 0.8) 18%,
    rgba(251, 146, 60, 0.2) 22%,
    rgba(254, 215, 170, 0.35) 26%,
    rgba(255, 255, 255, 0.9) 30%
  );

  position: absolute;
  inset: -10px;
  background-image: var(--aurora-gradient);
  background-size: 300% 200%;
  background-position: 50% 50%;
  filter: blur(18px);
  opacity: 0.70;
  will-change: transform;
  mask-image: radial-gradient(ellipse at 100% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 20%, transparent 80%);
}

.hero-aurora-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--aurora-gradient);
  background-size: 200% 100%;
  background-attachment: fixed;
  mix-blend-mode: screen;
  animation: aurora 30s linear infinite;
}

@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}

.hero-apple {
  margin-top: -72px;
  padding-top: calc(72px + 3rem);
  padding-bottom: 4.5rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  padding: 0.7rem;
  background: radial-gradient(circle at 10% 0, #fed7aa, #f97316);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.32);
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f97316;
  font-weight: 600;
}

.hero-main {
  max-width: 680px;
  margin: 0;
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 0 0 1.9rem;
}

.hero-title span {
  color: #f97316;
}

.hero-subtitle {
  margin: 0 0 2rem;
  color: #4b5563;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.hero-tags li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  color: #4b5563;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: none;
  cursor: pointer;
}

.hero-scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.hero-scroll-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #4b5563;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 3.2rem;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-big {
  padding: 1.8rem 2rem;
  border-radius: 2rem;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.hero-logo-big--plain {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.hero-logo-big-image {
  width: clamp(240px, 26vw, 420px);
  height: auto;
  max-width: min(420px, 100%);
}

.hero-logo-big--plain .hero-logo-big-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.hero-logo-big-mark {
  width: 90px;
  height: 90px;
  border-radius: 30px;
  background: radial-gradient(circle at 10% 0, #fed7aa, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 70px rgba(249, 115, 22, 0.8);
  overflow: hidden;
}

.hero-logo-big-mark img {
  width: 64px;
  height: auto;
}

.hero-logo-big-text {
  display: flex;
  flex-direction: column;
}

.hero-logo-big-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-logo-big-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

.hero-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #fed7aa, rgba(249, 115, 22, 0.9));
  filter: blur(0.2px);
  opacity: 0.5;
}

.orb-large {
  width: 260px;
  height: 260px;
  top: 14%;
  right: 6%;
  box-shadow: 0 36px 80px rgba(249, 115, 22, 0.65);
}

.orb-small {
  width: 140px;
  height: 140px;
  bottom: 10%;
  left: 4%;
  background: radial-gradient(circle at 10% 0, #e5edff, rgba(59, 130, 246, 0.8));
  box-shadow: 0 26px 60px rgba(37, 99, 235, 0.48);
}

@keyframes hero-scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Chapters / Servicios */
.section-chapters {
  align-items: stretch;
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.section-chapters .section-header {
  margin-bottom: 3rem;
}

.chapter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  perspective: 900px;
}

.chapter-panel {
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-glow: rgba(249, 115, 22, 0.35);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  padding: 1.5rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
  transition:
    opacity 620ms cubic-bezier(.16,1,.3,1),
    transform 620ms cubic-bezier(.16,1,.3,1),
    box-shadow 420ms cubic-bezier(.16,1,.3,1),
    border-color 320ms ease;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  overflow: hidden;
}

.chapter-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--accent-soft),
    transparent 40%
  );
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 1;
}

.chapter-panel:hover::before {
  opacity: 1;
}

.chapter-panel:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 35px 90px rgba(15, 23, 42, 0.18),
    0 0 40px -10px var(--accent-glow);
  border-color: var(--accent);
}

.chapter-panel:nth-child(1) { --accent: #f97316; --accent-soft: rgba(249, 115, 22, 0.10); --accent-glow: rgba(249, 115, 22, 0.30); }
.chapter-panel:nth-child(2) { --accent: #1e293b; --accent-soft: rgba(30, 41, 59, 0.08); --accent-glow: rgba(30, 41, 59, 0.20); }
.chapter-panel:nth-child(3) { --accent: #0d9488; --accent-soft: rgba(13, 148, 136, 0.10); --accent-glow: rgba(13, 148, 136, 0.25); }
.chapter-panel:nth-child(4) { --accent: #2563eb; --accent-soft: rgba(37, 99, 235, 0.10); --accent-glow: rgba(37, 99, 235, 0.25); }

.chapter-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.55rem;
  position: relative;
  z-index: 2;
}

.chapter-title {
  font-size: clamp(1.4rem, 1.2vw + 0.8rem, 1.7rem);
  margin: 0 0 0.3rem;
  position: relative;
  z-index: 2;
}

.chapter-subtitle {
  margin: 0 0 0.9rem;
  color: #4b5563;
  font-size: 0.88rem;
  position: relative;
  z-index: 2;
}

.chapter-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.chapter-bullets li {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 0.78rem;
  color: #374151;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.chapter-panel:hover .chapter-bullets li {
  border-color: color-mix(in srgb, var(--accent) 30%, rgba(209, 213, 219, 0.9));
  background-color: rgba(255, 255, 255, 0.95);
}

.chapter-bullets li:hover {
  transform: translateY(-2px);
}

.chapter-visual {
  position: relative;
  min-height: 190px;
  border-radius: 1.2rem;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), rgba(255, 255, 255, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.chapter-image {
  width: 110%;
  height: 110%;
  object-fit: contain;
  display: block;
  animation: chapter-float 5s ease-in-out infinite;
  transition: transform 400ms cubic-bezier(.16,1,.3,1);
}

.chapter-panel:hover .chapter-image {
  transform: scale(1.08) rotate(2deg);
}

.chapter-panel:nth-child(2) .chapter-image {
  transform: translateX(-30%);
}
.chapter-panel:nth-child(2):hover .chapter-image { transform: translateX(-30%) scale(1.08) rotate(-2deg); }
.chapter-panel:nth-child(4):hover .chapter-image { transform: scale(1.08) rotate(-2deg); }

@keyframes chapter-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.chapter-orb {
  position: absolute;
  inset: 8%;
  border-radius: 32px;
  background: conic-gradient(from 190deg, #f97316, #ea580c, #fed7aa, #f97316);
  box-shadow: 0 34px 80px rgba(234, 88, 12, 0.7);
}

.chapter-orb--branding {
  background: conic-gradient(from 150deg, #111827, #4b5563, #f97316, #111827);
}

.chapter-orb--logistics {
  background: conic-gradient(from 200deg, #0f766e, #22c55e, #ecfeff, #0f766e);
}

.chapter-orb--catalogs {
  background: conic-gradient(from 120deg, #1d4ed8, #38bdf8, #e0f2fe, #1d4ed8);
}

/* Logística grid */
.section-logistics {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.10), transparent 55%),
    linear-gradient(to bottom, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.98));
}

.logistics-header {
  margin-bottom: 2.5rem;
  text-align: left;
  max-width: 640px;
  margin-left: 0;
}

.logistics-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.logistic-item {
  padding: 1.6rem 1.5rem;
  border-radius: 1.4rem;
  background-color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.logistic-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  border-color: rgba(249, 115, 22, 0.55);
}

.logistic-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  background-color: rgba(249, 115, 22, 0.08);
}

.logistic-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ea580c;
  stroke-width: 1.4;
  fill: none;
}

.logistic-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.logistic-item p {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
}

.logistics-cert {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
}

.logistics-cert-title {
  margin: 0;
  font-weight: 500;
}

.logistics-cert-marquee {
  position: relative;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.logistics-cert-badges {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  animation: logistics-cert-marquee 18s linear infinite;
}

.logistics-cert-badge {
  flex: 0 0 auto;
  padding: 0.35rem 1.4rem;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logistics-cert-badge img {
  display: block;
  height: 70%;
  width: auto;
  object-fit: contain;
}

@keyframes logistics-cert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Catálogos */
.section-catalogos {
  align-items: stretch;
  padding-bottom: 10rem;
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.82rem;
  color: #374151;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 1.6rem;
  overflow: hidden;
  background-color: #020617;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.6);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, border-color 220ms ease;
  border: 1px solid rgba(15, 23, 42, 0.85);
}

.catalog-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 110px rgba(234, 88, 12, 0.8);
  border-color: rgba(249, 115, 22, 0.8);
}

.catalog-image {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.catalog-image-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.5), transparent 55%),
    conic-gradient(from 200deg, #0b1120, #111827, #f97316, #ea580c, #0b1120);
  background-size: cover;
  background-position: center;
}

.catalog-body {
  padding: 1.4rem 1.5rem 1.6rem;
  color: #e5e7eb;
}

.catalog-year {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.8);
  color: #fed7aa;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.catalog-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.catalog-body p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.catalog-body .btn {
  font-size: 0.86rem;
  padding-inline: 1.1rem;
}

/* Métricas */
.section-metrics {
  align-items: stretch;
  min-height: auto;
  padding-top: 6rem;
  padding-bottom: 9rem;
  background: linear-gradient(to bottom, transparent 50%, #f0f0f0 100%);
}

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

.metric {
  padding: 1.8rem 1.6rem;
  border-radius: 1.6rem;
  background-color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.metric:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
  border-color: rgba(249, 115, 22, 0.65);
}

.metric-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.metric-number {
  display: block;
  margin-top: 0.45rem;
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
  font-weight: 600;
  color: #111827;
}

.metric-caption {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.metric-count {
  display: inline-block;
}

/* Contacto */
.section-contacto {
  align-items: stretch;
  min-height: auto;
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 500px);
  justify-content: center;
  column-gap: 3.5rem;
  row-gap: 1.2rem;
  align-items: flex-start;
}

.section-contacto .container {
  max-width: 1100px;
}

.contact-intro {
  text-align: left;
  max-width: none;
  margin: 0;
}

.contact-intro .section-title {
  font-size: clamp(2.1rem, 2.7vw + 1.2rem, 2.8rem);
}

.section-contacto .section-subtitle {
  margin-top: 0.4rem;
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.contact-person {
  padding: 1.2rem 1.25rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.contact-person-name {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b7280;
}

.contact-person-lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.contact-line {
  display: grid;
  grid-template-columns: 26px 68px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background-color: rgba(248, 250, 252, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(249, 115, 22, 0.45);
}

.contact-ico {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(249, 115, 22, 0.08);
}

.contact-ico svg {
  width: 18px;
  height: 18px;
  stroke: #ea580c;
  stroke-width: 1.6;
  fill: none;
}

.contact-line-label {
  font-size: 0.78rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact-line-value {
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-locations {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.contact-location {
  padding: 1.2rem 1.25rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.contact-location-city {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b7280;
}

.contact-location-address {
  margin: 0 0 0.55rem;
  color: #111827;
  font-weight: 500;
  line-height: 1.35;
}

.contact-location-phone {
  color: #ea580c;
  font-weight: 600;
}

.contact-location-phone:hover {
  text-decoration: underline;
}

.contact-emails {
  margin-top: 2.5rem;
}

.contact-emails--mobile {
  display: none;
}

.contact-emails-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 500;
}

.contact-emails-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-email-link {
  color: #ea580c;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

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

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

  .contact-emails--desktop {
    display: none;
  }

  .contact-emails--mobile {
    display: block;
    order: 3;
    margin-top: 0;
  }
}

.contact-meta {
  display: none;
}

.contact-form-wrapper {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.98));
  border-radius: 1.6rem;
  padding: 1.9rem 1.8rem 2rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(18px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
}

.form-field input,
.form-field textarea {
  border-radius: 0.9rem;
  border: 1px solid #d1d5db;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background-color: rgba(249, 250, 251, 0.9);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #f97316;
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, 0.4),
    0 0 22px rgba(249, 115, 22, 0.35);
  background-color: #ffffff;
}

.form-legal {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.form-legal a {
  color: #f97316;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(22, 163, 74, 0.35);
  background:
    linear-gradient(to right, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.05));
  color: #166534;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.form-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-status--success {
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.18);
}

.form-status--error {
  border-color: rgba(185, 28, 28, 0.4);
  background:
    linear-gradient(to right, rgba(239, 68, 68, 0.12), rgba(248, 113, 113, 0.05));
  color: #991b1b;
  box-shadow: 0 10px 26px rgba(185, 28, 28, 0.16);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2.3rem;
  background-color: #020617;
  color: #e5e7eb;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer .brand-logo-plain {
  filter: invert(1) brightness(4);
}
.footer-brand .brand-name {
  color: #f97316;
}

.footer-tagline {
  display: block;
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: #e5e7eb;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #fed7aa;
}

.footer-copy {
  margin: 0;
  color: #6b7280;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 620ms cubic-bezier(.16,1,.3,1), transform 620ms cubic-bezier(.16,1,.3,1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chapter-panel.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
}

.chapter-panel.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chapter-panel:nth-child(1).reveal { transition-delay: 0ms !important; }
.chapter-panel:nth-child(2).reveal { transition-delay: 120ms !important; }
.chapter-panel:nth-child(3).reveal { transition-delay: 240ms !important; }
.chapter-panel:nth-child(4).reveal { transition-delay: 360ms !important; }

.chapter-panel.reveal-visible {
  transition:
    opacity 620ms cubic-bezier(.16,1,.3,1),
    transform 620ms cubic-bezier(.16,1,.3,1),
    box-shadow 420ms cubic-bezier(.16,1,.3,1),
    border-color 320ms ease;
}

.metric.reveal {
  transform: translateY(36px) scale(0.96);
}

.metric:nth-child(1).reveal { transition-delay: 0ms !important; }
.metric:nth-child(2).reveal { transition-delay: 80ms !important; }
.metric:nth-child(3).reveal { transition-delay: 160ms !important; }
.metric:nth-child(4).reveal { transition-delay: 240ms !important; }

/* Back to top */
#back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(234, 88, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 50;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Ocultar badge / errores de reCAPTCHA en entorno de prueba */
.grecaptcha-badge {
  visibility: hidden;
}

/* Responsive */
@media (max-width: 960px) {
  .chapter-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .chapter-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .hero-apple.page-section {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.5rem;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-top {
    align-items: center;
  }

  .hero-main {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
  }

  .hero-scroll {
    position: static;
    margin-top: 2.25rem;
    transform: none;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .main-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.nav-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.nav-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .page-section {
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .section-header {
    margin-bottom: 0;
  }

  .hero-apple {
    margin-top: -60px;
    padding-top: calc(60px + 2.5rem);
    min-height: 100vh;
  }

  .catalog-card {
    border-radius: 1.4rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero-content {
    row-gap: 1.75rem;
  }

  .hero-visual {
    min-height: 180px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(2.3rem, 8vw, 3rem);
  }

  .hero-apple {
    margin-top: -60px;
    padding-top: calc(60px + 2rem);
    padding-bottom: 3rem;
    min-height: 100vh;
  }

  .hero-scroll {
    position: static;
    margin-top: 1.75rem;
    transform: none;
    margin-inline: auto;
  }
}

/* ── Mobile Horizontal Carousels ── */
.carousel-dots {
  display: none;
}

@media (max-width: 768px) {
  body {
    background-color: #ffffff;
  }

  .chapter-list,
  .logistics-grid,
  .catalog-grid,
  .metrics-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-y pan-x;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .chapter-list::-webkit-scrollbar,
  .logistics-grid::-webkit-scrollbar,
  .catalog-grid::-webkit-scrollbar,
  .metrics-grid::-webkit-scrollbar {
    display: none;
  }

  .chapter-panel {
    flex: 0 0 85%;
    box-shadow: none;
  }

  .chapter-panel:hover {
    transform: none;
    box-shadow: none;
  }

  .logistic-item {
    flex: 0 0 70%;
    box-shadow: none;
  }

  .logistic-item:hover {
    transform: none;
    box-shadow: none;
  }

  .catalog-card {
    flex: 0 0 80%;
    box-shadow: none;
  }

  .catalog-card:hover {
    transform: none;
    box-shadow: none;
  }

  .metric {
    flex: 0 0 85%;
    box-shadow: none;
  }

  .metric:hover {
    transform: none;
    box-shadow: none;
  }

  .section-chapters::before,
  .section-chapters::after,
  .section-logistics::before,
  .section-logistics::after,
  .section-catalogos::before,
  .section-catalogos::after,
  .section-metrics::before,
  .section-metrics::after {
    display: none;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: rgba(148, 163, 184, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 260ms ease, width 260ms ease;
  }

  .carousel-dot.active {
    background-color: #f97316;
    width: 24px;
  }
}