:root {
  --ink: #0d2736;
  --ink-2: #173847;
  --steel: #486575;
  --steel-light: #78909c;
  --blue: #0b8fcb;
  --blue-dark: #086d9b;
  --cyan: #35c7eb;
  --red: #e43b42;
  --porcelain: #f6f9fa;
  --white: #ffffff;
  --line: #d7e1e5;
  --line-dark: rgba(255, 255, 255, .16);
  --muted: #58717e;
  --max: 1220px;
  --radius: 8px;
  --shadow: 0 22px 55px rgba(13, 39, 54, .12);
  --font-sans: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  direction: rtl;
  max-width: 100vw;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  line-height: 1.55;
  letter-spacing: 0;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

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

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

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

bdi {
  unicode-bidi: isolate;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 5.7vw, 5.65rem);
  font-weight: 900;
  line-height: .98;
}

h1 span {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: var(--blue-dark);
  border-bottom: 6px solid var(--cyan);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  font-weight: 900;
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  transform: translate(-50%, -160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 3px solid var(--cyan);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 26px rgba(13, 39, 54, .07);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 82px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 132px;
  height: 58px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.brand-badge img {
  width: 112px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: var(--steel);
  font-size: .94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.header-actions,
.header-phone,
.hero-actions,
.lead-actions {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 14px;
}

.header-phone {
  gap: 7px;
  direction: ltr;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  min-height: 44px;
  padding-inline: 17px;
  color: var(--white);
  background: var(--blue-dark);
  font-size: .9rem;
}

.button-primary,
.button-submit {
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(8, 109, 155, .2);
}

.button-ghost {
  color: var(--ink);
  border-color: #afc1c9;
  background: var(--white);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(13, 39, 54, .16);
}

.button:focus-visible,
.header-cta:focus-visible,
.header-phone:focus-visible,
.main-nav a:focus-visible {
  outline: 3px solid rgba(53, 199, 235, .42);
  outline-offset: 3px;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kicker {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: .82rem;
  font-weight: 900;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-inline-end: 9px;
  vertical-align: middle;
  background: var(--cyan);
}

.hero {
  position: relative;
  padding: 132px 24px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 39, 54, .04) 1px, transparent 1px),
    linear-gradient(rgba(13, 39, 54, .04) 1px, transparent 1px),
    var(--porcelain);
  background-size: 72px 72px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 116px;
  right: calc(50% - 610px);
  width: 90px;
  height: 6px;
  background: var(--red);
}

.hero-layout {
  width: min(var(--max), 100%);
  min-height: 650px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
  padding-bottom: 64px;
}

.hero-copy-block {
  min-width: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.workshop-note {
  max-width: 650px;
  margin: 24px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-right: 4px solid var(--cyan);
  color: var(--steel);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(13, 39, 54, .06);
  font-size: .97rem;
}

.workshop-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workshop-note strong {
  color: var(--ink);
}

.hero-machine {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #b9c9d0;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-machine video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-machine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(13, 39, 54, .82));
}

.axis-mark {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 11px;
  color: var(--white);
  border-left: 4px solid var(--red);
  background: var(--ink);
  font-size: .82rem;
  font-weight: 900;
}

.hero-machine figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: var(--white);
}

.hero-machine figcaption span {
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 900;
}

.hero-machine figcaption strong {
  max-width: 460px;
  font-size: 1.12rem;
}

.hero-specs {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
  background: var(--ink);
}

.hero-specs div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px 24px;
  border-inline-start: 1px solid var(--line-dark);
}

.hero-specs div:first-child {
  border-inline-start: 0;
}

.hero-specs strong {
  color: var(--cyan);
  font-size: 1.08rem;
}

.hero-specs span {
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
}

.section {
  padding: clamp(80px, 9vw, 126px) 24px;
}

.section-heading,
.section-intro {
  width: min(820px, 100%);
}

.section-heading {
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.section-heading p:not(.kicker),
.section-intro p:not(.kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.advantages-section {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
  background: var(--white);
}

.advantages-section .section-intro {
  position: sticky;
  top: 122px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.advantage-item {
  min-height: 245px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage-item:nth-child(3) {
  border-bottom: 4px solid var(--cyan);
}

.item-index {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
}

.advantage-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.work-section {
  background: var(--porcelain);
}

.work-showcase {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 225px;
  grid-auto-flow: dense;
  gap: 12px;
}

.work-showcase figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbd8dd;
  border-radius: var(--radius);
  background: #dce6ea;
}

.work-main {
  grid-column: span 2;
  grid-row: span 2;
}

.work-showcase figure:nth-of-type(4),
.work-showcase figure:nth-of-type(7) {
  grid-column: span 2;
}

.work-showcase img,
.work-showcase video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-showcase figure:hover img,
.work-showcase figure:hover video {
  transform: scale(1.025);
}

.work-showcase figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 39, 54, .76));
}

.work-showcase figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: var(--white);
  font-size: .95rem;
  font-weight: 800;
}

.process-section {
  padding-block: clamp(82px, 9vw, 118px);
  color: var(--white);
  background: var(--ink);
}

.process-shell {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.process-section .kicker {
  color: var(--cyan);
}

.process-copy > p:not(.kicker) {
  max-width: 520px;
  color: rgba(255, 255, 255, .7);
  font-size: 1.08rem;
}

.process-local {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding: 20px;
  border-right: 4px solid var(--red);
  background: rgba(255, 255, 255, .07);
}

.process-local span {
  color: rgba(255, 255, 255, .68);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line-dark);
}

.process-list li > span {
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 900;
}

.process-list strong {
  font-size: 1.1rem;
}

.process-list p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .66);
}

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

.capability-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
}

.materials-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.panel-label {
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 900;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.material-tags span {
  padding: 8px 11px;
  border: 1px solid #bdcdd4;
  background: var(--white);
  font-weight: 700;
}

.panel-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .94rem;
}

.capability-grid {
  border-top: 1px solid var(--line);
}

.capability-item {
  display: grid;
  grid-template-columns: minmax(150px, .45fr) 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.capability-item h3,
.capability-item p {
  margin: 0;
}

.capability-item p {
  color: var(--muted);
}

.faq-section {
  background: var(--porcelain);
}

.faq-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(42px, 7vw, 96px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 0 23px 42px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  left: 4px;
  top: 20px;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 640px;
  margin: -4px 0 22px;
  color: var(--muted);
}

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

.lead-shell {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(38px, 6vw, 76px);
  align-items: start;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid #becdd4;
  border-top: 7px solid var(--blue);
  border-radius: var(--radius);
  background: var(--porcelain);
  box-shadow: var(--shadow);
}

.lead-copy {
  position: sticky;
  top: 118px;
}

.lead-copy > p:not(.kicker) {
  color: var(--muted);
  font-size: 1.08rem;
}

.lead-checks {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lead-checks li {
  position: relative;
  padding-right: 22px;
  font-weight: 700;
}

.lead-checks li::before {
  content: "";
  position: absolute;
  right: 0;
  top: .62em;
  width: 9px;
  height: 4px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.lead-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #afc1c9;
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  direction: rtl;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #81949d;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(53, 199, 235, .25);
  border-color: var(--blue);
}

input::file-selector-button {
  margin-left: 10px;
  padding: 6px 10px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--steel);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.button-submit {
  width: 100%;
}

.button-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.form-note a {
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--porcelain);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
}

.footer-brand img {
  width: 74px;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: .9rem;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--blue-dark);
}

.footer-credit {
  font-size: .82rem;
  opacity: .78;
}

.floating-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  color: var(--white);
  background: #128c62;
  box-shadow: 0 14px 30px rgba(18, 140, 98, .24);
  font-weight: 800;
}

.floating-whatsapp svg,
.mobile-action-bar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-action-bar {
  display: none;
}

.accessibility-widget {
  position: fixed;
  right: 16px;
  top: auto;
  bottom: 20px;
  z-index: 70;
  transform: none;
}

.accessibility-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #aec1c9;
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(13, 39, 54, .12);
  cursor: pointer;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
  outline: 3px solid rgba(53, 199, 235, .3);
  outline-offset: 2px;
}

.accessibility-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accessibility-panel {
  position: absolute;
  top: auto;
  bottom: 0;
  right: 58px;
  width: min(310px, calc(100vw - 92px));
  padding: 16px;
  border: 1px solid #aec1c9;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.accessibility-panel h2 {
  margin: 0;
  font-size: 1.15rem;
}

.accessibility-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.accessibility-actions {
  display: grid;
  gap: 7px;
}

.accessibility-actions button {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--porcelain);
  cursor: pointer;
  font-weight: 800;
  text-align: right;
}

.accessibility-actions button:hover,
.accessibility-actions button:focus-visible,
.accessibility-actions button[aria-pressed="true"] {
  color: var(--white);
  background: var(--blue-dark);
  outline: none;
}

.accessibility-statement {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.accessibility-statement summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.accessibility-statement p {
  margin: 8px 0 0;
}

html.a11y-font-large body {
  font-size: 108%;
}

html.a11y-font-xlarge body {
  font-size: 116%;
}

html.a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}

html.a11y-contrast body,
html.a11y-contrast .hero,
html.a11y-contrast .work-section,
html.a11y-contrast .faq-section,
html.a11y-contrast .lead-section {
  color: #000;
  background: #fff;
}

html.a11y-contrast .site-header,
html.a11y-contrast .brand-badge,
html.a11y-contrast .materials-panel,
html.a11y-contrast .lead-shell,
html.a11y-contrast .contact-form,
html.a11y-contrast .accessibility-panel {
  border-color: #000;
  color: #000;
  background: #fff;
  box-shadow: none;
}

html.a11y-contrast .button-primary,
html.a11y-contrast .button-submit,
html.a11y-contrast .header-cta,
html.a11y-contrast .floating-whatsapp,
html.a11y-contrast .accessibility-toggle,
html.a11y-contrast .accessibility-actions button[aria-pressed="true"] {
  color: #fff;
  background: #000;
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--porcelain);
}

.thank-you {
  width: min(720px, 100%);
  padding: clamp(30px, 7vw, 62px);
  border: 1px solid var(--line);
  border-top: 7px solid var(--blue);
  border-radius: var(--radius);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you img {
  width: min(220px, 70vw);
  height: auto;
  margin: 0 auto 28px;
}

.thank-you h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
}

.thank-you p:not(.kicker) {
  max-width: 560px;
  margin-inline: auto;
  color: var(--muted);
}

.thank-you .button {
  margin: 8px 4px 0;
}

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

.reveal.is-visible {
  animation: preciseReveal 520ms ease both;
}

@keyframes preciseReveal {
  from {
    opacity: .76;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1100px) {
  .header-phone span {
    display: none;
  }

  .hero-layout,
  .process-shell,
  .capability-layout,
  .lead-shell {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  }

  .main-nav {
    gap: 16px;
    font-size: .88rem;
  }
}

@media (max-width: 900px) {
  [id] {
    scroll-margin-top: 76px;
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-phone span {
    display: inline;
  }

  .hero {
    padding-top: 106px;
  }

  .hero::before {
    top: 94px;
    right: 20px;
  }

  .hero-layout,
  .advantages-section,
  .process-shell,
  .capability-layout,
  .faq-layout,
  .lead-shell {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-machine {
    min-height: 430px;
  }

  .hero-specs {
    grid-template-columns: 1fr 1fr;
  }

  .hero-specs div:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--line-dark);
  }

  .hero-specs div:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .advantages-section {
    width: min(var(--max), calc(100% - 48px));
  }

  .advantages-section .section-intro,
  .lead-copy {
    position: static;
  }

  .work-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .work-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .work-showcase figure:nth-of-type(4),
  .work-showcase figure:nth-of-type(7) {
    grid-column: span 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 66px;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand-badge {
    width: 106px;
    height: 48px;
  }

  .brand-badge img {
    width: 92px;
  }

  .header-phone {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid var(--line);
  }

  .header-phone span {
    display: none;
  }

  .hero {
    padding: 98px 14px 0;
    background-size: 54px 54px;
  }

  .hero::before {
    top: 86px;
    right: 14px;
    width: 58px;
    height: 4px;
  }

  .hero-layout {
    gap: 30px;
    padding-bottom: 34px;
  }

  .hero-copy-block {
    text-align: right;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    line-height: 1.03;
  }

  h1 span {
    border-bottom-width: 4px;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.06;
  }

  .hero-copy {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .hero-actions,
  .lead-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .lead-actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .workshop-note {
    padding: 13px 13px;
    font-size: .91rem;
  }

  .hero-machine {
    min-height: 310px;
  }

  .hero-machine figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .hero-machine figcaption strong {
    font-size: .95rem;
  }

  .axis-mark {
    top: 12px;
    left: 12px;
  }

  .hero-specs div {
    min-height: 94px;
    padding: 15px 14px;
  }

  .hero-specs strong {
    font-size: .98rem;
  }

  .hero-specs span {
    font-size: .8rem;
  }

  .section {
    padding: 72px 14px;
  }

  .advantages-section {
    width: 100%;
    padding-inline: 14px;
    gap: 34px;
  }

  .section-heading {
    margin-bottom: 32px;
    text-align: right;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    min-height: 0;
    padding: 22px;
  }

  .item-index {
    margin-bottom: 20px;
  }

  .work-showcase {
    grid-template-columns: 1fr;
    grid-auto-rows: 225px;
    gap: 10px;
  }

  .work-showcase figure,
  .work-main,
  .work-showcase figure:nth-of-type(4),
  .work-showcase figure:nth-of-type(7) {
    grid-column: auto;
    grid-row: auto;
    min-height: 225px;
  }

  .work-main {
    min-height: 290px;
  }

  .process-shell {
    gap: 38px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .materials-panel {
    padding: 22px;
  }

  .capability-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .faq-layout {
    gap: 24px;
  }

  .faq-list summary {
    padding-block: 20px;
  }

  .lead-shell {
    gap: 30px;
    padding: 22px 16px;
  }

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

  .contact-form {
    padding: 18px 14px;
  }

  .site-footer {
    padding: 28px 18px 38px;
  }

  .footer-brand {
    display: grid;
    justify-items: center;
  }

  .footer-links {
    gap: 14px 20px;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 65;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    min-height: 64px;
    padding: 7px;
    padding-bottom: max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(13, 39, 54, .14);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 28px rgba(13, 39, 54, .13);
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    color: var(--ink);
    font-weight: 800;
  }

  .mobile-action-bar a + a {
    color: var(--white);
    background: #128c62;
  }

  .accessibility-widget {
    top: auto;
    right: 10px;
    bottom: 78px;
    transform: none;
  }

  .accessibility-panel {
    top: auto;
    right: 0;
    bottom: 56px;
    width: min(310px, calc(100vw - 20px));
  }
}
