:root {
  --navy: #0d2c3a;
  --navy-deep: #071c26;
  --steel: #2a6f7a;
  --steel-bright: #3d8f9c;
  --steel-soft: #e8f2f4;
  --crimson: #d7263d;
  --crimson-dark: #b01d30;
  --green: #1f8a6e;
  --green-bright: #2aa882;
  --sand: #f7f4ef;
  --sand-dark: #ebe4d8;
  --white: #ffffff;
  --ink: #152028;
  --muted: #5b6b74;
  --line: rgba(13, 44, 58, 0.12);
  --shadow: 0 18px 50px rgba(7, 28, 38, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Oswald", sans-serif;
  --font-body: "Figtree", sans-serif;
  --container: 1180px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--crimson);
  color: white;
  padding: 10px 14px;
  z-index: 9999;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ========== NAV ========== */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled,
.navbar.menu-open {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(7, 28, 38, 0.1);
  border-bottom-color: rgba(13, 44, 58, 0.08);
}

.nav-inner {
  width: min(var(--container), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  transition: color 0.3s var(--ease);
}

.navbar.scrolled .nav-brand,
.navbar.menu-open .nav-brand {
  color: var(--navy);
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #123847, #0a2430);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(7, 28, 38, 0.22);
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  gap: 0;
  padding: 7px;
}

.brand-mark i {
  display: block;
  border-radius: 3px;
}

.brand-mark .bm-red {
  background: linear-gradient(180deg, #ff5a6e, var(--crimson));
}

.brand-mark .bm-green {
  background: linear-gradient(180deg, var(--green-bright), var(--green));
}

.brand-mark .bm-route {
  align-self: center;
  width: 4px;
  height: 70%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(159, 208, 216, 0.35));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-mark-lg {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  padding: 9px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  transition: color 0.3s var(--ease), text-shadow 0.3s var(--ease);
}

.brand-text strong {
  font-weight: 700;
  color: inherit;
}

.navbar.scrolled .brand-text,
.navbar.menu-open .brand-text {
  color: #0d2c3a;
  text-shadow: none;
}

.nav-brand.light .brand-text {
  color: #ffffff;
  text-shadow: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  padding: 6px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: color 0.3s var(--ease), text-shadow 0.3s var(--ease);
}

.navbar.scrolled .nav-link,
.navbar.menu-open .nav-link {
  color: #152028;
  text-shadow: none;
}

.nav-link:hover {
  color: #ff8a98;
}

.navbar.scrolled .nav-link:hover,
.navbar.menu-open .nav-link:hover {
  color: var(--crimson);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--crimson);
}

.btn-contact,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--crimson);
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(215, 38, 61, 0.28);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-contact::after,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}

.btn-contact:hover::after,
.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-contact:hover,
.btn-primary:hover {
  background: var(--crimson-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(215, 38, 61, 0.36);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: 0.25s var(--ease);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.navbar.scrolled .nav-toggle span:not(.sr-only),
.navbar.menu-open .nav-toggle span:not(.sr-only) {
  background: var(--navy);
  box-shadow: none;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 28, 38, 0.72) 0%, rgba(7, 28, 38, 0.45) 42%, rgba(7, 28, 38, 0.82) 100%),
    radial-gradient(circle at 20% 20%, rgba(42, 111, 122, 0.35), transparent 45%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 28, 38, 0.35);
  color: white;
  font-size: 1.6rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-arrow.prev {
  left: 18px;
}

.hero-arrow.next {
  right: 18px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 0 110px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 42px;
}

.hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 18px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: rgba(7, 28, 38, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
}

.hero-brand-name strong {
  font-weight: 700;
  color: inherit;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fd0d8;
}

.section-kicker {
  color: var(--steel);
}

.hero h1,
.section-header h2,
.about-copy h2,
.diagnostic-intro h2,
.trust h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-divider {
  width: 84px;
  height: 3px;
  margin: 18px auto;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--green), transparent);
  animation: dividerPulse 2.8s ease-in-out infinite;
}

@keyframes dividerPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.92);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.hero-lead,
.section-lead {
  margin: 0 auto;
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.section-lead {
  color: var(--muted);
  margin: 16px 0 0;
}

.hero-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.path-card {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.path-bg {
  position: absolute;
  inset: 0;
}

.path-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.5s var(--ease);
}

.path-card:hover .path-bg img {
  transform: scale(1.1);
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 28, 38, 0.2) 0%, rgba(7, 28, 38, 0.55) 42%, rgba(7, 28, 38, 0.94) 100%);
}

.path-direct {
  border-color: rgba(42, 168, 130, 0.55);
}

.path-direct::after {
  background:
    linear-gradient(180deg, rgba(7, 28, 38, 0.18) 0%, rgba(13, 55, 48, 0.55) 40%, rgba(6, 28, 26, 0.95) 100%);
}

.path-turnkey {
  border-color: rgba(215, 38, 61, 0.55);
}

.path-turnkey::after {
  background:
    linear-gradient(180deg, rgba(7, 28, 38, 0.18) 0%, rgba(70, 18, 28, 0.55) 40%, rgba(28, 8, 14, 0.95) 100%);
}

.path-accent-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  z-index: 2;
}

.path-direct .path-accent-bar {
  background: linear-gradient(90deg, var(--green), var(--green-bright));
}

.path-turnkey .path-accent-bar {
  background: linear-gradient(90deg, var(--crimson), #ff5a6e);
}

.path-number,
.path-tags,
.path-body {
  position: relative;
  z-index: 1;
}

.path-number {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.path-direct .path-number {
  color: #7dffc8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.path-turnkey .path-number {
  color: #ff8a98;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 12px;
}

.path-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.path-direct .path-tags span {
  background: rgba(31, 138, 110, 0.45);
  border: 1px solid rgba(122, 255, 200, 0.45);
}

.path-turnkey .path-tags span {
  background: rgba(215, 38, 61, 0.42);
  border: 1px solid rgba(255, 138, 152, 0.45);
}

.path-body {
  padding: 14px 22px 26px;
  margin: 0 12px 14px;
  border-radius: 14px;
  background: rgba(7, 28, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.path-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.path-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(7, 28, 38, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-bottom > span:first-child {
  opacity: 0.8;
}

.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.hero-dots button,
.gallery-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
}

.hero-dots button.active,
.gallery-dots button.active {
  background: var(--crimson);
  transform: scale(1.15);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(215, 38, 61, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(215, 38, 61, 0);
  }
}

.hero-play {
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
}

/* ========== SECTIONS ========== */
.section {
  padding: 110px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-header.light .section-kicker {
  color: #9fd0d8;
}

.section-header.light h2,
.section-header.light .section-lead {
  color: white;
}

.section-header.light .section-lead {
  opacity: 0.82;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Proposal */
.proposal {
  background: #eef4f6;
}

.chain-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.chain-panel {
  border-radius: 14px;
  padding: 26px 24px;
  border: 1px solid rgba(13, 44, 58, 0.1);
  min-height: 0;
}

.chain-old {
  background: #ffffff;
}

.chain-new {
  background: linear-gradient(160deg, var(--navy) 0%, #123947 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(7, 28, 38, 0.18);
}

.panel-label {
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.chain-new .panel-label {
  color: #9fd0d8;
}

.chain-panel ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chain-panel li {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(13, 44, 58, 0.14);
  background: #f3f7f8;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.chain-new li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.chain-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.chain-new p {
  color: rgba(255, 255, 255, 0.82);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  position: relative;
  padding: 22px 20px 22px 22px;
  overflow: hidden;
  min-height: 0;
  background: #ffffff;
  border: 1px solid rgba(13, 44, 58, 0.08);
  border-radius: 12px;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(7, 28, 38, 0.05);
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: var(--crimson);
}

.value-icon {
  display: inline-flex;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--steel);
  font-size: 0.82rem;
}

.value-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  line-height: 1.2;
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Process */
.process {
  background:
    linear-gradient(180deg, rgba(7, 28, 38, 0.9), rgba(7, 28, 38, 0.95)),
    url("assets/images/operacion-importacion-02.jpg") center / cover;
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-card {
  padding: 20px 16px;
  min-height: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--navy);
  background: #9fd0d8;
  font-size: 0.82rem;
  font-weight: 700;
}

.process-card h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  line-height: 1.2;
}

.process-card p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

/* Sectors */
.sectors {
  background: #f5f8f9;
}

.sectors-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.sector-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sector-chip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
  min-height: 0;
  aspect-ratio: auto;
  background: #ffffff;
  padding: 12px 14px;
  color: var(--navy);
  border: 1px solid rgba(13, 44, 58, 0.1);
  border-radius: 10px;
  box-shadow: none;
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.sector-chip:hover,
.sector-chip.active {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--crimson);
  box-shadow: 0 8px 18px rgba(215, 38, 61, 0.1);
}

.sector-no {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--steel);
  min-width: 1.8rem;
  transition: color 0.22s var(--ease);
}

.sector-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
  max-width: none;
}

.sector-wide {
  grid-column: 1 / -1;
  min-height: 0;
  flex-direction: row;
  gap: 12px;
}

.sector-wide .sector-title {
  max-width: none;
}

.sector-chip:hover .sector-no,
.sector-chip.active .sector-no {
  color: var(--crimson);
  transform: none;
}

/* Gallery */
.gallery {
  background: #e8eef0;
}

.gallery-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(7, 28, 38, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-carousel:hover {
  transform: translateY(-4px);
}

.gallery-track {
  position: relative;
  min-height: 460px;
  background: var(--navy-deep);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.gallery-slide figcaption span {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fd0d8;
  font-weight: 700;
}

.gallery-slide figcaption strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--navy);
}

.gallery-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: white;
  font-size: 1.3rem;
}

.gallery-dots {
  display: flex;
  gap: 8px;
}

/* Trust / About */
.trust {
  background: linear-gradient(160deg, #0d2c3a 0%, #154556 100%);
  color: white;
}

.trust .section-kicker {
  color: #9fd0d8;
}

.trust h2 {
  color: white;
}

.trust-grid,
.about-grid,
.diagnostic-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.trust-list {
  display: grid;
  gap: 10px;
}

.trust-list li {
  padding: 14px 16px;
  display: grid;
  gap: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid #9fd0d8;
  border-radius: 0 10px 10px 0;
}

.trust-list strong {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  font-size: 0.95rem;
}

.trust-list span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
}

.about {
  background: #f2f6f7;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 16px 40px rgba(7, 28, 38, 0.12);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transition: transform 0.8s var(--ease);
}

.about-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--crimson);
  color: white;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy p {
  color: var(--muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.about-stats div {
  padding: 12px 12px 11px;
  background: #ffffff;
  border: 1px solid rgba(13, 44, 58, 0.08);
  border-radius: 10px;
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 0.88rem;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Diagnostic */
.diagnostic {
  background: #eaf1f3;
}

.diagnostic-channel {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.diagnostic-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(7, 28, 38, 0.08);
  border: 1px solid rgba(13, 44, 58, 0.08);
}

.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.form-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--sand-dark);
}

.form-progress span.active {
  background: var(--crimson);
}

.form-step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
}

.form-step.active {
  display: block;
  animation: fadeSlide 0.28s ease;
}

.form-step legend {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sand);
  padding: 12px 14px;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(215, 38, 61, 0.35);
  border-color: var(--crimson);
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.back-step {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-decoration: underline;
}

.form-note {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* FAQ / CTA / Footer */
.faq {
  background: #f4f7f8;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--crimson);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 560px;
}

.cta-band {
  background: var(--navy);
  color: white;
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-band .section-kicker {
  color: #9fd0d8;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
}

.footer-top {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-top p {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.3rem;
  line-height: 1.2;
}

.footer-link {
  color: #9fd0d8;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: #9fd0d8;
}

.whatsapp-float,
.scroll-top {
  position: fixed;
  right: 22px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(7, 28, 38, 0.22);
}

.whatsapp-float {
  bottom: 22px;
  background: #25d366;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
}

.whatsapp-float small {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-top {
  bottom: 92px;
  border: 0;
  background: var(--navy);
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

html.js .reveal.is-pending {
  opacity: 0.001;
  transform: translateY(16px);
}

html.js .stagger > * {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

html.js .stagger.is-pending > * {
  opacity: 0.001;
  transform: translateY(12px);
}

html.js .stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
html.js .stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
html.js .stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
html.js .stagger.visible > *:nth-child(4) { transition-delay: 0.22s; }
html.js .stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
html.js .stagger.visible > *:nth-child(6) { transition-delay: 0.34s; }
html.js .stagger.visible > *:nth-child(7) { transition-delay: 0.4s; }

html.js .reveal.visible,
html.js .stagger.visible > * {
  opacity: 1;
  transform: none;
}

.about-visual:hover img {
  transform: scale(1.04);
}

.faq-list details {
  transition: background 0.25s var(--ease);
}

.faq-list details[open] {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding-inline: 12px;
}

.faq-list details p {
  animation: fadeSlide 0.3s ease;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 38, 61, 0.28), transparent 70%);
  top: -80px;
  right: -40px;
  animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-24px, 18px);
  }
}

.whatsapp-float {
  animation: waPulse 2.4s ease-in-out infinite;
}

@keyframes waPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(7, 28, 38, 0.22);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35);
  }
}

.company-note {
  opacity: 0.85;
  font-size: 0.78rem;
}

.value-card,
.process-card,
.chain-panel,
.trust-list li,
.about-stats div {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.value-card:hover,
.process-card:hover,
.chain-panel:hover,
.trust-list li:hover,
.about-stats div:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(7, 28, 38, 0.1);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sectors-layout,
  .trust-grid,
  .about-grid,
  .diagnostic-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--sand);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    gap: 8px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.28s var(--ease);
    box-shadow: 0 18px 40px rgba(7, 28, 38, 0.12);
  }

  .nav-menu.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    color: #152028 !important;
    text-shadow: none !important;
    padding: 12px 0;
  }

  .navbar:not(.scrolled):not(.menu-open) .nav-menu:not(.open) .nav-link {
    color: #ffffff !important;
  }

  .btn-contact {
    justify-content: center;
  }

  .hero-paths,
  .chain-compare {
    grid-template-columns: 1fr;
  }

  .sector-board {
    grid-template-columns: 1fr 1fr;
  }

  .brand-text {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .hero-logo {
    padding-right: 14px;
  }

  .hero-brand-name {
    font-size: 1.35rem;
    letter-spacing: 0.1em;
  }

  .hero-arrow {
    display: none;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .hero-play {
    justify-self: center;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner,
  .footer-top {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .gallery-track,
  .about-visual,
  .about-visual img {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-inner,
  .hero-content {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 130px;
  }

  .process-grid,
  .value-grid,
  .sector-board {
    grid-template-columns: 1fr;
  }

  .sector-chip {
    aspect-ratio: auto;
    min-height: 0;
    padding: 12px 14px;
  }

  .diagnostic-form {
    padding: 22px;
  }

  .path-card {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .gallery-slide,
  .reveal,
  html.js .reveal,
  html.js .reveal.is-pending,
  html.js .stagger.is-pending > *,
  html.js .stagger.visible > *,
  .form-step.active,
  .path-card,
  .hero-divider,
  .hero-dots button.active,
  .whatsapp-float,
  .cta-band::before {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
