:root {
  --blue-900: #012169;
  --blue-700: #123a8f;
  --blue-500: #407fca;
  --red-500: #d22630;
  --gray-700: #4e5b69;
  --gray-500: #7a8ba0;
  --gray-100: #eef2f7;
  --white-cold: #f4f6f9;
  --white: #ffffff;
  --ink: #111723;
  --shadow: 0 24px 70px rgba(1, 33, 105, 0.16);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

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

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

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

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  background: var(--red-500);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(122, 139, 160, 0.18);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(1, 33, 105, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--blue-900);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-cta {
  background: var(--red-500);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--blue-900);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(690px, 94svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--blue-900);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 33, 105, 0.96) 0%, rgba(1, 33, 105, 0.88) 32%, rgba(1, 33, 105, 0.34) 67%, rgba(1, 33, 105, 0.16) 100%),
    linear-gradient(180deg, rgba(1, 33, 105, 0.42), rgba(1, 33, 105, 0.06));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  padding-top: 82px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--red-500);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.2vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
  max-width: 760px;
}

h2 {
  margin-bottom: 20px;
  color: var(--blue-900);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  color: var(--blue-900);
  font-size: 1.2rem;
  line-height: 1.16;
  margin-bottom: 10px;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions,
.agenda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(210, 38, 48, 0.25);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 610px;
  margin: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-metrics div {
  padding: 16px 18px 0 0;
}

.hero-metrics dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.section-pad {
  padding: 108px 0;
}

.page-offset {
  padding-top: 156px;
}

.page-hero {
  padding: 156px 0 84px;
  background:
    linear-gradient(90deg, rgba(244, 246, 249, 0.96), rgba(255, 255, 255, 0.9)),
    url("/assets/img/dwexa-hero-industrial.png") center / cover;
}

.page-hero-dark {
  background:
    linear-gradient(90deg, rgba(1, 33, 105, 0.96), rgba(1, 33, 105, 0.8)),
    url("/assets/img/dwexa-hero-industrial.png") center / cover;
  color: var(--white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: end;
}

.page-hero h1 {
  color: var(--blue-900);
  font-size: clamp(2.25rem, 3.8vw, 3.35rem);
  line-height: 1.05;
}

.page-hero-dark h1 {
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  color: var(--gray-700);
  font-size: 1.12rem;
}

.page-hero-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.conversion-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.conversion-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-900);
  font-size: 1.2rem;
  line-height: 1.12;
}

.conversion-panel p {
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.conversion-panel .button {
  width: 100%;
}

.conversion-panel-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.conversion-panel-dark strong {
  color: var(--white);
}

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

.route-card {
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(1, 33, 105, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(210, 38, 48, 0.42);
  box-shadow: var(--shadow);
}

.route-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--red-500);
  font-weight: 900;
}

.route-card p {
  color: var(--gray-700);
}

.route-card-strong {
  background: var(--blue-900);
  color: var(--white);
}

.route-card-strong h3,
.route-card-strong p {
  color: var(--white);
}

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

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

.button-light {
  background: var(--white);
  color: var(--blue-900);
  border: 1px solid rgba(122, 139, 160, 0.28);
}

.estimator-hero {
  padding-bottom: clamp(44px, 6vw, 68px);
  background:
    radial-gradient(circle at 78% 28%, rgba(210, 38, 48, 0.18), transparent 32%),
    linear-gradient(120deg, rgba(244, 246, 249, 0.98), rgba(255, 255, 255, 0.9)),
    url("/assets/img/retiro.jpg") center / cover;
}

.estimator-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  gap: 18px;
  align-items: start;
}

.estimator-hero h1 {
  color: var(--blue-900);
  max-width: 860px;
  font-size: clamp(2.18rem, 3.5vw, 3.15rem);
  line-height: 1.05;
}

.estimator-hero p {
  max-width: 880px;
  color: var(--gray-700);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.estimator-trust {
  padding: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(122, 139, 160, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.estimator-trust span,
.result-topline span,
.result-grid span {
  display: block;
  color: var(--red-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimator-trust strong {
  display: block;
  margin: 8px 0;
  color: var(--blue-900);
  font-size: 1.65rem;
  line-height: 1;
}

.estimator-trust p {
  margin: 0;
  font-size: 0.94rem;
}

.estimator {
  background: var(--white-cold);
}

.estimator.section-pad {
  padding-top: clamp(28px, 4.5vw, 52px);
  padding-bottom: clamp(46px, 6vw, 68px);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.estimator-controls,
.estimator-result {
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.estimator-controls {
  display: contents;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.estimator-controls .section-heading {
  order: 1;
  max-width: 720px;
  margin-bottom: 8px;
}

.estimator-controls .section-heading p:not(.eyebrow),
.plan-contact .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--gray-700);
}

.material-adder {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.55fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 246, 249, 0.88), rgba(255, 255, 255, 0.98)),
    var(--white);
}

.material-adder label {
  margin-bottom: 0;
}

.plan-builder {
  order: 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: var(--radius);
  background: #dbe3ee;
  box-shadow: var(--shadow);
}

.material-checklist-shell,
.plan-list-shell {
  min-width: 0;
  min-height: 0;
  height: clamp(500px, 43vw, 560px);
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(1, 33, 105, 0.05);
  overflow: hidden;
}

.material-checklist-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.plan-list-shell {
  display: flex;
  flex-direction: column;
}

.builder-panel-heading,
.plan-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(1, 33, 105, 0.96), rgba(7, 19, 47, 0.96));
  color: var(--white);
}

.builder-panel-heading span,
.plan-list-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-panel-heading b,
.plan-list-heading b,
.result-topline span b,
.plan-panel-actions .button span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--red-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(210, 38, 48, 0.12);
  animation: stepPulse 2.6s ease-in-out infinite;
}

.result-topline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plan-panel-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.plan-panel-actions .button span {
  background: var(--white);
  color: var(--red-500);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.builder-panel-heading strong,
.plan-list-heading strong {
  color: var(--white);
  font-size: 0.92rem;
}

.material-checklist {
  display: grid;
  min-height: 0;
  max-height: none;
  overflow: auto;
  overscroll-behavior: auto;
  padding: 14px;
  background: linear-gradient(180deg, rgba(244, 246, 249, 0.9), rgba(255, 255, 255, 0.96));
}

.material-group + .material-group {
  margin-top: 18px;
}

.material-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--red-500);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-group h3 span,
.material-check-icon,
.plan-item-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(64, 127, 202, 0.12);
  color: var(--blue-900);
}

.material-group svg,
.material-check-icon svg,
.plan-item-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.material-emoji {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  font-size: 0.92rem;
  line-height: 1;
  filter: saturate(0.9);
}

.material-check {
  position: relative;
  display: grid;
  grid-template-columns: 24px 30px 1fr;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.material-check + .material-check {
  margin-top: 8px;
}

.material-check:hover,
.material-check:focus-within {
  border-color: rgba(64, 127, 202, 0.36);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(1, 33, 105, 0.08);
  transform: translateY(-1px);
}

.material-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.material-checkmark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(1, 33, 105, 0.34);
  border-radius: 5px;
  background: var(--white);
}

.material-checkmark::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.material-check input:checked + .material-checkmark {
  border-color: var(--red-500);
  background: var(--red-500);
}

.material-check input:checked + .material-checkmark::after {
  opacity: 1;
}

.material-check:has(input:checked) {
  border-color: rgba(210, 38, 48, 0.34);
  background: rgba(210, 38, 48, 0.055);
}

.material-check-copy {
  display: grid;
  gap: 3px;
}

.material-check-copy strong {
  color: var(--blue-900);
  font-size: 0.9rem;
  line-height: 1.16;
}

.material-check-copy small {
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-shell {
  margin-top: 18px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background: var(--white-cold);
  overflow: hidden;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(122, 139, 160, 0.16);
}

.catalog-heading span {
  color: var(--red-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-heading strong {
  color: var(--blue-900);
}

.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 232px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
}

.catalog-pill {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  align-items: center;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid rgba(122, 139, 160, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), rgba(244, 246, 249, 0.82));
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalog-pill:hover,
.catalog-pill:focus-visible {
  border-color: rgba(210, 38, 48, 0.34);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(1, 33, 105, 0.1);
  transform: translateY(-2px);
}

.catalog-pill span,
.catalog-pill strong {
  color: var(--red-500);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-pill span {
  grid-column: 1 / -1;
}

.catalog-pill strong {
  color: var(--blue-500);
  white-space: nowrap;
}

.plan-empty {
  flex: 0 0 auto;
  min-height: 118px;
  padding: 24px 22px;
  color: var(--gray-700);
  background:
    linear-gradient(135deg, rgba(244, 246, 249, 0.86), rgba(255, 255, 255, 0.96)),
    var(--white-cold);
  display: grid;
  align-items: center;
}

.plan-empty[hidden] {
  display: none;
}

.plan-list {
  display: grid;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  align-content: start;
  overflow: auto;
  overscroll-behavior: auto;
  padding-bottom: 12px;
}

.plan-panel-actions {
  position: sticky;
  z-index: 4;
  bottom: 0;
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 18px;
  border-top: 1px solid rgba(122, 139, 160, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 246, 249, 0.98)),
    var(--white);
  box-shadow: 0 -18px 30px rgba(244, 246, 249, 0.92);
}

.plan-panel-actions .button {
  min-width: min(100%, 260px);
  min-height: 52px;
  align-self: center;
}

.plan-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 96px;
  gap: 12px;
  align-items: end;
  padding: 14px 16px;
  border-top: 1px solid rgba(122, 139, 160, 0.18);
  animation: revealUp 0.34s ease both;
}

.plan-item-title {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
}

.plan-item span,
.plan-item small,
.plan-item-value span {
  color: var(--gray-700);
  font-size: 0.78rem;
}

.plan-item-title > div > span {
  color: var(--red-500);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-item strong {
  color: var(--blue-900);
  line-height: 1.15;
}

.plan-item label {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.plan-item input {
  min-width: 0;
  padding: 10px 11px;
}

.plan-item-value {
  display: grid;
  gap: 5px;
  grid-column: 1;
}

.plan-remove {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid rgba(210, 38, 48, 0.2);
  border-radius: 6px;
  background: rgba(210, 38, 48, 0.07);
  color: var(--red-500);
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.plan-remove:hover,
.plan-remove:focus-visible {
  background: rgba(210, 38, 48, 0.13);
  transform: translateY(-1px);
}

button:disabled,
.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal-open {
  overflow: hidden;
}

.plan-modal[hidden] {
  display: none;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.22), transparent 26%),
    radial-gradient(circle at 78% 82%, rgba(64, 127, 202, 0.22), transparent 30%),
    rgba(7, 19, 47, 0.56);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.plan-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 34px 90px rgba(1, 14, 45, 0.34);
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
}

.plan-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.52), transparent 28%);
  pointer-events: none;
}

.plan-modal-panel > * {
  position: relative;
  z-index: 1;
}

.plan-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--blue-900);
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.plan-modal-close:hover,
.plan-modal-close:focus-visible {
  border-color: rgba(210, 38, 48, 0.36);
  background: var(--red-500);
  color: var(--white);
  transform: translateY(-1px);
}

.modal-plan-preview {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(64, 127, 202, 0.18);
  border-left: 5px solid var(--blue-500);
  border-radius: 8px;
  background: rgba(244, 246, 249, 0.72);
}

.modal-plan-preview span {
  color: var(--red-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-plan-preview strong {
  color: var(--blue-900);
  font-size: 1.25rem;
}

.modal-plan-preview small {
  color: var(--gray-700);
  font-weight: 800;
}

.range-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.range-line strong {
  color: var(--red-500);
  font-size: 1.45rem;
}

input[type="range"] {
  accent-color: var(--red-500);
  padding: 0;
}

.estimator-note {
  order: 4;
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 16px;
  background: var(--white-cold);
  border-left: 4px solid var(--red-500);
  color: var(--gray-700);
  border-radius: 6px;
}

.estimator-note strong {
  color: var(--blue-900);
}

.estimator-result {
  order: 2;
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 12px 20px;
  padding: clamp(18px, 2.5vw, 26px);
  overflow: hidden;
}

.estimator-result::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(64, 127, 202, 0.22), transparent 68%);
  pointer-events: none;
}

.result-topline strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--blue-900);
  font-size: clamp(1.9rem, 3.8vw, 3.05rem);
  line-height: 1;
}

.result-topline small {
  display: block;
  max-width: 480px;
  color: var(--gray-700);
  line-height: 1.42;
}

.result-topline {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.meter {
  --meter-score: 58%;
  grid-column: 1;
  grid-row: 2;
  position: relative;
  height: 10px;
  margin: 28px 0 0;
  background: var(--gray-100);
  border-radius: 999px;
}

.meter span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--red-500));
  border-radius: inherit;
  transition: width 0.35s ease;
}

.meter-machine {
  position: absolute;
  left: var(--meter-score);
  top: 50%;
  width: 70px;
  height: 44px;
  filter: drop-shadow(0 10px 14px rgba(1, 33, 105, 0.2));
  object-fit: contain;
  transform: translate(-50%, -72%);
  transition: left 0.35s ease;
  animation: excavatorRoll 2.8s ease-in-out infinite;
}

.meter-machine .machine-body,
.meter-machine .machine-arm,
.meter-machine .machine-bucket {
  fill: #f2b84b;
}

.meter-machine .machine-cabin {
  fill: var(--blue-900);
}

.meter-machine .machine-window {
  fill: #dcefff;
}

.meter-machine .machine-wheel {
  fill: #182237;
  stroke: #eef3f8;
  stroke-width: 3;
}

.value-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(16px, 2.6vw, 32px);
  align-items: end;
  min-height: 132px;
  margin: 0;
  padding: 14px clamp(16px, 2.5vw, 28px);
  background: linear-gradient(135deg, rgba(244, 246, 249, 0.9), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.money-stack {
  position: relative;
  height: 104px;
  min-width: 0;
}

.money-stack-svg {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.money-stack-video {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.money-stack-canvas {
  width: 120%;
  height: 120%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 18px rgba(1, 33, 105, 0.14)) saturate(1.08) contrast(1.02);
  transform: scale(calc(0.9 + var(--coin-progress, 0) * 0.08));
  transform-origin: center bottom;
  transition: transform 0.32s ease, opacity 0.28s ease, filter 0.28s ease;
}

.money-stack-svg[data-coin-progress="0.00"] .money-stack-canvas {
  opacity: 0.38;
}

.value-bars {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  height: 104px;
}

.value-bars span {
  display: block;
  min-height: 16px;
  border-radius: 18px 18px 3px 3px;
  background: var(--blue-500);
  box-shadow: 0 10px 18px rgba(1, 33, 105, 0.12);
  transition: height 0.35s ease, transform 0.24s ease, background 0.24s ease;
}

.value-bars[data-active] span {
  animation: barLift 2.9s ease-in-out infinite;
}

.value-bars span:nth-child(2n) {
  background: var(--red-500);
  animation-delay: 0.12s;
}

.value-bars span:nth-child(3n) {
  background: var(--blue-900);
  animation-delay: 0.24s;
}

.value-bars span:nth-child(4n) {
  animation-delay: 0.36s;
}

.value-bars span:nth-child(1) {
  height: var(--bar-1, 32%);
}

.value-bars span:nth-child(2) {
  height: var(--bar-2, 48%);
}

.value-bars span:nth-child(3) {
  height: var(--bar-3, 64%);
}

.value-bars span:nth-child(4) {
  height: var(--bar-4, 78%);
}

.value-bars span:nth-child(5) {
  height: var(--bar-5, 42%);
}

.value-bars span:nth-child(6) {
  height: var(--bar-6, 58%);
}

.value-bars span:nth-child(7) {
  height: var(--bar-7, 36%);
}

.value-bars span:nth-child(8) {
  height: var(--bar-8, 68%);
}

.result-grid {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.result-grid div {
  min-height: 96px;
  padding: 14px;
  background: var(--white-cold);
  border-radius: 6px;
}

.result-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--blue-900);
  line-height: 1.1;
}

.pickup-policy {
  grid-column: 1;
  grid-row: 4;
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-left: 5px solid var(--blue-500);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), var(--white-cold));
  transition: border-color 0.24s ease, background 0.24s ease;
}

.pickup-policy strong {
  color: var(--blue-900);
}

.pickup-policy p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.94rem;
}

.pickup-policy.is-qualified {
  border-left-color: #16a34a;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), var(--white));
}

.pickup-policy.is-warning {
  border-left-color: var(--red-500);
  background: linear-gradient(135deg, rgba(210, 38, 48, 0.08), var(--white));
}

.result-breakdown {
  grid-column: 2;
  grid-row: 4;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.result-breakdown ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-700);
}

.result-breakdown li + li {
  margin-top: 8px;
}

.result-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.plan-contact {
  margin-top: 28px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plan-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.plan-contact-grid .full {
  grid-column: 1 / -1;
}

.photo-upload {
  padding: 14px;
  border: 1px dashed rgba(44, 123, 229, 0.34);
  border-radius: 10px;
  background: rgba(232, 239, 248, 0.48);
}

.photo-upload span,
.photo-upload small {
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.photo-upload input[type="file"] {
  padding: 12px;
  border: 1px solid rgba(122, 139, 160, 0.28);
  background: var(--white);
}

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

.photo-preview-item,
.request-photo-grid figure,
.proposal-photo-grid figure {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.photo-preview-item img,
.request-photo-grid img,
.proposal-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.photo-preview-item figcaption,
.request-photo-grid figcaption,
.proposal-photo-grid figcaption {
  overflow: hidden;
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 139, 160, 0.18);
}

.plan-submit-row p {
  margin: 0;
  color: var(--gray-700);
}

.plan-submit-row .form-submit {
  width: auto;
  margin-top: 0;
}

.estimator-proof {
  background: var(--white);
}

.motion-strip {
  padding: 34px 0;
  overflow: hidden;
  background: var(--blue-900);
  color: var(--white);
}

.motion-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: tickerMove 24s linear infinite;
}

.motion-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  white-space: nowrap;
}

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

.story-scroll {
  background: #07132f;
  color: var(--white);
  padding: 110px 0 270px;
}

.story-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
}

.story-sticky {
  position: relative;
  align-self: stretch;
}

.story-sticky h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
}

.story-visual {
  margin-top: 34px;
  padding: 28px;
  min-height: 340px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(1, 33, 105, 0.04), rgba(1, 33, 105, 0.92)),
    url("/assets/img/dwexa-hero-industrial.png") center / cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--story-x, 30%) var(--story-y, 40%), rgba(210, 38, 48, 0.32), transparent 30%);
  transition: background 0.35s ease;
}

.story-stage {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--red-500);
  border-radius: 50%;
  font-weight: 900;
}

.story-diagram {
  position: absolute;
  inset: 84px 28px auto;
  z-index: 2;
  height: 130px;
}

.story-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
  animation: storyDot 2.6s ease-in-out infinite;
}

.story-dot-a {
  left: 8%;
  top: 70%;
}

.story-dot-b {
  left: 45%;
  top: 38%;
  animation-delay: 0.3s;
}

.story-dot-c {
  right: 8%;
  top: 14%;
  animation-delay: 0.6s;
}

.story-arrow {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 56%;
  height: 3px;
  background: linear-gradient(90deg, var(--white), var(--red-500));
  transform: rotate(-15deg);
  transform-origin: left;
}

.story-visual strong,
.story-visual p {
  position: relative;
  z-index: 2;
}

.story-visual strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1;
}

.story-visual p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.story-machine-shell {
  --machine-progress: 0;
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 9 / 14.4;
  margin: 20px auto 0;
}

.story-machine {
  position: absolute;
  inset: -18px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.story-machine.is-pinned {
  position: fixed;
  top: var(--machine-pin-top, 98px);
  left: var(--machine-pin-left, 0);
  right: auto;
  bottom: auto;
  z-index: 4;
  width: var(--machine-pin-width, 440px);
  height: var(--machine-pin-height, 704px);
}

.story-machine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, #07132f 0%, rgba(7, 19, 47, 0.96) 12%, rgba(7, 19, 47, 0.18) 30%, rgba(7, 19, 47, 0.18) 68%, rgba(7, 19, 47, 0.98) 92%, #07132f 100%),
    linear-gradient(90deg, #07132f 0%, rgba(7, 19, 47, 0.98) 14%, rgba(7, 19, 47, 0.2) 34%, rgba(7, 19, 47, 0.2) 66%, rgba(7, 19, 47, 0.98) 86%, #07132f 100%),
    radial-gradient(ellipse at 50% 50%, transparent 26%, rgba(7, 19, 47, 0.48) 62%, #07132f 100%);
  opacity: 1;
}

.story-machine-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05) brightness(0.94);
  mix-blend-mode: lighten;
  opacity: 0.96;
  transform: scale(1.28);
  transform-origin: center center;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 12%, #000 30%, #000 70%, rgba(0, 0, 0, 0.06) 88%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.04) 13%, #000 35%, #000 65%, rgba(0, 0, 0, 0.04) 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 12%, #000 30%, #000 70%, rgba(0, 0, 0, 0.06) 88%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.04) 13%, #000 35%, #000 65%, rgba(0, 0, 0, 0.04) 87%, transparent 100%);
  mask-composite: intersect;
}

.story-panels {
  display: grid;
  gap: 32px;
}

.story-panel {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 56px);
  border-left: 4px solid rgba(255, 255, 255, 0.14);
  opacity: 0.52;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.story-panel.is-active {
  opacity: 1;
  border-color: var(--red-500);
  transform: translateX(8px);
}

.story-panel-photo {
  width: min(520px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 0 24px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  filter: saturate(0.88) contrast(1.04);
  transform: translateY(10px);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.story-panel.is-active .story-panel-photo {
  filter: saturate(1.02) contrast(1.06);
  transform: translateY(0);
}

.story-panel span {
  color: var(--red-500);
  font-weight: 900;
  margin-bottom: 18px;
}

.story-panel h3 {
  max-width: 640px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.story-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.process-flow::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--red-500), var(--blue-900));
  animation: pulseLine 2.8s ease-in-out infinite;
}

.process-node {
  position: relative;
  z-index: 1;
  min-height: 210px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(1, 33, 105, 0.08);
}

.process-node span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 44px;
  background: var(--blue-900);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 0 0 8px var(--white);
  animation: nodePulse 2.8s ease-in-out infinite;
}

.process-node:nth-child(2) span {
  animation-delay: 0.3s;
}

.process-node:nth-child(3) span {
  animation-delay: 0.6s;
}

.process-node:nth-child(4) span {
  animation-delay: 0.9s;
}

.process-node p {
  color: var(--gray-700);
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.reveal-card,
.service-card,
.timeline li,
.route-card {
  opacity: 0;
  transform: translateY(26px);
}

.reveal-card.is-visible,
.service-card.is-visible,
.timeline li.is-visible,
.route-card.is-visible {
  animation: revealUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.service-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(210, 38, 48, 0.32);
  box-shadow: var(--shadow);
}

.process .timeline {
  position: relative;
}

.process .timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 36px;
  bottom: 36px;
  width: 3px;
  background: linear-gradient(180deg, var(--red-500), var(--blue-500), rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 24px rgba(210, 38, 48, 0.32);
  transform: scaleY(var(--process-progress, 0.2));
  transform-origin: top;
  transition: transform 0.2s ease;
}

.timeline li {
  position: relative;
  z-index: 1;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 8px var(--white), 0 0 0 10px rgba(64, 127, 202, 0.1);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 0 8px var(--white), 0 0 0 18px rgba(210, 38, 48, 0.14);
  }
}

@keyframes storyDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes stepBeacon {
  0% {
    box-shadow: 0 0 0 0 rgba(210, 38, 48, 0.34), 0 18px 36px rgba(0, 0, 0, 0.22);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(210, 38, 48, 0), 0 18px 36px rgba(0, 0, 0, 0.22);
  }
}

@keyframes scanStep {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(410%) skewX(-18deg);
  }
}

@keyframes coinPop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.82);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes barLift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes stepPulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(210, 38, 48, 0.1);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(210, 38, 48, 0.04);
    transform: scale(1.04);
  }
}

@keyframes excavatorRoll {
  0%,
  100% {
    transform: translate(-50%, -70%) rotate(-1deg);
  }

  50% {
    transform: translate(-50%, -78%) rotate(1.5deg);
  }
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}

.section-heading p:not(.eyebrow) {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.section-heading-wide {
  max-width: 920px;
  margin-bottom: 38px;
}

.problem {
  background: var(--white-cold);
}

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

.problem-list article,
.service-card,
.trust-items article,
.quote-form,
.thanks-card {
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(1, 33, 105, 0.06);
}

.problem-list article {
  padding: 26px;
  min-height: 220px;
}

.marker {
  display: block;
  width: 42px;
  height: 6px;
  margin-bottom: 26px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-500));
  transform: skewX(-28deg);
}

.problem-list p,
.service-card p,
.trust-items p,
.quote-copy p,
.agenda p,
.thanks-card p {
  color: var(--gray-700);
}

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

.service-card {
  min-height: 286px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -38px;
  bottom: -48px;
  width: 120px;
  height: 150px;
  background: rgba(64, 127, 202, 0.11);
  transform: skewX(-28deg);
  pointer-events: none;
}

.service-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(1, 14, 45, 0.34), rgba(1, 14, 45, 0.94)),
    var(--service-photo, url("/assets/img/dwexa-hero-industrial.png")) center / cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.32s ease, transform 0.45s ease;
}

.service-card-visual > * {
  position: relative;
  z-index: 1;
}

.service-card-visual:hover::before,
.service-card-visual:focus-within::before,
.service-card-visual.is-hovered::before {
  opacity: 1;
  transform: scale(1);
}

.service-card-visual:hover h3,
.service-card-visual:hover p,
.service-card-visual:hover span,
.service-card-visual.is-hovered h3,
.service-card-visual.is-hovered p,
.service-card-visual.is-hovered span {
  color: var(--white);
}

.service-metal::before {
  --service-photo: url("/assets/img/obra.jpg");
  background-position: 58% 76%;
}

.service-logistics::before {
  --service-photo: url("/assets/img/retiro.jpg");
}

.service-machinery::before {
  --service-photo: url("/assets/img/maquinaria.jpg");
}

.service-clean::before {
  --service-photo: url("/assets/img/maquina.jpg");
}

.service-logistics::before {
  background-position: 70% 34%;
}

.service-machinery::before {
  background-position: 92% 68%;
}

.service-clean::before {
  background-position: 32% 52%;
}

.service-card span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--red-500);
  font-weight: 900;
}

.image-hover-card {
  min-height: 286px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.image-hover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(1, 14, 45, 0.34), rgba(1, 14, 45, 0.94)),
    var(--proof-photo, url("/assets/img/dwexa-hero-industrial.png")) center / cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.32s ease, transform 0.45s ease;
}

.image-hover-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -38px;
  bottom: -48px;
  width: 120px;
  height: 150px;
  background: rgba(64, 127, 202, 0.11);
  transform: skewX(-28deg);
  pointer-events: none;
}

.image-hover-card > * {
  position: relative;
  z-index: 1;
}

.image-hover-card:hover,
.image-hover-card:focus-visible,
.image-hover-card.is-hovered {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(210, 38, 48, 0.32);
  box-shadow: var(--shadow);
}

.image-hover-card:hover::before,
.image-hover-card:focus-within::before,
.image-hover-card.is-hovered::before {
  opacity: 1;
  transform: scale(1);
}

.image-hover-card:hover h3,
.image-hover-card:hover p,
.image-hover-card:hover span,
.image-hover-card.is-hovered h3,
.image-hover-card.is-hovered p,
.image-hover-card.is-hovered span {
  color: var(--white);
}

.estimator-proof-friction::before {
  --proof-photo: url("/assets/img/diagnostico.jpg");
}

.estimator-proof-intent::before {
  --proof-photo: url("/assets/img/evaluacion-comercial.jpg");
}

.estimator-proof-expectations::before {
  --proof-photo: url("/assets/img/contrato.jpg");
}

.flow-detect::before {
  --proof-photo: url("/assets/img/obra.jpg");
}

.flow-qualify::before {
  --proof-photo: url("/assets/img/revision.jpg");
}

.flow-coordinate::before {
  --proof-photo: url("/assets/img/personal.jpg");
}

.flow-recover::before {
  --proof-photo: url("/assets/img/maquina.jpg");
}

.trust-communication::before {
  --proof-photo: url("/assets/img/revision.jpg");
}

.trust-documentation::before {
  --proof-photo: url("/assets/img/contrato2.jpg");
}

.trust-logistics::before {
  --proof-photo: url("/assets/img/retiro.jpg");
}

.process {
  background: linear-gradient(135deg, var(--blue-900), #061a45);
  color: var(--white);
}

.process h2,
.process h3 {
  color: var(--white);
}

.process .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.sticky-heading {
  position: sticky;
  top: 116px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.timeline li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  perspective: 900px;
}

.timeline li::before {
  content: counter(process, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--red-500);
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 0 0 0 rgba(210, 38, 48, 0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.timeline li.is-visible::before {
  background: linear-gradient(135deg, var(--red-500), #f15d38);
  box-shadow: 0 0 0 8px rgba(210, 38, 48, 0.14), 0 18px 36px rgba(0, 0, 0, 0.22);
  transform: scale(1.06) rotate(-8deg);
  animation: stepBeacon 1.4s ease-out both;
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.timeline-content {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  overflow: hidden;
  transform: rotateX(10deg) translateY(28px);
  transform-origin: left center;
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, background 0.35s ease;
}

.timeline-content::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}

.timeline li.is-visible .timeline-content {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  transform: rotateX(0) translateY(0);
}

.timeline li.is-visible .timeline-content::after {
  animation: scanStep 1.05s ease 0.18s both;
}

.timeline-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transform: scale(0.92) rotate(-2deg);
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
  filter: saturate(0.82) contrast(1.02);
}

.timeline li.is-visible .timeline-photo {
  transform: scale(1) rotate(0);
  filter: saturate(1.05) contrast(1.06);
}

.timeline span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.quote {
  background: var(--white-cold);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: start;
}

.quote-copy {
  padding-top: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  color: var(--blue-900);
  font-weight: 800;
  border-bottom: 1px solid rgba(122, 139, 160, 0.22);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 16px;
  height: 8px;
  border-left: 3px solid var(--red-500);
  border-bottom: 3px solid var(--red-500);
  transform: rotate(-45deg);
}

.quote-form {
  padding: 30px;
}

.hidden {
  display: none;
}

.form-row {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(122, 139, 160, 0.46);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(64, 127, 202, 0.16);
}

textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
}

.trust {
  padding-bottom: clamp(24px, 3vw, 42px);
}

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

.trust-items article {
  padding: 28px;
  border-top: 6px solid var(--blue-500);
}

.assurance {
  background:
    linear-gradient(180deg, rgba(245, 248, 252, 0.82), rgba(255, 255, 255, 1)),
    var(--white-cold);
  padding-top: clamp(24px, 3vw, 38px);
  padding-bottom: clamp(18px, 2.4vw, 28px);
}

.assurance-video {
  --scrub-progress: 0;
  width: 100%;
  min-height: clamp(520px, 54vw, 760px);
  margin: 0 0 clamp(14px, 2vw, 24px);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #07132f;
  isolation: isolate;
  box-shadow: none;
}

.assurance-video::before,
.assurance-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.assurance-video::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 19, 47, 0.95), rgba(7, 19, 47, 0.72) 38%, rgba(7, 19, 47, 0.22)),
    linear-gradient(180deg, rgba(7, 19, 47, 0.12), rgba(7, 19, 47, 0.5)),
    radial-gradient(circle at calc(18% + var(--scrub-progress) * 54%) 48%, rgba(210, 38, 48, 0.22), transparent 28%);
}

.assurance-video::after {
  z-index: 2;
  background:
    linear-gradient(180deg, #07132f 0%, rgba(7, 19, 47, 0) 18%, rgba(7, 19, 47, 0) 78%, #07132f 100%),
    linear-gradient(90deg, #07132f 0%, rgba(7, 19, 47, 0) 16%, rgba(7, 19, 47, 0) 84%, #07132f 100%);
  opacity: 0.74;
  mix-blend-mode: multiply;
}

.assurance-video-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.9);
  transform: scale(calc(1.04 + var(--scrub-progress) * 0.04));
  transform-origin: center center;
}

.assurance-video-content {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding-top: clamp(34px, 5vw, 68px);
  padding-bottom: clamp(34px, 5vw, 68px);
  color: var(--white);
}

.assurance-video-content span {
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  color: var(--red-500);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assurance-video-content strong {
  display: block;
  max-width: 620px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.assurance-video-content p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: pretty;
}

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

.assurance-card {
  min-height: 250px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(1, 33, 105, 0.06);
}

.assurance-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -38px;
  bottom: -60px;
  width: 132px;
  height: 176px;
  background: rgba(64, 127, 202, 0.11);
  transform: skewX(-28deg);
  pointer-events: none;
}

.assurance-card > * {
  position: relative;
  z-index: 1;
}

.assurance-card span,
.risk-grid span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--red-500);
  font-weight: 900;
}

.assurance-card h3,
.deliverable-list strong {
  color: var(--blue-900);
}

.assurance-card p,
.deliverable-list p,
.risk-grid p {
  color: var(--gray-700);
  text-wrap: pretty;
}

.assurance-card-strong {
  background:
    linear-gradient(160deg, rgba(1, 33, 105, 0.96), rgba(7, 19, 47, 1)),
    var(--blue-900);
  color: var(--white);
}

.assurance-card-strong h3,
.assurance-card-strong p {
  color: var(--white);
}

.deliverables {
  background: var(--white);
  padding-top: clamp(24px, 2.8vw, 34px);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 70px;
  align-items: center;
}

.deliverables-visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #07132f;
}

.deliverables-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 47, 0.08), rgba(7, 19, 47, 0.72)),
    radial-gradient(circle at 50% 44%, transparent 34%, rgba(7, 19, 47, 0.58));
}

.deliverables-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.deliverable-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.deliverable-list article {
  padding: 22px 24px;
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-left: 5px solid var(--red-500);
  border-radius: 8px;
  background: var(--white-cold);
  box-shadow: 0 12px 34px rgba(1, 33, 105, 0.05);
}

.deliverable-list strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.04rem;
}

.deliverable-list p {
  margin: 0;
  text-align: justify;
}

.risk-control {
  background: #07132f;
  color: var(--white);
}

.risk-control .section-heading h2,
.risk-control .section-heading p:not(.eyebrow) {
  color: var(--white);
}

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

.risk-grid .image-hover-card {
  min-height: 320px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.risk-grid h3,
.risk-grid p {
  color: var(--white);
}

.risk-price::before {
  --proof-photo: url("/assets/img/evaluacion-comercial.jpg");
}

.risk-access::before {
  --proof-photo: url("/assets/img/personal.jpg");
}

.risk-document::before {
  --proof-photo: url("/assets/img/contrato2.jpg");
}

.risk-delay::before {
  --proof-photo: url("/assets/img/obra.jpg");
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-layout .button {
  margin-top: 18px;
}

.trust-cta {
  background:
    linear-gradient(135deg, rgba(1, 33, 105, 0.95), rgba(7, 19, 47, 1)),
    var(--blue-900);
  color: var(--white);
}

.trust-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 24%, rgba(210, 38, 48, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.06);
}

.trust-cta h2,
.trust-cta p {
  color: var(--white);
}

.trust-cta p {
  max-width: 680px;
  margin-bottom: 0;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: 8px;
  background: var(--white-cold);
  box-shadow: 0 14px 36px rgba(1, 33, 105, 0.05);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--blue-900);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--gray-700);
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

.agenda {
  background:
    linear-gradient(90deg, rgba(1, 33, 105, 0.94), rgba(1, 33, 105, 0.86)),
    url("/assets/img/recoleccion.jpg") center / cover;
  color: var(--white);
}

.agenda-video {
  --scrub-progress: 0;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 48vw, 700px);
  padding-top: clamp(128px, 11vw, 172px);
  padding-bottom: clamp(128px, 11vw, 172px);
  overflow: hidden;
  isolation: isolate;
  background: #07132f;
}

.agenda-video::before,
.agenda-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.agenda-video::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 19, 47, 0.96), rgba(7, 19, 47, 0.76) 46%, rgba(7, 19, 47, 0.38)),
    linear-gradient(180deg, rgba(7, 19, 47, 0.28), rgba(7, 19, 47, 0.72)),
    radial-gradient(circle at calc(18% + var(--scrub-progress) * 58%) 52%, rgba(210, 38, 48, 0.22), transparent 30%);
}

.agenda-video::after {
  z-index: 2;
  background:
    linear-gradient(180deg, #07132f 0%, rgba(7, 19, 47, 0) 20%, rgba(7, 19, 47, 0) 78%, #07132f 100%),
    linear-gradient(90deg, #07132f 0%, rgba(7, 19, 47, 0) 14%, rgba(7, 19, 47, 0) 86%, #07132f 100%);
  opacity: 0.68;
  mix-blend-mode: multiply;
}

.agenda-video-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) brightness(0.9);
  transform: scale(calc(1.04 + var(--scrub-progress) * 0.04));
  transform-origin: center center;
}

.agenda-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.agenda h2 {
  max-width: 760px;
  color: var(--white);
}

.agenda p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.opportunity {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 248, 252, 0.92), rgba(255, 255, 255, 1)),
    var(--white);
}

.opportunity::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 33, 105, 0.08), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(210, 38, 48, 0.1), transparent 28%);
}

.opportunity-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.opportunity .section-heading {
  position: sticky;
  top: 116px;
}

.opportunity .section-heading p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 24px;
  text-align: left;
}

.opportunity-list {
  display: grid;
  gap: 16px;
}

.opportunity-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  min-height: 156px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(1, 33, 105, 0.06);
}

.opportunity-card::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -82px;
  width: 170px;
  height: 170px;
  background: rgba(49, 130, 206, 0.1);
  transform: skewX(-28deg);
}

.opportunity-card span {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 900;
}

.opportunity-card h3,
.opportunity-card p {
  position: relative;
  z-index: 1;
  grid-column: 2;
}

.opportunity-card h3 {
  margin-top: 4px;
  margin-bottom: 8px;
}

.opportunity-card p {
  margin: 0;
  color: var(--gray-700);
  text-align: left;
  text-wrap: pretty;
  hyphens: auto;
}

.opportunity-card-strong {
  background:
    linear-gradient(135deg, rgba(1, 33, 105, 0.98), rgba(7, 19, 47, 0.96)),
    var(--blue-900);
  border-color: rgba(255, 255, 255, 0.12);
}

.opportunity-card-strong span {
  background: var(--red-500);
}

.opportunity-card-strong h3,
.opportunity-card-strong p {
  color: var(--white);
}

.opportunity-card-strong p {
  color: rgba(255, 255, 255, 0.76);
}

.intranet-hero {
  padding: 92px 0 54px;
  background:
    linear-gradient(90deg, rgba(244, 246, 249, 0.96), rgba(244, 246, 249, 0.74)),
    url("/assets/img/metal.jpg") center / cover;
}

.intranet-login {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(44, 123, 229, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(1, 33, 105, 0.96), rgba(1, 18, 52, 0.98));
}

.intranet-login[hidden] {
  display: none;
}

.intranet-login-panel {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.intranet-login-panel img {
  width: 170px;
  height: auto;
}

.intranet-login-panel h1 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(2rem, 6vw, 3rem);
}

.intranet-login-panel p {
  margin: 0;
  color: var(--gray-700);
}

.intranet-login-error {
  padding: 10px 12px;
  border-left: 4px solid var(--red-500);
  border-radius: 8px;
  background: rgba(210, 38, 48, 0.08);
  color: var(--blue-900) !important;
  font-weight: 800;
}

.intranet-locked {
  overflow: hidden;
}

.intranet-locked > :not(.intranet-login) {
  pointer-events: none;
  user-select: none;
  filter: blur(4px);
}

.intranet-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 38px;
  align-items: end;
}

.intranet-hero h1 {
  max-width: 840px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
}

.intranet-hero p {
  max-width: 760px;
  color: var(--gray-700);
  font-size: 1.08rem;
}

.intranet-status,
.cost-card,
.budget-builder {
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(1, 33, 105, 0.08);
}

.intranet-status {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.intranet-status .button {
  width: 100%;
  margin-top: 12px;
}

.intranet-status span,
.intranet-status small,
.cost-card-heading span,
.budget-kpis span,
.budget-line span {
  color: var(--gray-700);
}

.intranet-status strong {
  color: var(--blue-900);
  font-size: 1.5rem;
}

.intranet-workspace {
  background: var(--white-cold);
}

.intranet-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: var(--radius);
  background: var(--white);
}

.intranet-toolbar label {
  margin: 0;
}

.intranet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cost-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cost-summary article,
.budget-kpis article {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), rgba(232, 239, 248, 0.72));
  border: 1px solid rgba(122, 139, 160, 0.18);
}

.cost-summary span,
.budget-kpis span {
  display: block;
  margin-bottom: 8px;
  color: var(--red-500);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cost-summary strong,
.budget-kpis strong {
  color: var(--blue-900);
  font-size: 1.35rem;
}

.intranet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.cost-card,
.budget-builder {
  padding: 22px;
}

.cost-card-wide {
  min-width: 0;
}

.cost-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.cost-card-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.cost-card p {
  color: var(--gray-700);
}

.ops-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-checklist li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 12px 12px 42px;
  border: 1px solid rgba(122, 139, 160, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), rgba(232, 239, 248, 0.62));
  color: var(--gray-700);
  font-weight: 800;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.ops-checklist li::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(210, 38, 48, 0.1);
  color: var(--red-500);
  font-size: 0.72rem;
  font-weight: 900;
}

.ops-checklist li strong {
  color: var(--blue-900);
}

.ops-checklist li small {
  color: var(--gray-700);
  font-weight: 700;
  line-height: 1.35;
}

.ops-checklist li.is-complete {
  border-color: rgba(44, 123, 229, 0.26);
  background: linear-gradient(135deg, var(--white), rgba(232, 239, 248, 0.9));
}

.ops-checklist li.is-complete::before {
  content: "";
  background: var(--blue-500);
  box-shadow: 0 0 0 5px rgba(44, 123, 229, 0.1);
}

.ops-checklist li.is-complete::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 19px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.review-alert {
  margin-top: 12px;
  padding: 12px;
  border-left: 4px solid var(--red-500);
  border-radius: 8px;
  background: rgba(210, 38, 48, 0.06);
  color: var(--gray-700);
  font-size: 0.92rem;
  line-height: 1.45;
}

.review-alert strong {
  color: var(--blue-900);
}

.review-alert.is-ready {
  border-left-color: var(--blue-500);
  background: rgba(44, 123, 229, 0.08);
}

.cost-table-wrap {
  max-height: 640px;
  overflow: auto;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background: var(--white);
}

.material-create-panel {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(150px, 0.7fr) minmax(130px, 0.48fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(44, 123, 229, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(232, 239, 248, 0.68), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.material-create-panel label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 900;
}

.material-create-panel input {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(122, 139, 160, 0.38);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  font: inherit;
}

.material-create-panel .button {
  min-height: 42px;
  white-space: nowrap;
}

.cost-table,
.proposal-sheet table {
  width: 100%;
  border-collapse: collapse;
}

.cost-table th,
.cost-table td,
.proposal-sheet th,
.proposal-sheet td {
  padding: 12px;
  border-bottom: 1px solid rgba(122, 139, 160, 0.18);
  text-align: left;
  vertical-align: top;
}

.cost-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cost-table td:first-child {
  min-width: 110px;
}

.cost-table td:nth-child(2) {
  min-width: 230px;
}

.cost-table td:nth-child(6) {
  min-width: 260px;
}

.cost-table td:nth-child(7) {
  width: 76px;
  min-width: 76px;
  text-align: center;
}

.cost-table strong,
.budget-line strong {
  color: var(--blue-900);
}

.cost-table small {
  display: block;
  margin-top: 4px;
  color: var(--red-500);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cost-table input {
  min-width: 92px;
  padding: 10px;
  font-weight: 800;
}

.cost-table input[type="text"] {
  min-width: 240px;
  font-weight: 700;
}

.intranet-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 900;
}

.intranet-toggle input {
  min-width: auto;
  width: 18px;
  height: 18px;
}

.material-delete-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(210, 38, 48, 0.24);
  border-radius: 8px;
  background: rgba(210, 38, 48, 0.07);
  color: var(--red-500);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.material-delete-button:hover,
.material-delete-button:focus-visible {
  border-color: rgba(210, 38, 48, 0.48);
  background: rgba(210, 38, 48, 0.14);
  transform: translateY(-1px);
}

.material-delete-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cost-history {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(122, 139, 160, 0.18);
}

.cost-history strong {
  color: var(--blue-900);
}

.cost-history ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.cost-history li {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white-cold);
  color: var(--gray-700);
  font-size: 0.9rem;
}

.budget-builder {
  margin-top: 20px;
}

.request-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.request-pipeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-500), var(--blue-500), var(--blue-900));
  opacity: 0.26;
}

.request-pipeline article {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 172px;
  padding: 18px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 239, 248, 0.72)),
    var(--white);
}

.request-pipeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(1, 33, 105, 0.08);
}

.request-pipeline article:nth-child(2) span {
  background: var(--blue-500);
}

.request-pipeline article:nth-child(3) span {
  background: var(--red-500);
}

.request-pipeline strong {
  color: var(--blue-900);
  font-size: 1.05rem;
}

.request-pipeline p {
  margin: 0;
  color: var(--gray-700);
}

.budget-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.request-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(44, 123, 229, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(232, 239, 248, 0.92), rgba(255, 255, 255, 0.82)),
    var(--white);
}

.request-source div {
  display: grid;
  gap: 3px;
}

.request-source span,
.request-source small {
  color: var(--gray-700);
  font-size: 0.84rem;
}

.request-source strong {
  color: var(--blue-900);
  font-size: 1rem;
}

.request-source .button {
  flex: 0 0 auto;
}

.budget-form textarea[readonly] {
  background: rgba(232, 239, 248, 0.56);
  color: var(--blue-900);
  cursor: default;
}

.budget-form,
.budget-result,
.proposal-output {
  padding: 18px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background: var(--white);
}

.budget-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.budget-list {
  display: grid;
  gap: 10px;
  min-height: 160px;
  margin-bottom: 14px;
}

.budget-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(122, 139, 160, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), rgba(232, 239, 248, 0.58));
}

.budget-line small {
  display: block;
  color: var(--gray-700);
}

.budget-line button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(210, 38, 48, 0.22);
  border-radius: 8px;
  background: rgba(210, 38, 48, 0.07);
  color: var(--red-500);
  font-weight: 900;
}

.budget-actions {
  margin-top: 12px;
}

.budget-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  margin: 0;
  color: var(--gray-700);
  text-align: center;
}

.proposal-output {
  margin-top: 18px;
}

.proposal-sheet {
  display: grid;
  gap: 14px;
  color: var(--blue-900);
}

.proposal-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red-500);
}

.proposal-brand img {
  width: 158px;
  max-width: 42%;
  height: auto;
}

.proposal-brand div {
  display: grid;
  gap: 4px;
  text-align: right;
}

.proposal-sheet h3 {
  margin: 0;
}

.proposal-sheet p {
  color: var(--gray-700);
}

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

.proposal-meta span {
  padding: 10px;
  border-radius: 8px;
  background: var(--white-cold);
  color: var(--gray-700);
  font-size: 0.9rem;
}

.proposal-meta b {
  color: var(--blue-900);
}

.proposal-sheet th {
  background: var(--blue-900);
  color: var(--white);
}

.proposal-sheet dl {
  display: grid;
  gap: 8px;
  margin: 0;
  margin-left: auto;
  min-width: min(100%, 360px);
}

.proposal-sheet dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  background: var(--white-cold);
}

.proposal-sheet dd {
  margin: 0;
  font-weight: 900;
}

.proposal-sheet section {
  padding: 12px;
  border-left: 4px solid var(--red-500);
  background: var(--white-cold);
}

.proposal-sheet section strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-900);
}

.case-history {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background: var(--white);
}

.case-history [data-case-history] {
  display: grid;
  gap: 10px;
}

.intranet-hero {
  padding: 78px 0 34px;
}

.intranet-workspace.section-pad {
  padding: 34px 0;
}

.intranet-hero-grid {
  gap: 28px;
}

.intranet-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
}

.intranet-hero p {
  font-size: 1rem;
}

.intranet-status {
  padding: 18px;
}

.intranet-toolbar {
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
}

.cost-summary {
  gap: 10px;
  margin-bottom: 14px;
}

.cost-summary article,
.budget-kpis article {
  padding: 13px;
}

.cost-summary strong,
.budget-kpis strong {
  font-size: 1.18rem;
}

.intranet-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(288px, 0.34fr);
  gap: 14px;
  align-items: stretch;
}

.cost-card,
.budget-builder {
  padding: 16px;
}

.cost-card-wide {
  display: flex;
  flex-direction: column;
}

.cost-card-heading {
  gap: 14px;
  margin-bottom: 12px;
}

.cost-card-heading h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

.material-create-panel {
  grid-template-columns: minmax(170px, 1fr) minmax(130px, 0.68fr) minmax(112px, 0.42fr) auto;
  gap: 8px;
  padding: 10px;
}

.material-create-panel input,
.material-create-panel .button {
  min-height: 38px;
}

.ops-checklist {
  gap: 8px;
}

.ops-checklist li {
  min-height: 74px;
  padding: 10px 10px 10px 40px;
}

.review-alert {
  margin-top: 10px;
  padding: 10px;
}

.cost-table-wrap {
  flex: 1;
  height: min(58vh, 590px);
  min-height: 520px;
  max-height: 590px;
}

.cost-table {
  table-layout: fixed;
  font-size: 0.82rem;
}

.cost-table th,
.cost-table td {
  padding: 7px 8px;
}

.cost-table th {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.cost-table td:first-child {
  width: 88px;
  min-width: 0;
}

.cost-table td:nth-child(2) {
  width: 24%;
  min-width: 0;
}

.cost-table td:nth-child(6) {
  width: 22%;
  min-width: 0;
}

.cost-table td:nth-child(7) {
  width: 54px;
  min-width: 0;
  text-align: center;
}

.cost-table input {
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  font-size: 0.82rem;
  font-weight: 650;
}

.material-delete-button {
  width: 34px;
  height: 34px;
}

.cost-table input[type="text"] {
  min-width: 0;
}

.cost-table small {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.budget-builder {
  margin-top: 16px;
}

.request-pipeline {
  gap: 10px;
  margin-bottom: 14px;
}

.request-pipeline::before {
  top: 27px;
}

.request-pipeline article {
  gap: 6px;
  min-height: 118px;
  padding: 13px;
}

.request-pipeline span {
  width: 34px;
  height: 34px;
}

.request-pipeline strong {
  font-size: 0.98rem;
}

.request-pipeline p {
  font-size: 0.9rem;
}

.budget-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 14px;
  align-items: stretch;
}

.request-source {
  gap: 10px;
  margin-bottom: 12px;
  padding: 11px;
}

.budget-result .request-source {
  align-items: stretch;
}

.budget-result .request-source .button {
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
}

.budget-form,
.budget-result,
.proposal-output {
  padding: 14px;
}

.budget-form label {
  gap: 6px;
  margin-bottom: 9px;
  font-size: 0.86rem;
}

.budget-form input,
.budget-form select,
.budget-form textarea {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.budget-form textarea {
  min-height: 86px;
}

.budget-kpis {
  gap: 8px;
  margin-bottom: 10px;
}

.budget-list {
  gap: 8px;
  min-height: 126px;
  margin-bottom: 10px;
}

.budget-line {
  gap: 10px;
  padding: 10px;
}

.budget-line strong,
.cost-table strong {
  font-weight: 750;
}

.budget-line button {
  min-height: 36px;
  padding: 7px 10px;
}

.budget-empty {
  min-height: 126px;
}

.request-notes-card {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(44, 123, 229, 0.16);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(232, 239, 248, 0.74), rgba(255, 255, 255, 0.92));
}

.request-notes-card span {
  color: var(--red-500);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.request-notes-card textarea {
  width: 100%;
  min-height: 138px;
  max-height: 190px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  resize: vertical;
}

.request-notes-card textarea:focus {
  outline: 0;
  box-shadow: none;
}

.request-photos-card {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 10px;
  background: var(--white-cold);
}

.request-photos-card > span {
  color: var(--red-500);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.request-photo-grid,
.proposal-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.request-photo-grid p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.proposal-output {
  margin-top: 14px;
}

@media (min-width: 980px) {
  .budget-result {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 112px);
    overflow: auto;
  }
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), rgba(232, 239, 248, 0.7));
}

.case-card span,
.case-card small {
  display: block;
  color: var(--gray-700);
}

.case-card span {
  margin-bottom: 4px;
  color: var(--red-500);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intranet-entry-panel {
  gap: 12px;
}

.intranet-entry-panel .button {
  width: 100%;
}

.intranet-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: -10px;
}

.intranet-module-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(122, 139, 160, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(1, 33, 105, 0.06);
}

.intranet-module-nav a[aria-current="page"] {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
}

.purchase-shell {
  display: grid;
  gap: 14px;
}

.purchase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(1, 33, 105, 0.08);
}

.purchase-tabs button,
.purchase-price-row button {
  min-height: 40px;
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: 9px;
  background: var(--white);
  color: var(--blue-900);
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.purchase-tabs button {
  padding: 9px 15px;
}

.purchase-tabs button:hover,
.purchase-price-row button:hover,
.purchase-tabs button.is-active {
  border-color: var(--blue-900);
  background: var(--blue-900);
  color: var(--white);
  transform: translateY(-1px);
}

.purchase-panel {
  padding: 20px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(1, 33, 105, 0.08);
}

.purchase-hero-copy {
  margin-bottom: 18px;
}

.purchase-hero-copy h2,
.purchase-list-head h2,
.purchase-guide-hero h2 {
  max-width: 760px;
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.purchase-hero-copy p,
.purchase-list-head p,
.purchase-guide-hero p,
.purchase-card p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-700);
}

.purchase-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.purchase-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--white), rgba(232, 239, 248, 0.54));
  overflow: hidden;
}

.purchase-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -78px;
  width: 150px;
  height: 160px;
  background: rgba(44, 123, 229, 0.1);
  transform: skewX(-28deg);
}

.purchase-card > * {
  position: relative;
  z-index: 1;
}

.purchase-step {
  display: flex;
  gap: 10px;
  align-items: center;
}

.purchase-step span,
.guide-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 950;
}

.purchase-step strong {
  color: var(--blue-900);
}

.purchase-card label,
.purchase-param-grid label,
.purchase-list-head label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 900;
}

.purchase-card input,
.purchase-card select,
.purchase-param-grid input,
.purchase-list-head input,
.purchase-admin-tools input,
.purchase-admin-row input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(122, 139, 160, 0.38);
  border-radius: 9px;
  background: var(--white);
  color: var(--blue-900);
  font: inherit;
  font-weight: 750;
}

.purchase-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: 10px;
  background: rgba(232, 239, 248, 0.78);
}

.purchase-mode legend {
  grid-column: 1 / -1;
  padding: 0 0 4px 2px;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 900;
}

.purchase-mode button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gray-700);
  cursor: pointer;
  font-weight: 850;
}

.purchase-mode button.is-active {
  background: var(--blue-900);
  color: var(--white);
}

.purchase-hint {
  padding: 12px;
  border-left: 4px solid var(--blue-500);
  border-radius: 9px;
  background: rgba(232, 239, 248, 0.74);
  color: var(--gray-700);
  font-size: 0.92rem;
}

.purchase-result {
  border-top: 5px solid var(--blue-500);
}

.purchase-result[data-status="amarillo"] {
  border-top-color: #bd7b12;
}

.purchase-result[data-status="rojo"] {
  border-top-color: var(--red-500);
}

.purchase-semaphore {
  display: flex;
  gap: 12px;
  align-items: center;
}

.purchase-semaphore > span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--blue-500);
  box-shadow: 0 0 0 7px rgba(44, 123, 229, 0.12);
}

.purchase-result[data-status="amarillo"] .purchase-semaphore > span {
  background: #bd7b12;
  box-shadow: 0 0 0 7px rgba(189, 123, 18, 0.14);
}

.purchase-result[data-status="rojo"] .purchase-semaphore > span {
  background: var(--red-500);
  box-shadow: 0 0 0 7px rgba(210, 38, 48, 0.14);
}

.purchase-semaphore small,
.purchase-price-grid small,
.purchase-metrics span,
.purchase-price-row span,
.purchase-reference span {
  display: block;
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-semaphore strong {
  color: var(--blue-900);
  font-size: 1.55rem;
}

.purchase-decision {
  color: var(--blue-900) !important;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.purchase-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(122, 139, 160, 0.18);
  border-bottom: 1px solid rgba(122, 139, 160, 0.18);
}

.purchase-price-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-900);
  font-size: 1.35rem;
}

.purchase-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.purchase-metrics b {
  display: block;
  margin-top: 4px;
  color: var(--blue-900);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.purchase-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.purchase-reference {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(44, 123, 229, 0.16);
  border-radius: 10px;
  background: rgba(232, 239, 248, 0.72);
}

.purchase-reference strong {
  color: var(--blue-900);
}

.purchase-public-list,
.purchase-admin-table {
  display: grid;
  gap: 8px;
}

.purchase-price-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(140px, 0.42fr) minmax(140px, 0.42fr) 100px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 10px;
  background: var(--white);
}

.purchase-price-row strong {
  color: var(--blue-900);
}

.purchase-price-row small {
  display: block;
  color: var(--red-500);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-guide-hero {
  margin-bottom: 18px;
}

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

.purchase-card h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.purchase-card small {
  color: var(--red-500);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.purchase-card-dark {
  background: linear-gradient(135deg, var(--blue-900), #07132f);
}

.purchase-card-dark h3,
.purchase-card-dark p,
.purchase-card-dark small {
  color: var(--white);
}

.purchase-card-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.purchase-param-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.purchase-admin-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.purchase-admin-tools input {
  max-width: 420px;
}

.purchase-admin-head,
.purchase-admin-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(6, minmax(92px, 0.7fr)) minmax(130px, 0.8fr);
  gap: 8px;
  align-items: center;
}

.purchase-admin-head {
  padding: 10px;
  border-radius: 8px;
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-admin-row {
  padding: 10px;
  border: 1px solid rgba(122, 139, 160, 0.18);
  border-radius: 10px;
  background: var(--white);
}

.purchase-admin-row > div:first-child strong {
  display: block;
  color: var(--blue-900);
}

.purchase-admin-row > div:first-child small {
  color: var(--red-500);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-admin-row label {
  display: flex;
  align-items: center;
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.purchase-admin-row label span,
.purchase-admin-row label small {
  padding: 0 6px;
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 850;
}

.purchase-admin-row input {
  min-height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 0;
}

.purchase-admin-row .computedPrice strong {
  display: block;
  color: var(--blue-900);
}

.purchase-admin-row .rowActions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.intranet-hero-compact {
  padding-bottom: 34px;
}

.proposal-page-builder {
  margin-top: 0;
}

.form-row.three {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(140px, 0.6fr) minmax(150px, 0.62fr);
  gap: 16px;
}

.budget-material-row {
  align-items: end;
}

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

.budget-line .budget-edit-button {
  border-color: rgba(44, 123, 229, 0.22);
  background: rgba(44, 123, 229, 0.08);
  color: var(--blue-900);
}

.budget-line .budget-edit-button:hover,
.budget-line .budget-edit-button:focus-visible {
  border-color: rgba(44, 123, 229, 0.44);
  background: rgba(44, 123, 229, 0.14);
}

.case-card strong {
  color: var(--blue-900);
}

.site-footer {
  background: #111c2b;
  color: var(--white);
  padding: clamp(52px, 7vw, 82px) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.18fr) minmax(130px, 0.62fr) minmax(260px, 1fr) minmax(210px, 0.9fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
}

.footer-brand img {
  width: 152px;
  margin-bottom: 22px;
}

.footer-brand p,
.footer-address,
.footer-ops {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand a,
.footer-address a,
.footer-menu a,
.footer-legal a,
.footer-contact-line {
  color: var(--white);
  font-weight: 700;
}

.footer-brand p {
  max-width: 360px;
  line-height: 1.75;
  font-size: 0.95rem;
}

.footer-brand p strong {
  color: var(--white);
}

.footer-address {
  margin: 0;
  font-style: normal;
  line-height: 1.65;
  display: grid;
  gap: 4px;
}

.footer-address strong,
.footer-menu strong,
.footer-legal strong,
.footer-ops > strong {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-menu strong::before,
.footer-legal strong::before,
.footer-ops > strong::before {
  content: "";
  width: 3px;
  height: 18px;
  background: var(--red-500);
}

.footer-legal strong::before {
  background: #22d3ee;
}

.footer-ops > strong::before {
  background: var(--blue-500);
}

.footer-menu,
.footer-legal {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-menu a,
.footer-legal a,
.footer-contact-line {
  width: max-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-menu a:hover,
.footer-legal a:hover,
.footer-contact-line:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-ops {
  display: grid;
  gap: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.footer-primary-link {
  display: inline-flex;
  width: max-content;
  margin-top: 28px;
  padding: 13px 18px;
  color: var(--blue-900);
  background: var(--red-500);
  border-radius: 3px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease;
}

.footer-primary-link:hover {
  background: #f15d38;
  transform: translateY(-2px);
}

.social-button,
.intranet-button {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-weight: 900;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.social-button:hover,
.intranet-button:hover {
  background: var(--red-500);
  border-color: var(--red-500);
  transform: translateY(-2px);
}

.intranet-button {
  width: max-content;
  margin-top: 8px;
  padding: 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.social-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.legal-page {
  background: var(--white-cold);
}

.legal-hero {
  padding: 148px 0 72px;
  background:
    linear-gradient(125deg, rgba(1, 33, 105, 0.96), rgba(6, 17, 45, 0.92)),
    url("/assets/img/dwexa-hero-industrial.png") center / cover;
  color: var(--white);
}

.legal-hero-inner {
  max-width: 980px;
}

.legal-hero h1 {
  color: var(--white);
}

.legal-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
}

.legal-mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.legal-mini-nav a {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-mini-nav a[aria-current="page"],
.legal-mini-nav a:hover {
  border-color: var(--red-500);
  color: var(--white);
  background: rgba(210, 38, 48, 0.22);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(1, 33, 105, 0.06);
}

.legal-aside span {
  color: var(--red-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-aside strong {
  color: var(--blue-900);
}

.legal-aside p {
  color: var(--gray-700);
}

.legal-aside a {
  color: var(--blue-900);
  font-weight: 900;
}

.legal-card {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid rgba(122, 139, 160, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(1, 33, 105, 0.08);
}

.legal-card section {
  padding: 0 0 26px;
  margin: 0 0 26px;
  border-bottom: 1px solid rgba(122, 139, 160, 0.18);
}

.legal-card section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--gray-700);
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-note {
  padding: 22px;
  border-left: 5px solid var(--red-500);
  background: var(--white);
  color: var(--blue-900);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.34);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

body.show-floating-contact .floating-whatsapp {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(130deg, rgba(244, 246, 249, 0.94), rgba(255, 255, 255, 0.98)),
    url("/assets/img/dwexa-hero-industrial.png") center / cover;
}

.thanks-shell {
  width: min(760px, calc(100vw - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 28px;
}

.thanks-brand img {
  width: 170px;
}

.thanks-card {
  padding: clamp(28px, 5vw, 54px);
}

.thanks-card h1 {
  max-width: none;
  color: var(--blue-900);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid rgba(122, 139, 160, 0.2);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

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

  .nav a {
    padding: 14px 0;
  }

  .opportunity .section-heading {
    position: static;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .split,
  .quote-grid,
  .trust-grid,
  .agenda-panel,
  .opportunity-grid,
  .page-hero-grid,
  .estimator-hero-grid,
  .estimator-grid,
  .legal-layout,
  .story-shell,
  .deliverables-grid,
  .faq-layout,
  .purchase-quote-grid,
  .purchase-list-head,
  .purchase-guide-grid,
  .purchase-param-grid {
    grid-template-columns: 1fr;
  }

  .purchase-admin-head {
    display: none;
  }

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

  .purchase-admin-row > div:first-child,
  .purchase-admin-row .rowActions {
    grid-column: 1 / -1;
  }

  .purchase-price-row {
    grid-template-columns: 1fr 1fr;
  }

  .purchase-price-row > div:first-child,
  .purchase-price-row button {
    grid-column: 1 / -1;
  }

  .estimator-result {
    position: static;
    grid-template-columns: 1fr;
  }

  .result-topline,
  .meter,
  .value-visual,
  .result-grid,
  .pickup-policy,
  .result-breakdown {
    grid-column: 1;
    grid-row: auto;
  }

  .plan-builder {
    grid-template-columns: 1fr;
  }

  .pickup-policy,
  .result-breakdown,
  .result-actions {
    grid-column: 1;
  }

  .material-adder {
    grid-template-columns: 1fr 180px;
  }

  .material-adder .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .story-sticky {
    position: relative;
    top: auto;
  }

  .story-machine {
    position: absolute;
    inset: 0;
  }

  .story-machine.is-pinned {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
  }

  .story-machine-shell {
    position: relative;
    top: auto;
    width: min(100%, 360px);
  }

  .story-panel {
    min-height: auto;
  }

  .problem-list,
  .service-grid,
  .trust-items,
  .assurance-grid,
  .risk-grid,
  .route-grid,
  .contact-grid,
  .result-grid,
  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deliverables-visual,
  .deliverables-visual img {
    min-height: 420px;
  }

  .assurance-video {
    min-height: 500px;
  }

  .trust-cta-inner {
    grid-template-columns: 1fr;
  }

  .process-flow::before {
    display: none;
  }

  .sticky-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.65fr) minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 24px;
  }

  .footer-brand p,
  .footer-menu a,
  .footer-legal a,
  .footer-contact-line,
  .footer-address {
    font-size: 0.84rem;
  }

  .footer-brand img {
    width: 132px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .intranet-module-nav,
  .purchase-tabs,
  .purchase-admin-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .intranet-module-nav a,
  .purchase-tabs button,
  .purchase-admin-tools .button {
    justify-content: center;
    width: 100%;
  }

  .purchase-panel,
  .purchase-card {
    padding: 14px;
  }

  .purchase-mode,
  .purchase-price-grid,
  .purchase-price-row,
  .purchase-admin-row {
    grid-template-columns: 1fr;
  }

  .purchase-admin-row > div:first-child,
  .purchase-admin-row .rowActions,
  .purchase-price-row > div:first-child,
  .purchase-price-row button {
    grid-column: auto;
  }

  .purchase-admin-row .rowActions {
    justify-content: stretch;
  }

  .purchase-admin-row .rowActions button {
    flex: 1;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 146px;
  }

  .nav {
    top: 68px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-grid {
    padding-top: 92px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(1, 33, 105, 0.98), rgba(1, 33, 105, 0.78)),
      linear-gradient(180deg, rgba(1, 33, 105, 0.32), rgba(1, 33, 105, 0.16));
  }

  .agenda-video {
    min-height: 560px;
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .agenda-video::before {
    background:
      linear-gradient(180deg, rgba(7, 19, 47, 0.92), rgba(7, 19, 47, 0.76)),
      radial-gradient(circle at calc(22% + var(--scrub-progress) * 44%) 42%, rgba(210, 38, 48, 0.2), transparent 34%);
  }

  .agenda-video::after {
    opacity: 0.82;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 11.5vw, 3.45rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .problem-list,
  .service-grid,
  .trust-items,
  .assurance-grid,
  .risk-grid,
  .route-grid,
  .contact-grid,
  .result-grid,
  .process-flow,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .opportunity-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .opportunity-card h3,
  .opportunity-card p {
    grid-column: 1;
  }

  .assurance-card,
  .risk-grid .image-hover-card {
    min-height: 240px;
  }

  .assurance-video {
    min-height: 430px;
  }

  .assurance-video::before {
    background:
      linear-gradient(180deg, rgba(7, 19, 47, 0.38), rgba(7, 19, 47, 0.92)),
      radial-gradient(circle at 50% 42%, rgba(210, 38, 48, 0.18), transparent 34%);
  }

  .assurance-video-content {
    align-content: end;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .assurance-video-content strong {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .deliverables-visual,
  .deliverables-visual img {
    min-height: 320px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .hero-metrics div {
    padding-top: 12px;
    padding-right: 8px;
  }

  .hero-metrics dt {
    font-size: 1.28rem;
  }

  .hero-metrics dd {
    font-size: 0.72rem;
  }

  .section-pad {
    padding: 76px 0;
  }

  .page-offset,
  .page-hero {
    padding-top: 112px;
  }

  .page-hero {
    padding-bottom: 64px;
  }

  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .estimator-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .estimator-controls,
  .estimator-result {
    padding: 22px;
  }

  .material-adder,
  .plan-builder,
  .plan-contact-grid,
  .plan-submit-row {
    grid-template-columns: 1fr;
  }

  .material-checklist-shell,
  .plan-list-shell {
    height: auto;
    min-height: 0;
  }

  .material-checklist,
  .plan-list {
    max-height: 420px;
    overflow: auto;
  }

  .modal-plan-preview {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-pills {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 360px;
  }

  .catalog-pill {
    max-width: none;
  }

  .plan-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 10px;
  }

  .plan-item-title,
  .plan-item label {
    grid-column: 1 / -1;
  }

  .plan-item-value {
    grid-column: 1;
  }

  .plan-remove {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    min-width: 82px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .plan-contact {
    padding: 22px;
  }

  .plan-submit-row .form-submit {
    width: 100%;
  }

  .value-visual {
    grid-template-columns: 112px 1fr;
    min-height: 132px;
  }

  .money-stack {
    max-width: 112px;
    margin: 0 auto;
  }

  .money-stack-svg {
    display: grid;
    place-items: center;
  }

  .money-stack-canvas {
    width: 116%;
    height: 116%;
  }

  .value-bars {
    gap: 5px;
  }

  .estimator-result .result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .estimator-result .result-grid div {
    min-height: 88px;
    padding: 12px 10px;
  }

  .estimator-result .result-grid span {
    font-size: 0.64rem;
  }

  .estimator-result .result-grid strong {
    margin-top: 8px;
    font-size: 0.86rem;
  }

  .story-scroll {
    padding: 76px 0;
  }

  .story-visual {
    min-height: 360px;
  }

  .story-machine-shell {
    width: min(100%, 310px);
  }

  .story-machine-video {
    width: 100%;
    max-height: none;
  }

  .story-panel {
    padding: 28px 0 28px 20px;
  }

  .story-panel h3 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .process-node {
    min-height: 190px;
  }

  .process-node span {
    margin-bottom: 28px;
  }

  .estimator-result::before {
    display: none;
  }

  .result-topline strong {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .quote-form {
    padding: 22px;
  }

  .timeline li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .timeline li::before {
    width: 44px;
    height: 44px;
    font-size: 0.78rem;
  }

  .timeline-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-photo {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .intranet-hero-grid,
  .intranet-toolbar,
  .intranet-grid,
  .budget-grid,
  .form-row.three {
    grid-template-columns: 1fr;
  }

  .intranet-actions {
    justify-content: flex-start;
  }

  .cost-summary,
  .budget-kpis {
    grid-template-columns: 1fr;
  }

  .cost-card-heading {
    align-items: start;
    flex-direction: column;
  }

  .material-create-panel {
    grid-template-columns: 1fr;
  }

  .material-create-panel .button {
    width: 100%;
  }

  .cost-table-wrap {
    height: auto;
    min-height: 0;
    max-height: 520px;
  }

  .budget-line {
    grid-template-columns: 1fr;
  }

  .request-source,
  .budget-actions,
  .proposal-brand {
    align-items: stretch;
    flex-direction: column;
  }

  .request-source .button,
  .budget-actions .button {
    width: 100%;
  }

  .proposal-brand div {
    text-align: left;
  }

  .photo-preview-grid,
  .request-photo-grid,
  .proposal-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-pipeline {
    grid-template-columns: 1fr;
  }

  .request-pipeline::before {
    display: none;
  }

  .proposal-meta {
    grid-template-columns: 1fr;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

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

  .reveal-card,
  .service-card,
  .timeline li,
  .route-card {
    opacity: 1;
    transform: none;
  }

  .timeline-content,
  .timeline-photo {
    transform: none !important;
  }
}

@media print {
  body {
    background: var(--white);
  }

  .site-header,
  .site-footer,
  .intranet-hero,
  .intranet-toolbar,
  .cost-summary,
  .intranet-grid,
  .budget-form,
  .budget-result,
  .case-history,
  .cost-card-heading,
  .floating-whatsapp {
    display: none !important;
  }

  .section-pad,
  .intranet-workspace {
    padding: 0;
    background: var(--white);
  }

  .budget-builder,
  .proposal-output {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .proposal-sheet {
    font-size: 11pt;
  }
}

@media print {
  body.print-cost-list {
    background: var(--white);
  }

  body.print-cost-list .site-header,
  body.print-cost-list .site-footer,
  body.print-cost-list .intranet-login,
  body.print-cost-list .intranet-hero,
  body.print-cost-list .intranet-toolbar,
  body.print-cost-list .cost-summary,
  body.print-cost-list .intranet-grid > aside,
  body.print-cost-list .material-create-panel,
  body.print-cost-list .budget-builder,
  body.print-cost-list .floating-whatsapp {
    display: none !important;
  }

  body.print-cost-list .intranet-workspace,
  body.print-cost-list .section-pad {
    display: block !important;
    padding: 0 !important;
    background: var(--white) !important;
  }

  body.print-cost-list .container,
  body.print-cost-list .intranet-grid,
  body.print-cost-list .cost-card-wide,
  body.print-cost-list .cost-card-heading,
  body.print-cost-list .cost-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.print-cost-list .cost-card-wide {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.print-cost-list .cost-card-heading {
    margin-bottom: 16px !important;
  }

  body.print-cost-list .cost-card-heading::after {
    content: "Lista de precios DWEXA";
    display: block;
    margin-top: 6px;
    color: var(--gray-700);
    font-size: 10pt;
  }

  body.print-cost-list .cost-table {
    table-layout: auto !important;
    font-size: 8.5pt !important;
  }

  body.print-cost-list .cost-table th {
    position: static !important;
    color: var(--white) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.print-cost-list .cost-table th:nth-child(7),
  body.print-cost-list .cost-table td:nth-child(7) {
    display: none !important;
  }

  body.print-cost-list .cost-table input {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--blue-900) !important;
    font-size: 8.5pt !important;
  }
}
