:root {
  --ink: #17191c;
  --muted: #626870;
  --paper: #f6f1e8;
  --panel: #fffaf0;
  --panel-strong: #eee6da;
  --panel-deep: #e9efe8;
  --line: #ddd3c4;
  --signal: #d97706;
  --signal-strong: #b45309;
  --teal: #0f9f90;
  --coral: #d9365f;
  --steel: #66717d;
  --farohub-cyan: #0277bd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 28, 18, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #0b0f14 0%, #f6f1e8 24%, #f6f1e8 100%);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.9);
  border-color: rgba(221, 211, 196, 0.82);
  box-shadow: 0 12px 36px rgba(33, 28, 18, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a,
.nav-cta {
  position: relative;
  opacity: 0.86;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(34px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 200, 87, 0.42);
  border-radius: 11px;
  background: rgba(14, 12, 6, 0.44);
  box-shadow: inset 0 0 10px rgba(255, 176, 0, 0.06);
}

.language-option {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease;
}

.language-option:hover,
.language-option[aria-pressed="true"] {
  color: #221503;
  background: linear-gradient(160deg, #ffd782 0%, #ffb948 58%, #e89511 100%);
}

.nav-cta {
  opacity: 1;
  padding: 10px 18px;
  border: 1px solid rgba(255, 200, 87, 0.72);
  border-radius: 11px;
  font-weight: 800;
  background: rgba(14, 12, 6, 0.55);
  box-shadow:
    0 0 14px rgba(255, 176, 0, 0.28),
    inset 0 0 10px rgba(255, 176, 0, 0.08);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(255, 214, 120, 0.95);
  box-shadow:
    0 0 22px rgba(255, 190, 40, 0.45),
    inset 0 0 12px rgba(255, 176, 0, 0.12);
}

.site-header.is-scrolled .nav-cta {
  border-color: rgba(217, 119, 6, 0.5);
  background: rgba(20, 15, 6, 0.7);
}

.site-header.is-scrolled .language-switcher {
  border-color: rgba(217, 119, 6, 0.34);
  background: rgba(20, 15, 6, 0.72);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #0b0f14;
}

.hero-scene,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scene {
  z-index: 0;
}

.hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.7) 48%, rgba(11, 15, 20, 0.08) 100%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.98) 0%, rgba(11, 15, 20, 0.03) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: 118px clamp(24px, 6vw, 108px) clamp(64px, 7vw, 116px);
  margin: 0;
  pointer-events: none;
}

.hero-content a {
  pointer-events: auto;
}

.eyebrow,
.section-kicker,
.case-label {
  margin: 0 0 14px;
  color: var(--signal-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: 0;
}

html[lang="en"] .hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.6vw, 6.35rem);
}

.hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero .eyebrow {
  color: #ffc857;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: box-shadow 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.button::before {
  content: "";
  width: 19px;
  height: 19px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--button-icon) center / contain no-repeat;
  mask: var(--button-icon) center / contain no-repeat;
}

.button.primary {
  --button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C5.6 5 2.4 11.1 2.1 11.7a0.8 0.8 0 000 0.6C2.4 12.9 5.6 19 12 19s9.6-6.1 9.9-6.7a0.8 0.8 0 000-0.6C21.6 11.1 18.4 5 12 5zm0 11.2a4.2 4.2 0 110-8.4 4.2 4.2 0 010 8.4zm0-2.2a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E");
  color: #221503;
  background: linear-gradient(160deg, #ffd782 0%, #ffb948 38%, #e89511 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 205, 0.75),
    0 0 22px rgba(255, 176, 0, 0.38),
    0 10px 26px rgba(0, 0, 0, 0.35);
}

.button.primary:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 205, 0.75),
    0 0 30px rgba(255, 190, 40, 0.55),
    0 10px 26px rgba(0, 0, 0, 0.35);
}

.button.secondary {
  --button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 012 2v10a2 2 0 01-2 2H9.4L4 21.4V17a2 2 0 01-2-2V5a2 2 0 012-2z'/%3E%3C/svg%3E");
  color: var(--white);
  border-color: rgba(255, 200, 87, 0.55);
  background: rgba(255, 176, 0, 0.05);
  box-shadow: 0 0 16px rgba(255, 176, 0, 0.12);
}

.button.secondary:hover {
  background: rgba(255, 176, 0, 0.11);
  box-shadow: 0 0 24px rgba(255, 176, 0, 0.2);
}

.button:not(.primary):not(.secondary)::before,
.contact-form .button::before {
  content: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 620px;
  margin: 20px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 0, 0.24);
  border-radius: 8px;
  background: rgba(31, 36, 43, 0.72);
}

.proof-strip div {
  padding: 14px 18px;
  background: rgba(16, 20, 25, 0.72);
}

.proof-strip dt {
  color: #ffc857;
  font-weight: 900;
}

.proof-strip dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  scroll-margin-top: 82px;
  padding: clamp(58px, 8vw, 108px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.copy-stack p:first-child {
  margin-top: 0;
}

.intro-band {
  background: var(--panel-deep);
  border-block: 1px solid rgba(102, 113, 125, 0.14);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 880px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.services {
  color: var(--ink);
  background: #fffaf0;
  border-bottom: 1px solid rgba(221, 211, 196, 0.72);
}

.services .section-kicker {
  color: var(--signal-strong);
}

.services h2 {
  color: var(--ink);
}

.capability-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.capability-rail article {
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(217, 119, 6, 0.09), transparent 42%),
    var(--panel);
}

.capability-rail span {
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 950;
}

.capability-rail h3 {
  margin: 14px 0 8px;
  font-size: 1.35rem;
}

.capability-rail p {
  margin: 0;
  color: var(--muted);
}

.service-item {
  min-height: 250px;
  padding: 26px;
  background: var(--panel);
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #0b0f14;
  background: var(--signal);
  font-weight: 900;
}

.service-item:nth-child(2) .service-icon {
  background: var(--teal);
}

.service-item:nth-child(3) .service-icon {
  color: #0b0f14;
  background: var(--signal-strong);
}

.service-item:nth-child(4) .service-icon {
  color: var(--white);
  background: var(--steel);
}

.service-item:nth-child(5) .service-icon {
  color: var(--white);
  background: var(--coral);
}

.service-item h3,
.app-card h3,
.process-list h3,
.engagement-list h3,
.case-copy h3 {
  margin: 22px 0 8px;
  font-size: 1.25rem;
}

.service-item p,
.software-card p,
.app-card p,
.process-list p,
.engagement-list p,
.case-copy p,
.case-points p {
  color: var(--muted);
}

.term-bubble-trigger {
  display: inline;
  position: relative;
  padding: 0 0.08em;
  border: 0;
  border-bottom: 1px dotted currentColor;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: inherit;
  cursor: help;
  text-decoration: none;
}

.term-bubble-trigger:hover,
.term-bubble-trigger:focus-visible,
.term-bubble-trigger[aria-expanded="true"] {
  color: var(--signal-strong);
  outline: none;
}

.term-bubble-trigger:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22);
}

.software-stack .term-bubble-trigger:hover,
.software-stack .term-bubble-trigger:focus-visible,
.software-stack .term-bubble-trigger[aria-expanded="true"] {
  color: #ffc857;
}

.term-bubble-popover {
  position: absolute;
  z-index: 80;
  width: min(300px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid rgba(217, 119, 6, 0.32);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 18px 44px rgba(33, 28, 18, 0.22);
  font-size: 0.92rem;
  line-height: 1.4;
}

.term-bubble-popover[hidden] {
  display: none;
}

.software-stack {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 119, 6, 0.18), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(15, 159, 144, 0.16), transparent 30%),
    #101419;
}

.software-stack .section-kicker {
  color: #ffc857;
}

.software-stack .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

.software-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-height: 150px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.07);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.software-card img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.08);
}

.software-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.software-card p {
  margin: 0;
}

.portfolio {
  background: #f6f1e8;
}

.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 28px;
}

.portfolio-tabs span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.7);
  font-size: 0.82rem;
  font-weight: 850;
}

.portfolio-tabs span:first-child {
  color: #0b0f14;
  border-color: rgba(217, 119, 6, 0.26);
  background: rgba(217, 119, 6, 0.15);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.featured-case {
  background:
    linear-gradient(135deg, rgba(2, 119, 189, 0.08), transparent 38%),
    var(--panel);
}

.web-case {
  background:
    linear-gradient(135deg, rgba(217, 119, 6, 0.1), transparent 38%),
    var(--panel);
}

.case-study + .case-study {
  margin-top: 24px;
}

.case-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 230, 218, 0.94), rgba(233, 239, 232, 0.9)),
    #fffaf0;
}

.screenshot-showcase {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  isolation: isolate;
}

.screenshot-showcase::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(217, 119, 6, 0.1) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 0 48%, rgba(15, 159, 144, 0.08) 48% 52%, transparent 52%);
}

.phone-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 30px;
  background: #05070a;
  box-shadow: 0 24px 70px rgba(33, 28, 18, 0.18);
}

.phone-shot::before {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  margin: 0 auto 9px;
  border-radius: 999px;
  background: #1f242b;
}

.phone-shot img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #0b0f14;
}

.phone-shot-main {
  width: min(268px, 58vw);
  transform: translateX(-34px) rotate(-3deg);
}

.phone-shot-secondary {
  position: absolute;
  right: clamp(14px, 5vw, 54px);
  bottom: 38px;
  width: min(188px, 40vw);
  transform: rotate(5deg);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.screenshot-strip figure {
  margin: 0;
}

.screenshot-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1600;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0f14;
}

.screenshot-strip figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.case-label {
  color: var(--farohub-cyan);
}

.case-copy h3 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.98;
}

.case-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.case-points div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-points span,
.app-card span {
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.web-case {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.web-showcase {
  position: relative;
  min-height: 560px;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
}

.browser-shot {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 8px;
  background: #0b0f14;
  box-shadow: 0 24px 70px rgba(33, 28, 18, 0.18);
}

.browser-shot::before {
  content: "";
  display: block;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18px 17px, var(--coral) 0 4px, transparent 5px),
    radial-gradient(circle at 34px 17px, var(--signal) 0 4px, transparent 5px),
    radial-gradient(circle at 50px 17px, var(--teal) 0 4px, transparent 5px),
    #fffaf0;
}

.browser-shot img {
  width: 100%;
  height: 396px;
  object-fit: cover;
  object-position: top;
}

.browser-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 620px);
  gap: 12px;
}

.browser-strip figure {
  margin: 0;
}

.browser-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0f14;
}

.browser-strip figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.app-lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.app-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.76);
}

.app-card-shot {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 410px;
  padding: 22px 18px;
  background:
    linear-gradient(135deg, rgba(15, 159, 144, 0.11), transparent 46%),
    linear-gradient(315deg, rgba(217, 119, 6, 0.12), transparent 42%),
    rgba(238, 230, 218, 0.72);
}

.app-showcase-card {
  background: rgba(255, 250, 240, 0.84);
}

.app-showcase-shot {
  overflow: hidden;
  min-height: clamp(430px, 54vw, 620px);
  padding: clamp(16px, 3vw, 30px);
}

.app-showcase-shell {
  position: relative;
  display: grid;
  place-items: end center;
  width: min(100%, 430px);
  min-height: clamp(380px, 48vw, 560px);
  padding: 82px 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(15, 159, 144, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.95), rgba(225, 241, 236, 0.9)),
    #eef4f1;
  box-shadow: 0 22px 58px rgba(33, 28, 18, 0.13);
}

.app-showcase-shell::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(90deg, rgba(15, 159, 144, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 159, 144, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.7;
}

.app-showcase-brand {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: grid;
  gap: 4px;
  color: #102733;
}

.app-showcase-brand span {
  color: inherit;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0;
  text-transform: none;
}

.app-showcase-brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-showcase-shot .app-phone-frame {
  z-index: 1;
  width: min(76%, 238px);
}

.app-showcase-shot-full {
  padding: 0;
  background: #ece9e2;
}

.app-showcase-shot-full img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(430px, 54vw, 620px);
  object-fit: cover;
  object-position: center top;
}

.app-phone-frame {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: min(100%, 244px);
  aspect-ratio: 410 / 864;
  padding: 10px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  border-radius: 30px;
  background: #05070a;
  box-shadow: 0 22px 48px rgba(33, 28, 18, 0.18);
  overflow: hidden;
}

.app-phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: #1f242b;
}

.app-phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  border-radius: 22px;
  background: #0b0f14;
}

.app-card-copy {
  padding: 22px 24px 24px;
}

.app-card-copy h3 {
  margin-top: 12px;
}

.app-card-copy p {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 260px;
  padding: 24px;
  border-left: 3px solid var(--signal);
  background: var(--panel);
}

.process-list li:nth-child(2) {
  border-color: var(--teal);
}

.process-list li:nth-child(3) {
  border-color: var(--signal-strong);
}

.process-list li:nth-child(4) {
  border-color: var(--coral);
}

.process-list span {
  font-weight: 900;
  color: var(--muted);
}

.engagement {
  color: var(--white);
  background: #101419;
}

.engagement .section-kicker {
  color: #ffc857;
}

.engagement-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.engagement-list article {
  padding: 24px;
  background: rgba(21, 26, 33, 0.86);
}

.engagement-list p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 34px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(33, 28, 18, 0.08);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--signal);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

.faq-item > p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}

.site-footer {
  padding: 30px 0;
  color: var(--white);
  background: #0b0f14;
}

.footer-inner {
  width: min(1160px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .two-column,
  .hero-content,
  .case-study,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-grid,
  .capability-rail,
  .process-list,
  .software-grid,
  .app-lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-visual {
    min-height: 440px;
  }

  .screenshot-showcase {
    min-height: 520px;
  }

  .phone-shot-main {
    transform: translateX(-18px) rotate(-3deg);
  }

  .phone-shot-secondary {
    right: 13%;
    width: min(168px, 38vw);
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 7px 13px;
    font-size: 0.85rem;
  }

  .language-switcher {
    grid-template-columns: repeat(2, 30px);
  }

  .language-option {
    min-width: 30px;
    height: 26px;
    font-size: 0.66rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 56px 18px 12px;
    gap: 14px;
  }

  .eyebrow,
  .section-kicker,
  .case-label {
    font-size: 0.64rem;
    margin-bottom: 8px;
  }

  .hero h1,
  html[lang="en"] .hero h1 {
    max-width: 640px;
    font-size: 2.25rem;
    line-height: 0.92;
  }

  .hero-copy {
    max-width: 640px;
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .proof-strip {
    max-width: 620px;
    margin-top: 10px;
  }

  .proof-strip div {
    padding: 7px 10px;
  }

  .proof-strip dt {
    font-size: 0.88rem;
  }

  .proof-strip dd {
    font-size: 0.76rem;
  }

  .hero-actions {
    margin-top: 9px;
    gap: 10px;
  }

  .button {
    min-height: 32px;
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 0.86rem;
  }

  .button::before {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding: 14px 14px;
  }

  .brand span {
    display: inline;
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switcher {
    grid-template-columns: repeat(2, 30px);
  }

  .language-option {
    min-width: 30px;
    height: 28px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    width: 100%;
    padding: 108px 18px clamp(42px, 7vw, 78px);
    gap: 24px;
  }

  .hero-copy-block,
  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.2vw, 3.1rem);
    line-height: 0.95;
    overflow-wrap: break-word;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(2.25rem, 10.4vw, 2.9rem);
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 220px);
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    text-align: center;
    font-size: 0.96rem;
  }

  .service-grid,
  .capability-rail,
  .process-list,
  .software-grid,
  .app-lab-grid {
    grid-template-columns: 1fr;
  }

  .software-card {
    min-height: 0;
    padding: 18px;
  }

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

  .app-card-shot {
    min-height: 360px;
    padding: 16px;
  }

  .app-showcase-shot,
  .app-showcase-shot-full img {
    min-height: 420px;
  }

  .app-showcase-shell {
    min-height: 390px;
    padding: 76px 18px 22px;
  }

  .app-phone-frame {
    width: min(72vw, 244px);
    padding: 8px;
    border-radius: 26px;
  }

  .app-phone-frame::before {
    width: 58px;
    height: 5px;
    top: 7px;
  }

  .app-phone-frame img {
    border-radius: 19px;
  }

  .app-card-copy {
    padding: 18px 18px 20px;
  }

  .app-card-copy h3 {
    font-size: 1.1rem;
  }

  .proof-strip div {
    padding: 10px;
  }

  .proof-strip dt {
    font-size: 0.9rem;
  }

  .proof-strip dd {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .service-item,
  .process-list li {
    min-height: auto;
  }

  .case-study {
    padding: 18px;
  }

  .case-visual {
    min-height: auto;
  }

  .screenshot-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    overflow: visible;
  }

  .screenshot-showcase::before {
    display: none;
  }

  .phone-shot {
    align-self: start;
    width: 100%;
    padding: 7px;
    border-radius: 22px;
  }

  .phone-shot::before {
    width: 44px;
    height: 4px;
    margin-bottom: 6px;
  }

  .phone-shot img {
    border-radius: 16px;
  }

  .phone-shot-main {
    transform: none;
  }

  .phone-shot-secondary {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .screenshot-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-strip figure {
    flex: 0 0 min(42vw, 156px);
    scroll-snap-align: start;
  }

  .screenshot-strip img {
    height: auto;
    object-fit: contain;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .nav-cta {
    font-size: 0;
    padding-inline: 9px;
  }

  .nav-cta::after {
    content: "Reunión";
    font-size: 0.76rem;
  }

  html[lang="en"] .nav-cta::after {
    content: "Meeting";
  }
}

/* Formulario de contacto: honeypot y estado de envío */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status[data-kind="ok"] { color: var(--teal); }
.form-status[data-kind="error"] { color: var(--coral); }
.form-status[data-kind="pending"] { opacity: 0.8; }

/* Skip link: oculto hasta recibir foco */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: 12px; }
main:focus { outline: none; }
