/*
Theme Name: Factory Printer
Theme URI: https://factoryprinter.com.mx/
Author: Factory Printer
Description: Tema clásico personalizado para la página principal de Factory Printer, basado en la landing visual premium para soluciones de impresión en oficinas de obra.
Version: 0.1.0
Requires at least: 6.0
Text Domain: factory-printer
*/

:root {
  --white: #ffffff;
  --paper: #f5f7f4;
  --paper-strong: #eef2ec;
  --ink: #101411;
  --graphite: #252b27;
  --muted: #67706a;
  --line: #dfe5de;
  --green: #0e3d2d;
  --green-soft: #dce9df;
  --green-bright: #4f8f6b;
  --brand-red: #d70b16;
  --shadow: 0 24px 70px rgba(16, 20, 17, 0.12);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 247, 244, 0.8) 0%, rgba(255, 255, 255, 0) 22rem),
    var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

figure {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 229, 222, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.navbar {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: 0;
  color: var(--ink);
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--graphite);
  font-size: 0.94rem;
  font-weight: 620;
}

.nav-menu-list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu-list li {
  display: contents;
}

.nav-menu a {
  padding: 10px 13px;
  border-radius: var(--radius);
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover {
  color: var(--brand-red);
  background: var(--paper);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(14, 61, 45, 0.18);
}

.nav-menu .nav-cta:hover {
  color: var(--white);
  background: #092f23;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

.section-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100svh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 66px);
  padding: clamp(46px, 6vw, 72px) 0 clamp(44px, 5.5vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

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

h1 {
  max-width: 12.4ch;
  margin-bottom: 20px;
  font-size: clamp(3.25rem, 6.2vw, 5.55rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 780;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 760;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 740;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 18px 38px rgba(14, 61, 45, 0.22);
}

.button-primary:hover {
  background: #092f23;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover {
  border-color: rgba(14, 61, 45, 0.35);
  color: var(--green);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin-top: 24px;
  color: var(--graphite);
  font-size: 0.96rem;
  font-weight: 620;
}

.hero-note span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 0 0 8px rgba(79, 143, 107, 0.15);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-media {
  position: absolute;
  inset: 0 0 32px 30px;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 222, 0.92);
  border-radius: var(--radius);
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 20, 17, 0.04), rgba(16, 20, 17, 0.24)),
    linear-gradient(115deg, rgba(14, 61, 45, 0.18), transparent 52%);
  pointer-events: none;
}

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

.hero-media-badge {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 20, 17, 0.46);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 222, 0.92);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-card-main {
  inset: 0 0 42px 36px;
  min-height: 540px;
  background:
    linear-gradient(135deg, rgba(14, 61, 45, 0.08), rgba(255, 255, 255, 0.14) 40%),
    linear-gradient(180deg, #f8faf7 0%, #ebefe8 100%);
}

.visual-card-main::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(14, 61, 45, 0.16);
  border-radius: var(--radius);
}

.plan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 61, 45, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 61, 45, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, 0.65), transparent 70%);
}

.visual-label,
.equipment-tag {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(14, 61, 45, 0.16);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.printer-illustration {
  position: absolute;
  right: 42px;
  bottom: 88px;
  width: min(68%, 360px);
  height: 310px;
}

.printer-top {
  position: absolute;
  left: 62px;
  top: 18px;
  width: 230px;
  height: 72px;
  border: 1px solid rgba(16, 20, 17, 0.12);
  border-radius: var(--radius) var(--radius) 4px 4px;
  background: linear-gradient(135deg, #fdfefd, #dfe7df);
  transform: skewX(-8deg);
}

.printer-body {
  position: absolute;
  left: 26px;
  top: 82px;
  width: 302px;
  height: 146px;
  border: 1px solid rgba(16, 20, 17, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #e4e9e3);
  box-shadow: 0 30px 60px rgba(16, 20, 17, 0.18);
}

.printer-body::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 25px;
  width: 95px;
  height: 24px;
  border-radius: 4px;
  background: var(--green);
}

.printer-body span {
  position: absolute;
  right: 32px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(16, 20, 17, 0.2);
}

.printer-body span:nth-child(1) {
  top: 32px;
}

.printer-body span:nth-child(2) {
  top: 50px;
}

.printer-body span:nth-child(3) {
  top: 68px;
}

.printer-paper {
  position: absolute;
  left: 74px;
  top: 194px;
  width: 188px;
  height: 78px;
  border: 1px solid rgba(14, 61, 45, 0.16);
  border-radius: 0 0 6px 6px;
  background:
    linear-gradient(90deg, transparent 18px, rgba(14, 61, 45, 0.16) 19px, transparent 20px),
    linear-gradient(#ffffff, #f2f5f1);
  box-shadow: 0 18px 28px rgba(16, 20, 17, 0.12);
}

.site-table {
  position: absolute;
  left: 46px;
  bottom: 74px;
  width: 240px;
  height: 120px;
  border-radius: var(--radius);
  background: rgba(16, 20, 17, 0.78);
  box-shadow: 0 28px 54px rgba(16, 20, 17, 0.18);
}

.site-table span {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.site-table span:nth-child(1) {
  top: 30px;
}

.site-table span:nth-child(2) {
  top: 56px;
  right: 58px;
}

.site-table span:nth-child(3) {
  top: 82px;
  right: 92px;
  background: rgba(79, 143, 107, 0.72);
}

.visual-card-small {
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.status-panel {
  right: 18px;
  top: 96px;
  width: 214px;
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: 0 0 0 8px rgba(79, 143, 107, 0.14);
}

.status-panel strong,
.document-panel span {
  display: block;
  font-size: 0.92rem;
}

.status-panel small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.document-panel {
  left: 0;
  bottom: 0;
  width: 230px;
}

.document-panel svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.benefit-strip {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 28px 70px rgba(16, 20, 17, 0.16);
}

.benefit-item {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 720;
}

.benefit-item:last-child {
  border-right: 0;
}

.mini-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #cfe6d6;
  background: rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.mini-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-section,
.equipment-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(86px, 12vw, 150px) 0;
}

.section-copy {
  align-self: start;
  position: sticky;
  top: 116px;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.problem-content {
  display: grid;
  gap: 18px;
}

.problem-media,
.service-feature,
.equipment-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.problem-media {
  position: relative;
  aspect-ratio: 16 / 9;
}

.problem-media img,
.service-feature-media img,
.equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 790;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.problem-media .image-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 20, 17, 0.54);
  backdrop-filter: blur(12px);
}

.problem-card,
.service-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(16, 20, 17, 0.05);
}

.problem-card {
  min-height: 244px;
  padding: 24px;
}

.card-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

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

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: clamp(86px, 12vw, 150px);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 330px;
  margin-bottom: 18px;
  box-shadow: 0 24px 58px rgba(16, 20, 17, 0.08);
}

.service-feature-media {
  min-height: 330px;
}

.service-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(14, 61, 45, 0.06), transparent 44%),
    var(--white);
}

.service-feature-copy h3 {
  max-width: 520px;
  margin: 14px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.service-feature-copy p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 61, 45, 0.28);
  box-shadow: 0 24px 48px rgba(16, 20, 17, 0.09);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 54px;
  border-radius: var(--radius);
  color: var(--green);
  background: var(--green-soft);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-section {
  background:
    linear-gradient(135deg, rgba(14, 61, 45, 0.08), transparent 42%),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 10vw, 128px) 0;
}

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

.process-step {
  min-height: 246px;
  padding: 24px;
}

.process-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 52px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 820;
}

.sectors-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(86px, 12vw, 140px) 0;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.sector-list span {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--graphite);
  background: var(--white);
  font-weight: 680;
  box-shadow: 0 12px 28px rgba(16, 20, 17, 0.04);
}

.equipment-section {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding-top: 0;
}

.equipment-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 20, 17, 0.84), rgba(14, 61, 45, 0.92)),
    var(--green);
  box-shadow: var(--shadow);
}

.equipment-photo {
  min-height: 520px;
  background: var(--graphite);
}

.equipment-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(16, 20, 17, 0.28)),
    linear-gradient(135deg, rgba(14, 61, 45, 0.16), transparent 58%);
  pointer-events: none;
}

.equipment-photo img {
  position: absolute;
  inset: 0;
}

.blueprint-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0.12) 51%, transparent 52%);
  background-size: 44px 44px, 44px 44px, 190px 190px;
  opacity: 0.8;
}

.equipment-device {
  position: absolute;
  left: 50%;
  top: 53%;
  width: min(68%, 370px);
  height: 310px;
  transform: translate(-50%, -50%);
}

.equipment-device::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  width: 260px;
  height: 88px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #cfd8cf);
  transform: skewX(-10deg);
}

.device-screen {
  position: absolute;
  right: 48px;
  top: 78px;
  width: 72px;
  height: 38px;
  border-radius: 4px;
  background: #10241c;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.08);
}

.device-output {
  position: absolute;
  left: 0;
  top: 90px;
  width: 330px;
  height: 148px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fdfefd, #dfe6df);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.22);
}

.device-base {
  position: absolute;
  left: 48px;
  top: 218px;
  width: 230px;
  height: 82px;
  border-radius: 0 0 var(--radius) var(--radius);
  background:
    linear-gradient(90deg, transparent 24px, rgba(14, 61, 45, 0.16) 25px, transparent 26px),
    #f5f7f4;
}

.equipment-tag {
  color: #dce9df;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.equipment-copy {
  max-width: 520px;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--graphite);
  font-weight: 610;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 48%, var(--white) 49%, var(--white) 54%, transparent 55%),
    var(--green);
}

.final-cta {
  padding-bottom: clamp(72px, 10vw, 126px);
}

.final-cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 76px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 42%),
    var(--ink);
  box-shadow: 0 30px 80px rgba(16, 20, 17, 0.18);
}

.final-cta-inner::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, black);
  pointer-events: none;
}

.final-cta-inner .eyebrow,
.final-cta-inner h2,
.final-cta-inner p,
.final-cta-inner .hero-actions {
  position: relative;
  z-index: 1;
}

.final-cta-inner .eyebrow {
  color: #cfe6d6;
}

.final-cta-inner h2 {
  max-width: 780px;
  margin-bottom: 18px;
}

.final-cta-inner p {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  max-width: 430px;
}

.footer-logo {
  width: clamp(120px, 12vw, 150px);
  height: auto;
  margin: 0 0 16px;
  object-fit: contain;
}

.site-footer strong,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 780;
}

.site-footer p {
  margin-bottom: 0;
}

.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  transform: translate(-50%, 18px);
  opacity: 0;
  visibility: hidden;
  width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 20, 17, 0.94);
  box-shadow: 0 24px 48px rgba(16, 20, 17, 0.22);
  text-align: center;
  font-weight: 680;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.demo-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.generic-page {
  min-height: 58vh;
  padding: clamp(72px, 8vw, 112px) 0;
}

.wp-page-content {
  max-width: 780px;
}

.wp-page-content h1 {
  max-width: none;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.wp-page-content img {
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .navbar,
  .section-shell,
  .benefit-strip,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

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

  .nav-menu a {
    padding: 14px;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero,
  .split-section,
  .sectors-section,
  .equipment-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 58px;
  }

  h1 {
    max-width: 12ch;
  }

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

  .hero-media {
    inset: 0 0 42px 0;
  }

  .visual-card-main {
    inset: 0 0 42px 0;
  }

  .benefit-strip,
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-item:nth-child(2) {
    border-right: 0;
  }

  .benefit-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section-copy {
    position: static;
  }

  .service-grid {
    padding-bottom: 82px;
  }

  .service-feature {
    grid-template-columns: 1fr;
  }

  .service-feature-media {
    min-height: 320px;
  }

  .equipment-copy {
    max-width: none;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 68px;
  }

  .brand {
    gap: 10px;
    font-size: 0.98rem;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .brand-symbol img {
    width: 100%;
    height: 100%;
  }

  .nav-menu {
    top: 78px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 48px;
    gap: 24px;
  }

  h1 {
    max-width: 11.4ch;
    font-size: clamp(2.85rem, 14.5vw, 3.85rem);
    line-height: 0.97;
  }

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

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

  .button {
    min-height: 52px;
  }

  .hero-note {
    align-items: flex-start;
    margin-top: 18px;
  }

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

  .hero-media {
    inset: 0 0 32px 0;
  }

  .hero-media-badge {
    left: 18px;
    top: 18px;
    max-width: calc(100% - 36px);
  }

  .visual-card-main {
    min-height: 380px;
  }

  .printer-illustration {
    right: 12px;
    bottom: 70px;
    width: 82%;
    transform: scale(0.78);
    transform-origin: right bottom;
  }

  .site-table {
    left: 24px;
    bottom: 54px;
    width: 190px;
    height: 98px;
  }

  .visual-label,
  .equipment-tag {
    left: 18px;
    top: 18px;
    max-width: calc(100% - 36px);
  }

  .status-panel {
    right: 8px;
    top: 78px;
    width: 188px;
  }

  .document-panel {
    width: 202px;
    left: 0;
  }

  .benefit-strip,
  .problem-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .benefit-item:last-child {
    border-bottom: 0;
  }

  .split-section,
  .sectors-section,
  .equipment-section {
    padding: 64px 0;
  }

  .problem-card,
  .service-card,
  .process-step {
    min-height: auto;
    padding: 22px;
  }

  .problem-media {
    aspect-ratio: 4 / 3;
  }

  .problem-media .image-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

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

  .service-feature-media {
    min-height: 238px;
  }

  .service-feature-copy {
    padding: 24px 22px;
  }

  .service-feature-copy h3 {
    font-size: 1.65rem;
  }

  .card-number,
  .service-icon,
  .process-step span {
    margin-bottom: 28px;
  }

  .equipment-visual {
    min-height: 360px;
  }

  .equipment-device {
    width: 340px;
    transform: translate(-50%, -50%) scale(0.76);
  }

  .final-cta-inner {
    padding: 30px 22px;
  }

  .site-footer {
    display: grid;
  }
}
