:root {
  --bg: #f5f9ff;
  --bg-elevated: rgba(255, 255, 255, 0.82);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-soft: #e7f1ff;
  --surface-dark: #08101d;
  --text: #0e1728;
  --text-soft: #45607d;
  --text-inverse: #dfe8f8;
  --primary: #22c83a;
  --primary-strong: #0f961f;
  --accent: #3b82f6;
  --accent-strong: #60a5fa;
  --signal: #ff1414;
  --signal-strong: #c70000;
  --border: rgba(59, 130, 246, 0.18);
  --border-strong: rgba(59, 130, 246, 0.3);
  --success: #0f766e;
  --error: #c81e1e;
  --whatsapp: #25d366;
  --whatsapp-strong: #128c4a;
  --shadow: 0 24px 60px rgba(10, 24, 53, 0.12);
  --shadow-soft: 0 12px 30px rgba(10, 24, 53, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1328px;
}

body[data-theme="dark"] {
  --bg: #06101d;
  --bg-elevated: rgba(10, 21, 38, 0.9);
  --surface: rgba(13, 24, 42, 0.82);
  --surface-strong: #101c31;
  --surface-soft: #112540;
  --surface-dark: #030811;
  --text: #edf4ff;
  --text-soft: #a4b8d6;
  --text-inverse: #dfe8f8;
  --primary: #72eb79;
  --primary-strong: #a6f4ac;
  --accent: #7ab4ff;
  --accent-strong: #a9ceff;
  --signal: #ff6b6b;
  --signal-strong: #ff1a1a;
  --border: rgba(122, 180, 255, 0.2);
  --border-strong: rgba(122, 180, 255, 0.35);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 8%, rgba(34, 200, 58, 0.16), transparent 24%),
    radial-gradient(circle at 86% 2%, rgba(59, 130, 246, 0.2), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, #eef4ff 12%) 100%);
  overflow-x: clip;
  transition: background 220ms ease, color 220ms ease;
}

.legal-container {
  max-width: 860px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0 2rem;
}

.legal-actions .button {
  min-width: 12rem;
}

a {
  color: inherit;
}

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

input,
button,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

@media (min-width: 1180px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }
}

@media (min-width: 1600px) {
  .container {
    width: min(calc(100% - 1rem), 1500px);
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--surface-dark);
  color: #ffffff;
  border-radius: var(--radius-sm);
  z-index: 300;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 210;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding-top: 0.68rem;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: padding 180ms ease, background 180ms ease;
}

body.is-scrolled .site-header {
  padding-top: 0.18rem;
}

.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.64rem 0.82rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.nav-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 22%, transparent 44%);
  transform: translateX(-130%);
  animation: navSheen 9s ease-in-out infinite;
  pointer-events: none;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  min-width: 0;
  flex: 0 1 auto;
  isolation: isolate;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand::before {
  content: "";
  position: absolute;
  left: -0.34rem;
  top: 50%;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 255, 154, 0.88) 0%, rgba(57, 235, 120, 0.58) 30%, rgba(36, 214, 109, 0.3) 52%, rgba(36, 214, 109, 0.12) 66%, rgba(36, 214, 109, 0) 82%);
  transform: translateY(-50%);
  filter: blur(12px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: brandLogoGlow 3.8s ease-in-out infinite;
}

.brand::after {
  content: "";
  position: absolute;
  left: -0.18rem;
  top: 50%;
  width: 3.12rem;
  height: 3.12rem;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 286deg, rgba(27, 12, 240, 0.1) 300deg, rgba(27, 12, 240, 0.96) 323deg, rgba(116, 103, 255, 0.98) 338deg, rgba(214, 223, 255, 0.9) 350deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 1.2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 1.2px));
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(27, 12, 240, 0.68));
  animation: brandLogoOrbit 4.6s linear infinite;
}

.brand > span {
  position: relative;
  z-index: 1;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(128, 255, 188, 0.5);
  background: radial-gradient(circle at 30% 30%, rgba(130, 255, 186, 0.48), transparent 52%), radial-gradient(circle at 70% 72%, rgba(36, 214, 109, 0.26), transparent 34%), var(--surface-strong);
  box-shadow: 0 0 0 1px rgba(91, 240, 156, 0.18), 0 0 22px rgba(59, 234, 134, 0.46), 0 0 46px rgba(36, 214, 109, 0.3), var(--shadow-soft);
  padding: 0.15rem;
}

.header-search-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 22rem;
  min-width: 15rem;
  max-width: 26rem;
}

.page-search-header {
  position: relative;
  display: block;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.page-search-header::before,
.page-search-header::after {
  display: none;
}

.page-search-header .page-search-form {
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.page-search-header .page-search-input-wrap {
  min-width: 0;
}

.page-search-header .page-search-input-wrap::after {
  width: 1.78rem;
  height: 1.48rem;
}

.page-search-header .page-search-form input {
  min-height: 2.5rem;
  padding: 0.66rem 0.86rem 0.66rem 2.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.button-search-compact {
  min-height: 2.06rem;
  padding: 0.4rem 0.78rem;
  font-size: 0.8rem;
  box-shadow: 0 14px 24px rgba(255, 20, 20, 0.2);
}

.page-search-feedback-header {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.55rem);
  z-index: 270;
}

.page-search-feedback-header .page-search-status {
  display: none;
}

.page-search-feedback-header .page-search-results {
  gap: 0.45rem;
  padding: 0.48rem;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.page-search-feedback-header .page-search-result {
  padding: 0.82rem 0.92rem;
  border-radius: 16px;
}

.page-search-feedback-header .page-search-result strong {
  font-size: 0.95rem;
}

.page-search-feedback-header .page-search-result span:last-child {
  font-size: 0.88rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(59, 130, 246, 0.2);
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  z-index: 4;
}

.page-inline-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.page-inline-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 0.84rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 84%, transparent);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.page-inline-nav a:hover,
.page-inline-nav a:focus-visible {
  transform: translateY(-1px);
  color: var(--primary-strong);
  border-color: var(--border-strong);
}

.page-inline-nav-home {
  min-width: 3.1rem;
  padding-inline: 0.62rem;
}

.nav-link-icon {
  display: inline-grid;
  place-items: center;
  width: 1.64rem;
  height: 1.64rem;
  line-height: 1;
}

.nav-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-link-button {
  padding: 0.72rem 0.95rem;
  white-space: nowrap;
  font-size: 0.95rem;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  display: none;
  width: min(14.5rem, calc(100vw - 2rem));
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 340;
}

.site-nav.is-open {
  display: block;
}

.nav-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.84rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 84%, transparent);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-icons {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
}

.theme-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-icon-sun {
  opacity: 1;
  transform: scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.7);
}

body[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.7);
}

body[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle:hover,
.theme-toggle:hover,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.nav-toggle {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  padding: 0;
}

.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 0.95rem;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: calc(50% - 1px);
}

.nav-toggle-bars span:nth-child(3) {
  top: calc(100% - 2px);
}

.nav-toggle.is-active .nav-toggle-bars span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bars span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.nav-toggle-text {
  display: none;
}

.nav-list,
.footer-links,
.hero-metrics,
.proof-items,
.project-points,
.contact-points,
.stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list {
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-list::-webkit-scrollbar,
.site-nav::-webkit-scrollbar {
  width: 0.55rem;
}

.nav-list::-webkit-scrollbar-thumb,
.site-nav::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--signal) 55%, transparent);
  border-radius: 999px;
}

.nav-list a,
.footer-links a,
.contact-points a {
  text-decoration: none;
  color: var(--text-soft);
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu-home .nav-link-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--primary-strong);
  background: color-mix(in srgb, var(--surface-soft) 76%, transparent);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.contact-points a:hover,
.contact-points a:focus-visible {
  color: var(--primary-strong);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4.8rem 0 2.7rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(59, 130, 246, 0.08), transparent 36%),
    radial-gradient(circle at 80% 16%, rgba(255, 20, 20, 0.11), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
  animation: heroOrbFloat 14s ease-in-out infinite;
}

.hero-orb-one {
  top: 2rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(34, 200, 58, 0.24), transparent 68%);
}

.hero-orb-two {
  bottom: 2rem;
  left: -5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 65%);
  animation-delay: -5.5s;
}

.hero-grid,
.form-layout,
.footer-grid,
.trust-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  grid-template-areas: "copy card";
  align-items: start;
}

.hero-copy {
  grid-area: copy;
  align-self: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--primary-strong);
}

h1,
h2,
h3,
summary {
  margin-top: 0;
  line-height: 1.08;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin-bottom: 1rem;
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3,
summary {
  margin-bottom: 0.65rem;
  font-size: 1.28rem;
}

.hero-text,
.section-heading p,
.info-card p,
.project-card p,
.quote-card p,
.step-card p,
.faq-card p,
.contact-panel p,
.site-footer p,
.hero-panel-list span,
.hero-mini-note p {
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.3rem;
}

.hero-actions .button {
  flex: 1 1 15.5rem;
}

.hero-primary-cta {
  min-height: 3.5rem;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 20px 44px rgba(200, 25, 25, 0.28);
}

.hero-cta-note {
  margin: -0.45rem 0 1.15rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-mini-note {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  box-shadow: var(--shadow-soft);
}

.hero-mini-note p {
  margin: 0;
}

.hero-mini-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(34, 200, 58, 0.08);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.24) 32%, transparent 58%);
  transform: translateX(-140%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(135%);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--signal), var(--signal-strong));
  box-shadow: 0 20px 42px rgba(255, 20, 20, 0.34);
}

body[data-theme="dark"] .button-primary {
  background: linear-gradient(135deg, #ff3b3b, #ff0f0f);
  box-shadow: 0 20px 46px rgba(255, 34, 34, 0.42);
}

.button-secondary {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  color: var(--accent);
}

.button-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-strong));
  box-shadow: 0 18px 36px rgba(18, 140, 74, 0.24);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.button-icon svg,
.floating-button-whatsapp svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.button-full {
  width: 100%;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-metrics li,
.hero-card,
.info-card,
.project-card,
.quote-card,
.step-card,
.stack-card,
.impact-card,
.faq-card,
.contact-form,
.contact-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-metrics li {
  display: grid;
  gap: 0.2rem;
  min-width: 10rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  color: var(--primary-strong);
  font-size: 1.55rem;
}

.hero-proof-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-proof-inline span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.82rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft) 76%, transparent);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-card {
  position: relative;
  grid-area: card;
  align-self: start;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 1.2rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 72%, rgba(59, 130, 246, 0.1));
  opacity: 0.9;
  pointer-events: none;
}

.hero-card-badge,
.project-label,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
}

.hero-card-badge,
.project-label {
  background: color-mix(in srgb, var(--signal) 24%, var(--surface-soft));
  color: var(--signal-strong);
}

body[data-theme="dark"] .hero-card-badge,
body[data-theme="dark"] .project-label,
body[data-theme="dark"] .package-badge {
  background: color-mix(in srgb, var(--signal) 34%, var(--surface-soft));
  color: #ffe3e3;
}

.hero-panel-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.hero-panel-list div {
  display: grid;
  gap: 0.12rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 74%, transparent);
}

.hero-panel-list strong {
  font-size: 1rem;
}

.hero-special {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), color-mix(in srgb, var(--surface-soft) 55%, transparent));
  overflow: hidden;
}

.hero-special::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-special-head {
  display: grid;
  gap: 0.18rem;
}

.hero-special-head span {
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-special-head strong {
  font-size: 1rem;
}

.hero-special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-special-card {
  position: relative;
  display: grid;
  gap: 0.5rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-special-card::after {
  content: "";
  position: absolute;
  inset: auto -1.4rem -1.8rem auto;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 36, 95, 0.2), transparent 72%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.hero-special-card:hover,
.hero-special-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 44px rgba(10, 24, 53, 0.16);
}

.hero-special-card:hover::after,
.hero-special-card:focus-within::after {
  opacity: 1;
}

.hero-special-card p,
.hero-special-card h3 {
  margin: 0;
}

.hero-special-card p {
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-special-card h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.hero-special-card a {
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.hero-special-card-featured {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.08));
}

.hero-special-card-accent {
  background: linear-gradient(135deg, rgba(255, 95, 127, 0.18), rgba(59, 130, 246, 0.08));
}

.page-search {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 88%, transparent), color-mix(in srgb, var(--surface) 92%, transparent));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-search::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.16) 24%, transparent 48%);
  transform: translateX(-120%);
  animation: searchSheen 10.5s ease-in-out infinite;
  pointer-events: none;
}

.page-search::after {
  content: "";
  position: absolute;
  inset: auto -2.2rem -2.5rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 95, 127, 0.2), transparent 70%);
  pointer-events: none;
}

.page-search-copy {
  max-width: 48rem;
}

.page-search-kicker {
  margin: 0;
  color: var(--primary-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.page-search-input-wrap {
  position: relative;
  display: block;
}

.page-search-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--primary-strong);
  transform: translateY(-50%);
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.28));
}

.page-search-input-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-search-input-wrap::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.24), rgba(96, 165, 250, 0) 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.page-search-form input {
  width: 100%;
  min-height: 3rem;
  padding: 0.82rem 1rem 0.82rem 3rem;
  border: 1px solid rgba(66, 91, 128, 0.34);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.page-search-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.08);
}

.page-search-form input::placeholder {
  color: var(--text-soft);
}

.page-search-feedback {
  display: grid;
  gap: 0.8rem;
}

.page-search-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.page-search-results {
  display: grid;
  gap: 0.8rem;
}

.page-search-results[hidden] {
  display: none !important;
}

.page-search-result {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.page-search-result:hover,
.page-search-result:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.page-search-result-tag {
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-search-result strong {
  font-size: 1rem;
}

.page-search-result span:last-child {
  color: var(--text-soft);
}

.search-target-flash {
  position: relative;
  border-radius: 24px;
  animation: searchTargetFlash 1.8s ease;
}

@keyframes searchTargetFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.32);
    background-color: rgba(59, 130, 246, 0);
    transform: translateY(0);
  }

  38% {
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.52), 0 16px 34px rgba(59, 130, 246, 0.16);
    background-color: rgba(59, 130, 246, 0.08);
    transform: translateY(-4px);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    background-color: rgba(59, 130, 246, 0);
    transform: translateY(0);
  }
}

.proof-strip {
  padding: 0.75rem 0 1.75rem;
}

.proof-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.proof-items span {
  position: relative;
  overflow: hidden;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  color: var(--text-soft);
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
  animation: proofChipFloat 5.2s ease-in-out infinite;
}

.proof-items span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 70%);
  transform: translateX(-140%);
  transition: transform 380ms ease;
}

.proof-items span:hover,
.proof-items span:focus-visible {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 28px rgba(10, 24, 53, 0.12);
  color: var(--primary-strong);
}

.proof-items span:hover::after,
.proof-items span:focus-visible::after {
  transform: translateX(140%);
}

.proof-items span:nth-child(2n) {
  animation-delay: 0.35s;
}

.proof-items span:nth-child(3n) {
  animation-delay: 0.7s;
}

@keyframes proofChipFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.section {
  padding: 2rem 0 4.75rem;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto;
  height: calc(100% - 2rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 70%, transparent), transparent);
  z-index: -1;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.section-heading.compact h2,
.contact-panel h2,
.hero-card h2 {
  position: relative;
  display: inline-block;
}

.section-heading h2::after,
.section-heading.compact h2::after,
.contact-panel h2::after,
.hero-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: min(8.5rem, 42%);
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal), rgba(59, 130, 246, 0.65));
  box-shadow: 0 0 18px rgba(255, 20, 20, 0.18);
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-note {
  max-width: 48rem;
  margin: 0.65rem 0 0;
  color: var(--text-soft);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.two-columns,
.form-layout,
.footer-grid,
.trust-grid,
.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.project-card,
.quote-card,
.step-card,
.stack-card,
.impact-card,
.faq-card,
.contact-panel,
.contact-form {
  padding: 1.55rem;
  border-radius: var(--radius-md);
}

.info-card,
.project-card,
.quote-card,
.step-card,
.stack-card,
.impact-card,
.faq-card,
.contact-panel,
.contact-form,
.hero-card,
.hero-metrics li {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card:hover,
.project-card:hover,
.quote-card:hover,
.step-card:hover,
.stack-card:hover,
.impact-card:hover,
.faq-card:hover,
.contact-panel:hover,
.contact-form:hover,
.hero-card:hover,
.hero-metrics li:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px rgba(10, 24, 53, 0.18);
}

.info-card,
.step-card,
.project-card,
.stack-card,
.impact-card {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.step-card::before,
.project-card::before,
.stack-card::before,
.impact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.info-card::after,
.step-card::after,
.project-card::after,
.stack-card::after,
.impact-card::after,
.contact-panel::after,
.contact-form::after {
  content: "";
  position: absolute;
  inset: auto -18% -34% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 68%);
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.info-card:hover::after,
.step-card:hover::after,
.project-card:hover::after,
.stack-card:hover::after,
.impact-card:hover::after,
.contact-panel:hover::after,
.contact-form:hover::after {
  opacity: 1;
  transform: translate3d(-10px, -10px, 0);
}

.step-card {
  min-height: 100%;
}

.step-number {
  margin-bottom: 1rem;
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.project-points,
.contact-points,
.stack-list {
  display: grid;
  gap: 0.7rem;
}

.project-points {
  margin: 1rem 0 1.2rem;
}

.project-points li,
.contact-points li,
.stack-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.project-points li::before,
.contact-points li::before,
.stack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
}

.project-card a {
  color: var(--primary-strong);
  font-weight: 700;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: 1.2rem;
}

.project-links a {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.compact-links {
  margin-top: 0.35rem;
}

.case-study-card {
  min-height: 100%;
}

.case-stage + .case-stage {
  margin-top: 1rem;
}

.case-stage strong {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.resource-card a,
.sponsor-card a {
  color: var(--primary-strong);
  font-weight: 700;
}

.package-card.is-featured {
  border-color: rgba(255, 20, 20, 0.52);
  box-shadow: 0 24px 60px rgba(255, 20, 20, 0.22);
}

.package-badge {
  display: inline-flex;
  align-self: start;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 20, 20, 0.22), rgba(199, 0, 0, 0.32));
  color: var(--signal-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.resource-card,
.guide-card,
.package-card,
.sponsor-card {
  min-height: 100%;
}

.guide-card a {
  color: var(--primary-strong);
  font-weight: 700;
}

.disclosure-note {
  max-width: 760px;
  margin: 1.1rem 0 0;
  color: var(--text-soft);
}

.page-hero {
  padding: 4.4rem 0 2rem;
}

.page-hero .section-heading {
  max-width: 780px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.article-content,
.article-sidebar,
.article-card,
.article-callout {
  padding: 1.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.article-content h2,
.article-content h3 {
  margin-top: 0;
}

.article-content section + section {
  margin-top: 1.4rem;
}

.article-content p,
.article-content li,
.article-sidebar p,
.article-sidebar li {
  color: var(--text-soft);
}

.article-list,
.article-links,
.article-checklist {
  margin: 0;
  padding-left: 1.15rem;
}

.article-links {
  display: grid;
  gap: 0.7rem;
}

.article-links a,
.article-content a,
.article-sidebar a {
  color: var(--primary-strong);
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.article-meta span {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft) 78%, transparent);
  color: var(--primary-strong);
  font-weight: 700;
}

.article-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}

.article-sidebar h3,
.article-card h3,
.article-callout h3 {
  margin: 0;
}

.article-callout {
  margin-top: 1.5rem;
}

.article-checklist li + li,
.article-list li + li {
  margin-top: 0.6rem;
}

.quote-card {
  position: relative;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  color: rgba(255, 95, 127, 0.16);
  font-size: 3rem;
}

body[data-theme="dark"] .quote-card::before {
  color: rgba(255, 80, 128, 0.24);
}

.faq-card details {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.faq-card details:first-of-type {
  border-top: 0;
  padding-top: 0.25rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
}

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

.section-form {
  padding-top: 3.3rem;
}

#contacto,
#contactForm,
#casos {
  scroll-margin-top: 6.8rem;
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.15rem;
}

.contact-points span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text-soft);
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem;
  padding: 1.8rem;
}

.contact-form > * {
  min-width: 0;
}

.field-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field-group label {
  display: block;
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(66, 91, 128, 0.34);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  color: var(--text);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible,
.button:focus-visible,
.nav-list a:focus-visible,
.footer-links a:focus-visible,
.contact-points a:focus-visible,
.faq-card summary:focus-visible,
.floating-button:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.42);
  outline-offset: 2px;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.08);
}

.field-group input[aria-invalid="true"],
.field-group select[aria-invalid="true"],
.field-group textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-help {
  display: block;
  color: var(--text-soft);
}

.field-group textarea {
  min-height: 10rem;
  resize: vertical;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.checkbox-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.3rem;
}

.honeypot {
  display: none !important;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.form-fallback-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-soft) 78%, transparent);
}

.form-fallback-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.site-footer {
  padding: 2.6rem 0 2.8rem;
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.footer-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer p,
.site-footer a {
  color: var(--text-inverse);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-data {
  display: grid;
  gap: 0.35rem;
}

.footer-data p {
  margin: 0;
}

.footer-data strong {
  color: #ffffff;
}

.footer-data a {
  word-break: break-word;
}

.footer-copy {
  justify-self: end;
  align-self: end;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1), transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="left"] {
  transform: translateX(28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.floating-actions {
  position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 320;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

body:not(.has-scroll-top) .floating-actions {
  bottom: max(0.55rem, env(safe-area-inset-bottom));
}

.assistant-shell {
  position: relative;
  width: auto;
  max-width: none;
}

.assistant-toggle-hint {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  display: grid;
  gap: 0.18rem;
  max-width: min(15.2rem, calc(100vw - 2rem));
  padding: 0.82rem 0.98rem;
  border: 1px solid rgba(115, 198, 255, 0.34);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 23, 46, 0.96), rgba(16, 40, 72, 0.94));
  color: #eef6ff;
  box-shadow: 0 18px 34px rgba(8, 22, 48, 0.28), 0 0 0 1px rgba(73, 196, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.assistant-toggle-hint strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
}

.assistant-toggle-hint span:last-child {
  color: rgba(229, 241, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 600;
}

.assistant-toggle-hint-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 232, 213, 0.22), rgba(91, 124, 255, 0.22));
  color: #96f8ee;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assistant-toggle-hint::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: calc(100% - 0.2rem);
  width: 0.95rem;
  height: 0.95rem;
  border-right: 1px solid rgba(115, 198, 255, 0.34);
  border-bottom: 1px solid rgba(115, 198, 255, 0.34);
  background: rgba(14, 34, 61, 0.98);
  transform: rotate(45deg);
}

.assistant-shell.has-nudge .assistant-toggle-hint {
  opacity: 1;
  transform: translateY(0);
  animation: assistantHintPop 1.1s cubic-bezier(0.22, 1, 0.36, 1) 3;
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 4rem;
  z-index: 325;
  width: min(24rem, calc(100vw - 1rem));
  max-height: min(32rem, calc(100vh - 7rem));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background: color-mix(in srgb, var(--bg-elevated) 95%, transparent);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 180ms ease, transform 180ms ease;
}

.assistant-shell.is-open .assistant-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.assistant-header h2 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.assistant-eyebrow {
  margin: 0;
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.assistant-close,
.assistant-send,
.assistant-chip {
  border: 0;
  cursor: pointer;
}

.assistant-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-strong) 85%, transparent);
  color: var(--text-soft);
}

.assistant-messages {
  display: grid;
  gap: 0.75rem;
  min-height: 0;
  max-height: min(16rem, calc(100vh - 18rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
}

.assistant-message {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.assistant-message p {
  margin: 0;
}

.assistant-message-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.assistant-message-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.78rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.assistant-message-bot {
  background: color-mix(in srgb, var(--surface-soft) 76%, transparent);
  border: 1px solid var(--border);
}

.assistant-message-user {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
}

body[data-theme="dark"] .assistant-message-user {
  background: linear-gradient(135deg, #178f38, #0f6fff);
}

.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.assistant-chip {
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--text-soft);
  font-weight: 700;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.assistant-form input {
  min-width: 0;
  padding: 0.86rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
  color: var(--text);
}

.assistant-send {
  padding: 0.86rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--signal), var(--signal-strong));
  color: #ffffff;
  font-weight: 800;
}

.floating-button.assistant-toggle {
  position: relative;
  width: 3.45rem;
  min-width: 3.45rem;
  max-width: 3.45rem;
  height: 3.45rem;
  min-height: 3.45rem;
  justify-content: center;
  padding: 0.18rem;
  gap: 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, #20e8d5 0%, #2fa8ff 34%, #4b6dff 63%, #d84ad8 100%);
  box-shadow: 0 14px 30px rgba(10, 24, 53, 0.22), 0 3px 10px rgba(216, 74, 216, 0.18);
  font-weight: 900;
  line-height: 1;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, filter 220ms ease;
}

.floating-button.assistant-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.03));
  z-index: 0;
  opacity: 0.78;
}

.floating-button.assistant-toggle::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 0.16rem;
  height: 32%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  z-index: 0;
}

.assistant-toggle-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 100%;
  padding: 0.42rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  color: #7a7f88;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(193, 201, 214, 0.5), 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: assistantToggleBreath 4.8s ease-in-out infinite;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.assistant-toggle-inner::after {
  content: "";
  position: absolute;
  top: -28%;
  bottom: -28%;
  left: -42%;
  width: 26%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0));
  transform: skewX(-24deg);
  opacity: 0;
  animation: assistantMirrorSweep 7.2s ease-in-out infinite;
  pointer-events: none;
}

.floating-button.assistant-toggle:hover,
.floating-button.assistant-toggle:focus-visible {
  background: linear-gradient(90deg, #30ecd8 0%, #40b1ff 34%, #5b7cff 63%, #e85cdc 100%);
  color: inherit;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 20px 38px rgba(10, 24, 53, 0.28), 0 5px 14px rgba(216, 74, 216, 0.24);
  filter: saturate(1.08);
}

body[data-theme="dark"] .floating-button.assistant-toggle:hover,
body[data-theme="dark"] .floating-button.assistant-toggle:focus-visible {
  background: linear-gradient(90deg, #30ecd8 0%, #40b1ff 34%, #5b7cff 63%, #e85cdc 100%);
  color: inherit;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 20px 40px rgba(10, 24, 53, 0.32), 0 5px 14px rgba(216, 74, 216, 0.26);
  filter: saturate(1.08);
}

.floating-button.assistant-toggle:hover .assistant-toggle-inner,
.floating-button.assistant-toggle:focus-visible .assistant-toggle-inner {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(193, 201, 214, 0.46), 0 4px 14px rgba(64, 177, 255, 0.12);
}

.floating-button.assistant-toggle:hover .assistant-toggle-inner::after,
.floating-button.assistant-toggle:focus-visible .assistant-toggle-inner::after {
  animation-duration: 2.2s;
}

.floating-button.assistant-toggle:hover .assistant-toggle-icon,
.floating-button.assistant-toggle:focus-visible .assistant-toggle-icon {
  transform: scale(1.08) rotate(5deg);
  color: #757a85;
}

.assistant-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.72rem;
  height: 1.72rem;
  flex: 0 0 auto;
  color: #8a8d93;
  animation: assistantSparkleTwinkle 3.4s ease-in-out infinite;
  transition: transform 220ms ease, color 220ms ease;
}

.assistant-toggle-icon svg {
  width: 1.56rem;
  height: 1.56rem;
  overflow: visible;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.32));
}

.assistant-star {
  stroke: rgba(113, 118, 132, 0.18);
  stroke-width: 0.25;
}

.assistant-star-soft {
  fill: #9a8cff;
}

.assistant-star-cool {
  fill: #49cfff;
}

.assistant-star-warm {
  fill: #ffd470;
}

.assistant-toggle-label {
  display: none;
}

.assistant-shell.has-nudge .assistant-toggle {
  animation: assistantTogglePulse 1.45s cubic-bezier(0.22, 1, 0.36, 1) 4;
}

.assistant-shell.has-nudge .assistant-toggle-inner::after {
  animation-duration: 1.8s;
  animation-iteration-count: 3;
}

.assistant-shell.has-nudge .assistant-toggle-icon {
  animation-duration: 1.15s;
}

@keyframes assistantToggleBreath {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(193, 201, 214, 0.5), 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  50% {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(193, 201, 214, 0.5), 0 3px 10px rgba(63, 118, 255, 0.08);
  }
}

@keyframes assistantSparkleTwinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.88;
  }

  50% {
    transform: scale(1.06) rotate(6deg);
    opacity: 1;
  }
}

@keyframes assistantHintPop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  35% {
    transform: translateY(-6px) scale(1.03);
  }

  65% {
    transform: translateY(0) scale(0.99);
  }
}

@keyframes assistantMirrorSweep {
  0%,
  100% {
    left: -42%;
    opacity: 0;
  }

  14% {
    opacity: 0;
  }

  28% {
    left: 112%;
    opacity: 0.46;
  }

  29%,
  99% {
    opacity: 0;
  }
}

@keyframes assistantTogglePulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 14px 30px rgba(10, 24, 53, 0.22), 0 3px 10px rgba(216, 74, 216, 0.18);
  }

  24% {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 0 8px rgba(48, 236, 216, 0.12), 0 20px 34px rgba(10, 24, 53, 0.24), 0 6px 16px rgba(216, 74, 216, 0.2);
  }

  48% {
    transform: translateY(-1px) scale(1.065);
    box-shadow: 0 0 0 14px rgba(91, 124, 255, 0.09), 0 24px 40px rgba(10, 24, 53, 0.28), 0 8px 18px rgba(216, 74, 216, 0.24);
  }

  72% {
    transform: translateY(0) scale(0.985);
    box-shadow: 0 0 0 5px rgba(232, 92, 220, 0.08), 0 16px 28px rgba(10, 24, 53, 0.2);
  }
}

.assistant-prefill-note {
  margin: 0.9rem 0 0;
  padding: 0.82rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--primary-strong);
  font-weight: 700;
}

.floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-strong) 84%, transparent);
  color: var(--primary-strong);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body.nav-open .floating-actions {
  z-index: 150;
}

.floating-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-button-whatsapp {
  border: 0;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-strong));
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(18, 140, 74, 0.24);
}

.floating-button-whatsapp svg {
  width: 1.3rem;
  height: 1.3rem;
}

.floating-button:hover,
.floating-button:focus-visible {
  box-shadow: 0 18px 28px rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
}

body[data-theme="dark"] .floating-button:hover,
body[data-theme="dark"] .floating-button:focus-visible {
  box-shadow: 0 18px 32px rgba(255, 36, 95, 0.32);
  background: linear-gradient(135deg, var(--signal), var(--signal-strong));
}

.floating-button-whatsapp:hover,
.floating-button-whatsapp:focus-visible,
body[data-theme="dark"] .floating-button-whatsapp:hover,
body[data-theme="dark"] .floating-button-whatsapp:focus-visible {
  background: linear-gradient(135deg, #3be47a, #13a757);
  box-shadow: 0 20px 36px rgba(18, 140, 74, 0.32);
  color: #ffffff;
}

@keyframes navSheen {
  0%,
  100% {
    transform: translateX(-130%);
    opacity: 0;
  }

  14% {
    opacity: 0;
  }

  28% {
    transform: translateX(130%);
    opacity: 1;
  }

  29%,
  100% {
    opacity: 0;
  }
}

@keyframes brandLogoGlow {
  0%,
  100% {
    opacity: 0.94;
    transform: translateY(-50%) scale(0.99);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
  }
}

@keyframes brandLogoOrbit {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes heroOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -14px, 0) scale(1.05);
  }
}

@keyframes searchSheen {
  0%,
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }

  18% {
    opacity: 0;
  }

  32% {
    transform: translateX(120%);
    opacity: 1;
  }

  33%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 1120px) {
  .page-inline-nav {
    display: none;
  }

  .header-search-wrap {
    max-width: 22rem;
  }
}

@media (max-width: 980px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .header-search-wrap {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }

  .page-search-feedback-header {
    position: static;
    margin-top: 0.45rem;
  }

  .page-search-header {
    width: 100%;
  }

  .hero-grid,
  .three-columns,
  .four-columns,
  .two-columns,
  .article-layout,
  .stack-grid,
  .impact-grid,
  .form-layout,
  .footer-grid,
  .trust-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    top: auto;
  }

  .footer-copy {
    justify-self: start;
  }

  .hero-special-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "card";
  }

  .hero-card {
    grid-column: auto;
    grid-row: auto;
  }

  .page-search-form {
    grid-template-columns: 1fr;
  }

  .page-search-form .button {
    grid-column: auto;
  }

  .contact-direct-actions .button {
    flex: 1 1 14rem;
  }
}

@media (max-width: 760px) {
  .nav-wrapper {
    position: relative;
    align-items: center;
    border-radius: 26px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 0.42rem;
  }

  h1,
  h2,
  h3,
  .hero-text,
  .hero-card h2,
  .hero-special-card h3,
  .project-card h3,
  .info-card h3,
  .stack-card h3,
  .step-card h3,
  .quote-card p,
  .button,
  .project-links a,
  .contact-direct-actions .button {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  main {
    padding-bottom: 5.8rem;
  }

  .nav-wrapper {
    padding: 0.58rem 0.68rem;
  }

  .header-actions {
    gap: 0.42rem;
    margin-left: auto;
  }

  .header-search-wrap {
    min-width: 0;
  }

  .page-search-header .page-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-search-header .page-search-form .button {
    width: auto;
  }

  .page-search-header .page-search-form input {
    min-height: 2.2rem;
    padding: 0.6rem 0.78rem 0.6rem 2.44rem;
    font-size: 0.84rem;
  }

  .button-search-compact {
    min-height: 2.2rem;
    padding: 0.58rem 0.8rem;
    font-size: 0.8rem;
  }

  .header-link-button {
    padding: 0.58rem 0.82rem;
    font-size: 0.88rem;
  }

  .theme-toggle,
  .nav-toggle {
    padding: 0.7rem 0.82rem;
  }

  .nav-toggle {
    width: 3rem;
    height: 3rem;
  }

  .hero {
    padding-top: 3.1rem;
  }

  h1 {
    max-width: none;
  }

  .hero-actions,
  .hero-metrics,
  .hero-proof-inline,
  .proof-items {
    align-items: stretch;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-metrics li {
    min-width: 0;
    width: 100%;
    padding: 0.9rem 0.95rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-direct-actions .button {
    width: 100%;
  }

  .hero-proof-inline span {
    width: 100%;
    justify-content: center;
  }

  .page-search {
    padding: 0.95rem;
    border-radius: 24px;
  }

  .page-search-hero {
    margin: 1.1rem 0 1.35rem;
  }

  .page-search-form {
    grid-template-columns: 1fr;
  }

  .page-search-form .button {
    width: 100%;
  }

  .page-search-input-icon {
    left: 0.92rem;
    width: 1.3rem;
    height: 1.3rem;
  }

  .hero-mini-note {
    align-items: flex-start;
    border-radius: 20px;
  }

  .contact-form,
  .contact-panel,
  .hero-card,
  .info-card,
  .project-card,
  .quote-card,
  .step-card,
  .faq-card {
    padding: 1.25rem;
  }

  .assistant-panel {
    width: min(22rem, calc(100vw - 1rem));
    bottom: 4.1rem;
  }

  .assistant-messages {
    max-height: min(13.5rem, calc(100vh - 17.5rem));
  }

  .floating-actions {
    right: max(0.45rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }

  body:not(.has-scroll-top) .floating-actions {
    bottom: max(0.45rem, env(safe-area-inset-bottom));
  }

  .assistant-shell {
    order: 1;
    width: auto;
    max-width: none;
  }

  #scrollTopButton {
    order: 2;
  }

  .floating-button.assistant-toggle {
    width: 3rem;
    min-width: 3rem;
    max-width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0.18rem;
    border-radius: 50%;
  }

  .floating-button,
  .floating-button-whatsapp,
  #scrollTopButton {
    width: 2.85rem;
    height: 2.85rem;
  }

  .assistant-toggle-inner {
    min-height: 100%;
    gap: 0;
    padding: 0.32rem;
    border-radius: 50%;
  }

  .assistant-toggle-icon {
    width: 1.32rem;
    height: 1.32rem;
  }

  .assistant-toggle-icon svg {
    width: 1.06rem;
    height: 1.06rem;
  }

  .assistant-toggle-label {
    display: none;
  }

  .assistant-toggle-hint {
    max-width: 12rem;
    font-size: 0.82rem;
  }

  .assistant-form {
    grid-template-columns: 1fr;
  }
}
