:root {
  color-scheme: light;
  --paper: #fafbf8;
  --surface: #fff;
  --ink: #162523;
  --muted: #52615d;
  --teal: #09757a;
  --teal-dark: #075b60;
  --line: #dbe3df;
  --tint: #edf4f1;
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
p { margin: 0; }
em { color: var(--teal); font-style: normal; }
.wrap { width: min(calc(100% - 88px), 1180px); margin-inline: auto; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: white;
  padding: 12px 18px;
}
.skip:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #dbe3dfb0;
  background: #fafbf8ed;
  backdrop-filter: blur(18px);
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-block: 3px;
}
.brand img { width: 114px; }
.brand-header { position: relative; }
.brand-light {
  position: absolute;
  inset: 3px 0;
  pointer-events: none;
  opacity: 0;
  mask: url("assets/rommia-claro.png") center / contain no-repeat;
  background: linear-gradient(108deg, transparent 42%, #43a99a 48%, #b8e6d8 51%, #43a99a 54%, transparent 60%) 100% center / 240% 100%;
}
.desktop-nav, .header-actions {
  display: flex;
  align-items: center;
}
.desktop-nav { gap: clamp(18px, 2.7vw, 38px); }
.desktop-nav a {
  padding-block: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.desktop-nav a:hover, .text-link:hover { color: var(--teal-dark); }
.header-actions { justify-content: flex-end; gap: 14px; }

.button {
  display: inline-flex;
  min-height: 48px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  padding: 12px 21px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  transition: background-color .18s ease, border-color .18s ease;
}
.button:hover:not(:disabled) { background-color: var(--teal-dark); }
.button:disabled { opacity: .55; }
.button.header-cta { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: baseline;
  gap: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.languages { position: relative; }
.languages summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding-inline: 10px;
  font-size: 13px;
  font-weight: 750;
}
.languages[open] summary, .languages summary:hover { background: var(--tint); }
.globe {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}
.globe::before, .globe::after { content: ""; position: absolute; }
.globe::before { inset: -1px 4px; border: 1px solid currentColor; border-radius: 50%; }
.globe::after { left: 0; right: 0; top: calc(50% - .5px); border-top: 1px solid currentColor; }
.chevron {
  width: 6px;
  height: 6px;
  margin: -3px 2px 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.languages[open] .chevron { transform: translateY(3px) rotate(225deg); }
.language-panel {
  position: absolute;
  z-index: 6;
  inset: calc(100% + 8px) 0 auto auto;
  width: 238px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 34px #183b3521;
}
.language-panel ul { list-style: none; margin: 6px 0; padding: 0; }
.language-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  padding: 5px 9px;
}
.language-panel a {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  padding: 6px 9px;
  text-align: left;
  font-size: 14px;
}
.language-panel a:hover, .language-panel [aria-current] { background: var(--tint); color: var(--teal-dark); }
.language-panel [aria-current] { font-weight: 750; }
.language-code { min-width: 22px; font-size: 11px; font-weight: 800; }
.language-status { margin-left: auto; font-size: 11px; }

.mobile-nav, .menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(10px, 3vw, 44px);
  min-height: 620px;
  padding-block: 48px 60px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.particle {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px #c7ded7;
}
h1, h2, h3 { margin: 0; font-weight: 750; }
h1 {
  max-width: min(100%, 17ch);
  font-size: clamp(2.75rem, 4.65vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -.065em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.09;
  letter-spacing: -.055em;
  text-wrap: balance;
}
h3 { font-size: 23px; line-height: 1.22; letter-spacing: -.034em; }
.intro {
  max-width: 46ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.64;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 28px; }
.hero-art {
  position: relative;
  min-width: 0;
  margin: 0 -5% 0 -2%;
}
.hero-scene { position: relative; }
.hero-art canvas {
  display: block;
  width: 100%;
  height: auto;
}
.hero-scene .hero-signals {
  position: absolute;
  inset: 0;
  height: 100%;
  pointer-events: none;
}
.motion-control {
  position: absolute;
  bottom: 6%;
  left: 7%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--teal-dark);
}
.motion-control:hover { background: var(--tint); border-color: #aacdc1; }
.motion-control span { width: 9px; height: 12px; border-inline: 2px solid currentColor; }
.motion-control[data-paused="true"] span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border: solid transparent;
  border-width: 6px 0 6px 10px;
  border-left-color: currentColor;
}

.company-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  align-items: start;
  gap: 24px 48px;
  border-top: 1px solid var(--line);
  padding-block: clamp(32px, 5vw, 64px);
}
.company-summary h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); }
.company-summary p { max-width: 65ch; color: var(--muted); font-size: 17px; line-height: 1.68; }

.section { padding-block: clamp(62px, 8vw, 112px); }
.section-heading { max-width: 700px; }
.section-heading p {
  max-width: 54ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}
#soluciones { border-top: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.service-card:nth-child(3n + 2) { background: #f0f6f2; }
.service-card:nth-child(3n) { background: #f3f5f2; }
.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--teal);
}
.service-icon::before, .service-icon::after {
  content: "";
  position: absolute;
}
.circuit-icon::before {
  top: 14px;
  left: 4px;
  width: 38px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 8px currentColor, 0 16px currentColor;
}
.circuit-icon::after {
  top: 4px;
  left: 14px;
  width: 1px;
  height: 38px;
  background: currentColor;
  box-shadow: 8px 0 currentColor, 16px 0 currentColor;
}
.circuit-icon span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  background: var(--surface);
}
.circuit-icon span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
}
.orbital-icon span {
  z-index: 1;
  border-radius: 50%;
  background: currentColor;
}
.orbital-content::before, .orbital-content::after { border: 1px solid currentColor; border-radius: 50%; }
.orbital-content::before {
  width: 36px;
  height: 36px;
  border-right-color: transparent;
  transform: rotate(-32deg);
}
.orbital-content::after {
  width: 23px;
  height: 23px;
  border-left-color: transparent;
  transform: rotate(28deg);
  opacity: .57;
}
.orbital-content span { width: 7px; height: 7px; box-shadow: -14px -11px 0 -1px currentColor, 15px 11px 0 -1px #5da79d; }
.orbital-web { background: linear-gradient(currentColor, currentColor) 8px center / 15px 1px no-repeat; }
.orbital-web::before, .orbital-web::after {
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}
.orbital-web::after { transform: rotate(45deg); }
.orbital-web span { width: 8px; height: 8px; box-shadow: -15px 0 0 -1px currentColor, 14px -14px 0 -1px currentColor, 14px 14px 0 -1px currentColor; }
.social-icon::before {
  width: 36px;
  height: 27px;
  border: 1.5px solid currentColor;
  border-radius: 9px;
  transform: translateY(-3px);
}
.social-icon::after {
  left: 12px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  background: var(--surface);
  transform: rotate(-32deg);
}
.social-icon span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: -8px 0 currentColor, 8px 0 currentColor; transform: translateY(-3px); }
.campaign-icon::before { width: 33px; height: 33px; border: 1px solid currentColor; border-radius: 50%; }
.campaign-icon::after { width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }
.campaign-icon span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 12px -12px 0 -1px #5da79d; }
.analytics-icon::before { left: 7px; bottom: 8px; width: 31px; height: 29px; border-bottom: 1px solid currentColor; border-left: 1px solid currentColor; }
.analytics-icon span { width: 5px; height: 11px; margin: 0 19px -11px 0; border-radius: 1px 1px 0 0; background: currentColor; box-shadow: 9px -4px #5da79d, 18px -9px currentColor; }
.service-card > p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-card > ul { list-style: none; padding: 0; margin: 19px 0 25px; font-size: 14px; line-height: 1.5; }
.service-card > ul > li { display: flex; gap: 8px; align-items: baseline; margin-top: 7px; }
.service-card > ul > li::before { content: ""; width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--teal); }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.service-actions .button { min-height: 44px; padding: 9px 13px; font-size: 13px; }

.service-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(85vh, 760px);
  max-height: min(85dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 22px 60px #123f3940;
}
.service-dialog::backdrop { background: #123f3980; }
.service-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.service-dialog h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); text-wrap: initial; }
.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-dark);
  font-size: 23px;
  line-height: 1;
}
.dialog-close:hover { background: var(--tint); }
.service-dialog p, .service-dialog li { color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-dialog h3 { margin-top: 20px; font-size: 18px; }
.service-dialog h3 + p { margin-top: 7px; }
.service-dialog ul { margin: 8px 0 0; padding-left: 20px; }
.service-dialog li + li { margin-top: 6px; }
.service-dialog > .button { margin-top: 24px; }
html:has(.service-dialog[open]) { overflow: hidden; }

.showcase { background: var(--tint); }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.tabs button {
  min-height: 44px;
  border: 1px solid #c4d6cf;
  border-radius: 999px;
  background: transparent;
  color: #3c514b;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 750;
}
.tabs button:hover { border-color: var(--teal); }
.tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: white; }
.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: center;
  gap: clamp(22px, 5vw, 66px);
  min-height: 330px;
  margin-top: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(25px, 4.5vw, 55px);
}
.demo-copy h3 { max-width: 21ch; font-size: clamp(26px, 3vw, 40px); }
.demo-copy p { margin-block: 14px 21px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.demo-visual { width: 100%; max-width: 425px; justify-self: center; }
.chat, .workflow, .web-example { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 16px; }
.mock-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}
.mock-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 600; }
.mock-avatar { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #bfd7cd; border-radius: 50%; background: var(--tint); }
.bubble { width: fit-content; max-width: 90%; margin-top: 10px; border-radius: 12px; padding: 9px 12px; background: #e6edeb; font-size: 13px; line-height: 1.48; }
.bubble.outgoing { margin-left: auto; background: #d7ebe5; }
.logo-film {
  margin: 0;
  overflow: hidden;
  border: 1px solid #bed5ce;
  border-radius: 18px;
  background: #104d4d;
  box-shadow: 0 12px 30px #123f3918;
}
.logo-film:focus-within { outline: 2px solid var(--teal); outline-offset: 4px; }
.logo-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.workflow ol { margin: 12px 0 0; padding: 0 0 0 22px; }
.workflow li { padding: 10px 6px; font-size: 14px; }
.workflow li::marker { color: var(--teal); font-weight: 800; }
.workflow li + li { border-top: 1px solid var(--line); }
.web-example-title { margin-top: 16px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.web-example ul { margin: 9px 0 14px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.web-example-contact { border-radius: 8px; background: var(--tint); padding: 9px 11px; color: var(--teal-dark); font-size: 13px; font-weight: 750; }

.process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fafbf8ab, var(--paper) 94%), url("assets/rommia-ondas.webp") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.circuit-detail {
  position: absolute;
  z-index: -1;
  display: block;
  width: min(47%, 490px);
  height: auto;
  pointer-events: none;
}
.process .circuit-detail {
  inset: 16px 0 auto auto;
  transform: scaleX(-1);
  opacity: .61;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  counter-reset: step;
  margin: 36px 0 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  padding: 23px 20px;
  border: 1px solid #d4e4df;
  border-radius: 18px;
  background: #fffffff0;
}
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--teal); font-size: 13px; font-weight: 800; }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 85px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
}
.faq-list summary::after { content: "+"; color: var(--teal); font-size: 17px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 55ch; padding: 0 16px 17px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 13% 3%, #176c6b, transparent 55%), #104d4d;
  color: #f8fdfb;
}
.contact .circuit-detail {
  inset: auto auto -6px 0;
  opacity: .47;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: start;
  gap: clamp(28px, 7vw, 95px);
}
.contact h2 { max-width: 13ch; font-size: clamp(2.6rem, 5.15vw, 4.4rem); }
.contact em { color: #aee0d1; }
.contact-copy > p { margin-top: 18px; color: #d5efea; font-size: 17px; line-height: 1.6; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 31px;
  font-style: normal;
}
.contact-details div { display: grid; gap: 6px; }
.contact-details a { width: fit-content; font-size: 17px; font-weight: 700; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-label { color: #cae7e0; font-size: 13px; }
.contact-details a:focus-visible, .site-footer a:focus-visible { outline-color: #b5e8dd; }
form {
  display: grid;
  gap: 9px;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: clamp(21px, 3vw, 32px);
}
form h3 { margin-bottom: 7px; }
label { font-size: 14px; font-weight: 750; }
input, select, textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #c4d4cf;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 6px;
}
input::placeholder, textarea::placeholder { color: #5e706a; opacity: 1; }
textarea { resize: vertical; }
.form-note, #copy-status { color: var(--muted); font-size: 13px; line-height: 1.55; }
#brief-result { padding-top: 13px; margin-top: 6px; border-top: 1px solid var(--line); }
#brief-result label { display: block; margin-bottom: 8px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.button.secondary { border-color: #c4d4cf; background: transparent; color: var(--teal-dark); }
.button.secondary:hover { background: var(--tint); }
#copy-status:not(:empty) { margin-top: 10px; }
.site-footer { background: #113636; color: #e0f1ec; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 96px; }
.footer-row > span, .footer-row > a:last-child { color: inherit; font-size: 13px; }

@media (max-width: 950px) {
  .wrap { width: min(calc(100% - 56px), 1180px); }
  .header-row { gap: 16px; }
  .desktop-nav { gap: 15px; }
  .hero { min-height: 540px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .steps { gap: 12px; }
  .steps li { padding-inline: 15px; }
}

@media (max-width: 800px) {
  .header-row { grid-template-columns: 1fr auto; min-height: 68px; }
  .desktop-nav, .button.header-cta { display: none; }
  .header-actions { gap: 5px; }
  .menu-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
  }
  .menu-toggle span { display: block; width: 15px; height: 1.5px; border-radius: 1px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    padding: 8px 24px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 14px 27px #153d3615;
  }
  .mobile-nav a { padding: 12px 5px; min-height: 44px; font-weight: 700; font-size: 15px; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { width: calc(100% - 40px); }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: auto;
    padding-block: 52px 16px;
    text-align: center;
  }
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
  h1 { font-size: clamp(2.25rem, 9.3vw, 4.25rem); }
  .eyebrow { margin-bottom: 17px; font-size: 11px; }
  .intro { margin-top: 16px; }
  .hero-actions { justify-content: center; margin-top: 21px; }
  .hero-art { width: min(108%, 450px); max-width: none; justify-self: center; margin: 0; }
  .company-summary { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .services { grid-template-columns: 1fr; margin-top: 24px; }
  .service-icon { margin-bottom: 14px; }
  .demo-panel { grid-template-columns: 1fr; min-height: 0; }
  .process .circuit-detail { opacity: .37; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact h2 { max-width: 16ch; }
  .contact-details { margin-top: 23px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 30px); }
  .brand img { width: 103px; }
  .language-panel { right: -42px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { padding-inline: 15px; gap: 8px; }
  .service-actions .button { width: 100%; }
  .tabs button { padding-inline: 11px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-row { flex-wrap: wrap; padding-block: 15px; }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-light { animation: logo-light 1.9s .2s ease-in-out both; }
  .hero-copy > *, .hero-scene {
    animation: intro-enter .68s cubic-bezier(.2, .7, .25, 1) both;
  }
  .hero-copy > h1 { animation-delay: .08s; }
  .hero-copy > .intro { animation-delay: .17s; }
  .hero-copy > .hero-actions { animation-delay: .25s; }
  .hero-scene { animation-delay: .2s; animation-duration: .82s; }

  .entered {
    animation: section-enter .58s cubic-bezier(.2, .7, .25, 1) backwards;
  }
  .services .entered:nth-child(2), .steps .entered:nth-child(2) { animation-delay: .08s; }
  .services .entered:nth-child(3), .steps .entered:nth-child(3) { animation-delay: .16s; }
  .steps .entered:nth-child(4) { animation-delay: .24s; }
  .demo-panel.entered .bubble, .demo-panel.entered .workflow li {
    animation: section-enter .37s ease-out backwards;
  }
  .demo-panel.entered .bubble:nth-of-type(2), .demo-panel.entered .workflow li:nth-child(2) { animation-delay: .13s; }
  .demo-panel.entered .bubble:nth-of-type(3), .demo-panel.entered .workflow li:nth-child(3) { animation-delay: .26s; }
  .tabs button { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .service-card, .steps li {
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
  }
  .service-card:hover, .steps li:hover {
    transform: translateY(-4px);
    border-color: #aacdc1;
    box-shadow: 0 10px 24px #1855460d;
  }
  .button span[aria-hidden], .text-link span[aria-hidden] { transition: transform .2s ease; }
  .button:hover span[aria-hidden], .text-link:hover span[aria-hidden] { transform: translateX(3px); }
}

@keyframes logo-light {
  0% { background-position: 100% center; opacity: 0; }
  22%, 65% { opacity: .95; }
  100% { background-position: 0 center; opacity: 0; }
}
@keyframes intro-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes section-enter {
  from { opacity: .32; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
