:root {
  color-scheme: light;
  --paper: #fff;
  --paper-soft: #f7f9fb;
  --ink: #111319;
  --muted: #696f78;
  --line: #e7eaee;
  --blue: #087be4;
  --cyan: #19bcd0;
  --navy: #091b2c;
  --content: 1240px;
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 19px;
  --font: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 220ms ease, color 220ms ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

::selection { color: #fff; background: var(--blue); }

.content-width {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  transition: background-color 220ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(17, 19, 25, 0.08); }

.header-inner {
  width: min(1360px, calc(100% - var(--gutter) * 1.4));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 42px; height: 32px; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); }

.main-nav a {
  color: #555d67;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover, .button-link:hover { color: var(--blue); }

.main-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-left: 3px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #111319;
  color: #fff;
  transition: transform 180ms ease, background-color 180ms ease;
}

.main-nav .nav-contact:hover { color: #fff; background: var(--blue); transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { padding-top: 30px; }

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #535c67;
  font-size: 12px;
  font-weight: 600;
}

.eyebrow-dot, .status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-index, .technology-caption {
  color: #858d96;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(52px, 8vw, 120px);
  padding-block: clamp(48px, 7vw, 98px) 72px;
}

.hero-copy { max-width: 740px; }

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(66px, 8.3vw, 112px);
  font-weight: 520;
  letter-spacing: -0.085em;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--blue) 0%, #0b9bd3 52%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-aside { max-width: 490px; padding-top: 20px; }

.hero-aside > p {
  margin: 0;
  color: #6a717a;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: #0069c7; box-shadow: 0 9px 24px rgba(8, 123, 228, 0.19); }
.button-link { color: #47515d; font-size: 13px; font-weight: 600; text-decoration: none; transition: color 160ms ease; }
.button-link span, .experience-link span { padding-left: 8px; color: var(--blue); }

.hero-aside-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 41px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #434c57;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.note-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.note-mark img { width: 31px; height: 26px; object-fit: contain; }
.note-location { margin-left: auto; color: #888f98; font-size: 9px; font-weight: 650; letter-spacing: 0.09em; }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.2fr);
  align-items: center;
  gap: 40px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
}

.hero-bottom-label {
  margin: 0;
  color: #808791;
  font-size: 12px;
  line-height: 1.45;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.hero-stats > div { display: flex; align-items: baseline; gap: 8px; }
.hero-stats dt { color: var(--ink); font-size: clamp(23px, 2.5vw, 34px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.hero-stats dt span { color: var(--blue); font-size: 0.62em; }
.hero-stats dd { margin: 0; color: #747b84; font-size: 11px; line-height: 1.25; }

.technology-band { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper-soft); }

.technology-inner {
  min-height: 86px;
  width: min(1360px, calc(100% - var(--gutter) * 1.4));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.technology-inner > p { margin: 0; color: #6e7680; font-size: 12px; font-weight: 600; white-space: nowrap; }
.technology-window { min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.technology-track { width: max-content; display: flex; align-items: center; animation: tech-marquee 32s linear infinite; }
.technology-window:hover .technology-track { animation-play-state: paused; }

.technology-list {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.5vw, 64px);
  margin: 0;
  padding: 0 32px 0 0;
  list-style: none;
}

.technology-list li { display: inline-flex; align-items: center; gap: 10px; color: #4d5864; font-size: 13px; font-weight: 620; white-space: nowrap; }
.technology-list li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); content: ""; }
@keyframes tech-marquee { to { transform: translateX(-50%); } }

.section-pad { padding-block: clamp(88px, 10vw, 142px); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #7a848f;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-heading > div { max-width: 680px; }
.section-heading h2, .experience h2, .team h2, .contact h2, .store-cta h2 {
  margin: 0;
  font-size: clamp(39px, 5.3vw, 68px);
  font-weight: 530;
  letter-spacing: -0.07em;
  line-height: 0.99;
}

.section-heading > p { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 15px; }

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

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover { transform: translateY(-5px); border-color: #d7e3ea; box-shadow: 0 17px 42px rgba(15, 45, 72, 0.09); }

.service-image {
  position: relative;
  display: block;
  height: clamp(205px, 22vw, 270px);
  overflow: hidden;
  background: #101a25;
  color: #fff;
}

.service-image::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(4, 13, 23, 0.42)); content: ""; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms cubic-bezier(.2,.65,.3,1); }
.service-card:hover .service-image img { transform: scale(1.035); }

.image-index {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: 15px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 23, 38, 0.54);
  color: #fff;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.image-arrow {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: transform 180ms ease, color 180ms ease;
}

.service-card:hover .image-arrow { transform: rotate(45deg); color: var(--blue); }
.service-copy { padding: 21px 21px 23px; }
.service-meta { display: flex; justify-content: space-between; gap: 10px; color: #808993; font-size: 10px; font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; }
.service-copy h3 { margin: 13px 0 0; font-size: clamp(20px, 2vw, 25px); font-weight: 620; letter-spacing: -0.055em; line-height: 1.12; }
.service-copy p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.experience { background: var(--navy); color: #fff; }
.experience-inner { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.78fr); align-items: center; gap: clamp(70px, 12vw, 170px); }
.experience .eyebrow, .contact .eyebrow { color: #92a5b6; }
.experience h2 { max-width: 560px; color: #fff; }
.experience-intro > p:not(.eyebrow) { max-width: 510px; margin: 22px 0 0; color: #b8c6d2; font-size: 15px; }
.experience-intro > p + p { margin-top: 12px !important; }
.experience-link { display: inline-block; margin-top: 25px; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.experience-link span { color: #6bd9e7; }

.experience-values { margin: 0; padding: 0; list-style: none; }
.experience-values li { display: grid; grid-template-columns: 42px 1fr; align-items: baseline; gap: 4px 14px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.experience-values li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.experience-values li > span { grid-row: span 2; color: #6bd9e7; font-size: 11px; font-weight: 650; }
.experience-values strong { font-size: 18px; font-weight: 560; letter-spacing: -0.025em; }
.experience-values small { color: #9daebc; font-size: 12px; }

.team { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(55px, 10vw, 145px); }
.team-photo { position: relative; max-width: 470px; }
.team-photo > img { width: 100%; aspect-ratio: 0.9; object-fit: cover; border-radius: var(--radius); }
.team-photo > p { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; color: #63707d; font-size: 12px; }
.status-dot { width: 7px; height: 7px; }
.photo-index { position: absolute; right: 14px; bottom: 55px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; background: rgba(10, 23, 35, 0.48); color: #fff; font-size: 9px; font-weight: 650; letter-spacing: 0.09em; backdrop-filter: blur(7px); }
.team-copy { max-width: 640px; }
.team-copy .eyebrow { margin-bottom: 15px; }
.team-copy h3 { margin: 31px 0 2px; font-size: 21px; font-weight: 650; letter-spacing: -0.035em; }
.team-role { margin: 0; color: var(--blue); font-size: 13px; font-weight: 600; }
.team-copy > p:not(.eyebrow):not(.team-role) { max-width: 550px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.team-copy .button-link { display: inline-block; margin-top: 25px; }

.contact { background: #f5f8fb; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.78fr); align-items: start; gap: clamp(60px, 12vw, 170px); }
.contact h2 { max-width: 600px; }
.contact-intro > p:not(.eyebrow) { max-width: 450px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.contact-details { display: grid; gap: 0; max-width: 510px; margin-top: 32px; }
.contact-details a { display: grid; grid-template-columns: 86px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #dfe4e9; color: #28323c; font-size: 13px; text-decoration: none; }
.contact-details a span { color: #818b96; font-size: 11px; }
.contact-details a i { color: var(--blue); font-style: normal; }
.contact-details a:hover { color: var(--blue); }

.contact-form {
  display: grid;
  gap: 9px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #e6ebef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 44px rgba(21, 45, 68, 0.055);
}

.contact-form label { margin-top: 5px; color: #44515e; font-size: 12px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #e3e8ec; border-radius: 10px; background: #fafbfc; color: var(--ink); outline: none; resize: vertical; }
.contact-form textarea { min-height: 94px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a0a8b0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 123, 228, 0.11); }
.contact-form .button { width: 100%; margin-top: 9px; }
.contact-form .is-invalid { border-color: #c83b4c; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 4px 0 0; padding: 11px 13px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.contact-status.is-ok { background: color-mix(in srgb, #16a34a 12%, transparent); color: #15803d; }
.contact-status.is-error { background: color-mix(in srgb, #c83b4c 10%, transparent); color: #b42318; }
:root[data-theme="dark"] .contact-status.is-ok { color: #4ade80; }
:root[data-theme="dark"] .contact-status.is-error { color: #f2788a; }

.store-cta {
  position: relative;
  min-height: 205px;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 78px;
  margin-bottom: 48px;
  padding: 36px clamp(24px, 5vw, 60px);
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(112deg, #087be4 0%, #139bd7 55%, #19bcd0 100%);
  color: #fff;
}

.store-cta::after { position: absolute; right: 12%; width: 250px; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.05), 0 0 0 68px rgba(255, 255, 255, 0.035); content: ""; }
.store-mark { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 17px; background: rgba(255, 255, 255, 0.14); }
.store-mark img { width: 47px; height: 33px; object-fit: contain; filter: brightness(0) invert(1); }
.store-copy { position: relative; z-index: 1; flex: 1; }
.store-cta .eyebrow { margin-bottom: 8px; color: rgba(255, 255, 255, 0.77); }
.store-cta h2 { max-width: 680px; font-size: clamp(29px, 4vw, 45px); }
.button-light { position: relative; z-index: 1; flex: 0 0 auto; background: #fff; color: #105c9a; }
.button-light:hover { background: #effaff; box-shadow: 0 8px 20px rgba(4, 42, 77, 0.16); }

.site-footer { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 22px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 16px; }
.footer-brand img { width: 34px; height: 27px; }
.site-footer > p { margin: 0; color: #77818c; font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: #536273; font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { color: var(--blue); }

.whatsapp-link { position: fixed; z-index: 40; right: 23px; bottom: 22px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #20c773; color: #fff; box-shadow: 0 8px 25px rgba(17, 44, 30, 0.2); transition: transform 160ms ease; }
.whatsapp-link:hover { transform: translateY(-3px); }
.whatsapp-link svg { width: 26px; fill: currentColor; }

.has-reveal [data-reveal] { opacity: 0; transform: translateY(17px); transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.65,.3,1); }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1440px) {
  .hero { padding-top: 40px; }
  .hero-grid { padding-block: 96px 84px; }
}

@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 15px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(270px, 0.78fr); gap: 48px; }
  .hero h1 { font-size: clamp(62px, 8vw, 84px); }
  .hero-stats { gap: 10px; }
  .hero-stats > div { display: block; }
  .hero-stats dd { margin-top: 5px; }
  .technology-caption { display: none; }
  .technology-inner { grid-template-columns: auto minmax(0, 1fr); }
  .contact-inner { gap: 55px; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; --radius: 17px; }
  html { scroll-padding-top: 74px; }
  .header-inner { width: calc(100% - 36px); min-height: 70px; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 30px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon i { width: 15px; height: 1.5px; display: block; background: currentColor; transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(2.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 22px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 20px 24px rgba(20, 40, 58, 0.08); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(17, 19, 25, 0.06); font-size: 14px; }
  .main-nav .nav-contact { justify-content: space-between; margin: 12px 0 0; padding: 13px 17px; border-bottom: 0; }

  .hero { padding-top: 23px; }
  .hero-topline { align-items: flex-start; }
  .eyebrow-pill { gap: 8px; padding: 7px 10px; font-size: 10px; }
  .hero-index { padding-top: 8px; font-size: 8px; text-align: right; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 49px 45px; }
  .hero h1 { max-width: 650px; font-size: clamp(56px, 12vw, 82px); }
  .hero-aside { max-width: 600px; padding: 0; }
  .hero-aside > p { font-size: 16px; }
  .hero-actions { margin-top: 21px; gap: 18px; }
  .hero-aside-note { margin-top: 28px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 21px; padding-block: 20px 24px; }
  .hero-bottom-label br { display: none; }
  .hero-stats { gap: 9px; }
  .hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
  .hero-stats dt { font-size: clamp(25px, 7vw, 34px); }
  .hero-stats dd { font-size: 10px; }

  .technology-inner { width: calc(100% - 36px); min-height: 74px; grid-template-columns: auto minmax(0, 1fr); gap: 13px; }
  .technology-inner > p { font-size: 10px; }
  .technology-list { gap: 22px; }
  .technology-list li { gap: 7px; font-size: 11px; }
  .technology-track { animation-duration: 26s; }

  .section-pad { padding-block: 78px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2, .experience h2, .team h2, .contact h2 { font-size: clamp(38px, 9vw, 56px); }
  .section-heading > p { margin-top: 16px; font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-image { height: clamp(220px, 60vw, 310px); }
  .service-copy { padding: 18px 18px 21px; }
  .service-copy h3 { font-size: 22px; }

  .experience-inner { grid-template-columns: 1fr; gap: 38px; }
  .experience-intro > p:not(.eyebrow) { font-size: 14px; }
  .experience-values li { padding: 17px 0; }

  .team { grid-template-columns: 1fr; gap: 32px; }
  .team-photo { max-width: 500px; }
  .team-photo > img { aspect-ratio: 1.06; }
  .team-copy h3 { margin-top: 24px; }

  .contact-inner { grid-template-columns: 1fr; gap: 35px; }
  .contact-intro > p:not(.eyebrow) { font-size: 14px; }
  .contact-details { margin-top: 25px; }
  .contact-form { padding: 20px; }

  .store-cta { min-height: 0; flex-wrap: wrap; gap: 14px; margin-top: 44px; margin-bottom: 34px; padding: 25px 21px; border-radius: 20px; }
  .store-mark { width: 50px; height: 50px; border-radius: 14px; }
  .store-mark img { width: 39px; height: 27px; }
  .store-copy { flex-basis: calc(100% - 65px); }
  .store-cta h2 { font-size: 31px; }
  .button-light { width: 100%; }
  .store-cta::after { right: -88px; top: -62px; width: 205px; }

  .site-footer { min-height: 0; flex-wrap: wrap; gap: 15px 22px; padding-block: 23px; }
  .site-footer > p { order: 3; width: 100%; }
  .site-footer nav { gap: 14px; }
  .whatsapp-link { right: 16px; bottom: 16px; width: 49px; height: 49px; }
}

@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .hero-topline { gap: 7px; }
  .eyebrow-pill { max-width: 235px; font-size: 9px; }
  .hero-index { font-size: 7px; letter-spacing: 0.07em; }
  .hero h1 { font-size: clamp(50px, 12vw, 59px); }
  .note-location { font-size: 8px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .hero-stats > div { flex-direction: row; align-items: baseline; gap: 7px; }
  .hero-stats dd { max-width: 82px; }
  .technology-inner { width: calc(100% - 30px); gap: 10px; }
  .technology-inner > p { font-size: 9px; }
  .contact-details a { grid-template-columns: 68px minmax(0, 1fr) 14px; gap: 8px; font-size: 11px; overflow-wrap: anywhere; }
  .contact-details a span { font-size: 10px; }
  .site-footer nav { gap: 10px; }
  .site-footer nav a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .technology-track { animation: none; }
  .has-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* Shared header controls and retained account/cart features from the original site. */
.nav-icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.nav-icon-button:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.nav-icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon-button [data-theme-icon] { display: grid; place-items: center; }
.nav-icon-button [data-theme-icon] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-theme-icon] svg[hidden] { display: none; }
.nav-icon-button.user-btn { border-color: var(--cyan); }
.nav-icon-button.user-btn.user-logged-in { border-color: #20a96b; color: #178653; }
.main-nav .nav-account { display: none; padding: 8px 13px; border-radius: 999px; background: var(--blue); color: white; font-size: 11px; font-weight: 700; text-decoration: none; }
.cart-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }

.cart-backdrop { position: fixed; z-index: 80; inset: 0; visibility: hidden; background: rgba(3, 12, 22, 0.38); opacity: 0; transition: opacity 240ms ease, visibility 240ms ease; }
.cart-backdrop.is-open { visibility: visible; opacity: 1; }
.cart-sidebar { position: fixed; z-index: 81; inset: 0 0 0 auto; width: min(410px, 100%); display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: -16px 0 44px rgba(4, 18, 32, 0.17); transform: translateX(105%); transition: transform 280ms cubic-bezier(.2,.7,.2,1); }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 17px 23px; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.close-cart { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 23px; line-height: 1; }
.cart-items { flex: 1; overflow: auto; padding: 8px 23px; }
.empty-cart { margin: 25px 0; color: var(--muted); text-align: center; }
.cart-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item h3 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.cart-item p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.cart-item-actions { display: grid; justify-items: end; gap: 7px; white-space: nowrap; }
.cart-item-actions strong { font-size: 13px; }
.cart-remove { padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 11px; }
.cart-footer { padding: 18px 23px 23px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.cart-total strong { color: var(--ink); font-size: 17px; }
.checkout-button { width: 100%; }

.auth-modal { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(3, 12, 22, .56); backdrop-filter: blur(7px); }
.auth-modal.is-open { display: flex; }
.auth-content { position: relative; width: min(430px, 100%); max-height: min(90dvh, 700px); overflow: auto; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px rgba(3, 12, 22, .24); }
.auth-close { position: absolute; top: 13px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper-soft); color: var(--ink); cursor: pointer; font-size: 23px; }
.auth-title { margin: 0 34px 24px 0; color: var(--ink); font-size: 27px; letter-spacing: -.06em; }
.auth-content form { display: grid; gap: 9px; }
.auth-content form[style*="display: none"] { display: none !important; }
.auth-content label { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 600; }
.auth-input { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft); color: var(--ink); outline: 0; }
.auth-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 15%, transparent); }
.auth-submit { width: 100%; margin-top: 8px; }
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-switch { justify-self: center; padding: 8px 0 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 12px; }
.auth-error { display: none; margin: 0 0 12px; color: #c83b4c; font-size: 13px; }
.auth-forgot { justify-self: end; padding: 0; }
.auth-hint { margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.auth-ok { display: none; margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, #16a34a 12%, transparent); color: #15803d; font-size: 13px; line-height: 1.5; }
:root[data-theme="dark"] .auth-ok { color: #4ade80; }
.user-menu { position: fixed; z-index: 95; min-width: 170px; display: none; flex-direction: column; gap: 3px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 12px 34px rgba(4, 18, 32, .14); }
.user-menu.is-open { display: flex; }
.user-menu button { padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-size: 13px; }
.user-menu button:hover { background: var(--paper-soft); color: var(--blue); }

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1824;
  --paper-soft: #142332;
  --ink: #edf5f8;
  --muted: #b2c0cb;
  --line: #2a3c4b;
  --navy: #08121c;
}
:root[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
:root[data-theme="dark"] .site-header { background: rgba(13, 24, 36, .94); }
:root[data-theme="dark"] .main-nav a:not(.nav-contact):not(.nav-account) { color: #c4d0d9; }
:root[data-theme="dark"] .main-nav .nav-contact { background: #eaf5f8; color: #102031; }
:root[data-theme="dark"] .hero-aside > p,
:root[data-theme="dark"] .hero-aside-note,
:root[data-theme="dark"] .button-link,
:root[data-theme="dark"] .contact-details a { color: var(--muted); }
:root[data-theme="dark"] .eyebrow-pill,
:root[data-theme="dark"] .note-mark,
:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .image-arrow,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .auth-content,
:root[data-theme="dark"] .cart-sidebar,
:root[data-theme="dark"] .user-menu { background: var(--paper-soft); color: var(--ink); }
:root[data-theme="dark"] .technology-band,
:root[data-theme="dark"] .contact { background: #101e2b; }
:root[data-theme="dark"] .technology-list li,
:root[data-theme="dark"] .technology-inner > p,
:root[data-theme="dark"] .team-photo > p,
:root[data-theme="dark"] .service-meta,
:root[data-theme="dark"] .contact-form label,
:root[data-theme="dark"] .contact-details a span,
:root[data-theme="dark"] .site-footer nav a { color: var(--muted); }
:root[data-theme="dark"] .contact-details a { border-color: var(--line); }
:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form textarea,
:root[data-theme="dark"] .auth-input { border-color: var(--line); background: #0b1520; color: var(--ink); }
:root[data-theme="dark"] .menu-toggle,
:root[data-theme="dark"] .main-nav { border-color: var(--line); background: var(--paper-soft); color: var(--ink); }
:root[data-theme="dark"] .main-nav a { border-color: var(--line); }
:root[data-theme="dark"] .site-footer > p { color: var(--muted); }
:root[data-theme="dark"] body,
:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .technology-band,
:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .contact,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .cart-sidebar,
:root[data-theme="dark"] .auth-content { transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease; }

@media (max-width: 1050px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12px; }
  .nav-icon-button { width: 34px; height: 34px; }
}
@media (max-width: 760px) {
  .main-nav .nav-icon-button { width: 42px; height: 42px; margin-top: 8px; }
  .main-nav .nav-account { align-self: flex-start; margin-top: 8px; }
  .cart-sidebar { width: min(410px, 100%); }
  .auth-content { padding: 28px 23px 24px; }
}

/* Raycast-inspired navigation and the restored homepage opening. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  padding-top: 16px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: padding-top 620ms cubic-bezier(.2, .9, .22, 1);
}

.site-header.is-scrolled { background: transparent; box-shadow: none; }

.site-header .main-nav { border-color: transparent; background: transparent; }
:root[data-theme="dark"] .site-header:not(.is-scrolled) { background: transparent; box-shadow: none; }
:root[data-theme="dark"] .site-header.is-scrolled { background: transparent; }
:root[data-theme="dark"] .site-header .main-nav { border-color: transparent; background: transparent; }
:root[data-theme="dark"] .site-header .menu-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #f5f9fc;
}

.header-inner {
  position: relative;
  width: min(1204px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(13, 20, 30, 0.2);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  backdrop-filter: blur(24px) saturate(185%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  isolation: isolate;
  gap: 28px;
  transition:
    width 650ms cubic-bezier(.2, .9, .22, 1),
    min-height 620ms cubic-bezier(.2, .9, .22, 1),
    margin 650ms cubic-bezier(.2, .9, .22, 1),
    padding 620ms cubic-bezier(.2, .9, .22, 1),
    border-radius 650ms cubic-bezier(.2, .9, .22, 1),
    border-color 450ms ease,
    background-color 500ms ease,
    -webkit-backdrop-filter 500ms ease,
    backdrop-filter 500ms ease,
    box-shadow 500ms ease;
}

.header-inner::before,
.header-inner::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.header-inner::before {
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.1), transparent 28%, transparent 74%, rgba(255, 255, 255, 0.045));
  opacity: 0.52;
}

.header-inner::after {
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.2) 48%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
}

.header-inner > * { position: relative; z-index: 1; }

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

.site-header.is-scrolled .header-inner {
  width: 100%;
  max-width: none;
  min-height: 72px;
  margin: 0;
  padding-inline: max(24px, calc((100vw - 1204px) / 2 + 24px));
  border-color: transparent transparent rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(12, 19, 29, 0.27);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.site-header.is-merging .header-inner,
.site-header.is-separating .header-inner {
  animation-duration: 720ms;
  animation-timing-function: cubic-bezier(.2, .9, .22, 1);
  animation-fill-mode: both;
}

.site-header.is-merging .header-inner { animation-name: glass-dock; }
.site-header.is-separating .header-inner { animation-name: glass-undock; }

.site-header.is-merging .header-inner::after,
.site-header.is-separating .header-inner::after {
  animation: glass-sweep 780ms cubic-bezier(.2, .9, .22, 1) both;
}

@keyframes glass-dock {
  0% { transform: translateY(8px) scale(.985, .95); }
  52% { transform: translateY(-1px) scale(1.006, 1.015); }
  100% { transform: translateY(0) scale(1, 1); }
}

@keyframes glass-undock {
  0% { transform: translateY(0) scale(1, 1); }
  38% { transform: translateY(2px) scale(.99, .95); }
  100% { transform: translateY(0) scale(1, 1); }
}

@keyframes glass-sweep {
  0% { opacity: 0; transform: translateX(-120%); }
  24% { opacity: .48; }
  100% { opacity: 0; transform: translateX(120%); }
}

.site-header .brand {
  color: #f5f9fc;
  gap: 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.site-header .brand img { width: 36px; height: 30px; }
.site-header .brand-accent { color: #26c4e4; }

.main-nav {
  flex: 1;
  margin-left: clamp(36px, 7.8vw, 110px);
  justify-content: space-between;
  gap: clamp(16px, 1.8vw, 28px);
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.75vw, 26px);
}

.nav-links a {
  padding-block: 8px;
  color: rgba(242, 247, 251, 0.78);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover { color: #fff; }

.nav-utilities {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav .nav-contact {
  min-height: 38px;
  gap: 10px;
  margin: 0;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: #f4f4f5;
  color: #151619;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav .nav-contact:hover {
  transform: translateY(-1px);
  border-color: #fff;
  background: #fff;
  color: #10151c;
}

.site-header .nav-icon-button {
  width: 32px;
  height: 32px;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
  color: #edf5f8;
}

.site-header .nav-icon-button:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.site-header .cart-badge { background: #1aaed7; }
.site-header .nav-account {
  padding: 0;
  background: transparent;
  color: rgba(242, 247, 251, 0.78);
  font-size: 13px;
  font-weight: 500;
}

.site-header .nav-login {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(242, 247, 251, 0.78);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.site-header .nav-login:hover,
.site-header .nav-login.user-logged-in,
.site-header .nav-account:hover { color: #fff; }

.menu-toggle {
  padding: 9px 12px;
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #f5f9fc;
}

.home-hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 150px 24px 110px;
  background-color: #07101d;
  background-image: linear-gradient(180deg, rgba(5, 10, 21, 0.68), rgba(5, 10, 21, 0.78)), url("../imagenes/fondo1.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: auto;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(54px, 6.4vw, 84px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.home-hero h1 > span { display: block; }

.home-hero .home-hero-accent {
  color: transparent;
  background: linear-gradient(100deg, #5962ff 8%, #2785f0 57%, #20c2db 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.home-hero p {
  max-width: 930px;
  margin: 28px auto 0;
  color: rgba(238, 243, 249, 0.84);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
}

.home-hero-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding: 0 32px;
  border-radius: 999px;
  background: linear-gradient(105deg, #0871ce 0%, #3453e9 58%, #4937d8 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-hero-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.home-hero-cta:active { transform: translateY(0); }

@media (max-width: 1120px) {
  .site-header { padding-top: 10px; }
  .header-inner { width: calc(100% - 36px); min-height: 70px; padding-inline: 18px; }
  .site-header.is-scrolled .header-inner { width: 100%; min-height: 66px; padding-inline: 15px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; }
  .site-header .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: -1px;
    left: -1px;
    display: none;
    margin-left: 0;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    padding: 8px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: rgba(8, 14, 22, 0.78);
    -webkit-backdrop-filter: blur(26px) saturate(185%);
    backdrop-filter: blur(26px) saturate(185%);
  }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }
  .nav-utilities { flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
  .site-header .nav-icon-button { width: 40px; height: 40px; }
  .main-nav .nav-contact { justify-content: space-between; margin: 14px 0 0; }
  .main-nav .nav-account { align-self: center; margin: 0; }
  .header-inner:has(.main-nav.is-open) { border-bottom-color: transparent; border-radius: 16px 16px 0 0; }
  :root[data-theme="dark"] .site-header .main-nav {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(8, 14, 22, 0.78);
  }
}

@media (max-width: 760px) {
  .header-inner { width: calc(100% - 28px); min-height: 66px; padding-inline: 15px; }
  .site-header .brand { font-size: 17px; }
  .site-header .brand img { width: 34px; height: 29px; }
  .home-hero { min-height: max(630px, 100svh); padding: 126px 22px 86px; background-position: 52% center; }
  .home-hero h1 { font-size: clamp(48px, 10.7vw, 66px); line-height: 1.01; }
  .home-hero p { max-width: 580px; margin-top: 24px; font-size: 16px; }
  .home-hero-cta { min-height: 52px; margin-top: 30px; padding-inline: 27px; }
  .site-header .main-nav { padding-inline: 15px; }
}

@media (max-width: 420px) {
  .home-hero { padding-inline: 19px; }
  .home-hero h1 { font-size: clamp(43px, 11.4vw, 52px); }
  .home-hero p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-cta { transition: none; }
  .site-header,
  .header-inner { transition: none; }
  .site-header.is-merging .header-inner,
  .site-header.is-separating .header-inner,
  .site-header.is-merging .header-inner::after,
  .site-header.is-separating .header-inner::after { animation: none; }
}

