:root {
  --ink: #12100d;
  --paper: #f8fbff;
  --sand: #d8e7ff;
  --sand-soft: #e8f1ff;
  --bronze: #1f66d1;
  --bronze-2: #75a9ff;
  --blue: #0d4fb5;
  --blue-deep: #062c68;
  --muted: #5f6f86;
  --line: rgba(13, 79, 181, 0.18);
  --shadow: 0 30px 90px rgba(6, 20, 40, 0.12);
  --max: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(31, 102, 209, 0.14), transparent 28rem),
    linear-gradient(180deg, #f4f8ff, #f8fbff 42%, #e6eefb 100%);
  font-family: "Segoe UI", "Aptos", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 79, 181, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 79, 181, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.82) 15%, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.hab-page { min-height: 100vh; }

.glass-surface {
  color: var(--ink);
  background: rgba(248, 251, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 30px 80px rgba(6, 20, 40, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 36px), var(--max));
  min-height: 70px;
  padding: 12px 14px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  background: rgba(248, 251, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(6, 20, 40, 0.1);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background-color 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 251, 255, 0.96);
  box-shadow: 0 18px 44px rgba(6, 20, 40, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brand-copy small {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav a {
  min-height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(13, 79, 181, 0.08);
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--bronze));
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(13, 79, 181, 0.24);
  border: none;
  transition: transform 180ms ease;
}

.header-cta:hover { transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 79, 181, 0.08);
  color: var(--blue);
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 92px 18px auto;
  z-index: 45;
  display: none;
}

.mobile-menu.is-open { display: block; }

.mobile-menu-panel {
  padding: 12px;
  display: grid;
  gap: 8px;
  background: rgba(248, 251, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(6, 20, 40, 0.16);
  backdrop-filter: blur(22px);
}

.mobile-menu-panel a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  font-weight: 900;
  color: var(--ink);
}

.mobile-menu-panel a:hover { background: rgba(13, 79, 181, 0.08); }

.mobile-menu-primary {
  justify-content: center !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--bronze));
}

.section-shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

.section-label {
  width: fit-content;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin-top: 0;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); margin-bottom: 10px; letter-spacing: -0.035em; line-height: 1.08; }

.section-copy { color: var(--muted); max-width: 660px; }

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--bronze));
  box-shadow: 0 18px 42px rgba(13, 79, 181, 0.24);
}

.button-ghost {
  color: var(--blue-deep);
  background: rgba(216, 231, 255, 0.72);
  border-color: rgba(13, 79, 181, 0.2);
}

.hero {
  position: relative;
  min-height: 100dvh;
  padding: 150px var(--gutter) 88px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--hero-bg) center / cover no-repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.88);
}

.product-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-status.is-live {
  color: var(--blue-deep);
  background: rgba(216, 231, 255, 0.92);
  border: 1px solid rgba(13, 79, 181, 0.2);
}

.product-status.is-soon {
  color: var(--muted);
  background: rgba(248, 251, 255, 0.92);
  border: 1px solid var(--line);
}

.entrada-section,
.geostamp-section,
.products-section,
.build-section {
  padding: 96px 0;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.88);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, color 180ms ease;
}

.hero-scroll:hover {
  color: var(--ink);
  transform: translateX(-50%) translateY(-2px);
}

.products-intro,
.capabilities-intro,
.contact-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(248, 251, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(6, 20, 40, 0.14);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.product-card-body h3 {
  margin: 12px 0 10px;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(216, 231, 255, 0.72);
  border: 1px solid var(--line);
}

.product-badge.is-flagship {
  color: var(--blue-deep);
  background: rgba(216, 231, 255, 0.92);
}

.service-card-overlay .product-badge {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.service-card-overlay .product-badge.is-flagship {
  color: #fff;
  background: rgba(117, 169, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.32);
}

.nia-grid {
  direction: rtl;
}

.nia-grid > * {
  direction: ltr;
}

.about-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-stat {
  padding: 24px;
  text-align: center;
  background: rgba(248, 251, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.capabilities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-card .material-symbols-outlined {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
}

.contact-list-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
}

.story-section,
.about-section,
.belief-section,
.products-section,
.entrada-section,
.nia-section,
.geostamp-section,
.capabilities-section,
.contact-section,
.partner-section {
  padding: 96px 0;
}

.story-grid,
.problem-grid,
.partner-grid,
.residence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.story-media,
.problem-photo,
.article-media {
  overflow: hidden;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.story-media img,
.problem-photo img,
.article-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.standard-grid,
.why-grid,
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.standard-card,
.why-card,
.article-card,
.price-card-light {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(248, 251, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.standard-card:hover,
.why-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(6, 20, 40, 0.14);
}

.standard-card span {
  color: var(--bronze);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.usecase-card {
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.usecase-card-image {
  height: 180px;
  overflow: hidden;
}

.usecase-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 600ms ease;
}

.usecase-card:hover .usecase-card-image img {
  transform: scale(1.08);
}

.usecase-card > div:last-child {
  padding: 24px 28px 28px;
}

.problem-visual {
  position: relative;
  min-height: 560px;
}

.problem-stack {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(340px, 82%);
  display: grid;
  gap: 12px;
}

.problem-stack span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(6, 20, 40, 0.1);
  font-weight: 900;
  animation: floatCard 6.4s ease-in-out infinite;
}

.problem-stack span:nth-child(2) { margin-left: 28px; animation-delay: 700ms; }
.problem-stack span:nth-child(3) { margin-left: 56px; animation-delay: 1400ms; }

@keyframes floatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

.services-carousel {
  position: relative;
  height: 520px;
  perspective: 2200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-3d {
  position: absolute;
  width: min(650px, 88vw);
  height: 420px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
  background: #fff;
}

.service-card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 20, 40, 0.82));
  color: #fff;
}

.service-card-overlay p { color: rgba(255, 255, 255, 0.76); margin: 0; }

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.94);
  color: var(--blue);
  z-index: 10;
}

.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }

.carousel-dots {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  height: 3px;
  border: none;
  border-radius: 999px;
  background: rgba(13, 79, 181, 0.22);
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 72px;
  background: var(--bronze);
}

.geostamp-panel {
  padding: clamp(30px, 6vw, 58px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 20, 35, 0.94), rgba(7, 20, 35, 0.78)),
    var(--geostamp-bg, #071423) center / cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(32px, 5vw, 52px);
  box-shadow: 0 50px 140px rgba(6, 20, 40, 0.22);
  position: relative;
  overflow: hidden;
}

.geostamp-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(117, 169, 255, 0.28), transparent 24rem),
    linear-gradient(90deg, rgba(5, 17, 32, 0.94), rgba(5, 17, 32, 0.55) 50%, rgba(5, 17, 32, 0.18));
  pointer-events: none;
}

.geostamp-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.geostamp-panel .section-label { color: var(--sand); }
.geostamp-panel p { color: rgba(255, 255, 255, 0.76); }

.geostamp-panel .product-badge {
  color: var(--sand);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.geostamp-steps {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.geostamp-steps article {
  padding: 18px 20px;
  background: rgba(13, 79, 181, 0.18);
  border: 1px solid rgba(117, 169, 255, 0.32);
  border-radius: 22px;
}

.geostamp-sheet {
  padding: 24px;
  background: rgba(248, 251, 255, 0.92);
  border-radius: 28px;
  color: var(--ink);
}

.geostamp-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.geostamp-tags span {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(38px, 6vw, 86px);
}

.process-copy { position: sticky; top: 132px; height: fit-content; }

.flow-dots {
  margin-top: 28px;
  display: flex;
  gap: 8px;
}

.flow-dots span {
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: rgba(13, 79, 181, 0.22);
  transition: width 180ms ease, background 180ms ease;
}

.flow-dots span.is-active {
  width: 72px;
  background: var(--bronze);
}

.process-steps { display: grid; gap: 16px; }

.process-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(140deg, rgba(6, 20, 40, 0.88), rgba(6, 20, 40, 0.52)),
    var(--process-image, #071423) center / cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  box-shadow: var(--shadow);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.process-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(6, 20, 40, 0.18);
}

.process-card > span {
  display: block;
  color: var(--sand);
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.process-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.process-card .section-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.scenario-section { padding: 88px 0 110px; overflow: hidden; }

.scenario-grid {
  width: max-content;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 16vw);
  gap: 12px;
  animation: scenario-loop 38s linear infinite;
}

.scenario-grid:hover { animation-play-state: paused; }

.scenario-card {
  min-height: 240px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.08), rgba(6, 20, 40, 0.82)),
    var(--scenario-image) center / cover;
  box-shadow: 0 18px 50px rgba(6, 20, 40, 0.12);
}

.scenario-card span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

@keyframes scenario-loop {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}

.article-card { min-height: auto; padding: 0; overflow: hidden; }
.article-card .article-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.article-card .article-media { min-height: 0; border-radius: 0; box-shadow: none; }
.article-card .article-media img { min-height: 220px; }
.article-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-panel {
  padding: 36px;
  background: rgba(248, 251, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  min-height: 420px;
  display: grid;
  place-items: center;
}

.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(216, 231, 255, 0.72);
  color: var(--blue);
}

.final-cta {
  width: 100%;
  max-width: none;
  min-height: 380px;
  padding: 110px var(--gutter);
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6, 20, 40, 0.82), rgba(6, 44, 104, 0.68)),
    var(--final-cta-bg) center / cover;
}

.final-cta .section-label { color: var(--sand); margin-inline: auto; }
.final-cta p { max-width: 760px; margin-inline: auto; color: rgba(255, 255, 255, 0.78); }

.final-cta-button {
  min-width: min(100%, 420px);
  margin-top: 24px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.site-footer {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
  padding: 30px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.82rem;
}

.site-footer nav a:hover { color: var(--blue); }

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--bronze));
  color: #fff;
  box-shadow: 0 18px 42px rgba(13, 79, 181, 0.28);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scenario-grid { animation: none; width: auto; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .story-grid, .problem-grid, .partner-grid, .geostamp-inner, .process-grid, .standard-grid, .why-grid, .articles-grid, .products-grid, .capabilities-grid, .about-stats, .contact-list-inline {
    grid-template-columns: 1fr;
  }
  .process-copy { position: relative; top: auto; }
}

@media (max-width: 720px) {
  :root { --gutter: 14px; }
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    transform: none;
  }
  .brand-copy small { display: none; }
  .hero { padding-top: 130px; min-height: auto; }
  .story-section, .about-section, .belief-section, .products-section, .entrada-section, .nia-section, .geostamp-section, .capabilities-section, .contact-section, .partner-section { padding: 64px 0; }
  .services-carousel { height: 460px; }
  .service-card-3d { height: 360px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
