:root {
  --black: #161617;
  --orange: #fd5104;
  --orange-dark: #da3d00;
  --burgundy: #920425;
  --ink: #242429;
  --muted: #63636d;
  --line: #ece9e7;
  --soft: #fbfaf8;
  --warm: #fff5ef;
  --white: #ffffff;
  --green: #10b95f;
  --shadow: 0 18px 60px rgba(22, 22, 23, 0.11);
  --shadow-soft: 0 10px 30px rgba(22, 22, 23, 0.08);
  --radius: 8px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.narrow {
  max-width: 800px;
}

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

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--black);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(22, 22, 23, 0.06);
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.93rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn svg,
.text-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(253, 81, 4, 0.24);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: rgba(253, 81, 4, 0.55);
}

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

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 58px;
  background:
    radial-gradient(circle at 88% 18%, rgba(253, 81, 4, 0.11), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 130px;
  opacity: 0.18;
  background-image: radial-gradient(var(--orange) 1px, transparent 1px);
  background-size: 14px 14px;
}

.hero::before {
  right: 4%;
  top: 140px;
}

.hero::after {
  left: 45%;
  bottom: 40px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 50px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  color: var(--black);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
}

h1 span {
  color: var(--orange);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p:not(.eyebrow),
.split-intro p,
.content-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.dashboard-card,
.floating-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.main-dashboard {
  position: absolute;
  inset: 38px 20px auto auto;
  width: min(100%, 620px);
  min-height: 430px;
  padding: 22px;
}

.window-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: var(--orange); }
.window-dots span:nth-child(2) { background: #f3b43f; }
.window-dots span:nth-child(3) { background: #22c55e; }

.dash-top,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-top span,
.metric-row span,
.floating-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.metric-row {
  margin: 22px 0;
}

.metric-row div {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.metric-row strong,
.metric-row small {
  display: block;
}

.metric-row strong {
  font-size: 1.25rem;
}

.metric-row small {
  color: #16a34a;
  font-weight: 800;
}

.line-chart {
  width: 100%;
  height: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.line-chart path {
  stroke: #eee5df;
  stroke-width: 1;
}

.line-chart polyline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-grid {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  margin-top: 18px;
}

.donut {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 36%, var(--burgundy) 36% 66%, #f0a028 66% 82%, #e9e4df 82%);
  position: relative;
  margin: auto;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: var(--white);
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 96px;
}

.bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--burgundy));
}

.bars span:nth-child(1) { height: 35%; }
.bars span:nth-child(2) { height: 58%; }
.bars span:nth-child(3) { height: 78%; }
.bars span:nth-child(4) { height: 48%; }

.floating-stat {
  position: absolute;
  padding: 16px 18px;
  min-width: 148px;
}

.floating-stat strong {
  display: block;
  color: var(--black);
  font-size: 1.45rem;
}

.stat-one {
  top: 0;
  right: 0;
}

.stat-two {
  right: 0;
  bottom: 28px;
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding: 58px 0;
}

.tinted {
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
  text-align: center;
}

.split-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.cards-grid,
.examples-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

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

.feature-card,
.example-card,
.process-card,
.service-detail,
.contact-form,
.contact-info,
.values-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.example-card {
  padding: 26px;
}

.feature-card p,
.example-card p,
.process-card p {
  color: var(--muted);
}

.icon-bubble,
.line-icon {
  display: grid;
  place-items: center;
  color: var(--orange);
}

.icon-bubble {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #fff0e8;
}

.icon-bubble svg,
.line-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bubble .icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--orange);
  font-weight: 850;
}

.process-section {
  background: linear-gradient(180deg, #fff8f5, #fff);
}

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

.process-card {
  position: relative;
  min-height: 150px;
  padding: 28px 20px 22px;
}

.process-card span {
  position: absolute;
  top: -14px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font-weight: 900;
  font-size: 0.8rem;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px #fff0e8;
}

.compact-list li {
  font-weight: 560;
}

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

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

.example-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--burgundy);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-band {
  padding: 34px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 94% 48%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(135deg, var(--orange), #ff6a1f 48%, var(--orange-dark));
}

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

.cta-inner p {
  margin-bottom: 0;
}

.cta-action {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.cta-action small {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
}

.page-hero {
  padding: 76px 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(253, 81, 4, 0.11), transparent 22%),
    linear-gradient(180deg, #fff, var(--soft));
  text-align: center;
}

.page-hero h1 {
  margin-inline: auto;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.service-detail-list .container {
  display: grid;
  gap: 20px;
}

.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr 0.9fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li,
.values-panel span {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid #ffd7c5;
  border-radius: 999px;
  background: #fff7f2;
  color: var(--black);
  font-weight: 750;
  font-size: 0.88rem;
}

.contact-preview {
  background: linear-gradient(180deg, #fff, var(--soft));
}

.contact-info {
  padding: 30px;
}

.contact-info a:not(.btn),
.contact-info small {
  display: block;
  margin-top: 12px;
  color: var(--black);
  font-weight: 750;
}

.contact-info small {
  color: var(--muted);
  font-weight: 500;
}

.contact-form {
  padding: 24px;
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 14px;
  color: var(--black);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(253, 81, 4, 0.12);
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 750;
}

.form-alert.success {
  color: #11633b;
  background: #e9f9f0;
}

.form-alert.error {
  color: var(--burgundy);
  background: #fff0f2;
}

.values-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px;
}

.site-footer {
  padding: 44px 0 24px;
  color: #e9e9eb;
  background:
    radial-gradient(circle at 15% 0%, rgba(253, 81, 4, 0.25), transparent 20%),
    var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
}

.footer-logo {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-grid p {
  margin: 12px 0 0;
  color: #bdbdc4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-contact {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aaaab1;
  font-size: 0.88rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 30px rgba(16, 185, 95, 0.28);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (max-width: 1050px) {
  .nav-cta {
    display: none;
  }

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

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

  .main-dashboard {
    left: 0;
    right: 0;
    margin-inline: auto;
  }

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

  .split-intro,
  .service-detail {
    grid-template-columns: 1fr;
  }
}

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

  .nav-shell {
    min-height: 76px;
  }

  .brand img {
    width: 145px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
  }

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

  .main-dashboard {
    top: 26px;
    padding: 16px;
    min-height: 340px;
  }

  .metric-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .line-chart {
    height: 120px;
  }

  .mini-grid,
  .floating-stat {
    display: none;
  }

  .section,
  .page-hero {
    padding: 56px 0;
  }

  .two-column,
  .contact-layout,
  .examples-grid.large {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
    text-align: left;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 580px) {
  .cards-grid,
  .examples-grid,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-form .btn,
  .cta-inner .btn {
    width: 100%;
  }

  .contact-form,
  .contact-info,
  .feature-card,
  .example-card,
  .service-detail {
    padding: 20px;
  }
}

/* Inicio v2 */
.nav-shell {
  min-height: 74px;
}

.brand img {
  width: 146px;
}

.hero-fit {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 34px 0 42px;
}

.hero-fit::before,
.hero-fit::after {
  display: none;
}

.hero-fit .hero-grid {
  grid-template-columns: minmax(390px, 0.82fr) minmax(520px, 1.18fr);
  gap: 36px;
}

.hero-fit h1 {
  max-width: 620px;
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.hero-fit .hero-copy p:not(.eyebrow) {
  max-width: 580px;
}

.hero-fit .hero-visual {
  min-height: 500px;
}

.hero-fit .main-dashboard {
  width: min(100%, 610px);
  min-height: 390px;
  inset: 44px 44px auto auto;
  animation: dashboardSlideIn 0.85s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes dashboardSlideIn {
  from {
    opacity: 0;
    transform: translateX(90px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-fit .metric-row {
  margin: 16px 0;
}

.hero-fit .line-chart {
  height: 150px;
}

.hero-fit .mini-grid {
  margin-top: 14px;
}

.hero-fit .donut {
  width: 82px;
  height: 82px;
}

.hero-fit .bars {
  height: 82px;
}

.hero-fit .stat-one {
  top: 16px;
  right: 0;
}

.hero-fit .stat-two {
  right: 8px;
  bottom: 38px;
}

.useful-section {
  background: var(--white);
}

.useful-section > .container {
  max-width: 1200px;
}

.section-heading.wide {
  max-width: 1200px;
  margin-bottom: 20px;
}

.title-eyebrow {
  color: var(--burgundy);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: 0.055em;
}

.useful-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.useful-grid h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
}

.useful-grid p {
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.useful-grid strong {
  color: var(--black);
}

.attention-loop {
  position: relative;
  color: var(--black);
  font-weight: 850;
  background: linear-gradient(90deg, rgba(253,81,4,.16), rgba(146,4,37,.12));
  border-radius: 6px;
  padding: 0 5px;
  animation: attentionPulse 2.4s ease-in-out infinite;
}

@keyframes attentionPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253,81,4,0); }
  50% { box-shadow: 0 0 0 8px rgba(253,81,4,.10); }
}

.services-heading {
  max-width: 1040px;
}

.services-heading h2,
.process-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  white-space: nowrap;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-head .icon-bubble {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.feature-head h3 {
  margin-bottom: 0;
}

.process-home .process-grid {
  position: relative;
}

.process-home .process-card {
  overflow: visible;
  padding-top: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.process-home .process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(146,4,37,.13);
}

.process-home .process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px;
  right: -26px;
  width: 34px;
  height: 12px;
  background: linear-gradient(90deg, rgba(146,4,37,.16), rgba(253,81,4,.5));
  clip-path: polygon(0 35%, 72% 35%, 72% 0, 100% 50%, 72% 100%, 72% 65%, 0 65%);
}

.process-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--orange);
  background: #fff0e8;
  border-radius: 50%;
  animation: processFloat 3.6s ease-in-out infinite;
}

.process-card:nth-child(even) .process-icon {
  animation-delay: .7s;
}

.process-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

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

.why-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(253,81,4,.16), transparent 26%),
    linear-gradient(135deg, #161617 0%, #242124 58%, #350713 100%);
  color: var(--white);
}

.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.why-copy {
  position: relative;
  isolation: isolate;
}

.why-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -48px auto auto -56px;
  width: min(420px, 72vw);
  height: 310px;
  opacity: .075;
  background:
    radial-gradient(circle at 18% 22%, var(--orange) 0 5px, transparent 6px),
    radial-gradient(circle at 46% 14%, var(--burgundy) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 34%, var(--orange) 0 5px, transparent 6px),
    radial-gradient(circle at 30% 64%, var(--burgundy) 0 4px, transparent 5px),
    linear-gradient(25deg, transparent 17%, var(--orange) 17.4% 18%, transparent 18.4%),
    linear-gradient(145deg, transparent 32%, var(--burgundy) 32.4% 33%, transparent 33.4%),
    linear-gradient(160deg, transparent 54%, var(--orange) 54.4% 55%, transparent 55.4%);
}

.why-copy::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 18%;
  left: 26%;
  width: 340px;
  height: 220px;
  border-radius: 50%;
  background: rgba(253,81,4,.18);
  filter: blur(72px);
  opacity: .45;
  transform: translate(-50%, -50%);
}

.why-copy h2,
.why-copy p,
.why-stats strong,
.why-stats span,
.flow-card strong,
.flow-card small {
  color: var(--white);
}

.why-copy h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.why-copy p {
  color: #dedee4;
  font-size: 1.08rem;
}

.why-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.why-indicators span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.15;
  backdrop-filter: blur(10px);
}

.why-demo {
  display: grid;
  gap: 14px;
}

.flow-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253,81,4,.58);
  background: rgba(255,255,255,.095);
  box-shadow: 0 18px 42px rgba(253,81,4,.18), 0 0 28px rgba(253,81,4,.1);
}

.flow-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
}

.flow-card small {
  color: #cfcfd5;
}

.why-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-stats article {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.09);
}

.why-stats strong,
.why-stats span {
  display: block;
}

.why-stats strong {
  font-size: 1.35rem;
}

.why-stats span {
  color: #cfcfd5;
}

.portfolio-section {
  overflow: hidden;
  background: var(--soft);
}

.portfolio-heading {
  max-width: 980px;
}

.portfolio-marquee {
  display: grid;
  gap: 18px;
}

.portfolio-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: portfolioMove 42s linear infinite;
}

.portfolio-track.reverse {
  animation-direction: reverse;
  animation-duration: 48s;
}

.portfolio-section.is-paused .portfolio-track,
.portfolio-marquee:hover .portfolio-track,
.portfolio-section:has(.portfolio-control:hover) .portfolio-track,
.portfolio-section:has(.portfolio-control:focus-visible) .portfolio-track {
  animation-play-state: paused;
}

.portfolio-card {
  width: 360px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.portfolio-card h3 {
  font-size: 1.15rem;
}

.portfolio-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .94rem;
}

.portfolio-card span {
  color: var(--burgundy);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.portfolio-card strong {
  color: var(--orange);
  font-size: .9rem;
}

.portfolio-visual {
  min-height: 138px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--orange);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff4ee, #fff);
  border: 1px solid #ffe0d1;
}

.portfolio-visual svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.mini-ui {
  width: 72px;
  display: grid;
  gap: 5px;
}

.mini-ui span {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--burgundy));
}

.mini-ui span:nth-child(2) { width: 70%; }
.mini-ui span:nth-child(3) { width: 48%; }

@keyframes portfolioMove {
  to { transform: translateX(calc(-50% - 9px)); }
}

.full-cta {
  padding: 0;
}

.full-cta .container {
  width: 100%;
}

.full-cta .cta-inner {
  border-radius: 0;
  min-height: 116px;
  padding: 22px max(40px, calc((100vw - var(--container)) / 2));
  grid-template-columns: 1fr auto auto;
  gap: 24px;
}

.full-cta h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
}

.full-cta .btn-light {
  min-height: 54px;
  padding: 15px 26px;
  box-shadow: 0 14px 30px rgba(17,17,18,.14);
}

.full-cta .btn-light:hover {
  background: #fff8f4;
  box-shadow: 0 18px 38px rgba(255,255,255,.22), 0 14px 32px rgba(17,17,18,.18);
  filter: brightness(1.03);
}

.cta-dots {
  width: 78px;
  height: 78px;
  opacity: .8;
  background-image: radial-gradient(rgba(255,255,255,.78) 1.4px, transparent 1.4px);
  background-size: 15px 15px;
}

.contact-compact {
  padding: 46px 0;
}

.contact-compact .contact-layout {
  grid-template-columns: .75fr 1.2fr .75fr;
  gap: 18px;
}

.contact-compact .contact-info,
.contact-compact .contact-form {
  padding: 22px;
}

.contact-compact .contact-info h2 {
  font-size: 1.7rem;
}

.contact-page {
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: start;
  padding: 36px 0 48px;
}

.contact-page .contact-layout {
  align-items: stretch;
}

.contact-page .contact-info h1 {
  margin: 0 0 20px;
  color: var(--black);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.contact-page .contact-info,
.contact-page .contact-form {
  height: 100%;
}

.contact-line {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-line strong {
  color: var(--black);
}

.contact-compact label {
  margin-bottom: 10px;
}

.contact-compact input,
.contact-compact select,
.contact-compact textarea {
  padding: 10px 12px;
}

.contact-compact textarea {
  min-height: 112px;
}

.bot-orb {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--orange);
  border-radius: 50%;
  background: #fff0e8;
}

.bot-orb svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
}

.site-footer {
  padding: 28px 0 18px;
}

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

.footer-logo {
  filter: none;
  width: 132px;
}

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

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.footer-bottom {
  justify-content: center;
  text-align: center;
  margin-top: 20px;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
}

.chat-float {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .28);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.chat-float:hover {
  transform: translateY(-3px);
  background: #1ebe5d;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .36), 0 0 0 8px rgba(37, 211, 102, .13);
}

.chat-float svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(430px, calc(100vw - 34px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.chat-widget.is-open .chat-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  color: var(--white);
  background: var(--black);
  border-radius: 18px 18px 0 0;
}

.chat-panel-head strong,
.chat-panel-head small {
  display: block;
  color: var(--white);
}

.chat-panel-head small {
  margin-top: 2px;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
}

.chat-panel-head button {
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

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

.prechat-form fieldset,
.prechat-form label {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.prechat-form legend,
.prechat-form label span {
  color: var(--black);
  font-size: .86rem;
  font-weight: 850;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prechat-chip {
  border: 1px solid #ffd7c5;
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--black);
  background: #fff7f2;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.prechat-chip:hover,
.prechat-chip.is-selected {
  color: var(--white);
  border-color: var(--orange);
  background: var(--orange);
  transform: translateY(-1px);
}

.prechat-form input,
.prechat-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--black);
  font: inherit;
  background: var(--white);
}

.prechat-form textarea {
  resize: vertical;
}

.prechat-error {
  display: none;
  padding: 9px 11px;
  border: 1px solid rgba(146,4,37,.18);
  border-radius: 12px;
  color: var(--burgundy);
  background: rgba(146,4,37,.06);
  font-size: .86rem;
  font-weight: 800;
}

.prechat-error:not(:empty) {
  display: block;
}

.prechat-form .btn {
  width: 100%;
}

@media (max-width: 1180px) {
  .hero-fit .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-fit {
    min-height: auto;
  }

  .services-heading h2,
  .process-heading h2 {
    white-space: normal;
  }

  .contact-compact .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero-fit .hero-visual {
    min-height: 380px;
  }

  .hero-fit .main-dashboard {
    inset: 20px 0 auto 0;
  }

  .useful-grid,
  .why-grid,
  .why-stats {
    grid-template-columns: 1fr;
  }

  .process-home .process-card:not(:last-child)::after {
    display: none;
  }

  .full-cta .cta-inner {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .cta-dots {
    display: none;
  }

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

@media (max-width: 580px) {
  .hero-fit h1 {
    font-size: 2.45rem;
  }

  .portfolio-card {
    width: 310px;
    grid-template-columns: 1fr;
  }
}

/* Refinamientos inicio v3 */
.hero-fit h1 {
  font-size: clamp(2.5rem, 4.35vw, 4.05rem);
}

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

.dashboard-slider {
  position: relative;
  min-height: 430px;
}

.hero-fit .main-dashboard {
  inset: 20px 38px auto auto;
  min-height: 370px;
}

.dashboard-slide {
  opacity: 0;
  transform: translateX(95px) scale(.98);
  animation: dashboardDeck 15s cubic-bezier(.2,.8,.2,1) infinite;
}

.dashboard-slide:nth-child(2) { animation-delay: 5s; }
.dashboard-slide:nth-child(3) { animation-delay: 10s; }

@keyframes dashboardDeck {
  0% { opacity: 0; transform: translateX(95px) scale(.98); }
  7%, 28% { opacity: 1; transform: translateX(0) scale(1); }
  34%, 100% { opacity: 0; transform: translateX(-38px) scale(.985); }
}

.hero-fit .stat-one {
  top: -22px;
  right: 14px;
}

.hero-fit .stat-two {
  right: -12px;
  bottom: -8px;
}

.city-map {
  position: relative;
  height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 48%, rgba(146,4,37,.12) 49%, transparent 50%),
    linear-gradient(0deg, transparent 48%, rgba(253,81,4,.12) 49%, transparent 50%),
    #fffaf7;
  background-size: 78px 78px;
}

.city-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.city-map path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 520;
  animation: routeDraw 5s ease-in-out infinite;
}

.city-map i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--burgundy);
  font-size: .75rem;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 0 0 7px rgba(146,4,37,.12);
}

@keyframes routeDraw {
  0% { stroke-dashoffset: 520; }
  35%, 75% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -520; }
}

.map-summary,
.sheet-sim strong {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.map-summary span {
  color: var(--muted);
}

.sheet-sim {
  display: grid;
  gap: 12px;
}

.sheet-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.sheet-toolbar button {
  border: 0;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--white);
  background: var(--orange);
  font-weight: 850;
}

.sheet-toolbar span {
  color: var(--muted);
  font-size: .86rem;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.sheet-grid span {
  height: 22px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid #eee2dc;
}

.sheet-grid span:nth-child(3n) {
  background: #fff0e8;
}

.automation-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e9e4;
}

.automation-progress span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--burgundy));
  animation: progressRun 5s ease-in-out infinite;
}

@keyframes progressRun {
  0% { transform: translateX(-100%); }
  45%, 78% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.useful-grid {
  gap: 28px;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.82fr);
  align-items: center;
}

.useful-card {
  display: none;
}

.useful-lead h2 {
  max-width: 650px;
  font-size: clamp(2.1rem, 3.35vw, 4rem);
  line-height: 1.06;
  margin-bottom: 18px;
}

.useful-lead p {
  max-width: 620px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.useful-points {
  display: grid;
  gap: 10px;
  max-width: 440px;
}

.useful-points article {
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
}

.useful-points h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.useful-points p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Deprecated useful-card kept hidden for older markup safety. */
.useful-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fff8f4);
  box-shadow: var(--shadow-soft);
}

.useful-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--burgundy);
  font-weight: 900;
}

.attention-loop {
  background: transparent;
  box-shadow: none;
  padding: 0;
  animation: none;
}

.reading-highlight {
  color: var(--black);
  font-weight: 850;
}

.reading-highlight span {
  animation: readingOrange 4.8s linear infinite;
}

.reading-highlight span:nth-child(2) { animation-delay: 1.2s; }
.reading-highlight span:nth-child(3) { animation-delay: 2.4s; }
.reading-highlight span:nth-child(4) { animation-delay: 3.6s; }

@keyframes readingOrange {
  0%, 20%, 100% { color: var(--black); }
  8%, 14% { color: var(--orange); }
}

.process-icon {
  margin: 0 auto 14px;
}

.process-icon svg {
  width: 26px;
  height: 26px;
}

.why-demo {
  position: relative;
}

.cycle-path {
  position: absolute;
  z-index: 0;
  inset: 40px auto 40px 44px;
  width: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(253,81,4,0), rgba(253,81,4,.52), rgba(253,81,4,0));
  opacity: .58;
}

.cycle-path::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(253,81,4,.12);
  transform: translateX(-50%);
  animation: cycleDot 4s ease-in-out infinite;
}

@keyframes cycleDot {
  0% { top: 8px; }
  45% { top: calc(100% - 18px); }
  75% { top: calc(100% - 18px); }
  100% { top: 8px; }
}

.portfolio-track {
  animation-duration: 46s;
}

.portfolio-card {
  width: 390px;
  grid-template-columns: 150px 1fr;
}

.portfolio-visual {
  min-height: 150px;
  gap: 10px;
}

.portfolio-screen {
  width: 112px;
  height: 62px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  align-items: end;
  padding: 8px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid #f0ded6;
}

.portfolio-screen span {
  min-height: 12px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--burgundy));
}

.portfolio-screen span:nth-child(1) { height: 42%; }
.portfolio-screen span:nth-child(2) { height: 68%; }
.portfolio-screen span:nth-child(3) { height: 50%; }
.portfolio-screen span:nth-child(4) { height: 84%; }
.portfolio-screen span:nth-child(5) { height: 58%; }

.portfolio-visual.map .portfolio-screen,
.portfolio-visual.ai .portfolio-screen {
  background:
    radial-gradient(circle at 25% 55%, var(--burgundy) 0 5px, transparent 6px),
    radial-gradient(circle at 58% 30%, var(--orange) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 70%, var(--burgundy) 0 5px, transparent 6px),
    linear-gradient(135deg, transparent 48%, rgba(253,81,4,.5) 49% 52%, transparent 53%),
    #fff;
}

.portfolio-visual.web .portfolio-screen {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.portfolio-visual.web .portfolio-screen span {
  height: auto;
  min-height: 7px;
  border-radius: 999px;
}

.contact-compact .contact-layout {
  align-items: stretch;
}

.contact-compact .contact-info,
.contact-compact .contact-form {
  height: 100%;
}

.contact-compact input,
.contact-compact select,
.contact-compact textarea {
  padding: 9px 11px;
}

.contact-compact textarea {
  min-height: 96px;
}

.quick-contact-form .form-grid {
  gap: 12px;
}

.site-footer {
  padding: 18px 0 12px;
}

.footer-grid p {
  display: none;
}

.footer-bottom {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 820px) {
  .cycle-path {
    display: none;
  }
}

/* Assets reales: hero, carrusel y proceso */
.hero-image-slider {
  position: relative;
  min-height: 440px;
}

.hero-image-slide {
  position: absolute;
  inset: 10px 0 auto auto;
  width: min(100%, 720px);
  margin: 0;
  opacity: 0;
  transform: translateX(90px) scale(.985);
  animation: heroImageDeck 15s cubic-bezier(.2,.8,.2,1) infinite;
}

.hero-image-slide:nth-child(2) { animation-delay: 5s; }
.hero-image-slide:nth-child(3) { animation-delay: 10s; }

.hero-image-slide img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 24px 55px rgba(22,22,23,.18));
}

@keyframes heroImageDeck {
  0% { opacity: 0; transform: translateX(110px) scale(.985); }
  7%, 28% { opacity: 1; transform: translateX(0) scale(1); }
  34%, 100% { opacity: 0; transform: translateX(-45px) scale(.99); }
}

.process-home .process-card {
  padding-top: 34px;
}

.process-card span {
  top: -18px;
}

.process-icon {
  width: 62px;
  height: 62px;
  margin: -4px auto 16px;
  background: transparent;
  animation: none;
}

.process-card:nth-child(even) .process-icon {
  animation-delay: 0s;
}

.process-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.process-home {
  padding-top: 60px;
}

.process-home .section-heading {
  margin-bottom: 24px;
}

.process-home .process-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.06;
}

.process-home .process-grid {
  align-items: stretch;
  gap: 18px;
  padding-top: 30px;
}

.process-home .process-card {
  min-height: 218px;
  height: 100%;
  padding: 52px 18px 22px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(17, 17, 18, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.process-home .process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 81, 4, .18);
  box-shadow: 0 18px 42px rgba(17, 17, 18, .1);
}

.process-home .process-card span {
  top: -13px;
  left: 18px;
  width: auto;
  min-width: 40px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--burgundy);
  font-size: .76rem;
  letter-spacing: .04em;
}

.process-home .process-icon {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 66px;
  height: 66px;
  margin: 0;
  transform: translateX(-50%);
  border: 1px solid rgba(253, 81, 4, .13);
  border-radius: 50%;
  background: #fff3ed;
  box-shadow: 0 14px 28px rgba(253, 81, 4, .12);
  animation: none;
}

.process-home .process-card:nth-child(even) .process-icon {
  animation-delay: 0s;
}

.process-home .process-icon img {
  width: 46px;
  height: 46px;
}

.process-home .process-card h3 {
  margin-bottom: 9px;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.15;
}

.process-home .process-card p {
  margin: 0;
  color: #566071;
  font-size: .96rem;
  line-height: 1.55;
}

.process-home .process-card:not(:last-child)::after {
  top: 50%;
  right: -24px;
  width: 30px;
  height: 10px;
  background: linear-gradient(90deg, rgba(253, 81, 4, .08), rgba(253, 81, 4, .24));
  transform: translateY(-50%);
}

@media (max-width: 820px) {
  .process-home .process-grid {
    gap: 36px 18px;
  }

  .process-home .process-card {
    min-height: 200px;
  }

  .process-home .process-card:not(:last-child)::after {
    display: none;
  }
}

.portfolio-section {
  position: relative;
  padding-top: 72px;
}

.portfolio-section .section-heading {
  margin-bottom: 18px;
}

.portfolio-heading .eyebrow {
  margin-bottom: 5px;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 800;
}

.portfolio-heading h2 {
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  line-height: 1.02;
}

.portfolio-marquee {
  gap: 0;
  width: 117.647%;
  padding-block: 0 16px;
  overflow: visible;
  transform: scale(.85);
  transform-origin: left top;
}

.portfolio-track {
  gap: 22px;
  animation-duration: 52s;
}

.portfolio-card {
  width: min(42vw, 560px);
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(22,22,23,.11);
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16 / 7.1;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-bottom: 0;
  background: var(--soft);
  transform: scale(1.018);
  transform-origin: top center;
}

.portfolio-card > div {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px;
}

.portfolio-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 11px;
  border-radius: 7px;
  color: var(--white);
  background: linear-gradient(135deg, var(--burgundy), #c40f38);
  font-size: .76rem;
}

.portfolio-card h3 {
  max-width: 500px;
  font-size: clamp(1.35rem, 1.55vw, 1.8rem);
  margin-bottom: 7px;
}

.portfolio-card p {
  max-width: 500px;
  color: #5a6578;
  font-size: .98rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.portfolio-card strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  color: var(--orange);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
}

.portfolio-card strong::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    url("../img/favicon.svg") center / 23px 23px no-repeat,
    linear-gradient(135deg, rgba(253,81,4,.18), rgba(146,4,37,.10)),
    #fff0e8;
}

.portfolio-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.portfolio-section.is-paused .portfolio-controls,
.portfolio-marquee:hover + .portfolio-controls,
.portfolio-section:has(.portfolio-control:hover) .portfolio-controls,
.portfolio-section:has(.portfolio-control:focus-visible) .portfolio-controls {
  opacity: 1;
}

.portfolio-control {
  position: absolute;
  top: 58%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  color: var(--orange);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

.portfolio-control:hover {
  filter: drop-shadow(0 10px 18px rgba(253,81,4,.26));
  transform: translateY(-50%) scale(1.04);
}

.portfolio-control.prev {
  left: clamp(16px, 3vw, 46px);
}

.portfolio-control.next {
  right: clamp(16px, 3vw, 46px);
}

.portfolio-control img {
  width: 44px;
  height: 44px;
  display: block;
}

.portfolio-control.next img {
  transform: rotate(180deg);
}

@media (max-width: 1180px) {
  .hero-image-slide {
    inset: 0;
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .hero-image-slider {
    min-height: 330px;
  }

  .hero-image-slide {
    width: 100%;
  }

  .portfolio-card {
    width: min(82vw, 520px);
  }

  .portfolio-control {
    top: 60%;
    width: 46px;
    height: 46px;
  }

  .portfolio-control img {
    width: 38px;
    height: 38px;
  }
}

/* Página Soluciones */
.solutions-hero {
  overflow: hidden;
  padding: 34px 0 48px;
  background:
    radial-gradient(circle at 84% 18%, rgba(253,81,4,.14), transparent 26%),
    linear-gradient(180deg, #fff, var(--soft));
}

.solutions-hero-grid {
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: center;
}

.solutions-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  line-height: .98;
}

.solutions-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.25vw, 1.22rem);
}

.solutions-hero-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(22,22,23,.12);
}

.solutions-hero-media img {
  display: block;
  width: 100%;
  min-height: 455px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.solutions-blocks {
  background: var(--white);
}

.solutions-blocks .section-heading {
  max-width: 980px;
}

.solutions-stack {
  display: grid;
  gap: 26px;
}

.solution-row {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #fff8f5);
  box-shadow: 0 16px 42px rgba(22,22,23,.07);
}

.solution-row.is-reversed {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
}

.solution-row.is-reversed figure {
  order: 2;
}

.solution-row figure {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px rgba(22,22,23,.06);
}

.solution-row img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.solution-row-copy > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--white);
  background: var(--burgundy);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.solution-row-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
}

.solution-row-copy dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.solution-row-copy dl div {
  padding-left: 15px;
  border-left: 3px solid rgba(253,81,4,.34);
}

.solution-row-copy dt {
  margin-bottom: 4px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.solution-row-copy dd {
  margin: 0;
  color: #566071;
  font-size: 1rem;
  line-height: 1.55;
}

.solution-row:nth-child(odd) .solution-row-copy > span {
  display: flex;
  width: fit-content;
  margin-left: auto;
}

.solution-video-section {
  background: var(--soft);
}

.solution-video-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.solution-video-grid h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.solution-video-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.solution-video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(253,81,4,.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(22,22,23,.88), rgba(54,8,20,.86)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 42px);
  box-shadow: 0 20px 52px rgba(22,22,23,.16);
}

.solution-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center;
  background: var(--black);
}

.solution-kpi-band {
  padding: 54px 0;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(253,81,4,.28), transparent 24%),
    linear-gradient(135deg, #171719, #2a2529 56%, #3d0818);
}

.solution-kpi-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.solution-kpi-grid strong {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255,255,255,.07);
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.solution-kpi-band small {
  display: block;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.problem-finder {
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.problem-grid article {
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.problem-grid p {
  color: #566071;
  line-height: 1.45;
}

.problem-grid strong {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--orange);
  background: #fff0e8;
}

@media (max-width: 1050px) {
  .solutions-hero-grid,
  .solution-video-grid,
  .solution-row,
  .solution-row.is-reversed {
    grid-template-columns: 1fr;
  }

  .solution-row.is-reversed figure {
    order: 0;
  }

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

  .solutions-hero-media img {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .solutions-hero {
    padding: 54px 0;
  }

  .solution-row {
    padding: 14px;
  }

  .solution-video-card {
    aspect-ratio: 16 / 9;
  }

  .solutions-hero-media img {
    min-height: 290px;
  }

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

/* Página Servicios */
.services-hero {
  overflow: hidden;
  padding: 76px 0 62px;
  background:
    radial-gradient(circle at 82% 18%, rgba(253,81,4,.14), transparent 24%),
    linear-gradient(180deg, #fff, var(--soft));
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4.5vw, 58px);
  align-items: center;
}

.services-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: .98;
}

.services-hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.22vw, 1.2rem);
}

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

.services-hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -7% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(253,81,4,.13);
  filter: blur(34px);
}

.services-hero-slider {
  position: relative;
  min-height: 420px;
}

.services-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  margin: 0;
  opacity: 0;
  transform: translateX(95px) scale(.985);
  animation: servicesHeroDeck 10s cubic-bezier(.2,.8,.2,1) infinite;
}

.services-hero-slide:nth-child(2) {
  animation-delay: 5s;
}

.services-hero-slide img {
  display: block;
  width: 100%;
  max-height: 410px;
  border: 1px solid var(--line);
  border-radius: 22px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(22,22,23,.13);
}

@keyframes servicesHeroDeck {
  0% { opacity: 0; transform: translateX(95px) scale(.985); }
  9%, 43% { opacity: 1; transform: translateX(0) scale(1); }
  50%, 100% { opacity: 0; transform: translateX(-42px) scale(.99); }
}

.service-dashboard {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 60px rgba(22,22,23,.13);
}

.service-dashboard::before {
  content: "";
  position: absolute;
  inset: -38px -30px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(253,81,4,.12);
  filter: blur(28px);
  z-index: -1;
}

.service-dashboard-top,
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-dashboard-top {
  margin-bottom: 18px;
}

.service-dashboard-top span,
.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.service-dashboard-top span:nth-child(2),
.window-bar span:nth-child(2) {
  background: #f7b636;
}

.service-dashboard-top span:nth-child(3),
.window-bar span:nth-child(3) {
  background: #20b86a;
}

.service-dashboard-top strong {
  margin-left: auto;
  color: var(--black);
}

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

.service-metrics article,
.service-table,
.service-chart {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.service-metrics article {
  padding: 14px;
}

.service-metrics span,
.service-table span,
.service-table em {
  color: var(--muted);
  font-size: .82rem;
}

.service-metrics strong {
  display: block;
  margin: 8px 0 3px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.service-metrics small {
  color: #049a45;
  font-weight: 850;
}

.service-chart {
  position: relative;
  height: 168px;
  margin-bottom: 14px;
  overflow: hidden;
}

.service-chart span {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #eee2dc;
}

.service-chart span:nth-child(1) { top: 28px; }
.service-chart span:nth-child(2) { top: 68px; }
.service-chart span:nth-child(3) { top: 108px; }
.service-chart span:nth-child(4) { top: 148px; }

.service-chart svg {
  position: absolute;
  inset: 14px 18px;
  width: calc(100% - 36px);
  height: calc(100% - 28px);
}

.service-chart polyline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-table {
  display: grid;
  overflow: hidden;
}

.service-table div {
  display: grid;
  grid-template-columns: 1fr .78fr .65fr;
  gap: 10px;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
}

.service-table div:first-child {
  border-top: 0;
  background: #fff8f4;
}

.service-table strong,
.service-table em {
  font-style: normal;
  font-weight: 850;
}

.service-quick-benefits {
  padding: 22px 0;
  background: var(--white);
}

.service-benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-benefit-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-benefit-strip .icon-bubble {
  width: 48px;
  height: 48px;
  margin: 0;
}

.service-benefit-strip strong {
  font-size: 1.02rem;
}

.service-premium-section {
  background: var(--soft);
}

.premium-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.premium-service-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(22,22,23,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.premium-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253,81,4,.22);
  box-shadow: 0 20px 50px rgba(22,22,23,.11);
}

.premium-service-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.premium-service-head .icon-bubble {
  flex: 0 0 auto;
  margin: 0;
}

.premium-service-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
}

.premium-service-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.premium-service-block span,
.premium-service-result span {
  display: block;
  margin-bottom: 7px;
  color: var(--burgundy);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.premium-service-block p {
  color: #566071;
  line-height: 1.55;
}

.premium-service-block ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-service-block li {
  padding: 7px 10px;
  border-radius: 999px;
  color: #4f5868;
  background: #fff4ee;
  font-size: .88rem;
  font-weight: 750;
}

.premium-service-result {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7f2, #fff);
}

.premium-service-result strong {
  color: var(--black);
  line-height: 1.45;
}

.service-interfaces-section {
  background: var(--white);
}

.service-interface-grid,
.key-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-interface-card,
.key-benefit-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-interface-card {
  padding: 18px;
}

.service-interface-card h3 {
  margin-top: 16px;
}

.service-interface-card p,
.key-benefit-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.interface-window {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fff8f5);
}

.interface-window .window-bar {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.interface-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 14px;
}

.interface-kpis b {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.interface-line {
  height: 72px;
  margin: 8px 18px;
  border-bottom: 6px solid var(--orange);
  border-radius: 0 0 48px 10px;
  transform: skewX(-22deg);
}

.interface-bars {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: end;
  gap: 9px;
}

.interface-bars span {
  width: 30px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--burgundy));
}

.interface-bars span:nth-child(1) { height: 38px; }
.interface-bars span:nth-child(2) { height: 62px; }
.interface-bars span:nth-child(3) { height: 88px; }
.interface-bars span:nth-child(4) { height: 54px; }

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(22,22,23,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,22,23,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(253,81,4,.13);
}

.map-pin.a { top: 32%; left: 24%; }
.map-pin.b { top: 56%; left: 52%; background: var(--burgundy); }
.map-pin.c { top: 28%; left: 72%; }

.map-route {
  position: absolute;
  inset: 34% 22% auto 28%;
  height: 72px;
  border-top: 4px solid var(--orange);
  border-right: 4px solid var(--orange);
  border-radius: 0 44px 0 0;
  opacity: .8;
}

.crm-row {
  display: grid;
  grid-template-columns: 1fr .8fr .7fr;
  gap: 10px;
  margin: 0 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.crm-row em {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--burgundy);
  background: #fff0e8;
  font-style: normal;
  font-weight: 800;
  font-size: .78rem;
}

.service-key-benefits {
  background: var(--soft);
}

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

.key-benefit-grid article {
  padding: 22px;
}

@media (max-width: 1050px) {
  .services-hero-grid,
  .premium-service-grid,
  .service-interface-grid,
  .key-benefit-grid {
    grid-template-columns: 1fr;
  }

  .service-benefit-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .services-hero {
    padding: 54px 0;
  }

  .service-dashboard {
    padding: 16px;
  }

  .service-metrics {
    grid-template-columns: 1fr;
  }

  .service-table div,
  .crm-row {
    grid-template-columns: 1fr;
  }
}

/* Ajustes puntuales Servicios */
.service-dashboard {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 12px;
  padding: 18px;
}

.service-dashboard-top,
.service-metrics {
  grid-column: 1 / -1;
}

.service-dashboard-top {
  min-height: 38px;
  margin-bottom: 0;
  padding: 0 6px 10px;
  border-bottom: 1px solid var(--line);
}

.service-dashboard-top::after {
  content: "Buscar indicador...";
  margin-left: 18px;
  padding: 8px 16px;
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8a94a5;
  background: #fbfbfc;
  font-size: .78rem;
}

.service-metrics {
  gap: 10px;
  margin-bottom: 0;
}

.service-metrics article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  align-items: end;
  min-height: 76px;
  padding: 12px;
}

.service-metrics article span,
.service-metrics article small {
  grid-column: 1 / -1;
}

.service-metrics strong {
  margin: 0;
  font-size: clamp(1.16rem, 1.45vw, 1.45rem);
}

.service-chart {
  height: 190px;
  margin-bottom: 0;
}

.service-table {
  align-self: stretch;
}

.service-table div {
  grid-template-columns: 1fr .78fr;
}

.service-table div strong:nth-child(3),
.service-table div span:nth-child(3) {
  display: none;
}

.benefit-icon-img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-benefit-strip .icon-bubble {
  overflow: hidden;
}

.service-interface-card {
  display: flex;
  flex-direction: column;
}

.interface-window.crm {
  min-height: 230px;
}

.crm-row {
  padding: 11px 0;
}

.benefits-transform {
  max-width: var(--container);
}

.benefits-transform .section-heading {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 26px;
}

.benefits-transform .section-heading h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  line-height: 1.05;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.transform-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0,0,0,.07);
}

.transform-header {
  padding: 15px 22px;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
}

.transform-header.dark {
  background: var(--black);
}

.transform-header.orange {
  background: linear-gradient(90deg, var(--orange) 0%, var(--burgundy) 100%);
}

.transform-list {
  padding: 10px 18px 14px;
}

.transform-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid #eeeeee;
  font-size: .98rem;
  font-weight: 800;
}

.transform-item:last-child {
  border-bottom: 0;
}

.item-icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #777;
  background: #f2f2f2;
  font-size: .88rem;
  font-weight: 900;
}

.transform-item.muted {
  color: #5f6573;
}

.item-icon.check {
  color: var(--white);
  background: var(--orange);
}

.transform-item.strong {
  color: var(--black);
}

.benefits-result {
  max-width: none;
  margin: 20px auto 0;
  padding: 16px 24px;
  border: 1px solid #ffd9c7;
  border-radius: 20px;
  background: #fff6f1;
  text-align: center;
}

.benefits-result p {
  margin: 0;
  color: #1d1d1d;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 650;
}

@media (max-width: 1050px) {
  .service-dashboard {
    grid-template-columns: 1fr;
  }

  .services-hero-visual,
  .services-hero-slider {
    min-height: 360px;
  }

  .service-table div {
    grid-template-columns: 1fr .78fr .65fr;
  }

  .service-table div strong:nth-child(3),
  .service-table div span:nth-child(3) {
    display: block;
  }
}

@media (max-width: 700px) {
  .transform-grid {
    grid-template-columns: 1fr;
  }

  .service-dashboard-top::after {
    display: none;
  }

  .benefits-transform .section-heading {
    margin-bottom: 24px;
  }

  .transform-header {
    padding: 14px 18px;
  }

  .transform-list {
    padding: 10px 16px 14px;
  }

  .transform-item {
    padding: 12px 2px;
    font-size: .96rem;
  }
}

@media (max-width: 620px) {
  .services-hero-visual,
  .services-hero-slider {
    min-height: 290px;
  }

  .services-hero-slide img {
    max-height: 280px;
    border-radius: 16px;
  }
}

/* Ajustes finos Servicios: escala y encuadre */
.services-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 26px 0 34px;
}

.services-hero-grid {
  grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr);
  gap: 34px;
}

.services-hero-copy h1 {
  font-size: clamp(2.45rem, 4.2vw, 4rem);
}

.services-hero-visual,
.services-hero-slider {
  min-height: 470px;
}

.services-hero-slide {
  inset: 6px 0 auto auto;
}

.services-hero-slide img {
  max-height: 455px;
  width: min(100%, 730px);
  margin-left: auto;
  filter: drop-shadow(0 24px 55px rgba(22,22,23,.18));
}

.service-interfaces-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.service-interfaces-section .section-heading {
  margin-bottom: 22px;
}

.service-interface-card {
  padding: 0 0 12px;
  overflow: hidden;
}

.service-interface-media {
  height: 188px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: var(--white);
  line-height: 0;
}

.service-interface-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.service-interface-card h3,
.service-interface-card p {
  padding-inline: 18px;
}

.service-interface-card h3 {
  margin-top: 12px;
  margin-bottom: 6px;
}

.service-interface-card p {
  margin-bottom: 0;
  font-size: .95rem;
  line-height: 1.34;
}

.interface-window {
  min-height: 188px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
}

.interface-window.crm {
  min-height: 188px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
}

.interface-window.crm .window-bar {
  padding: 10px 14px;
}

.crm-row {
  margin-inline: 14px;
  padding: 7px 0;
  font-size: .86rem;
}

.crm-row em {
  padding: 3px 7px;
  font-size: .7rem;
}

.service-key-benefits {
  padding-top: 54px;
  padding-bottom: 54px;
}

.benefits-transform .section-heading {
  margin-bottom: 18px;
}

.benefits-transform .section-heading h2 {
  font-size: clamp(1.45rem, 2.25vw, 2.1rem);
}

.transform-grid {
  gap: 18px;
}

.transform-card {
  border-radius: 16px;
}

.transform-header {
  padding: 12px 18px;
  font-size: 1rem;
}

.transform-list {
  padding: 7px 15px 10px;
}

.transform-item {
  padding: 9px 2px;
  font-size: .92rem;
}

.item-icon {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
  font-size: .78rem;
}

.benefits-result {
  margin-top: 12px;
  padding: 13px 20px;
  border-radius: 16px;
}

.benefits-result p {
  font-size: .95rem;
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
  }

  .services-hero {
    min-height: auto;
  }

  .services-hero-slide img {
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .services-hero {
    padding: 46px 0;
  }

  .services-hero-visual,
  .services-hero-slider {
    min-height: 300px;
  }

  .services-hero-slide img {
    width: 100%;
    max-height: 290px;
  }

  .interface-window,
  .interface-window.crm,
  .service-interface-media {
    min-height: 170px;
    height: 170px;
  }
}

/* Página Capacitación */
body.training-page .site-header {
  background: #161617;
  border-bottom-color: transparent;
}

body.training-page .site-header.is-scrolled {
  border-color: transparent;
  box-shadow: none;
}

body.training-page .site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

body.training-page .site-nav a:hover,
body.training-page .site-nav a.is-active {
  color: var(--orange);
}

body.training-page .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

body.training-page .nav-toggle span:not(.sr-only) {
  background: var(--white);
}

.btn-ghost-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-dark:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 81, 4, 0.62);
  background: rgba(253, 81, 4, 0.12);
  box-shadow: 0 18px 38px rgba(253, 81, 4, 0.18);
}

.training-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 46px;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 24%, rgba(253, 81, 4, 0.16), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(146, 4, 37, 0.28), transparent 36%),
    linear-gradient(135deg, #161617 0%, #161617 32%, #171311 100%);
}

.training-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

.training-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(480px, 1.08fr) minmax(390px, 0.92fr);
  gap: 44px 54px;
  align-items: center;
}

.training-hero-media {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  isolation: isolate;
}

.training-hero-media::before {
  content: "";
  position: absolute;
  inset: 9% 8% -5%;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(253, 81, 4, 0.18), rgba(146, 4, 37, 0.18));
  filter: blur(26px);
}

.training-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateX(-34px) scale(0.985);
  filter: drop-shadow(0 28px 58px rgba(0, 0, 0, 0.34));
  animation: trainingHeroSwap 10s ease-in-out infinite;
}

.training-hero-img:nth-child(2) {
  animation-delay: 5s;
}

@keyframes trainingHeroSwap {
  0% { opacity: 0; transform: translateX(-34px) scale(0.985); }
  8%, 44% { opacity: 1; transform: translateX(0) scale(1); }
  52%, 100% { opacity: 0; transform: translateX(28px) scale(0.99); }
}

.training-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.training-hero-copy h1 {
  max-width: 610px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.35rem, 4.25vw, 4.28rem);
  line-height: 1;
  letter-spacing: 0;
}

.training-hero-copy h1 span {
  color: var(--orange);
}

.training-hero-text {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.55vw, 1.26rem);
  line-height: 1.55;
}

.training-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.training-benefits {
  order: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 0;
}

.training-benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.training-benefit-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--orange);
  background: rgba(253, 81, 4, 0.13);
}

.training-benefit-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.training-benefit h2 {
  margin: 0 0 3px;
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.2;
}

.training-benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.35;
}

.training-courses {
  padding: 70px 0 84px;
  background:
    radial-gradient(circle at 50% 0%, rgba(253, 81, 4, 0.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.training-heading {
  margin-bottom: 30px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.training-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.06;
}

.training-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 14px;
}

.training-course-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(22, 22, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(22, 22, 23, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.training-course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(253, 81, 4, 0.28);
  box-shadow: 0 26px 60px rgba(253, 81, 4, 0.12), 0 18px 44px rgba(22, 22, 23, 0.08);
}

.training-course-top {
  display: block;
}

.training-course-number {
  position: absolute;
  top: -13px;
  left: 18px;
  z-index: 2;
  min-width: 38px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--white);
  background: var(--burgundy);
  box-shadow: none;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.training-course-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.04rem;
  line-height: 1.16;
}

.training-course-image {
  width: 100%;
  height: 178px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 18px 18px 0 0;
  background: #fff;
}

.training-course-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 18px 18px;
}

.training-course-body > p {
  margin: 0;
  color: #4f5663;
  font-size: 0.9rem;
  line-height: 1.42;
}

.training-course-details {
  margin-top: 3px;
}

.training-course-details summary {
  width: max-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(253, 81, 4, 0.55);
  border-radius: 9px;
  color: var(--orange);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.training-course-details summary::-webkit-details-marker {
  display: none;
}

.training-course-details summary svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.training-course-details[open] summary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(253, 81, 4, 0.18);
}

.training-course-details[open] summary svg {
  transform: rotate(-90deg);
}

.training-detail-panel {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbfaf8);
}

.training-detail-panel h4 {
  margin: 0;
  color: var(--black);
  font-size: 0.82rem;
  line-height: 1.2;
}

.training-detail-panel p {
  margin: 0;
  color: #4f5663;
  font-size: 0.78rem;
  line-height: 1.3;
}

.training-detail-panel ul {
  display: grid;
  gap: 5px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.training-detail-panel li {
  position: relative;
  padding-left: 18px;
  color: #3f4652;
  font-size: 0.76rem;
  line-height: 1.26;
}

.training-detail-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .training-hero {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .training-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .training-hero-media {
    order: 2;
    min-height: 360px;
  }

  .training-hero-copy {
    order: 1;
  }

  .training-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.training-page .site-nav {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(9, 10, 12, 0.98);
  }

  .training-benefits,
  .training-course-grid {
    grid-template-columns: 1fr;
  }

  .training-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .training-course-card {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .training-hero {
    padding: 42px 0 50px;
  }

  .training-hero-media {
    min-height: 280px;
  }

  .training-actions .btn {
    width: 100%;
  }

  .training-courses {
    padding: 54px 0 64px;
  }

  .training-course-body {
    padding: 15px;
  }
}

@media (max-width: 620px) {
  .hero-fit .hero-visual,
  .services-hero-visual,
  .solutions-hero-media,
  .training-hero-media,
  .about-hero-visual {
    display: none;
  }

  .hero-fit,
  .services-hero,
  .solutions-hero,
  .training-hero,
  .about-hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero-fit .hero-grid,
  .services-hero-grid,
  .solutions-hero-grid,
  .training-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .useful-section {
    overflow: hidden;
    padding: 54px 0;
  }

  .useful-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
  }

  .useful-lead h2 {
    max-width: none;
    font-size: clamp(1.85rem, 10vw, 2.45rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .useful-lead p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.55;
  }

  .useful-points {
    width: 100%;
    max-width: none;
    gap: 12px;
  }

  .useful-points article {
    padding: 16px 18px;
  }

  .useful-points h3 {
    font-size: 1rem;
  }

  .useful-points p {
    font-size: .95rem;
    line-height: 1.45;
  }
}

/* Página Sobre nosotros */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 48px;
  background:
    radial-gradient(circle at 82% 16%, rgba(253, 81, 4, 0.13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(420px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.about-hero-copy h1 {
  max-width: 670px;
  margin: 0;
  color: var(--black);
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.about-hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.about-hero-visual {
  position: relative;
  min-height: 455px;
  display: grid;
  place-items: center;
}

.about-hero-visual::before {
  content: "";
  position: absolute;
  inset: 14% -3% -8% 18%;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(253, 81, 4, 0.14), rgba(146, 4, 37, 0.12));
  filter: blur(28px);
}

.about-logo-stage {
  position: relative;
  width: min(100%, 455px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.about-logo-stage::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(253, 81, 4, 0.2), transparent 58%),
    radial-gradient(circle at 76% 20%, rgba(146, 4, 37, 0.22), transparent 34%);
  filter: blur(18px);
  animation: aboutGlowBuild 4.8s ease-in-out infinite;
}

.about-logo-stage img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(22, 22, 23, 0.16));
  opacity: 0;
  animation: aboutLogoBuild 4.8s cubic-bezier(.2,.8,.2,1) infinite;
}

.about-logo-ring {
  position: absolute;
  inset: 9%;
  border: 2px solid rgba(253, 81, 4, 0.22);
  border-top-color: var(--orange);
  border-right-color: rgba(146, 4, 37, 0.55);
  border-radius: 50%;
  transform: rotate(-35deg);
  animation: aboutRingDraw 4.8s cubic-bezier(.2,.8,.2,1) infinite;
}

.about-logo-ring.is-second {
  inset: 22%;
  border-color: rgba(22, 22, 23, 0.12);
  border-bottom-color: var(--orange);
  border-left-color: rgba(146, 4, 37, 0.5);
  animation-delay: .28s;
  animation-duration: 5.2s;
}

.about-logo-node {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 10px rgba(253, 81, 4, 0.12);
  opacity: 0;
  animation: aboutNodePop 4.8s ease-in-out infinite;
}

.about-logo-node.node-one {
  left: 18%;
  bottom: 31%;
}

.about-logo-node.node-two {
  right: 29%;
  top: 19%;
  background: var(--burgundy);
  box-shadow: 0 0 0 10px rgba(146, 4, 37, 0.12);
  animation-delay: .18s;
}

.about-logo-node.node-three {
  right: 16%;
  bottom: 39%;
  animation-delay: .36s;
}

@keyframes aboutLogoBuild {
  0% { opacity: 0; transform: scale(.82) rotate(-5deg); clip-path: circle(0% at 42% 58%); }
  18% { opacity: 1; transform: scale(1.02) rotate(0deg); clip-path: circle(68% at 42% 58%); }
  38%, 78% { opacity: 1; transform: scale(1) rotate(0deg); clip-path: circle(78% at 50% 50%); }
  100% { opacity: 0; transform: scale(.96) rotate(4deg); clip-path: circle(0% at 70% 24%); }
}

@keyframes aboutRingDraw {
  0% { opacity: 0; transform: rotate(-120deg) scale(.78); clip-path: inset(0 100% 0 0); }
  18% { opacity: 1; transform: rotate(18deg) scale(1); clip-path: inset(0 0 0 0); }
  72% { opacity: 1; transform: rotate(96deg) scale(1.02); }
  100% { opacity: 0; transform: rotate(150deg) scale(.92); }
}

@keyframes aboutNodePop {
  0%, 8% { opacity: 0; transform: scale(.2); }
  18%, 76% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.45); }
}

@keyframes aboutGlowBuild {
  0%, 100% { opacity: .35; transform: scale(.88); }
  24%, 76% { opacity: 1; transform: scale(1); }
}

.about-system-window,
.about-metrics-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 22, 23, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(22, 22, 23, 0.14);
}

.about-window-bar,
.about-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.about-window-bar span,
.about-panel-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.about-window-bar span:nth-child(2),
.about-panel-header span:nth-child(2) {
  background: #f4b33f;
}

.about-window-bar span:nth-child(3),
.about-panel-header span:nth-child(3) {
  background: #24bd69;
}

.about-window-bar strong,
.about-panel-header strong {
  margin-left: 8px;
  color: var(--black);
  font-size: 0.9rem;
}

.about-system-content {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 360px;
}

.about-system-content aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #fafafa;
}

.about-system-content aside b {
  margin-bottom: 10px;
  color: var(--black);
}

.about-system-content aside span {
  padding: 10px 12px;
  border-radius: 10px;
  color: #596070;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-system-content aside .is-active {
  color: var(--orange);
  background: rgba(253, 81, 4, 0.1);
}

.about-system-content main {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.about-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-metric-row article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.about-metric-row span,
.about-metric-row small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.about-metric-row strong {
  display: block;
  margin: 4px 0;
  color: var(--black);
  font-size: 1.55rem;
  line-height: 1;
}

.about-metric-row small {
  color: #00984c;
}

.about-chart-card {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(#f0ebe8 1px, transparent 1px) 0 34% / 100% 52px,
    linear-gradient(180deg, #fff, #fff8f4);
}

.about-chart-line {
  position: absolute;
  left: 12%;
  right: 13%;
  top: 54%;
  height: 72px;
  background: linear-gradient(135deg, transparent 0 12%, var(--orange) 12% 18%, transparent 18% 28%, var(--orange) 28% 34%, transparent 34% 46%, var(--orange) 46% 52%, transparent 52% 63%, var(--orange) 63% 69%, transparent 69%);
  clip-path: polygon(0 72%, 18% 58%, 33% 62%, 50% 38%, 64% 46%, 78% 20%, 100% 4%, 100% 16%, 78% 32%, 64% 58%, 50% 50%, 33% 74%, 18% 70%, 0 84%);
}

.about-chart-bars {
  position: absolute;
  right: 8%;
  bottom: 0;
  display: flex;
  align-items: end;
  gap: 10px;
  width: 33%;
  height: 44%;
}

.about-chart-bars span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--orange), var(--burgundy));
}

.about-section {
  padding: 72px 0;
}

.about-philosophy {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 22%, rgba(253, 81, 4, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(146, 4, 37, 0.18), transparent 26%),
    var(--black);
}

.about-philosophy .section-heading {
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-philosophy .section-heading h2 {
  color: var(--white);
}

.about-philosophy .section-heading .eyebrow {
  color: var(--orange);
}

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

.about-value-card {
  min-height: 225px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 81, 4, 0.25);
  box-shadow: 0 24px 54px rgba(253, 81, 4, 0.11), 0 16px 38px rgba(22, 22, 23, 0.07);
}

.about-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--orange);
  background:
    radial-gradient(circle at 72% 22%, rgba(253, 81, 4, 0.22), transparent 42%),
    linear-gradient(135deg, #fff, #fff2eb);
  box-shadow: 0 14px 26px rgba(253, 81, 4, 0.13);
}

.about-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.about-icon .icon-img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.about-value-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.17rem;
}

.about-value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.about-value-card mark {
  color: var(--orange);
  background: transparent;
  font-weight: 900;
}

.about-value-card .reading-mark {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  animation: aboutReadingMark 4.8s ease-in-out infinite;
}

.about-value-card .mark-two {
  animation-delay: 1.6s;
}

.about-value-card .mark-three {
  animation-delay: 3.2s;
}

@keyframes aboutReadingMark {
  0%, 24%, 100% {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
    text-shadow: none;
  }
  6%, 18% {
    color: var(--orange);
    font-weight: 900;
    text-shadow: 0 0 14px rgba(253, 81, 4, 0.35);
  }
}

.about-story {
  background:
    radial-gradient(circle at 10% 20%, rgba(253, 81, 4, 0.07), transparent 30%),
    var(--soft);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr);
  gap: 34px;
  align-items: stretch;
}

.about-story-copy,
.about-difference {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(22, 22, 23, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(22, 22, 23, 0.07);
}

.about-story-copy h2,
.about-difference h2,
.about-vision h2 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
}

.about-story-copy p:not(.eyebrow),
.about-vision p:not(.eyebrow) {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-origin-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: origin;
}

.about-origin-list li {
  position: relative;
  padding: 4px 0 4px 46px;
  border: 0;
  border-radius: 0;
  color: #515866;
  background: transparent;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.32;
  counter-increment: origin;
}

.about-origin-list li::before {
  content: counter(origin);
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: var(--burgundy);
  transform: translateY(-50%);
  font-size: .72rem;
  font-weight: 900;
}

.about-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-compare-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.about-compare-card.is-md {
  border-color: rgba(253, 81, 4, 0.25);
  background: linear-gradient(180deg, #fff, #fff6f1);
}

.about-compare-card h3 {
  margin: 0 0 14px;
  color: var(--black);
  font-size: 1.1rem;
}

.about-compare-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-compare-card li {
  position: relative;
  padding-left: 22px;
  color: #515866;
  font-weight: 700;
  line-height: 1.34;
}

.about-compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a7aab2;
}

.about-compare-card.is-md li::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(253, 81, 4, 0.12);
}

.about-statement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 25px 28px;
  border-radius: 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 18%, rgba(253, 81, 4, 0.24), transparent 26%),
    var(--black);
  box-shadow: 0 22px 55px rgba(22, 22, 23, 0.15);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.about-statement strong {
  color: var(--orange);
}

.about-vision {
  background: var(--white);
}

.about-vision-grid {
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.about-metrics-panel {
  padding-bottom: 18px;
}

.about-vision-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 22px;
}

.about-vision-metrics article {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff7f2);
  text-align: center;
}

.about-vision-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1;
}

.about-vision-metrics span {
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.22;
}

.about-metrics-panel small {
  display: block;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 22px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1040px) {
  .about-hero-grid,
  .about-story-grid,
  .about-vision-grid {
    grid-template-columns: 1fr;
  }

  .about-philosophy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-hero,
  .about-section {
    padding: 54px 0;
  }

  .about-system-content,
  .about-comparison-grid,
  .about-vision-metrics,
  .about-philosophy-grid {
    grid-template-columns: 1fr;
  }

  .about-system-content aside {
    display: none;
  }

  .about-metric-row {
    grid-template-columns: 1fr;
  }

  .about-story-copy,
  .about-difference {
    padding: 22px;
  }
}

/* Paginas legales y consentimiento de cookies */
.legal-hero {
  padding: 68px 0 52px;
  background:
    radial-gradient(circle at 88% 18%, rgba(253, 81, 4, 0.1), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner {
  max-width: 920px;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-updated {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid #ffd7c5;
  border-radius: 999px;
  color: var(--black);
  background: #fff7f2;
  font-size: 0.86rem;
  font-weight: 800;
}

.legal-section {
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1180px;
}

.legal-index {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.legal-index strong {
  margin-bottom: 8px;
  color: var(--black);
}

.legal-index a {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  transition: color 0.2s ease, background 0.2s ease;
}

.legal-index a:hover,
.legal-index a:focus-visible {
  color: var(--orange);
  background: #fff3ec;
  outline: 0;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.legal-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 110px;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.legal-card h3 {
  margin-bottom: 10px;
}

.legal-card p {
  color: #4f5663;
}

.legal-card p:last-child,
.legal-list:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  color: #444b57;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(253, 81, 4, 0.12);
}

.legal-data-grid,
.legal-two-cards,
.cookie-type-grid {
  display: grid;
  gap: 14px;
}

.legal-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.legal-data-grid div,
.legal-two-cards section,
.cookie-type-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfaf8);
}

.legal-data-grid span,
.cookie-type-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-data-grid strong {
  color: var(--black);
}

.legal-two-cards,
.cookie-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.cookie-type-card h3 {
  margin-bottom: 8px;
}

.cookie-type-card p {
  margin: 0;
  font-size: 0.95rem;
}

.legal-inline-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(253, 81, 4, 0.55);
  border-radius: var(--radius);
  color: var(--orange);
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.legal-inline-button:hover,
.legal-inline-button:focus-visible {
  color: var(--white);
  background: var(--orange);
  outline: 0;
}

.legal-contact-band {
  padding: 34px 0 74px;
  background: var(--white);
}

.legal-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 94% 45%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(135deg, var(--black), #26262b);
  box-shadow: var(--shadow-soft);
}

.legal-contact-inner p {
  margin: 0;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
}

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

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  font-size: 0.86rem;
  justify-self: center;
  text-align: center;
}

.footer-legal a,
.footer-legal button {
  color: #d8d8dd;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-legal button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal button:hover,
.footer-legal a:focus-visible,
.footer-legal button:focus-visible {
  color: var(--orange);
  outline: 0;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner-card {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 70px rgba(22, 22, 23, 0.18);
  pointer-events: auto;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1rem;
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.cookie-banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 850;
}

.cookie-banner-actions,
.cookie-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner-actions {
  justify-content: flex-end;
}

.cookie-banner-actions .btn,
.cookie-panel-actions .btn {
  min-height: 42px;
  padding: 11px 15px;
  white-space: nowrap;
}

.cookie-btn-muted {
  color: var(--black);
  border-color: var(--line);
  background: #f5f5f6;
}

.cookie-btn-muted:hover,
.cookie-btn-muted:focus-visible {
  background: #ececef;
  outline: 0;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 23, 0.48);
}

.cookie-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.cookie-panel:focus {
  outline: 0;
}

.cookie-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.cookie-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--black);
  background: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-close:hover,
.cookie-close:focus-visible {
  border-color: rgba(253, 81, 4, 0.5);
  color: var(--orange);
  outline: 0;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfaf8);
}

.cookie-option h3 {
  margin-bottom: 5px;
}

.cookie-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 122px;
  margin: 0;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch span {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.cookie-switch span::before {
  content: "";
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d9d9de;
  box-shadow: inset 0 0 0 2px rgba(22, 22, 23, 0.06);
  transition: background 0.2s ease;
}

.cookie-switch span::after {
  content: "";
  position: absolute;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 7px rgba(22, 22, 23, 0.2);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + span::before {
  background: var(--orange);
}

.cookie-switch input:checked + span::after {
  transform: translateX(20px);
}

.cookie-switch input:focus-visible + span::before {
  box-shadow: 0 0 0 4px rgba(253, 81, 4, 0.16);
}

.cookie-switch.is-disabled {
  cursor: not-allowed;
}

.cookie-switch.is-disabled span {
  color: var(--black);
}

.cookie-panel-actions {
  justify-content: flex-end;
  margin-top: 20px;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-index strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .cookie-banner-card {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn,
  .cookie-panel-actions .btn {
    flex: 1 1 160px;
  }

  .legal-contact-inner {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .legal-hero {
    padding: 48px 0 38px;
  }

  .legal-card,
  .cookie-panel {
    padding: 20px;
  }

  .legal-index,
  .legal-data-grid,
  .legal-two-cards,
  .cookie-type-grid,
  .cookie-option {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner-card {
    padding: 16px;
  }

  .cookie-banner-actions .btn,
  .cookie-panel-actions .btn {
    width: 100%;
  }
}

/* Ajustes finales para vista celular */
@media (max-width: 620px) {
  .hero-fit .hero-visual,
  .services-hero-visual,
  .solutions-hero-media,
  .training-hero-media,
  .about-hero-visual {
    display: none;
  }

  .hero-fit .hero-grid,
  .services-hero-grid,
  .solutions-hero-grid,
  .training-hero-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-fit,
  .services-hero,
  .solutions-hero,
  .training-hero,
  .about-hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .useful-section {
    overflow: hidden;
    padding: 54px 0;
  }

  .useful-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
  }

  .useful-lead h2 {
    max-width: none;
    font-size: clamp(1.85rem, 10vw, 2.45rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .useful-lead p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.55;
  }

  .useful-points {
    width: 100%;
    max-width: none;
    gap: 12px;
  }

  .useful-points article {
    padding: 16px 18px;
  }

  .useful-points h3 {
    font-size: 1rem;
  }

  .useful-points p {
    font-size: .95rem;
    line-height: 1.45;
  }
}
