:root {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

@font-face {
  font-family: 'Inter';
  src: url('../sites/inventos%20buenos/JGA/assets/fonts/Inter-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../sites/inventos%20buenos/JGA/assets/fonts/Inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../sites/inventos%20buenos/JGA/assets/fonts/Inter-500.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* Base */
:root {
  --paper: #f5f2eb;
  --paper-strong: #ffffff;
  --ink: #1c2a44;
  --ink-muted: #5a6070;
  --accent: #1f4f82;
  --accent-amber: #d9a441;
  --border-soft: #e6e2d9;
  --shadow-soft: 0 10px 24px rgba(16, 22, 32, 0.08), 0 2px 6px rgba(16, 22, 32, 0.04);
  --radius-neo: 8px;
  /* Legacy tokens mapped to light palette */
  --text-neo: var(--ink);
  --muted-neo: var(--ink-muted);
  --bg-soft: #f0ede5;
  --primary-neo: var(--accent);
}

.cta-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta-col .btn {
  width: min(320px, 100%);
}

.contact-summary__cta .btn {
  width: min(280px, 100%);
}

.cta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted-neo);
}

.cta-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.cta-list li {
  display: flex;
  align-items: flex-start;
}

.hero-contact__grid,
.cta-two-column {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  margin-top: 20px;
}

.contact-page .hero-contact__grid {
  justify-items: center;
  align-items: center;
  column-gap: 32px;
}

.contact-page .hero-contact__grid .cta-list {
  justify-self: start;
}

.funnel-note {
  margin-top: 18px;
  font-style: italic;
  color: var(--ink);
}

.funnel-note::before {
  content: "*";
  margin-right: 6px;
  color: var(--accent);
}

.contact-checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 6px 0 10px;
  font-size: 0.9rem;
  color: var(--muted-neo);
}

.contact-checkbox input {
  margin-top: 3px;
}

.contact-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', 'Space Grotesk', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
}

a {
  color: inherit;
}

label {
  white-space: nowrap;
}

input,
select,
button {
  font-family: inherit;
}

/* Nueva landing WebDesignOstyler */
.page {
  min-height: 100vh;
  background: transparent;
  width: 100%;
}

.container {
  margin: 0 auto;
  max-width: none;
  padding: 0 clamp(16px, 4vw, 40px);
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

.site-header.is-pinned,
.drawer-open .site-header {
  box-shadow: 0 6px 24px rgba(2, 5, 10, 0.45);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  min-height: 72px;
}

.logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f4f82, #163a63);
  border: 1px solid rgba(28, 42, 68, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #02050a;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 55%);
  opacity: 0;
  animation: logo-flash 5s infinite;
}

.logo-text {
  color: var(--ink);
  font-size: 1.05rem;
}

@keyframes logo-flash {
  0%, 70% {
    opacity: 0;
  }
  74% {
    opacity: 0.6;
  }
  77% {
    opacity: 0.2;
  }
  80%, 100% {
    opacity: 0;
  }
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.site-header__cta {
  margin-left: 16px;
  padding: 8px 12px;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 10, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 18;
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(320px, 70vw);
  background: rgba(9, 14, 24, 0.98);
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.35);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 19;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  width: 32px;
  height: 32px;
}

.nav-close span {
  position: absolute;
  top: 50%;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-drawer__links a {
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--muted-neo);
}

.nav-drawer__links a.is-active,
.nav-drawer__links a:hover {
  color: var(--ink);
}

.nav-drawer__cta {
  width: 100%;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

body.drawer-open {
  overflow: hidden;
}

.btn {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius-neo);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  gap: 10px;
  box-sizing: border-box;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  box-shadow: 0 6px 14px rgba(31, 79, 130, 0.18);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn--block {
  width: 100%;
}

.btn:focus-visible,
.btn:active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 79, 130, 0.25);
  outline: none;
}

.hero {
  padding: clamp(80px, 12vw, 120px) 0 60px;
  text-align: center;
  align-content: start; 
  border-radius: 0 !important;
}

.hero--auditoria {
  background: var(--paper);
  text-align: left;
  border: none;
  min-height: 880px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: clamp(8px, 8vw, 90px);
}

.hero__content--auditoria {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: clamp(18px, 5vw, 28px);
  box-shadow: var(--shadow-soft);
  width: clamp(650px, 78vw, 920px);
  position: relative;
  z-index: 1;
}

.hero--video {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--paper);
}

.hero--video .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0 !important;
  opacity: 0;
  animation: heroVideoFade 1s ease-out forwards;
}

.hero--video .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  opacity: 0.35;
  border-radius: 0 !important;
}

.hero--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 242, 235, 0.55) 0%, rgba(245, 242, 235, 0.85) 100%);
  z-index: 0;
  border-radius: 0 !important;
}

@keyframes heroVideoFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}

.hero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.95rem;
  justify-content: space-evenly;
  justify-items: start;
  text-align: left;
}

.hero__bullets li::before {
  content: "•";
  color: var(--accent-amber);
  margin-right: 8px;
}

.hero__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__cta-stack .btn {
  width: min(320px, 100%);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__cta-stack {
    width: 100%;
  }

  .hero__content--auditoria {
    width: 100%;
  }
}

.hero__note {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted-neo);
}



.funnel {
  background: transparent;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.funnel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.diagnostico {
  background: var(--paper);
  padding-top: clamp(70px, 10vw, 110px);
  padding-bottom: clamp(70px, 10vw, 110px);
}

.diagnostico__header {
  text-align: center;
  margin-bottom: 48px;
}

.diagnostico__eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.diagnostico__header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 16px;
}

.diagnostico__header p {
  max-width: 664px;
  margin: 0 auto;
}

.diagnostico__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.diagnostico-grid-visual {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.55fr 1.65fr;
  gap: 0px;
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: clamp(12px, 2.6vw, 16px);
  box-shadow: var(--shadow-soft);
  margin-bottom: clamp(32px, 6vw, 48px);
  align-items: start;
}

.diag-col {
  display: flex;
  align-items: stretch;
  justify-content: center;
  justify-self: center;
}

.diag-col--stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

.diag-col--desktop,
.diag-col--mobile {
  position: relative;
}

.diag-col--metrics,
.diag-col--carousel {
  justify-self: stretch;
}

.diag-col--metrics {
  max-width: 240px;
}

.diag-col--metrics.diag-col--stack,
.diag-col--carousel.diag-col--stack {
  justify-items: center;
}

.mock-shell {
  background: transparent;
  border: none;
  border-radius: 12px;
  width: clamp(220px, 20vw, 320px);
  height: clamp(240px, 26vw, 340px);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(16, 22, 32, 0.08);
  position: relative;
  align-self: stretch;
  justify-self: start;
}

.mock-shell--mobile {
  width: clamp(160px, 17vw, 200px);
  height: clamp(260px, 28vw, 340px);
  border-radius: 22px;
}

.mock-caption {
  margin-top: 12px;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
}

.mock-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  animation: none;
}

.mock-img--mobile {
  animation: none;
}

.mock-img--content {
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  animation: mockScrollDesktop 22s linear infinite;
}

.mock-img--content.mock-img--mobile {
  width: calc(100% - 95px);
  left: 48px;
  right: auto;
  height: 100%;
  top: 0;
  bottom: 0;
  animation: mockScrollMobile 22s linear infinite;
}

.mock-img--frame {
  object-fit: contain;
  object-position: center;
  z-index: 2;
  pointer-events: none;
  animation: none;
}

.mock-img--frame.mock-img--desktop {
  object-position: top center;
}

@keyframes mockScrollDesktop {
  0% { transform: translateY(0); }
  50% { transform: translateY(-32%); }
  100% { transform: translateY(0); }
}

@keyframes mockScrollMobile {
  0% { transform: translateY(0); }
  50% { transform: translateY(-26%); }
  100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mock-img {
    animation: none;
  }
}

.diag-col--metrics {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.diag-metrics {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.metric-block {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0px;
  display: grid;
  gap: 0px;
  align-content: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  width: min(100%, 280px);
  margin-inline: auto;
}

.metric-block--time .metric-value--time {
  font-variant-numeric: tabular-nums;
}

.metric-block--primary .metric-value {
  font-size: 2.2rem;
  font-weight: 700;
}

.metric-block--time .metric-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.metric-pulse {
  animation: metricPulse 0.7s ease-in-out infinite alternate;
}

@keyframes metricPulse {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.metric-block--price .metric-label {
  color: var(--ink);
  font-weight: 700;
}

.metric-block--price .metric-caption {
  color: var(--ink-muted);
}

.alert-carousel {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding  : 5px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
  align-content: center;
  width: clamp(380px, 28vw, 500px);
  min-height: 230px;
}

.alert-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 79, 130, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.alert-card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.alert-title {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 700;
}

.alert-text {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.5;
}

.alert-text.is-swapping {
  animation: fadeSwap 0.4s ease;
}

.alert-stack {
  display: grid;
  gap: 10px;
}

.alert-card.is-active {
  opacity: 1;
  transform: translateY(0);
}

.alert-card.is-exit {
  opacity: 0;
  transform: translateY(14px);
}

@media (max-width: 1080px) {
  .diagnostico-grid-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .diagnostico-grid-visual {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .diag-col {
    justify-content: center;
  }

  .diag-col--stack {
    gap: 16px;
  }

  .diag-col--stack:not(:last-child) {
    margin-bottom: 8px;
  }

  .diag-col--metrics,
  .diag-col--carousel {
    max-width: none;
    width: 100%;
  }

  .mock-shell {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .alert-carousel {
    width: min(100%, 420px);
    padding: 12px;
    gap: 14px;
  }
}

.diagnostico-card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.diagnostico-card::after {
  content: none;
}

.diagnostico-card:hover {
  border-color: rgba(31, 79, 130, 0.35);
  transform: translateY(-2px);
}

.diagnostico-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 79, 130, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.diagnostico-card__icon svg {
  width: 26px;
  height: 26px;
}

.diagnostico-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.diagnostico-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  position: relative;
}

.funnel-card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.funnel-card__top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.funnel-card__tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.funnel-card__price {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.auditoria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.auditoria__copy ul {
  list-style: disc;
  margin-left: 20px;
  color: var(--ink-muted);
}

.auditoria__cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auditoria__note {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.auditoria__card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow-soft);
}

.auditoria__card ul {
  margin: 16px 0 20px 20px;
  color: var(--ink-muted);
}

.auditoria__disclaimer {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.contact-offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.contact-offer__copy ul {
  list-style: disc;
  margin-left: 20px;
  color: var(--ink-muted);
}

.contact-offer__price {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-offer__number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.form-errors {
  color: #ff7676;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.seo-copy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 30px);
  color: var(--ink-muted);
}

.seo-copy__grid article {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}

.seo-copy__grid h3 {
  color: var(--ink);
  margin-top: 0;
}

.seo-copy__grid ul {
  margin: 16px 0 0 18px;
  display: grid;
  gap: 8px;
}
.hero__content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero__content p {
  color: var(--ink-muted);
  font-size: 1rem;
  margin: 0 auto 20px;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-amber);
  font-size: 0.8rem;
  margin: 0 auto 16px;
  max-width: 600px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__content--auditoria .eyebrow {
  text-align: center;
}

.hero__content--auditoria h1 {
  text-align: center;
}

.hero__content--auditoria h2 {
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 48px;
}

.banner-marquee {
  width: 100%;
  padding: 20px 0 10px;
  overflow: hidden;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.marquee__track {
  display: flex;
  gap: clamp(40px, 8vw, 120px);
  width: max-content;
  animation: marquee-slide 22s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  border-radius: var(--radius-neo);
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  min-width: min(540px, 80vw);
}

.marquee__item img {
  max-height: 46px;
  width: auto;
  filter: invert(1);
}

.marquee__item p {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .marquee__item {
    gap: 16px;
    padding: 16px 20px;
    min-width: 95vw;
  }

  .marquee__item p {
    white-space: normal;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

.stat {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat span {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
}

.stat span + p {
  display: block;
}

.section {
  padding: 50px 0;
}

#oferta {
  padding-bottom: 38px;
  background: var(--paper);
}

#despues.section {
  padding-top: 40px;
}

#oferta .container {
  max-width: 100% !important;
}

.offer-band {
  width: 100%;
  background: var(--paper-strong);
  padding: clamp(20px, 4vw, 36px) 0;
  box-shadow: 0 12px 32px rgba(16, 22, 32, 0.08);
}

.grid-3 {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.portfolio-showcase {
  padding-top: 10px;
}

#portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 36px);
}

.portfolio-category {
  margin-bottom: clamp(32px, 8vw, 64px);
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--radius-neo);
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.portfolio-category__header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
  margin-bottom: clamp(18px, 4vw, 26px);
}

.portfolio-category__header h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink);
}

.portfolio-category__header p {
  margin: 0;
  color: var(--ink-muted);
}

.portfolio-category__eyebrow {
  flex-basis: 100%;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent-amber);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-neo);
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  min-height: 320px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
  border-color: rgba(0, 245, 212, 0.4);
}

.portfolio-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.portfolio-card__preview {
  position: relative;
  flex: 1;
  min-height: 220px;
  background-size: cover;
  background-position: center top;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio-card:hover .portfolio-card__preview {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.portfolio-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 242, 235, 0) 45%, rgba(245, 242, 235, 0.9) 100%);
}

.portfolio-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}

.portfolio-card__meta {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
}

.portfolio-card__tag {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.portfolio-card__meta h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.portfolio-card__meta p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.5;
}

.portfolio-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.portfolio-card__cta::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.portfolio-card:hover .portfolio-card__cta::after {
  transform: translateX(4px);
}

.portfolio-card.is-soon .portfolio-card__link {
  cursor: not-allowed;
}

.portfolio-card.is-soon .portfolio-card__cta {
  color: var(--ink-muted);
}

.portfolio-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.portfolio-empty {
  text-align: center;
  padding: 40px;
  border-radius: var(--radius-neo);
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed var(--border-soft);
}

@media (max-width: 720px) {
  .portfolio-card__preview {
    min-height: 180px;
  }

  .portfolio-card__meta {
    padding: 18px;
  }
}

.pricing {
  padding-top: 20px;
}

.pricing-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(24px, 3vw, 36px);
}

.pricing-card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: clamp(22px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(126, 242, 255, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-card--featured {
  border-color: rgba(31, 79, 130, 0.35);
  box-shadow: 0 30px 60px rgba(31, 79, 130, 0.15);
}

.pricing-card header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0;
}

.plan-price {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  margin: 0;
  color: var(--ink);
}

.plan-price span {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-left: 6px;
}

.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-muted);
}

.pricing-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.faq {
  padding-top: 30px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-neo);
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  padding: 4px 22px;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--ink-muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .faq-item {
    padding: 4px 16px;
  }
}

.card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.card:hover {
  box-shadow: 0 12px 32px rgba(16, 22, 32, 0.16);
  transform: translateY(-4px);
}

.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 12px 0 0;
}

#senales .section-header h2 {
  font-size: clamp(2.2rem, 4vw, 2.4rem);
}

.process {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact {
  padding-bottom: 90px;
}

.contact__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.contact-highlights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 20px;
}

.contact-highlights article {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  padding: 14px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list strong {
  color: var(--ink);
}

.form-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.form-group textarea {
  resize: vertical;
}

.section-cta {
  padding-top: 40px;
}

.section-cta__inner {
  align-items: center;
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.section-cta__inner.inline {
  padding: 24px;
  margin-top: 7px;
}

.section-cta__inner.cta-two-column > div:first-child {
  padding-left: 30px;
}

.section-cta__inner.inline h3 {
  margin: 0 0 6px;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--center > * {
  margin-left: auto;
  margin-right: auto;
}

.section-header--center h2 {
  max-width: min(1040px, 100%);
  text-align: center !important;
}

.section-intro {
  max-width: 820px;
  color: var(--ink);
  text-align: center;
}

@media (min-width: 1024px) {
  #despues .section-header h2 {
    white-space: nowrap;
  }
}

.gradient-line {
  display: inline-block;
  background: linear-gradient(90deg, #1f4f82 0%, #1c2a44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offer-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: clamp(28px, 6vw, 48px);
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  position: relative;
  overflow: hidden;
  box-shadow: none;
  justify-items: center;
  max-width: 1525px;
  margin-inline: auto;
}

.offer-panel::after {
  content: none;
}

.offer-panel__list {
  width: 100%;
  max-width: 520px;
  align-self: center;
  justify-self: center;
  text-align: left;
}

.offer-panel__list ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--ink);
}

.offer-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-neo);
}

.offer-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.offer-icon::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.offer-panel__note {
  margin: 12px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.offer-panel__cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

.offer-countdown {
  width: 100%;
  max-width: 320px;
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.offer-countdown__status {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.offer-countdown__dot {
  position: relative;
  width: 10px;
  height: 10px;
}

.offer-countdown__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-amber);
  animation: ping 1.5s infinite;
  opacity: 0.6;
}

.offer-countdown__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent-amber);
}

@keyframes ping {
  0% { transform: scale(0.7); opacity: 0.8; }
  80% { transform: scale(1.8); opacity: 0; }
  100% { opacity: 0; }
}

.offer-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(50px, 1fr));
  gap: 10px;
  margin-top: 16px;
  text-align: center;
}

.offer-countdown__grid span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.offer-countdown__grid small {
  display: block;
  margin-top: 4px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--ink-muted);
}

.btn-primary--gradient {
  background: linear-gradient(135deg, #6366f1, #00f5d4);
  color: #010409;
  font-weight: 700;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 18px 35px rgba(0, 245, 212, 0.25);
  border: none;
}

.btn-primary--gradient:hover {
  box-shadow: 0 25px 45px rgba(0, 245, 212, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .offer-panel {
    padding: 24px;
  }

  .offer-countdown__grid {
    grid-template-columns: repeat(4, minmax(45px, 1fr));
    gap: 8px;
  }

  .offer-countdown {
    max-width: 100%;
    padding: 16px;
  }

  .offer-countdown__grid span {
    font-size: 1.4rem;
  }

  .offer-countdown__grid small {
    letter-spacing: 0.18em;
  }
}

.escalera {
  background: transparent;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: clamp(60px, 9vw, 110px) 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
  margin: 48px auto 32px;
}

.timeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.timeline-step__marker {
  width: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-step__marker span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(31, 79, 130, 0.45);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: rgba(31, 79, 130, 0.12);
  box-shadow: 0 0 12px rgba(31, 79, 130, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-step:not(:last-child) .timeline-step__marker::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: -28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(31, 79, 130, 0.35), rgba(31, 79, 130, 0));
}

.timeline-step__card {
  flex: 1;
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.timeline-step__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 79, 130, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-step__card h3 {
  margin-bottom: 10px;
  color: var(--ink);
}

.timeline-step__card p {
  margin: 0;
  color: var(--ink-muted);
}

.timeline-step__card:hover {
  border-color: rgba(31, 79, 130, 0.35);
  transform: translateX(6px);
}

.timeline-step__card:hover::after {
  opacity: 1;
}

.timeline-note {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 16px auto 0;
  width: fit-content;
  text-align: center;
}

.timeline-note__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.35);
}

/* Tree process (alternating steps) */
.tree-process {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 5vw, 28px);
  padding: 10px 0 24px;
}

.tree-process__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(31, 79, 130, 0.35) 18%, rgba(31, 79, 130, 0.35) 82%, transparent 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

.tree-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  position: relative;
  gap: 16px;
}

.tree-step__card {
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  position: relative;
}

.tree-step__card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.tree-step__card p {
  margin: 0;
  color: var(--ink-muted);
}

.tree-step__marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(31, 79, 130, 0.45);
  color: var(--accent);
  background: var(--paper-strong);
  box-shadow: 0 6px 16px rgba(31, 79, 130, 0.18), 0 0 0 6px rgba(245, 242, 235, 0.9);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.tree-step.is-right {
  grid-template-columns: 1fr 1fr;
}

.tree-step.is-left {
  grid-template-columns: 1fr 1fr;
}

.tree-step.is-right .tree-step__card {
  grid-column: 2;
  justify-self: start;
}

.tree-step.is-left .tree-step__card {
  grid-column: 1;
  justify-self: end;
}

.tree-step.is-right .tree-step__marker {
  left: 50%;
}

.tree-step.is-left .tree-step__marker {
  left: 50%;
}

@media (max-width: 960px) {
  .tree-step__card {
    max-width: min(420px, 88vw);
    padding: clamp(16px, 4vw, 22px);
  }
  .tree-step__card h3 {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
  }
  .tree-step__card p {
    font-size: clamp(0.95rem, 3.6vw, 1.05rem);
  }
}

@media (max-width: 1024px) {
  .tree-process__line {
    display: block;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero--auditoria {
    min-height: auto;
    align-items: flex-start;
  }
  .tree-step {
    grid-template-columns: 1fr;
    position: relative;
  }
  .tree-step__card {
    justify-self: center;
    grid-column: 1;
    max-width: min(480px, 94vw);
    padding: clamp(22px, 5vw, 28px);
    padding-top: clamp(32px, 6vw, 44px);
  }
  .tree-step__marker {
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .timeline-step {
    flex-direction: column;
  }

  .timeline-step__marker::after {
    display: none;
  }

  .timeline-step__card {
    width: 100%;
  }
}

.contact-page .hero {
  text-align: left;
  padding-bottom: 40px;
}

.contact-page .hero__content {
  max-width: 880px;
  margin-left: 35px;
  padding: clamp(22px, 5vw, 32px) clamp(24px, 5vw, 48px) clamp(24px, 5vw, 32px) clamp(40px, 7vw, 88px);
}

.contact-page .hero__content p {
  margin-left: 0;
}

.contact-summary {
  padding-bottom: 80px;
}

.contact-summary__inner {
  align-items: center;
  background: var(--paper-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-neo);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 28px;
  box-shadow: var(--shadow-soft);
  max-width: 1800px;
  margin: important;
  margin-inline: auto;
  justify-items: center;
}

.contact-summary__cta {
  align-items: center;
  justify-content: space-evenly;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-neo);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  text-align: center;
}

.contact-summary__inner > div:first-child {
  max-width: 720px;
  width: 85%;
  justify-self: flex-end;
}

.contact-summary__cta p {
  margin: 0;
}

.site-footer {
  padding: 50px 0;
  text-align: center;
  color: var(--muted-neo);
}

.footer-legal {
  color: var(--accent);
  text-decoration: none;
}

.footer-legal:hover {
  text-decoration: underline;
}

.legal-page .hero {
  text-align: left;
  padding-bottom: 30px;
}

.legal-content {
  padding-top: 0;
}

.legal-card {
  background: var(--bg-soft);
  border-radius: var(--radius-neo);
  padding: clamp(24px, 4vw, 40px);
  line-height: 1.6;
}

.legal-card h2 {
  margin-top: 32px;
  font-size: 1.3rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card ul {
  margin: 16px 0;
  padding-left: 18px;
  color: var(--muted-neo);
}

.legal-card li {
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .contact-page .hero__content {
    margin-left: 5px;
    padding: clamp(18px, 5vw, 28px);
  }

  .hero {
    padding: 70px 0 40px;
  }

  .stats,
  .grid-3,
  .process {
    gap: 14px;
  }

  .card,
  .stat {
    padding: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-cta__inner.cta-two-column > div:first-child {
    padding-left: 0;
  }
}

/* Fin nueva landing */

/* Layout general */
.lienzo {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1040px;
  padding: 32px 24px 48px;
}

.topBar {
  align-items: flex-end;
  border-bottom: 1px solid #cfcfcf;
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.marca-simple {
  align-items: center;
  display: flex;
  gap: 12px;
}

.logo-chico {
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.marca-simple p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.marca-rol {
  opacity: 0.6;
}

.menu-simple {
  display: flex;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 16px;
  text-transform: uppercase;
}

.menu-simple a {
  border-radius: 6px;
  padding: 4px 6px;
  text-decoration: none;
}

.menu-simple a[aria-current="page"] {
  background: #1c1c1c;
  color: #fff;
}

.contenido {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.boton {
  --btn-glow: #67e8f9;
  align-items: center;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #f1f5ff;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  padding: 14px 28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 35px rgba(5, 10, 25, 0.45);
}

.boton::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.4;
  z-index: -1;
}

.boton::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--btn-glow), transparent);
  filter: blur(0.5px);
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.boton:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 25px 45px rgba(5, 10, 25, 0.55);
}

.boton:hover::after {
  transform: translateY(2px);
  opacity: 1;
}

.btn-primario {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%), #050505;
  border-color: rgba(103, 232, 249, 0.35);
}

.btn-secundario {
  --btn-glow: #a855f7;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.25);
  color: #d4dcff;
}

.btn-secundario::before {
  opacity: 0.2;
}

.hero {
  align-items: center;
  background: none;
  border: none;
  border-radius: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: clamp(24px, 5vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 20px auto auto -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(217, 108, 177, 0.25), transparent 60%);
  z-index: 0;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.08rem;
  margin-bottom: 20px;
  color: #3a3a3a;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.hero-metrics span {
  font-size: 1.8rem;
  font-weight: 600;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 45px rgba(15, 28, 58, 0.18);
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(20, 22, 26, 0.15);
}

.hero-card.glass {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c5c5c;
}

.hero-card-value {
  font-weight: 600;
  margin: 6px 0 0;
}

.trust {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.case-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.case-card {
  background: #0f1c3a;
  color: #f4f7ff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 28, 58, 0.25);
}

.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-card div {
  padding: 20px;
}

.case-tag {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.case-card h2 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.process {
  
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.process-steps li {
  background: #f4f5f8;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.toolkit {
  align-items: center;
  background: linear-gradient(120deg, #101826, #1c2640 70%);
  border-radius: 22px;
  color: #f4f5ff;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 32px;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.chip-list li {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.testimonials {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonials article {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 30px rgba(15, 28, 58, 0.08);
}

.quote {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 10px;
}

.author {
  font-weight: 600;
  color: #555;
}

.cta-final {
  align-items: center;
  background: #111318;
  border-radius: 22px;
  color: #f5f5f5;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fichas {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.bloque-simple,
.bloque-pagina {
  background: #fff;
  border: 1px solid #b7b7b7;
  border-radius: 10px;
  padding: 18px;
}

.bloque-simple h2,
.bloque-pagina h1,
.bloque-pagina h2 {
  margin-top: 0;
}

.bloque-simple p,
.bloque-pagina p {
  line-height: 1.45;
  margin: 0 0 8px;
}

.bloque-simple ul,
.bloque-pagina ul {
  margin: 0;
  padding-left: 18px;
}

.panel-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer {
  align-items: center;
  border-top: 1px solid #cfcfcf;
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  margin: 0 auto 32px;
  max-width: 1040px;
  padding: 12px 24px 0;
}

footer nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer img {
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 24px;
    padding-right: 0px;
    padding-bottom: 24px;
    padding-left: 0px;
  }

  .cta-row,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-simple {
    flex-wrap: wrap;
  }

  footer {
    flex-direction: column;
    gap: 16px;
  }
}

/* Pagina Presupuesto */
.presupuesto-fondo {
  background: var(--presupuesto-bg) no-repeat center/cover;
}

.presupuesto-fondo .lienzo {
  gap: 16px;
  padding: 32px 24px 48px;
  position: relative;
  z-index: 0;
}

.presupuesto-fondo .lienzo::before {
  background: rgba(6, 15, 28, 0.25);
  content: "";
  inset: 0;
  position: fixed;
  z-index: -1;
}

.presupuesto-fondo .topBar,
.presupuesto-fondo footer {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0 4px;
}

.presupuesto-fondo footer {
  margin: 0 auto 12px;
}

.presupuesto-fondo .bloque-pagina {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.presupuesto-fondo .bloque-pagina h1,
.presupuesto-fondo .bloque-pagina > p {
  text-align: center;
}

.presupuesto-fondo label {
  color: var(--ink);
  font-weight: 600;
}

.presupuesto-fondo .requerido {
  color: #e54b4b;
  margin-left: 4px;
}

.presupuesto-fondo .error {
  color: #e54b4b;
  font-size: 0.9rem;
  font-weight: 700;
}

.presupuesto-fondo form br {
  display: none;
}

.presupuesto-fondo .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 auto;
  width: min(560px, 100%);
}

.presupuesto-fondo .form-group + .form-group {
  margin-top: 8px;
}

.presupuesto-fondo .form-group.input-group {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.presupuesto-fondo .form-group.input-group label {
  display: block;
  text-align: left;
}

.presupuesto-fondo .form-group.inline {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.presupuesto-fondo .form-group.inline label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.presupuesto-fondo .form-group input:not([type="radio"]):not([type="checkbox"]),
.presupuesto-fondo .form-group select,
.presupuesto-fondo .form-group textarea {
  background: #fff;
  border: 1px solid #d6c7c7;
  border-radius: 6px;
  font-size: 1rem;
  padding: 10px 12px;
  width: 100%;
}

.presupuesto-fondo .boton-principal {
  /*padding: 10px 18px;*/
  background: var(--primary-color);
  border: none;
  border-radius: 4px;
  color: var(--text-primary);
  cursor: pointer;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin: 1px auto 0;
  transition: background-color 0.3s ease;
  width: 180px;
}

.presupuesto-fondo .boton-principal:hover {
  background-color: #4a90e2cc;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
