/* ============ Base ============ */
:root {
  --brand: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --whatsapp: #25d366;
  --text: #f1f5f9;
  --muted: #a8b1c7;
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --card: #0f1a2b;
  --border: #223043;
  --control: #0c1728;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
}
a {
  color: inherit;
  text-decoration: none;
}
.link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.full { width: 100%; display: inline-block; }
.hidden { display: none; }
.tiny { font-size: 13px; }

.container {
  width: min(1920px, 98vw);
  margin: 0 auto;
}

h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.12;
  margin: 0 0 18px;
}
h2.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 0 0 24px;
}
h3 {
  font-size: clamp(22px, 1.55vw, 26px);
  margin: 0 0 12px;
}
.card h2 {
  font-size: clamp(22px, 1.55vw, 26px);
  margin: 0 0 12px;
}
p { line-height: 1.7; margin: 0 0 16px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
  min-height: 128px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.logo span { color: var(--brand); }
.logo img {
  height: clamp(96px, 11vw, 160px);
  width: auto;
  display: block;
}
.nav {
  display: flex;
  flex: 1;
  gap: clamp(22px, 2.4vw, 42px);
  align-items: center;
  justify-content: center;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 600;
}
.nav a {
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}
.nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.nav a.btn {
  font-size: clamp(16px, 1.2vw, 18px);
  padding: 14px 24px;
  margin-left: 10px;
}
.nav-toggle {
  display: none;
  font-size: 30px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  line-height: 1;
}
.lang-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.site-header .lang-switch { margin-bottom: 0; }
.site-header .chip {
  padding: 12px 16px;
  font-size: 16px;
}
.site-header .chip span { font-size: 16px; }
.site-header .chip .flag-icon {
  width: 24px;
  height: 16px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.25);
}
.btn:active {
  transform: translateY(-1px);
}
.btn:focus-visible,
.nav a:focus-visible,
.link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.35);
}
.btn-small { padding: 8px 12px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 18px 36px rgba(59,130,246,0.28);
}
.btn-primary {
  box-shadow: 0 8px 20px rgba(59,130,246,0.20);
  transform: translateZ(0);
}
.btn-outline {
  border-color: var(--border);
  background: var(--card);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #0b2;
  color: #fff;
}
.btn-whatsapp:hover {
  filter: brightness(0.95);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.32);
}

.chip {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15,23,42,0.18);
}
.chip.active {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.25);
}
.chip .flag-icon {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(15,23,42,0.3);
}
.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.35);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  text-align: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.hero .hero-copy h1 .subline { display: block; }
.hero-lead {
  font-size: clamp(20px, 2.3vw, 24px);
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  color: #dbe4f3;
}
.hero-benefits {
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
  margin: 10px auto 14px;
  max-width: 54rem;
}
.hero-trust {
  margin: 18px auto 0;
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 44rem;
}
.price-note { font-weight: 600; }
.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-row.center-row {
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 420px;
  background: radial-gradient(1200px 400px at 20% -10%, rgba(59,130,246,0.18), transparent 60%),
              radial-gradient(1200px 400px at 80% 0%, rgba(99,102,241,0.16), transparent 60%),
              linear-gradient(180deg, #0b1220, #0f172a);
  z-index: 0;
  border-bottom: 1px solid var(--border);
}
.lang-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section-intro {
  margin: -4px auto 32px;
  max-width: 52rem;
  font-size: clamp(18px, 1.35vw, 21px);
  text-align: center;
}
.narrow {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.narrow-block {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(18px, 1.35vw, 21px);
}
.position-band {
  background:
    linear-gradient(180deg, rgba(59,130,246,0.08), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
  text-align: center;
}
.position-lead {
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 600;
  max-width: 50rem;
  margin: 0 auto 16px;
}
.position-highlight {
  margin: 20px auto 0;
  max-width: 46rem;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: rgba(59, 130, 246, 0.08);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  color: #e8eef8;
}
.how-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid {
  display: grid;
  gap: 24px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-grid .service-card,
.how-grid .card {
  min-height: 100%;
}
.service-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  flex: 0 0 28px;
  overflow: hidden;
  line-height: 0;
}
.service-icon svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
  display: block;
  flex-shrink: 0;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.steps > .step,
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 260px;
  list-style: none;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 20px 36px rgba(15,23,42,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  background: rgba(59,130,246,0.15);
  color: var(--brand);
  border: 1px solid rgba(59,130,246,0.3);
  flex-shrink: 0;
}
.step-num.small {
  margin-bottom: 6px;
}
.step h3,
.step-card h3,
.how-grid h3 {
  font-size: clamp(20px, 1.55vw, 24px);
  margin: 0;
  line-height: 1.3;
}
.step p,
.step-card p {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}
.service-card p {
  flex: 1;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.65;
}
.service-card h3 {
  font-size: clamp(21px, 1.55vw, 26px);
}
.card p {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.65;
}
.control-note {
  margin-top: 24px;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(16px, 1.2vw, 19px);
}
.how-cta { margin-top: 28px; }

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.industry-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  font-weight: 600;
  font-size: clamp(17px, 1.25vw, 20px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.industry-tile:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px);
}
.industry-more {
  margin-top: 24px;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(16px, 1.2vw, 19px);
}

/* Outcomes */
.outcomes-grid {
  align-items: stretch;
}
.outcome-card {
  gap: 12px;
}

.cta-final {
  background:
    radial-gradient(800px 240px at 50% 0%, rgba(59,130,246,0.16), transparent 65%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-final p {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 1.35vw, 21px);
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 24px 40px rgba(15,23,42,0.22);
}
.card.highlight {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 12px 28px rgba(59,130,246,0.18);
}
.card .link {
  display: inline-block;
  margin-top: auto;
  font-size: clamp(16px, 1.15vw, 18px);
}
.control-card {
  min-height: 360px;
}
.control-card h3 {
  font-size: clamp(22px, 1.6vw, 28px);
  margin-bottom: 8px;
}

.profile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.profile-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 26px 44px rgba(15,23,42,0.25);
}
.profile-card .profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 12px 24px rgba(15,23,42,0.25);
}
.profile-card .profile-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
}
.profile-card p {
  margin: 0;
  line-height: 1.6;
  max-width: 520px;
}
.profile-card .profile-mail {
  margin-top: 12px;
}

.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.price {
  font-size: 22px;
  font-weight: 800;
}
.price span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  flex: 1;
}
.features li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.5;
}
.features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 0.95em;
}

/* ============ Demo tiles ============ */
.demo-grid .demo-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.demo-grid .demo-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 42px rgba(15,23,42,0.3);
  border-color: rgba(59,130,246,0.35);
}
.demo-thumb {
  height: 120px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%),
    linear-gradient(120deg, #60a5fa 0%, #6366f1 50%, #a78bfa 100%);
}
.demo-tile span {
  padding: 12px;
  color: #cbd5e1;
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  margin-top: 16px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-cta { display: flex; justify-content: end; }

/* ============ Utilities ============ */
.section-title { text-align: center; }

/* ============ Forms ============ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  background: var(--control);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
.card form input[type="text"],
.card form input[type="email"],
.card form input[type="tel"],
.card form input[type="url"],
.card form textarea,
.card form select {
  background: var(--control);
  color: var(--text);
}
.card form input:focus,
.card form textarea:focus,
.card form select:focus {
  outline: none;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.30);
}

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .how-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav {
    position: absolute;
    right: 4vw;
    top: 100%;
    margin-top: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: initial;
    gap: 12px;
    min-width: min(300px, 88vw);
    font-size: 17px;
    z-index: 60;
  }
  .nav.open { display: flex; }
  .nav a.btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    margin-left: 0;
  }
  .nav-toggle { display: inline-block; color: var(--text); margin-left: auto; }
  .header-inner {
    flex-wrap: nowrap;
    gap: 14px;
    min-height: 96px;
    position: relative;
  }
  .logo img {
    height: clamp(72px, 15vw, 110px);
  }
}
@media (max-width: 900px) {
  .grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-links {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .grid.two,
  .how-grid,
  .how-grid-five {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 28px;
  }
  .cta-row .btn {
    min-height: 44px;
  }
}
@media (max-width: 640px) {
  .grid.three,
  .steps,
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    flex-direction: column;
    text-align: center;
  }
  .profile-card p { max-width: none; }
  .header-inner {
    min-height: 96px;
    padding: 14px 0;
  }
  .logo img {
    height: clamp(64px, 18vw, 92px);
  }
  .site-header .chip {
    padding: 8px 10px;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn {
    width: 100%;
  }
  .lang-switch {
    order: 0;
  }
  .hero-benefits {
    line-height: 1.5;
  }
}
@media (max-width: 390px) {
  .container {
    width: min(1920px, 98vw);
  }
  h1 {
    font-size: clamp(24px, 7vw, 32px);
  }
  .chip span {
    font-size: 13px;
  }
}


