/* ==========================================================
   AMVA Web Studio - Premium Static Website
   Pure HTML/CSS/JS, mobile-first, Netlify-ready.
   ========================================================== */

:root {
  --primary: #5b6188;
  --primary-dark: #323855;
  --accent: #1a2bff;
  --accent-2: #6b75ff;
  --white: #ffffff;
  --light: #f5f6fa;
  --ink: #111421;
  --muted: #62687d;
  --line: #e5e8f2;
  --soft-blue: #eef1ff;
  --success: #18a058;
  --warning: #fff7df;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(17, 20, 33, 0.12);
  --shadow-soft: 0 10px 30px rgba(17, 20, 33, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.03;
}

p {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid rgba(26, 43, 255, 0.45);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

.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;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 82px 0;
  overflow: hidden;
}

.section--light {
  background: var(--light);
}

.section--tight {
  padding: 56px 0;
}

.section-head {
  width: min(720px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.section-head p {
  font-size: clamp(1rem, 2vw, 1.18rem);
}

/* Loading animation */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(26, 43, 255, 0.12), transparent 34%),
    var(--white);
  transition: opacity 420ms var(--ease), visibility 420ms var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__mark {
  position: relative;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(91, 97, 136, 0.2);
  border-radius: 50%;
  animation: rotate 1200ms linear infinite;
}

.loader__mark::before,
.loader__mark::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 8px;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-left-color: var(--primary);
}

.loader__mark::after {
  inset: 27px;
  background: var(--accent);
  border: 0;
  box-shadow: 0 0 30px rgba(26, 43, 255, 0.4);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Abstract tech background */
.mesh {
  position: relative;
  isolation: isolate;
}

.mesh::before,
.mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.mesh::before {
  background-image:
    linear-gradient(110deg, rgba(91, 97, 136, 0.09) 1px, transparent 1px),
    linear-gradient(250deg, rgba(91, 97, 136, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgba(26, 43, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(91, 97, 136, 0.14), transparent 32%);
  background-size: 58px 58px, 58px 58px, 100% 100%, 100% 100%;
}

.mesh::after {
  z-index: -1;
  opacity: 0.34;
  background:
    radial-gradient(circle at 16% 36%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 28% 24%, var(--primary) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 42%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(115deg, transparent 0 38%, rgba(26, 43, 255, 0.22) 38.1% 38.3%, transparent 38.4%),
    linear-gradient(28deg, transparent 0 62%, rgba(91, 97, 136, 0.2) 62.1% 62.3%, transparent 62.4%);
}

.glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(26, 43, 255, 0.16), transparent 68%);
  transition: opacity 220ms var(--ease);
  mix-blend-mode: multiply;
}

body.has-pointer .glow {
  opacity: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(160%);
  transition: box-shadow 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(17, 20, 33, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--accent);
  background: rgba(26, 43, 255, 0.07);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav__cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: grid;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 280ms var(--ease), border-color 220ms var(--ease), padding 220ms var(--ease);
}

.mobile-panel.is-open {
  max-height: 380px;
  padding: 12px 0 18px;
  border-color: var(--line);
}

.mobile-panel a {
  padding: 13px 20px;
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 800;
}

.mobile-panel a.is-active {
  color: var(--accent);
  background: var(--soft-blue);
}

/* Buttons and toggles */
.btn,
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.btn {
  padding: 15px 22px;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), #4655ff);
  box-shadow: 0 16px 34px rgba(26, 43, 255, 0.24);
}

.btn--primary:hover,
.btn--secondary:hover,
.btn--light:hover,
.lang-toggle:hover {
  transform: translateY(-2px);
}

.btn--secondary {
  color: var(--accent);
  background: var(--white);
  border: 1px solid rgba(26, 43, 255, 0.18);
  box-shadow: 0 10px 24px rgba(17, 20, 33, 0.06);
}

.btn--dark {
  color: var(--white);
  background: var(--ink);
}

.btn--light {
  color: var(--accent);
  background: var(--white);
}

.btn--wide {
  width: 100%;
}

.ripple {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 650ms var(--ease);
}

.btn--secondary .ripple,
.lang-toggle .ripple {
  background: rgba(26, 43, 255, 0.16);
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

.lang-toggle {
  min-height: 42px;
  padding: 6px;
  color: var(--primary-dark);
  background: var(--light);
  border: 1px solid var(--line);
}

.lang-toggle__track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 74px;
  height: 30px;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.lang-toggle__knob {
  position: absolute;
  inset: 3px auto 3px 3px;
  width: 34px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(26, 43, 255, 0.25);
  transition: transform 260ms var(--ease);
}

html[lang="es"] .lang-toggle__knob {
  transform: translateX(34px);
}

.lang-toggle__code {
  position: relative;
  z-index: 1;
}

.lang-toggle__code:first-of-type {
  color: var(--white);
}

html[lang="es"] .lang-toggle__code:first-of-type {
  color: var(--primary-dark);
}

html[lang="es"] .lang-toggle__code:last-of-type {
  color: var(--white);
}

/* Hero */
.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 72px 0 84px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.65rem, 10.5vw, 6rem);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--accent), var(--primary), var(--accent));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientFlow 8s linear infinite;
}

@keyframes gradientFlow {
  to {
    background-position: 220% 0;
  }
}

.hero__copy {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.stat {
  padding: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(229, 232, 242, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(17, 20, 33, 0.06);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.orbit-card,
.browser-card,
.metric-chip,
.floating-node {
  position: absolute;
  border: 1px solid rgba(229, 232, 242, 0.9);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.browser-card {
  inset: 34px 0 auto auto;
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: var(--radius);
  animation: floatY 7s var(--ease) infinite;
}

.browser-card__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
}

.browser-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9ddeb;
}

.browser-card__screen {
  padding: 24px;
}

.visual-hero-block {
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(26, 43, 255, 0.11), transparent 42%),
    var(--light);
}

.visual-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(91, 97, 136, 0.14));
}

.visual-line:nth-child(1) {
  width: 72%;
  height: 30px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.visual-line:nth-child(2) {
  width: 55%;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.visual-tile {
  min-height: 90px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(229, 232, 242, 0.86);
}

.orbit-card {
  right: 22px;
  bottom: 16px;
  width: 190px;
  padding: 17px;
  border-radius: var(--radius);
  animation: floatY 6s var(--ease) infinite reverse;
}

.orbit-card strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.orbit-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.metric-chip {
  left: 0;
  bottom: 72px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 850;
  animation: floatY 8s var(--ease) infinite;
}

.metric-chip i {
  color: var(--accent);
}

.floating-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(26, 43, 255, 0.1);
}

.floating-node.n1 {
  top: 8px;
  right: 22%;
}

.floating-node.n2 {
  left: 12%;
  top: 140px;
  background: var(--primary);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 20, 33, 0.04);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(26, 43, 255, 0.13), transparent 38%);
  transition: opacity 240ms var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(26, 43, 255, 0.26);
  box-shadow: var(--shadow-soft);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--accent);
  background: var(--soft-blue);
  border-radius: var(--radius);
}

.card__icon i {
  font-size: 1.18rem;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.98rem;
}

.link-card {
  color: inherit;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 850;
}

.media-card {
  padding: 0;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--light);
}

.media-card__body {
  padding: 24px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--primary-dark);
  font-weight: 750;
}

.feature-list i {
  color: var(--accent);
  margin-top: 4px;
}

/* Process */
.process {
  counter-reset: step;
}

.process .card {
  padding-top: 64px;
}

.process .card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  left: 24px;
  color: rgba(26, 43, 255, 0.2);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}


/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.price-card.is-featured {
  border-color: rgba(26, 43, 255, 0.55);
  box-shadow: 0 24px 70px rgba(26, 43, 255, 0.16);
  transform: translateY(-4px);
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 20px 0 6px;
}

.price strong {
  font-size: 3rem;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.price-note {
  min-height: 24px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.price-card .feature-list {
  flex: 1;
  margin: 24px 0;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison th {
  color: var(--ink);
  background: var(--light);
  font-size: 0.9rem;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison i {
  color: var(--accent);
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  width: min(850px, 100%);
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 850;
}

.faq__question i {
  color: var(--accent);
  transition: transform 220ms var(--ease);
}

.faq__item.is-open .faq__question i {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms var(--ease);
}

.faq__answer p {
  padding: 0 20px 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-item i {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  color: var(--accent);
  background: var(--soft-blue);
  border-radius: var(--radius);
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  color: var(--muted);
}

.placeholder {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #8a5b00;
  background: var(--warning);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--light);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: rgba(26, 43, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(26, 43, 255, 0.08);
  outline: 0;
}

.form-success {
  display: none;
  margin-bottom: 16px;
  padding: 14px;
  color: #0b6b38;
  background: #eafaf1;
  border: 1px solid #bfebd0;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-success.is-visible {
  display: block;
}

/* CTA and footer */
.cta-band {
  padding: 76px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 48%, var(--accent));
  text-align: center;
}

.cta-band h2 {
  width: min(820px, 100%);
  margin: 0 auto 16px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.cta-band p {
  width: min(620px, 100%);
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  background: #111421;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer-brand img {
  width: 170px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 16px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-brand p {
  max-width: 390px;
  color: var(--muted);
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-col a,
.footer-col button {
  display: flex;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 650;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  will-change: transform;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .glow {
    display: none;
  }
}

/* Responsive */
@media (min-width: 700px) {
  .container {
    width: min(100% - 56px, var(--max));
  }

  .hero__proof,
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field--full {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr;
  }
}

@media (min-width: 960px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }

  .menu-toggle,
  .mobile-panel {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  }

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

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

  .contact-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand img {
    width: 126px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__proof {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 350px;
  }

  .orbit-card,
  .metric-chip {
    display: none;
  }

  .browser-card {
    inset: 0 0 auto;
  }
}

/* ==========================================================
   Page & component refinements
   ========================================================== */
.visual-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.mini-price {
  align-items: baseline;
  margin: 18px 0 0;
}

.mini-price strong {
  font-size: 2rem;
}

.pricing-grid--items {
  margin-top: 32px;
}

/* Requested responsive polish */
.hero__proof--lively .stat strong {
  font-size: clamp(1.8rem, 4.8vw, 2.8rem);
}

.work-grid .media-card img {
  aspect-ratio: 4 / 3;
}

.hero__proof--lively .stat:first-child strong {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.hero__proof--lively .stat .stat__caps {
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
}

.align-center {
  align-items: center;
}

.hero__actions--center {
  justify-content: center;
}

.btn--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.service-list-grid .card,
.add-on-grid .card {
  min-height: 100%;
}

/* Staggered reveal for grid children: content arrives in reading order
   instead of all at once, without touching the reduced-motion opt-out. */
.grid.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.grid.reveal-stagger > *:nth-child(2) { transition-delay: 70ms; }
.grid.reveal-stagger > *:nth-child(3) { transition-delay: 140ms; }
.grid.reveal-stagger > *:nth-child(4) { transition-delay: 210ms; }
.grid.reveal-stagger > *:nth-child(5) { transition-delay: 280ms; }
.grid.reveal-stagger > *:nth-child(n+6) { transition-delay: 350ms; }

@media (max-width: 959px) {
  .hero__grid {
    gap: 34px;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 699px) {
  .section {
    padding: 64px 0;
  }

  .grid--3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .media-card__body {
    padding: 22px;
  }
}

/* ==========================================================
   Footer: white menu area, full-bleed black rights strip
   ========================================================== */
.site-footer {
  padding: 58px 0 0;
  color: var(--primary-dark);
  background: var(--white);
}

.footer-brand img {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-col h3 {
  color: var(--ink);
}

.footer-col a,
.footer-col button {
  color: var(--muted);
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--accent);
}

.footer-social a {
  color: var(--accent);
  background: var(--soft-blue);
}

.footer-bottom {
  margin-top: 40px;
  margin-inline: 0;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #111421;
  border-top: 0;
  box-shadow: 0 0 0 100vmax #111421;
  clip-path: inset(0 -100vmax);
}

/* ==========================================================
   Header, brand and navigation
   ========================================================== */
.brand {
  flex: 0 0 220px;
}

.brand img {
  width: 220px;
  height: 64px;
  object-fit: contain;
}

.nav {
  min-height: 92px;
}

.nav__links a {
  padding-inline: 11px;
}

/* Compact band: brand + links + actions must all fit on one line
   between the tablet nav breakpoint (960px) and the roomy desktop
   width (1180px), where the full-size nav previously overflowed and
   forced the CTA button to wrap onto two lines. */
@media (min-width: 960px) and (max-width: 1179px) {
  .nav {
    gap: 10px;
  }

  .brand {
    flex-basis: 172px;
  }

  .brand img {
    width: 172px;
    height: 50px;
  }

  .nav__links {
    gap: 0;
  }

  .nav__links a {
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .nav__actions {
    gap: 6px;
  }

  .lang-toggle {
    min-height: 38px;
    padding: 5px;
  }

  .lang-toggle__track {
    width: 62px;
    height: 26px;
    font-size: 0.7rem;
  }

  .lang-toggle__knob {
    width: 28px;
  }

  html[lang="es"] .lang-toggle__knob {
    transform: translateX(28px);
  }

  .nav__cta {
    min-height: 40px;
    padding: 11px 14px;
    font-size: 0.86rem;
  }
}

@media (max-width: 959px) {
  .brand {
    flex-basis: 190px;
  }

  .brand img {
    width: 190px;
    height: 56px;
  }

  .nav {
    min-height: 84px;
  }

  .nav__cta {
    display: none;
  }
}

@media (max-width: 699px) {
  .brand {
    flex-basis: 168px;
  }

  .brand img {
    width: 168px;
    height: 50px;
  }
}

@media (max-width: 520px) {
  .brand {
    flex-basis: 150px;
  }

  .brand img {
    width: 150px;
    height: 44px;
  }
}

/* ==========================================================
   Card imagery
   ========================================================== */
.media-card {
  background: transparent;
}

.media-card img {
  object-position: center center;
}

.browser-card__screen {
  background: linear-gradient(145deg, #f7f9ff, #ffffff);
}

.work-grid .media-card img,
.card.media-card img[src*="services-suite"],
.card.media-card img[src*="roofing-example"],
.card.media-card img[src*="restaurant-websites"] {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card.media-card img[src*="restaurant-websites"],
.card.media-card img[src*="roofing-example"] {
  object-position: center top;
}

/* Full-composition mockups: keep the whole artwork visible on a soft
   backdrop instead of cropping it with object-fit: cover. */
.services-hero-image,
.about-hero-card {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.services-hero-image img,
.about-hero-card img,
.card.media-card img[src*="service-examples"],
.card.media-card img[src*="website-redesigns"],
.card.media-card img[src*="pricing-website-mockup"],
.card.media-card img[src*="contact-care"],
.card.media-card img[src*="about-amva"] {
  display: block;
  width: 100%;
  height: clamp(280px, 34vw, 480px);
  object-fit: contain;
  background: linear-gradient(145deg, #f7f9ff, #ffffff);
  border-radius: var(--radius);
}

.card.media-card img[src*="about-amva"] {
  object-position: center 62%;
}

@media (max-width: 699px) {
  .services-hero-image img,
  .about-hero-card img,
  .card.media-card img[src*="service-examples"],
  .card.media-card img[src*="website-redesigns"],
  .card.media-card img[src*="pricing-website-mockup"],
  .card.media-card img[src*="contact-care"],
  .card.media-card img[src*="about-amva"] {
    height: clamp(260px, 90vw, 420px);
  }
}

/* ==========================================================
   Services page
   ========================================================== */
.services-hero-grid {
  align-items: center;
}

.container--wide {
  width: min(100% - 40px, 1320px);
}

@media (min-width: 1500px) {
  .container--wide {
    width: min(100% - 72px, 1440px);
  }
}

@media (min-width: 1024px) {
  .services-page .section:first-child {
    padding: 86px 0 72px;
  }

  .services-page .services-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(44px, 5vw, 76px);
  }

  .services-page .section-head.left h1 {
    max-width: 660px;
    font-size: clamp(2.9rem, 4.1vw, 4.6rem);
    line-height: 0.98;
  }

  .services-page .section-head.left p {
    max-width: 620px;
    font-size: 1.12rem;
    line-height: 1.7;
  }

  .services-page .service-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .services-page .service-list-grid .card {
    min-height: 260px;
    padding: 32px;
  }

  .services-page .section--light .grid--2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(48px, 5vw, 84px);
  }
}

@media (max-width: 1023px) {
  .services-page .services-hero-grid {
    gap: 34px;
  }

  .services-page .section--light .grid--2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Service filter tabs: filters the six core-service cards by category */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -8px 0 34px;
}

.filter-tabs button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.92rem;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.filter-tabs button:hover {
  border-color: rgba(26, 43, 255, 0.32);
  color: var(--accent);
}

.filter-tabs button.is-active {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.service-list-grid .card {
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease), opacity 220ms var(--ease);
}

.service-list-grid .card.is-hidden {
  display: none;
}

/* ==========================================================
   About page
   ========================================================== */
.mini-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 900;
}

.mini-stat strong {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.mini-stat span {
  color: var(--muted);
  font-weight: 750;
  font-size: 0.92rem;
}

/* ==========================================================
   Automation strip, monthly bundles, timelines and grids
   ========================================================== */
.automation-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  border: 1px solid rgba(26, 43, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.automation-strip article {
  min-height: 148px;
  padding: 24px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.automation-strip article:last-child {
  border-right: 0;
}

.automation-strip i {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--accent);
  background: var(--soft-blue);
  border-radius: 50%;
  font-size: 1.1rem;
}

.automation-strip h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.automation-strip p {
  font-size: 0.84rem;
}

.monthly-bundles-section {
  background: linear-gradient(180deg, #f6f8ff 0%, #fff 100%);
}

.monthly-bundles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 700px) {
  .monthly-bundles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .monthly-bundles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bundle-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 20, 33, 0.04);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.bundle-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bundle-card--starter .bundle-label,
.bundle-card--starter li::marker { color: #2b6cb0; }
.bundle-card--growth .bundle-label,
.bundle-card--growth li::marker { color: #16833f; }
.bundle-card--plus .bundle-label,
.bundle-card--plus li::marker { color: #4b1fb8; }
.bundle-card--pro .bundle-label,
.bundle-card--pro li::marker { color: #ff4b19; }

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.bundle-price strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.bundle-price span,
.bundle-card li {
  color: var(--primary-dark);
  font-weight: 650;
}

.bundle-card ul {
  margin: 0;
  padding-left: 18px;
}

.narrow-content {
  width: min(860px, 100%);
  margin-inline: auto;
}

.narrow-content h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.narrow-content p + p {
  margin-top: 16px;
}

.about-intro {
  margin-top: 18px;
  font-size: 1.05rem;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-timeline article {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17, 20, 33, 0.04);
}

.process-timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-timeline h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.icon-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.icon-grid > span,
.industry-grid > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 800;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}

.icon-grid i,
.industry-grid i {
  color: var(--accent);
  transition: transform 220ms var(--ease);
}

.industry-grid > span {
  justify-content: center;
  text-align: center;
}

.icon-grid > span:hover,
.industry-grid > span:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 43, 255, 0.3);
  color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.icon-grid > span:hover i,
.industry-grid > span:hover i {
  transform: scale(1.12);
}

.industry-grid > span.industry-more {
  color: var(--muted);
  border-style: dashed;
}

@media (max-width: 1100px) {
  .automation-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .automation-strip article:nth-child(4) {
    border-right: 0;
  }

  .process-timeline,
  .icon-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 699px) {
  .automation-strip,
  .process-timeline,
  .icon-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .automation-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .automation-strip article:last-child {
    border-bottom: 0;
  }

  .bundle-card {
    padding: 26px 22px;
  }
}
