@font-face {
  font-family: Jakarta;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #11213d;
  --ink: #142545;
  --text: #465773;
  --paper: #f7f9fe;
  --mist: #eef3fc;
  --portfolio-end: #f3f7fe;
  --accent: #3b58b9;
  --mint: #baf2dc;
  --line: #dbe4f2;
  --frame: 1140px;
  --header-expanded: 4.85rem;
  --header-compact: 3.55rem;
  font-family: Jakarta, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-expanded);
}

body { margin: 0; }

@media (any-pointer: fine) {
  html,
  body { cursor: url('../img/icons/cursor-negro.svg') 3 3, auto; }

  :is(a[href], button:not(:disabled), summary) {
    cursor: url('../img/icons/cursor-negro.svg') 3 3, pointer;
  }

  :is(textarea, [contenteditable="true"], input[type="text"], input[type="search"], input[type="email"]) {
    cursor: text;
  }
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 19;
  overflow: hidden;
  pointer-events: none;
}

.cursor-trail > span {
  position: absolute;
  border-radius: 50%;
}

.cursor-trail-point {
  width: 6px;
  height: 6px;
  background: #258cc7;
  box-shadow: 0 0 0 1px #b6f3f4, 0 0 .55rem #4ac9ef90;
  animation: cursor-point .44s ease-out both;
}

.cursor-trail-ring {
  width: 22px;
  height: 22px;
  border: 2px solid #74e0d0;
  box-shadow: 0 0 .55rem #287cac70;
  animation: cursor-ring .35s ease-out both;
}

@keyframes cursor-point {
  from { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, .4rem) scale(.35); }
}

@keyframes cursor-ring {
  from { opacity: .9; transform: translate(-50%, -50%) scale(.45); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.75); }
}

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

a { color: inherit; }

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

svg { flex: none; }

:focus-visible {
  outline: 3px solid #6b8afc;
  outline-offset: 4px;
}

[id] { scroll-margin-top: 1.25rem; }

.wrap {
  width: min(var(--frame), calc(100% - 4rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .65rem;
  left: .65rem;
  padding: .7rem 1rem;
  border-radius: .5rem;
  background: white;
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  z-index: 10;
}

.skip-link:focus { transform: none; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 42%, #304d8b, #101c35 72%);
  color: #f4f7ff;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
  animation: loader-fallback .26s ease 1.4s forwards;
}

.site-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

.loader-brand {
  display: grid;
  justify-items: center;
  gap: .85rem;
}

.loader-mark {
  display: grid;
  place-items: center;
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 1.25rem;
  background: #edf4ff;
  box-shadow: 0 .75rem 2.5rem #090f2970;
}

.loader-word {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.loader-word span { color: #b0dafb; }

.loader-track {
  width: 4.6rem;
  height: 3px;
  overflow: hidden;
  border-radius: 1rem;
  background: #a6c7fb40;
}

.loader-track::before {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: #b5ebf9;
  content: '';
  animation: loader-progress .8s ease-in-out 2;
}

@keyframes loader-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(220%); }
}

@keyframes loader-fallback {
  to { opacity: 0; visibility: hidden; }
}

#nosotros:target > .wrap,
#servicios:target > .wrap,
#proyectos:target > .wrap {
  animation: section-arrival .6s ease-out both;
}

@keyframes section-arrival {
  from { opacity: .75; transform: translateY(.65rem); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header {
  position: sticky;
  z-index: 8;
  top: 0;
  height: var(--header-expanded);
  color: #f2f6ff;
  pointer-events: none;
}

.header-surface {
  background-color: var(--navy);
  box-shadow: inset 0 -1px #ffffff17;
  pointer-events: auto;
  transition: background-color .28s ease, box-shadow .28s ease;
}

.site-header.is-compact .header-surface {
  background-color: #101e36f5;
  box-shadow: inset 0 -1px #a4c1f339, 0 .45rem 1.65rem #0d1c3533;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-compact .header-surface {
    background-color: #101e36e6;
    -webkit-backdrop-filter: blur(15px) saturate(1.25);
    backdrop-filter: blur(15px) saturate(1.25);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.65rem, 2.8vw, 2rem);
  height: var(--header-expanded);
  transition: height .28s cubic-bezier(.22, .7, .26, 1), padding-top .28s ease;
}

.site-header.is-compact .header-inner { height: var(--header-compact); }

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .56rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: .55rem;
  transition: transform .28s ease;
}

.site-header.is-compact .brand img { transform: scale(.88); }
.brand span span { color: #9cc4ff; }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.65rem, 3.3vw, 2.65rem);
  font-size: .9rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  text-decoration: none;
  transition: color .18s ease;
}

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

.main-nav a::after {
  position: absolute;
  inset: auto .25rem .33rem;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .18s ease, transform .18s ease;
  content: '';
}

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

.header-social {
  display: flex;
  gap: .25rem;
}

.header-social a {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: .75rem;
  color: #e6eeff;
  transition: color .2s ease;
}

.header-social a::before {
  position: absolute;
  inset: 2px;
  z-index: -1;
  border: 1px solid #a1bbf141;
  border-radius: .68rem;
  background: #9cb8fa13;
  transition: inset .28s ease, background .18s ease, border-color .18s ease;
  content: '';
}

.site-header.is-compact .header-social a::before { inset: 4px; }

.header-social .social-whatsapp { color: #133b34; }
.header-social .social-whatsapp::before {
  border-color: #b5efce;
  background: #a6e9c7;
  box-shadow: inset 0 1px #ecfff7e0;
}

.header-social a:is(:hover, :focus-visible)::before {
  border-color: #baccfa8c;
  background: #a8c7f931;
}

.header-social .social-whatsapp:is(:hover, :focus-visible)::before {
  border-color: #dcffef;
  background: #c4ffdd;
}

.header-social .social-instagram:is(:hover, :focus-visible) { color: #ffc1dc; }
.header-social .social-facebook:is(:hover, :focus-visible) { color: #b5d6ff; }

.hero {
  position: relative;
  overflow: hidden;
  color: #f5f8ff;
  background:
    radial-gradient(ellipse at 75% 22%, #294577 0%, transparent 50%),
    linear-gradient(128deg, #11213d 30%, #152a51 66%, #253771);
}

.hero::after {
  position: absolute;
  content: '';
  pointer-events: none;
  z-index: 1;
  width: 133%;
  height: 8.7rem;
  left: -15%;
  bottom: -4.9rem;
  background: var(--paper);
  border-radius: 50% 64% 0 0 / 75% 84% 0 0;
  transform: rotate(-2.4deg);
}

.hero-inner {
  min-height: 32.4rem;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding-block: 3rem 5.3rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #b6cbf3;
  font-size: .85rem;
  font-weight: 700;
}

.hero h1 {
  margin-block: .98rem 1.1rem;
  font-size: clamp(2.85rem, 5.05vw, 4.25rem);
  font-weight: 800;
  line-height: 1.045;
  letter-spacing: -.071em;
}

.hero h1 span {
  display: block;
  color: #aee9fa;
}

.hero-copy > p:not(.hero-eyebrow) {
  max-width: 29rem;
  color: #d2dff6;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  min-height: 50px;
  padding: .65rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  font-weight: 800;
  font-size: .88rem;
  line-height: 1.35;
  text-decoration: none;
}

.button-primary {
  background: var(--mint);
  color: #113932;
}

.button-primary:hover { background: #d1ffed; }

.button-outline {
  background: #ffffff0c;
  border-color: #ffffff57;
  color: #f0f5ff;
}

.button-outline:hover {
  background: #ffffff24;
  border-color: #ffffff80;
}

.device-scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.54;
}

.hero-media::before {
  position: absolute;
  inset: -8% -8%;
  content: '';
  background-image: radial-gradient(#bfdbff4d 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: radial-gradient(ellipse, #000 30%, transparent 69%);
  z-index: -1;
}

.hero-media::after {
  position: absolute;
  content: '';
  inset: 4% 3% 4% 9%;
  border: 1px solid #abc8fd26;
  border-radius: 50%;
  box-shadow: 0 0 0 1.45rem #b0caff0b, 0 0 0 2.9rem #b0caff09;
  transform: rotate(-24deg);
  z-index: -1;
}

.hardware-monitor,
.hardware-phone {
  position: relative;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

.hardware-monitor {
  isolation: isolate;
  aspect-ratio: 1.51;
}

.monitor-screen {
  position: absolute;
  inset: 0 0 17%;
  overflow: hidden;
  padding: clamp(2px, .34vw, 5px);
  padding-bottom: clamp(4px, .65vw, 9px);
  border: 1px solid #808f9d;
  border-radius: clamp(4px, .68vw, 10px);
  background: linear-gradient(145deg, #3f4b57, #101622 30%, #101622 75%, #394957);
  box-shadow: 0 .3rem .7rem #0e203c35, inset 0 1px 1px #ffffff62;
}

.monitor-screen img,
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monitor-screen img { border-radius: 2px; }

.hardware-monitor::before,
.hardware-monitor::after {
  position: absolute;
  content: '';
}

.hardware-monitor::before {
  z-index: -1;
  inset: 76% 42% 3%;
  clip-path: polygon(24% 0, 76% 0, 97% 100%, 3% 100%);
  background: linear-gradient(165deg, #172331 12%, #5a6b79 53%, #b5bcbe);
}

.hardware-monitor::after {
  inset: auto 27% 0;
  height: 5%;
  border: 1px solid #74818b;
  border-radius: 70% 70% .22rem .22rem;
  background: linear-gradient(#c7cdd0, #536372 70%, #293644);
  box-shadow: 0 .28rem .45rem #091c3855;
}

.hardware-phone {
  z-index: 1;
  aspect-ratio: .49;
  border: 1px solid #74848f;
  border-radius: clamp(.68rem, 1.3vw, 1.45rem);
  background: linear-gradient(145deg, #adb9c2, #232c3b 38%, #111823 68%, #647784);
  box-shadow: inset 0 0 0 1px #f5f9ff42, .15rem .38rem .75rem #081a3c56;
}

.hardware-phone::before,
.hardware-phone::after {
  position: absolute;
  width: 2px;
  border-radius: 1px;
  background: #687887;
  content: '';
}

.hardware-phone::before {
  top: 24%;
  left: -2px;
  height: 9%;
  box-shadow: 0 .64rem #687887;
}

.hardware-phone::after { top: 30%; right: -2px; height: 10%; }

.phone-screen {
  position: absolute;
  inset: 2% 4%;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  background: #111622;
}

.phone-screen::before,
.phone-screen::after {
  position: absolute;
  z-index: 1;
  left: 50%;
  border-radius: 10px;
  transform: translateX(-50%);
  content: '';
}

.phone-screen::before {
  top: 1.8%;
  width: 29%;
  height: 3%;
  background: radial-gradient(circle at 81%, #3f5679 0 11%, transparent 16%), #101722;
}

.phone-screen::after {
  bottom: 2%;
  width: 30%;
  height: 1%;
  background: #111722a6;
  box-shadow: 0 0 1px #fff;
}

.device-scene .hardware-monitor { position: absolute; top: 4%; left: 0; width: 91%; }
.device-scene .hardware-phone { position: absolute; right: 0; bottom: 1%; width: 23%; }

.device-scene a:focus-visible { outline: 3px solid #aee9fa; outline-offset: .25rem; }

.services {
  padding-block: 1.8rem 3rem;
  background:
    radial-gradient(ellipse 72% 68% at 50% 35%, #dce8fa, transparent),
    linear-gradient(var(--paper), var(--mist));
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.055em;
}

.market {
  display: inline-flex;
  align-items: center;
  gap: clamp(.3rem, 1.05vw, .72rem);
  max-width: 100%;
  min-height: 46px;
  padding: .45rem clamp(.45rem, 1.15vw, .85rem);
  border-radius: .85rem;
  border: 1px solid var(--line);
  background: #fff;
  color: #415675;
  box-shadow: 0 .25rem .85rem #1842770c;
  font-size: clamp(.7rem, 2.75vw, .77rem);
  font-weight: 800;
  text-decoration: none;
}

.market:is(:hover, :focus-visible) {
  border-color: #91a4e5;
  color: var(--accent);
}

.market img {
  width: clamp(5rem, 12vw, 8rem);
  height: auto;
  flex: none;
}

.market-status {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .32rem .5rem;
  border-radius: .45rem;
  background: #eaf6ef;
  color: #265c46;
}

.market-status::before {
  width: .4rem;
  height: .4rem;
  flex: none;
  border-radius: 50%;
  background: #268557;
  content: '';
}

.service-grid {
  display: grid;
  gap: 1rem;
}

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

.service {
  --service-light: #eff5ff;
  --service-deep: #d4e3ff;
  --service-accent: #2d51a9;
  --service-line: #afc4ee;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .6rem;
  min-width: 0;
  padding: .6rem;
  background: #fff;
  border: 1px solid #dce5f3;
  border-radius: 1.18rem;
  box-shadow: 0 .55rem 1.5rem #173d8010;
  text-decoration: none;
}

.service-memories {
  --service-light: #fff6e9;
  --service-deep: #f4ddc0;
  --service-accent: #87551a;
  --service-line: #dfc19b;
}

.service-support {
  --service-light: #eaf7f3;
  --service-deep: #cce9e2;
  --service-accent: #14624d;
  --service-line: #a6ccbf;
}

.service:is(:hover, :focus-visible) {
  border-color: var(--service-line);
  box-shadow: 0 .85rem 1.7rem #173d8020;
}

.service-visual {
  position: relative;
  height: clamp(6.6rem, 12vw, 8.75rem);
  border-radius: .85rem;
  background:
    radial-gradient(ellipse at 50% 0%, #fff9, transparent 70%),
    linear-gradient(145deg, var(--service-light), var(--service-deep));
}

.service-visual::before {
  position: absolute;
  inset: 24% 17%;
  border: 1px solid #fffc;
  border-radius: 50%;
  box-shadow: 0 0 0 .65rem #fff4;
  transform: rotate(-10deg);
  content: '';
}

.service-devices {
  position: absolute;
  inset: 12% 0 8%;
  width: min(76%, 14rem);
  margin-inline: auto;
}

.service-browser,
.service-phone {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 .52rem .85rem #132d5a40;
}

.service-browser {
  inset: 2% 12% 7% 0;
  padding-top: .58rem;
  border: 2px solid #fff;
  border-radius: .5rem;
  background: #d9e5fb;
  transform: rotate(-6deg);
}

.service-browser::before {
  position: absolute;
  top: .15rem;
  inset-inline-start: .32rem;
  width: .19rem;
  height: .19rem;
  border-radius: 50%;
  background: #6584bc;
  box-shadow: .32rem 0 #86a0cd, .64rem 0 #a3b8dd;
  content: '';
}

.service-phone {
  inset: 12% 0 -4% auto;
  width: 24%;
  border: 3px solid #21365a;
  border-radius: .6rem;
  background: #d6e5db;
  transform: rotate(10deg);
}

.service-devices img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-object {
  position: absolute;
  inset: -.35rem 0 -.35rem;
  width: 92%;
  height: calc(100% + .7rem);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 .48rem .42rem #23314c44);
}

.service-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .5rem;
  padding: .25rem .4rem .45rem;
}

.service h3 {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.35;
  letter-spacing: -.025em;
  font-weight: 800;
}

.service p {
  margin-top: .22rem;
  color: var(--text);
  font-size: .91rem;
  line-height: 1.48;
}

.service-arrow {
  display: grid;
  align-self: center;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--service-light);
  color: var(--service-accent);
}

.service:is(:hover, :focus-visible) .service-arrow {
  background: var(--service-accent);
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .service { transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
  .service-media { transition: transform .26s ease; }
  .service-arrow { transition: background-color .24s ease, color .24s ease; }
  .service:focus-visible .service-media { transform: translateY(-.25rem) rotate(-2deg); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service:hover { transform: translateY(-.22rem); }
  .service:hover .service-media { transform: translateY(-.3rem) rotate(-2deg); }
}

.portfolio {
  padding-block: 1.7rem 2.15rem;
  background:
    radial-gradient(ellipse at 7% 38%, #e4eaff 0%, transparent 50%),
    linear-gradient(var(--mist), var(--portfolio-end));
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: .85rem;
  margin-top: .9rem;
}

.project-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: .6rem;
  min-width: 0;
  min-height: 15.5rem;
  padding: clamp(.85rem, 1.5vw, 1.2rem);
  border: 1px solid #d3dcf5;
  border-radius: 1.05rem;
  background: linear-gradient(115deg, #f9fbff 25%, #e8edff);
}

.project-emergency {
  border-color: #d5e3f4;
  background: linear-gradient(115deg, #fbfdff 25%, #e1effc);
}

.project-sirbapp {
  border-color: #cfe5db;
  background: linear-gradient(115deg, #f8fdfb 25%, #e3f5ec);
}

.project-taxi {
  border-color: #f0e2c2;
  background: linear-gradient(115deg, #fffdfa 25%, #fff0c9);
}

.project-decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.project-decoration::before,
.project-decoration::after {
  position: absolute;
  content: '';
}

.project-sismar .project-decoration {
  background: radial-gradient(circle at center, #8299d850 1px, transparent 1.5px) right top / 14px 14px;
  mask-image: linear-gradient(120deg, transparent 30%, #000 77%);
}

.project-sismar .project-decoration::before {
  top: -.8rem;
  right: .55rem;
  width: 5rem;
  height: 5rem;
  border: 1px solid #6180c26b;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #6883c295 0 2px, transparent 3px),
    linear-gradient(#6883c290, #6883c290) 50% 28% / 2px 31% no-repeat,
    linear-gradient(#6883c290, #6883c290) 67% 50% / 25% 2px no-repeat,
    #e1e9ff;
  box-shadow: 0 0 0 .42rem #7a94cd18, 0 0 0 .82rem #7a94cd11;
}

.project-sismar .project-decoration::after {
  right: 1.2rem;
  bottom: -.2rem;
  width: 9rem;
  height: 3.45rem;
  clip-path: polygon(0 76%, 22% 76%, 22% 53%, 43% 53%, 43% 63%, 65% 63%, 65% 26%, 85% 26%, 85% 0, 100% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(90deg, #8da6e05c 0 11px, transparent 11px 16px);
}

.project-emergency .project-decoration::before {
  top: -4rem;
  right: -2.25rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 17px, #4e8aba36 18px 19px, transparent 20px 22px),
    conic-gradient(from 40deg, #b1ddf546 0deg 62deg, transparent 64deg 360deg);
}

.project-emergency .project-decoration::after {
  right: 1.4rem;
  bottom: 1.15rem;
  width: .53rem;
  height: .53rem;
  border-radius: 50%;
  background: #d98a568c;
  box-shadow: 0 0 0 .34rem #f3a36031, 0 0 0 .73rem #f3a36018, -2rem .7rem 0 -.08rem #5a9acc67;
}

.project-sirbapp .project-decoration span {
  position: absolute;
  width: var(--leaf-width);
  aspect-ratio: 1.7;
  border: 1px solid #62a88741;
  border-radius: 88% 0 88% 0;
  background:
    linear-gradient(-23deg, transparent 49%, #47936b65 50%, transparent 52%),
    linear-gradient(150deg, #a8dec956, #7bbf9a3b);
  transform: rotate(var(--leaf-angle));
}

.project-sirbapp .project-decoration span:nth-child(1) {
  --leaf-width: 5.8rem;
  --leaf-angle: -20deg;
  top: .55rem;
  right: -.45rem;
}

.project-sirbapp .project-decoration span:nth-child(2) {
  --leaf-width: 4.5rem;
  --leaf-angle: 23deg;
  top: 1.95rem;
  right: 2.4rem;
}

.project-sirbapp .project-decoration span:nth-child(3) {
  --leaf-width: 7.3rem;
  --leaf-angle: -72deg;
  right: -.9rem;
  bottom: -.4rem;
}

.project-sirbapp .project-decoration::after {
  right: -2rem;
  bottom: -3rem;
  width: 10rem;
  height: 12rem;
  border: 1px solid #6cb39456;
  border-color: #6cb39456 transparent transparent transparent;
  border-radius: 50%;
  transform: rotate(-55deg);
}

.project-taxi .project-decoration {
  background:
    repeating-linear-gradient(28deg, transparent 0 24px, #d5ac5040 25px 27px, transparent 28px 32px),
    repeating-linear-gradient(118deg, transparent 0 34px, #d5ac5040 35px 37px, transparent 38px 43px);
  mask-image: linear-gradient(110deg, transparent 25%, #000 88%);
}

.project-taxi .project-decoration::before {
  inset: auto 2rem .7rem auto;
  width: 11rem;
  height: 2.75rem;
  border: 2px dashed #bd8c365e;
  border-width: 2px 0 0 2px;
  border-radius: 1.8rem 0 0 0;
  transform: rotate(-14deg);
}

.project-taxi .project-decoration::after {
  top: .85rem;
  right: 1.4rem;
  width: 1.7rem;
  aspect-ratio: 1;
  border: 1px solid #cf9a3270;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at center, #fdf7e4 0 22%, transparent 25%), #f4cd797d;
  transform: rotate(-45deg);
}

.project-card h3 {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-block: .24rem .35rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.project-copy p {
  color: var(--text);
  font-size: .89rem;
  line-height: 1.48;
}

.project-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .35rem;
  margin-top: .55rem;
}

.project-stores img { width: auto; height: 34px; }
.project-stores .google-play { height: 37px; }

.taxi-logo {
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.project-visual {
  display: grid;
  place-items: center;
  gap: .45rem;
  min-width: 0;
  margin: 0;
}

.project-visual figcaption {
  color: #655029;
  font-size: .68rem;
  font-weight: 700;
}

.project-devices {
  width: min(100%, 15rem);
  aspect-ratio: 1.65;
}

.project-devices .hardware-phone {
  width: 29%;
  border-radius: .65rem;
}

.project-sirbapp .monitor-screen img { object-position: left center; }
.project-sirbapp .phone-screen img { object-position: 53% center; }

.project-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(.25rem, .6vw, .55rem);
  width: min(100%, 12.5rem);
  padding: .55rem .25rem .25rem;
}

.project-phone {
  position: relative;
  overflow: hidden;
  border: 3px solid #182b46;
  border-radius: clamp(.45rem, 1vw, .85rem);
  background: #182b46;
  box-shadow: .15rem .45rem .95rem #1b385737;
  transform: translateY(var(--phone-lift, 0)) rotate(var(--phone-angle, 0deg));
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-phone img { width: 100%; height: auto; aspect-ratio: 432 / 896; object-fit: cover; }
.project-phone:first-child { --phone-angle: -6deg; }
.project-phone:nth-child(2) { --phone-lift: -.35rem; }
.project-phone:last-child { --phone-angle: 6deg; }

.taxi-screens {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(.55rem, 1.2vw, .9rem);
}

.taxi-screens input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}

.taxi-phone { width: clamp(3.85rem, 6.4vw, 5.15rem); }

.taxi-phone img { display: none; }

.taxi-view-labels { display: grid; gap: .28rem; }

.taxi-view-labels label {
  display: grid;
  min-width: 3.7rem;
  min-height: 30px;
  padding-inline: .4rem;
  place-items: center;
  border: 1px solid #d9ba7e;
  border-radius: .4rem;
  background: #fff9e9;
  color: #604411;
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
}

.taxi-view-labels label:hover { background: #ffeab7; }

#taxi-screen-login:checked ~ .taxi-phone .taxi-login-image,
#taxi-screen-map:checked ~ .taxi-phone .taxi-map-image,
#taxi-screen-fare:checked ~ .taxi-phone .taxi-fare-image { display: block; }

#taxi-screen-login:checked ~ .taxi-view-labels [for="taxi-screen-login"],
#taxi-screen-map:checked ~ .taxi-view-labels [for="taxi-screen-map"],
#taxi-screen-fare:checked ~ .taxi-view-labels [for="taxi-screen-fare"] {
  border-color: #765208;
  background: #765208;
  color: #fff;
}

#taxi-screen-login:focus-visible ~ .taxi-view-labels [for="taxi-screen-login"],
#taxi-screen-map:focus-visible ~ .taxi-view-labels [for="taxi-screen-map"],
#taxi-screen-fare:focus-visible ~ .taxi-view-labels [for="taxi-screen-fare"] {
  outline: 2px solid #694002;
  outline-offset: 2px;
}

.projects-more { margin-top: .7rem; }
.projects-content { display: flow-root; }
.projects-content.is-animating { overflow: clip; }

.projects-toggle {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  min-height: 44px;
  padding-inline: .8rem;
  border: 1px solid #c4d3ed;
  border-radius: .65rem;
  background: #f7faff;
  color: #2b469f;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

.projects-toggle::-webkit-details-marker { display: none; }
.projects-toggle:hover { background: #e7eeff; }
.projects-toggle svg { transition: transform .2s ease; }
.projects-more[open] .projects-toggle svg { transform: rotate(180deg); }
.projects-label-less, .projects-more[open] .projects-label-more { display: none; }
.projects-more[open] .projects-label-less { display: inline; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-phone:hover {
    transform: translateY(calc(var(--phone-lift, 0px) - .55rem)) rotate(0deg) scale(1.055);
    box-shadow: .2rem .75rem 1.3rem #1b385753;
  }

  .project-phone:hover { z-index: 1; }
  .hardware-monitor:hover,
  .hardware-phone:hover { transform: translateY(-.24rem); filter: drop-shadow(0 .18rem .3rem #14284042); }
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  color: #2b469f;
  font-size: .9rem;
  font-weight: 800;
  text-underline-offset: .24em;
  text-decoration-thickness: 1px;
}

.project-link:hover { color: #112968; }

.benefit-list {
  display: grid;
  gap: .35rem;
  margin: .75rem 0 0;
  padding-inline-start: 1.05rem;
  color: var(--text);
  line-height: 1.5;
}

.benefit-list li::marker { color: #4e65b6; }

.about {
  padding-block: .25rem clamp(1.2rem, 3vw, 2.35rem);
  background: var(--portfolio-end);
}

.about-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4.5vw, 3.5rem);
  padding: clamp(1rem, 3vw, 2.3rem);
  border: 1px solid #d5e1f1;
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse at 91% 8%, #dff0f3, transparent 52%),
    linear-gradient(130deg, #fdfeff, #eaf1fc);
  box-shadow: 0 .4rem 1.3rem #29487a0b;
}

.about-inner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: repeating-radial-gradient(ellipse 18% 29% at 7% 140%, #799ad02b 0 1px, transparent 2px 21px);
  mask-image: linear-gradient(12deg, #000, transparent 49%);
  pointer-events: none;
  content: '';
}

.about-copy p {
  max-width: 56ch;
  margin-top: .65rem;
  color: var(--text);
  font-size: .96rem;
  line-height: 1.65;
}

.about-promises {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-promises li {
  display: grid;
  grid-template-columns: clamp(4.35rem, 11vw, 7.25rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.55rem, 1.4vw, .9rem);
  padding: .45rem;
  border: 1px solid #d8e5f2;
  border-radius: .85rem;
  background: linear-gradient(120deg, #e8f1fd, #fcfdff);
}

.about-promises li:last-child {
  border-color: #d3e7e3;
  background: linear-gradient(120deg, #e4f3ee, #fbfdfc);
}

.about-promises img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  border-radius: .52rem;
  object-fit: cover;
}

.about-promises h3 {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  font-weight: 800;
  line-height: 1.25;
}

.about-promises p {
  margin-top: .2rem;
  color: var(--text);
  font-size: .84rem;
  line-height: 1.5;
}

.offers {
  display: grid;
  gap: clamp(1.55rem, 2.5vw, 2rem);
  padding-block: .75rem 2.15rem;
  background: linear-gradient(var(--portfolio-end), #eaf0fb 58%, var(--portfolio-end));
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid #dbe4f2;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 .55rem 1.6rem #1b3b730b;
  scroll-margin-top: 1.25rem;
}

.offer-layered {
  align-items: center;
  overflow: visible;
}

.offer-memories {
  --offer-glow: #dca96366;
  border-color: #ecdfd2;
  background: linear-gradient(120deg, #f9eddf, #fffaf4 68%);
}

.offer-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.52;
  margin: .35rem .75rem .5rem 0;
}

.offer-visual::before {
  position: absolute;
  z-index: -1;
  inset: 14% -3% -7% 0;
  background: radial-gradient(ellipse, var(--offer-glow), transparent 69%);
  content: '';
}

.offer-photo {
  position: absolute;
  inset-block-start: 3%;
  inset-inline-start: -2%;
  width: 85%;
  height: 82%;
  border: 2px solid #ffffffc9;
  border-radius: .95rem;
  box-shadow: 0 .7rem 1.5rem #18253d35;
  object-fit: cover;
  transform: rotate(-4deg);
}

.offer-cutout {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: -5%;
  width: 72%;
  height: 77%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 .85rem .65rem #15203759);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .offer-visual img { transition: transform .28s ease; }
  .offer-visual:hover .offer-photo { transform: translateY(-.2rem) rotate(-5deg); }
  .offer-visual:hover .offer-cutout { transform: translate(.15rem, -.38rem) rotate(2deg); }
}

.offer-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(1.1rem, 3.1vw, 2.25rem);
}

.offer-copy h2 { font-size: clamp(1.65rem, 2.85vw, 2.42rem); }

.offer-copy > p:not(.offer-label):not(.offer-price) {
  margin-top: .65rem;
  color: var(--text);
  line-height: 1.6;
}

.button-offer {
  margin-top: 1.05rem;
  background: #223c70;
  color: #fff;
}

.button-offer:hover { background: #142a55; }

.offer-development {
  align-items: center;
  background:
    radial-gradient(ellipse at 96% 0%, #dce8ff 0%, transparent 55%),
    radial-gradient(ellipse at 95% 100%, #dff4ee 0%, transparent 50%),
    linear-gradient(125deg, #fdfdff 30%, #eef1ff);
}

.offer-kinds {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: clamp(1.1rem, 3.1vw, 2.25rem);
  list-style: none;
}

.offer-kinds li {
  display: grid;
  grid-template-columns: clamp(4.25rem, 10vw, 6.5rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.65rem, 1.5vw, 1rem);
  padding: .55rem .8rem .55rem .55rem;
  border: 1px solid #dce3f5;
  border-radius: .95rem;
  background: #ffffffe8;
  box-shadow: 0 .25rem .65rem #29487a09;
}

.offer-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .65rem;
}

.offer-kinds h3 {
  font-size: .97rem;
  line-height: 1.35;
}

.offer-kinds p {
  margin-top: .18rem;
  color: var(--text);
  font-size: .92rem;
  line-height: 1.45;
}

@media (hover: hover) {
  .offer-kinds li:hover {
    border-color: #b9c9e9;
    box-shadow: 0 .45rem 1rem #29487a14;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .offer-kinds li { transition: border-color .22s ease, box-shadow .22s ease; }
  .offer-art { transition: transform .24s ease; }
  .offer-kinds li:hover .offer-art { transform: translateY(-2px) scale(1.04); }
}

.client-strip {
  display: grid;
  justify-items: center;
  gap: .85rem;
  padding-block: .45rem;
}

.client-strip h2 {
  display: flex;
  align-items: center;
  gap: clamp(.45rem, 2vw, .95rem);
  font-size: clamp(1.2rem, 2.35vw, 1.65rem);
  letter-spacing: -.035em;
  text-align: center;
}

.client-strip h2::before,
.client-strip h2::after {
  width: clamp(.65rem, 4vw, 3rem);
  height: 1px;
  flex: none;
  background: #aebfdf;
  content: '';
}

.client-logos {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 .7rem, #000 calc(100% - .7rem), transparent);
}

.client-track {
  display: flex;
  width: max(200%, 47rem);
  animation: client-scroll 42s linear infinite;
}

.client-group {
  display: grid;
  flex: 0 0 50%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-group li {
  display: grid;
  min-height: 3.9rem;
  justify-items: center;
  align-items: center;
  padding-inline: .55rem;
}

.client-group img { height: auto; object-fit: contain; }
.client-group .forestal-logo { width: min(100%, 10.6rem); }
.client-group .saavedra-logo { width: 3.7rem; }
.client-group .nova-logo { width: min(100%, 9rem); }
.client-group .frusan-logo { width: min(100%, 5.65rem); }

@media (hover: hover) {
  .client-logos:hover .client-track { animation-play-state: paused; }
}

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

.offer-support {
  --offer-glow: #82bcd579;
  background: linear-gradient(138deg, #e8f1fc, #f1f8fa 69%);
}

.offer-support .offer-photo { object-position: 45% 50%; }

.offer-label {
  display: flex;
  align-items: center;
  gap: .42rem;
  margin-bottom: .45rem;
  color: #285877;
  font-size: .87rem;
  font-weight: 800;
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem;
  margin-top: .62rem;
  font-weight: 800;
}

.price-current {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .05rem .46rem;
  padding: .27rem .7rem .36rem;
  border: 1px solid #d6a232;
  border-radius: .7rem;
  background: linear-gradient(115deg, #fff2bf, #ffdc73);
  color: #64350b;
  box-shadow: inset 0 1px 0 #fff9e2, 0 .2rem .6rem #9c642d24;
}

.price-current span { font-size: .83rem; }

.price-current data {
  font-size: clamp(2.15rem, 4vw, 3.05rem);
  letter-spacing: -.05em;
  line-height: 1.15;
}

.price-before {
  color: #596983;
  font-size: .88rem;
  white-space: nowrap;
}

.price-before s {
  font-weight: 800;
  text-decoration-thickness: 1.5px;
}

.support-benefits {
  gap: .5rem;
  padding: 0;
  list-style: none;
}

.support-benefits li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .6rem;
}

.support-feature-icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: .42rem;
  background: #e3efff;
  color: #245ea7;
}

.offer-note { font-size: .88rem; }

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: .33rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.payment-methods li {
  display: flex;
  align-items: center;
  gap: .34rem;
  padding: .32rem .5rem;
  border: 1px solid #d3e1e9;
  border-radius: .5rem;
  background: #fff;
  color: #354e69;
  font-size: .82rem;
  font-weight: 700;
}

.payment-methods li > svg:first-child { color: #2b627c; }

.payment-visa {
  margin-left: .18rem;
  padding-left: .42rem;
  border-left: 1px solid #d3e1e9;
  color: #192d85;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-support .button-offer { background: #117456; }
.offer-support .button-offer:hover { background: #095d44; }

.contact {
  --wave-height: clamp(2.5rem, 6.3vw, 5.4rem);
  position: relative;
  padding-top: var(--wave-height);
  color: #f4f7ff;
  background: linear-gradient(114deg, #16294e, #263970 100%);
}

.contact-wave {
  position: absolute;
  inset: -1px 0 auto;
  display: block;
  width: 100%;
  height: var(--wave-height);
  fill: var(--portfolio-end);
  pointer-events: none;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1.65rem 2.7rem;
}

.contact h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }

.contact .button { flex-shrink: 0; }

.site-footer {
  color: #f0f4ff;
  background: linear-gradient(115deg, #142442 35%, #1b3055);
  border-top: 1px solid #a5bcf326;
}

.footer-inner { padding-block: 1.25rem .95rem; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.4rem;
}

.footer-company {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.footer-logo {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: .7rem;
  border: 1px solid #aec8fd38;
  background: #afcaf914;
}

.footer-name {
  font-size: 1rem;
  font-weight: 800;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: .85rem;
  margin-top: .15rem;
  color: #cad7ec;
  font-size: .85rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #aec8fd40;
  border-radius: .72rem;
  background: #a8c7f914;
  color: #e9f2ff;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-social a:is(:hover, :focus-visible) {
  border-color: #adc8fc8c;
  background: #a8c7f92b;
}

.footer-social .social-instagram:is(:hover, :focus-visible) { color: #ffc0d9; }
.footer-social .social-facebook:is(:hover, :focus-visible) { color: #b2d3ff; }

.footer-legal {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid #a5bcf326;
  color: #c2d0e7;
  font-size: .82rem;
  line-height: 1.55;
}

.floating-actions {
  position: fixed;
  z-index: 5;
  right: max(1.15rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: .45rem;
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c3d3ed;
  border-radius: 50%;
  background: #f7faff;
  color: #233e78;
  box-shadow: 0 .35rem .85rem #112b4133;
  transition: background-color .2s ease, transform .2s ease;
}

.back-to-top:hover { background: #dce8ff; transform: translateY(-2px); }

.whatsapp-float {
  display: grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  border: 1px solid #157255;
  border-radius: 50%;
  background: #13805e;
  color: white;
  box-shadow: 0 .45rem 1.25rem #112b4160;
}

.whatsapp-float:hover { background: #116b50; }

.whatsapp-action {
  --whatsapp-icon-hover: #087a52;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.whatsapp-float,
.button-offer.whatsapp-action,
.footer-social .whatsapp-action {
  --whatsapp-icon-hover: #a3ffca;
}

.whatsapp-action svg { transition: color .2s ease, filter .2s ease; }

.whatsapp-action:is(:hover, :focus-visible) svg {
  color: var(--whatsapp-icon-hover);
  filter: drop-shadow(0 0 .18rem #36e48e70);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .whatsapp-action:hover { transform: scale(1.055); }
  .whatsapp-float:hover { transform: scale(1.1); }
}

.route-fallback main {
  padding-block: 4rem;
}

@media (max-width: 1300px) {
  .footer-inner { padding-inline-end: 2.25rem; }
}

@media (max-width: 990px) {
  .footer-inner { padding-inline-end: 3.4rem; }
}

@media (min-width: 971px) and (max-width: 1100px) {
  .project-card { min-height: 16rem; }
}

@media (min-width: 636px) and (max-width: 970px) {
  .project-card {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    align-items: start;
    min-height: clamp(20rem, calc(33.75rem - 25.5vw), 23.25rem);
  }

  .project-phones { width: min(100%, 10.75rem); }
  .project-devices { width: min(100%, 12.25rem); }
  .taxi-phone { width: 3.55rem; }
}

@media (max-width: 780px) {
  .wrap { width: min(var(--frame), calc(100% - 2.5rem)); }

  .hero-inner {
    gap: 1.2rem;
    grid-template-columns: 1.05fr 1fr;
    min-height: 28.6rem;
  }

  .hero h1 { font-size: clamp(2.65rem, 6vw, 3.8rem); }


}

@media (max-width: 700px) {
  :root {
    --header-expanded: 6.3rem;
    --header-compact: 5.55rem;
  }

  .header-inner {
    width: calc(100% - 1.55rem);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 .6rem;
    padding-top: .25rem;
  }

  .site-header.is-compact .header-inner { padding-top: 0; }

  .brand { justify-self: start; font-size: 1rem; }
  .brand img { width: 30px; height: 30px; }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: clamp(.65rem, 5vw, 1.8rem);
    font-size: clamp(.78rem, 3vw, .9rem);
  }

  .main-nav a { justify-content: center; padding-inline: .45rem; }
  .header-social { grid-column: 2; grid-row: 1; gap: .12rem; }
}

@media (max-width: 635px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: .8rem;
    min-height: 0;
    padding-block: 2.25rem 3.85rem;
  }

  .hero h1 {
    margin-block: .75rem;
    font-size: clamp(2.4rem, 8.5vw, 3.55rem);
  }

  .hero-actions { margin-top: 1.05rem; }
  .hero-actions .button { padding-inline: .78rem; font-size: .84rem; }

  .hero-media {
    width: min(100%, 26rem);
    justify-self: center;
  }

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

  .hero::after {
    height: 5.4rem;
    bottom: -3.85rem;
  }

  .services { padding-block: 1.1rem 2.4rem; }

  .service-grid, .project-grid {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .service {
    grid-template-columns: clamp(4.25rem, 24vw, 7.5rem) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: .6rem;
    padding: .48rem;
  }

  .service-visual {
    align-self: stretch;
    height: auto;
    min-height: 4.65rem;
    border-radius: .7rem;
  }

  .service-devices { width: 80%; }
  .service-browser { border-radius: .33rem; }
  .service-phone { width: 29%; border-width: 2px; border-radius: .3rem; }
  .service-copy { gap: .32rem; padding: .15rem .15rem .15rem 0; }
  .service p { font-size: .84rem; }
  .service-arrow { width: 1.65rem; height: 1.65rem; }
  .service-arrow svg { width: 15px; height: 15px; }

  .portfolio { padding-block: 1rem 1.6rem; }

  .project-card { min-height: 16rem; }
  .floating-actions { right: max(.7rem, env(safe-area-inset-right)); }

  .offers { gap: 1.65rem; padding-bottom: 1.45rem; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-visual {
    width: min(100%, 27rem);
    justify-self: center;
    margin: -.2rem 0 .7rem;
  }

  .offer-kinds { padding-top: 0; }

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

  .contact-inner { padding-block: 1.45rem 2rem; }
  .footer-inner { padding: 1.15rem 3.4rem 1.4rem 0; }
  .whatsapp-float { width: 3.15rem; height: 3.15rem; }
}

@media (max-width: 460px) {
  .project-card {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    align-items: start;
    min-height: clamp(19.25rem, calc(34.5rem - 57vw), 22.75rem);
    padding: .8rem;
  }

  .project-devices { width: min(100%, 10.75rem); }
  .project-phones { width: min(100%, 9.25rem); }
  .taxi-phone { width: 3.25rem; }
  .project-phone { border-width: 2px; }
}

@media (max-width: 440px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-track { width: 100%; animation: none; }
  .client-group { flex-basis: 100%; }
  .client-group[aria-hidden="true"] { display: none; }
  .cursor-trail { display: none; }
  html { scroll-behavior: auto; }
  .site-loader { display: none; }
  #nosotros:target > .wrap,
  #servicios:target > .wrap,
  #proyectos:target > .wrap { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 635px) and (prefers-reduced-motion: reduce) {
  .client-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
}
