:root {
  --site-bg: #f5f3ef;
  --site-panel: #ffffff;
  --site-panel-alt: #ebe7dd;
  --site-ink: #141414;
  --site-muted: #5f646b;
  --site-line: rgba(20, 20, 20, 0.1);
  --site-blue: #155eef;
  --site-green: #247a52;
  --site-gold: #b7791f;
  --site-radius: 8px;
  --site-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-font-display: "Albert Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--site-font-display);
  letter-spacing: -0.02em;
}

body a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  min-height: 60px;
  margin: 16px auto 0;
  padding: 8px 10px 8px 40px;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(31, 39, 51, 0.1);
  backdrop-filter: blur(14px);
}

.site-header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  color: var(--site-ink);
  text-decoration: none;
}

.site-header-logo span {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.site-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 6px;
}

.site-header-link,
.site-header-cta,
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header-link:hover,
.site-header-link.is-active {
  background: rgba(20, 20, 20, 0.06);
}

.site-header-cta,
.site-button {
  border: 0;
  background: var(--site-ink);
  color: #ffffff;
  cursor: pointer;
  gap: 8px;
}

.site-header-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.site-header-cta:hover,
.site-header-cta.is-active,
.site-button:hover {
  background: #2a2a2a;
}

.site-button.is-secondary {
  border: 1px solid var(--site-line);
  background: transparent;
  color: var(--site-ink);
}

.site-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 46px;
  align-items: center;
  padding: 76px 0 56px;
}

.site-hero-copy,
.site-section-heading {
  display: grid;
  gap: 18px;
}

.site-kicker {
  margin: 0;
  color: var(--site-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-hero h1,
.site-section-heading h1,
.site-section-heading h2 {
  margin: 0;
  color: var(--site-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.site-hero h1 {
  max-width: 12ch;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
}

.site-section-heading h1 {
  max-width: 13ch;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
}

.site-section-heading h2 {
  max-width: 16ch;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
}

.site-hero p,
.site-section-heading p,
.site-lead {
  margin: 0;
  color: var(--site-muted);
  font-size: 18px;
  line-height: 1.6;
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-hero-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-panel);
  box-shadow: 0 18px 44px rgba(31, 39, 51, 0.09);
}

.site-hero-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--site-radius);
  background: var(--site-bg);
}

.site-hero-metric strong {
  color: var(--site-blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.site-hero-metric span {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.45;
}

.site-section {
  padding: 64px 0;
  border-top: 1px solid var(--site-line);
}

.site-section.is-compact {
  padding-top: 36px;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.site-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-panel);
}

.site-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(21, 94, 239, 0.1);
  color: var(--site-blue);
  font-weight: 800;
}

.site-card h3,
.site-case-card h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: 22px;
  line-height: 1.16;
}

.site-card p,
.site-case-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.6;
}

.site-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border-radius: var(--site-radius);
  background: var(--site-panel-alt);
}

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

.site-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
  color: var(--site-muted);
  line-height: 1.55;
}

.site-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--site-ink);
}

.site-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.site-case-card {
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-panel);
  box-shadow: 0 12px 30px rgba(31, 39, 51, 0.07);
}

.site-case-card a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.site-case-card a:hover h3 {
  color: var(--site-blue);
}

.site-case-card-media {
  overflow: hidden;
  background: #d9dde5;
}

.site-case-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.site-case-card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.site-case-card-logo {
  width: min(170px, 58%);
  min-height: 34px;
}

.site-case-card-logo img {
  display: block;
  width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-case-card-title-logo {
  color: var(--site-ink);
  font-size: 18px;
  font-weight: 800;
}

.site-case-card-year {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--site-ink);
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1 !important;
}

.site-db-faq-list {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 30px;
}

.site-db-faq {
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-panel);
}

.site-db-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: var(--site-ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  list-style: none;
}

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

.site-db-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--site-blue);
  font-size: 26px;
  line-height: 1;
}

.site-db-faq[open] summary::after {
  content: "-";
}

.site-db-faq-answer {
  padding: 0 22px 20px;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.65;
}

.site-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 34px;
  border-radius: var(--site-radius);
  background: var(--site-panel);
  box-shadow: 0 16px 38px rgba(31, 39, 51, 0.08);
}

.site-form {
  display: grid;
  gap: 14px;
}

.site-form label {
  display: grid;
  gap: 7px;
  color: var(--site-ink);
  font-size: 14px;
  font-weight: 750;
}

.site-form input,
.site-form textarea,
.site-footer-form input[type="tel"] {
  width: 100%;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  outline: 0;
  background: #ffffff;
  color: var(--site-ink);
  font: 400 16px/1.35 var(--site-font);
}

.site-form input {
  min-height: 48px;
  padding: 0 14px;
}

.site-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 13px 14px;
}

.site-form input:focus,
.site-form textarea:focus,
.site-footer-form input[type="tel"]:focus {
  border-color: var(--site-blue);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.13);
}

.site-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-form-status {
  margin: 10px 0 0;
  color: var(--site-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.site-form-status.is-error {
  color: #b42318;
}

.site-empty-state {
  color: var(--site-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 64px auto 16px;
  border-radius: var(--site-radius);
  background: #1c2430;
  color: #ffffff;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, 0.7fr) minmax(260px, 1fr);
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
}

.site-footer-call h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
}

.site-footer-form {
  position: relative;
  display: flex;
  width: min(430px, 100%);
}

.site-footer-form input[type="tel"] {
  min-height: 52px;
  padding: 0 128px 0 16px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.site-footer-form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer-form button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  min-width: 112px;
  border: 0;
  border-radius: var(--site-radius);
  background: #ffffff;
  color: var(--site-ink);
  cursor: pointer;
  font: 750 14px/1 var(--site-font);
}

.site-footer-nav,
.site-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer-nav p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.site-footer-nav a,
.site-footer-email {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.site-footer-nav a:hover,
.site-footer-email:hover {
  text-decoration: underline;
}

.site-footer-socials {
  display: flex;
  gap: 8px;
}

.site-footer-socials span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.site-footer-email {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.04;
  word-break: break-word;
}

.site-footer-rights {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.site-case-detail-page {
  background: var(--site-bg);
}

.site-case-detail {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 96px;
}

.site-case-detail-back,
.site-case-detail-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--site-ink);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.site-case-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
  margin-top: 28px;
}

.site-case-detail-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--site-radius);
  background: #d9dde5;
}

.site-case-detail-image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.site-case-detail-image-wrap span {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--site-ink);
  color: #ffffff;
  font-weight: 800;
}

.site-case-detail-kicker {
  margin: 0 0 10px;
  color: var(--site-green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-case-detail-heading h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
}

.site-case-detail-heading > p:last-of-type,
.site-case-detail-hero > p {
  color: var(--site-muted);
  font-size: 20px;
  line-height: 1.5;
}

.site-case-detail-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.site-case-detail-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.site-case-detail-author strong,
.site-case-detail-author span {
  display: block;
}

.site-case-detail-author span {
  margin-top: 2px;
  color: var(--site-muted);
}

.site-case-detail-content {
  display: grid;
  gap: 34px;
  width: min(820px, 100%);
  margin: 72px auto 0;
}

.site-case-detail-content article {
  padding-top: 34px;
  border-top: 1px solid var(--site-line);
}

.site-case-detail-content h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.site-case-detail-content p {
  margin: 0 0 14px;
  color: var(--site-muted);
  font-size: 18px;
  line-height: 1.65;
}

/* Hamburger button — oculto en desktop */
.site-header-menu {
  display: none;
}

/* Menú móvil desplegable */
.site-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .site-hero,
  .site-band,
  .site-contact-panel,
  .site-case-detail-hero {
    grid-template-columns: 1fr;
  }

  .site-grid,
  .site-case-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  /* Ocultar nav y CTA de desktop */
  .site-header-nav,
  .site-header-cta {
    display: none;
  }

  /* Mostrar botón hamburguesa */
  .site-header-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--site-ink);
    color: #ffffff;
    cursor: pointer;
    font: 700 14px/1 var(--site-font);
    white-space: nowrap;
  }

  .site-header-menu:hover {
    background: #2a2a2a;
  }

  /* Panel móvil desplegable */
  .site-mobile-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--site-line);
    box-shadow: 0 16px 40px rgba(31, 39, 51, 0.14);
    backdrop-filter: blur(14px);
  }

  /* hidden attr lo oculta, sin hidden se muestra */
  .site-mobile-nav[hidden] {
    display: none;
  }

  .site-header {
    position: relative;
    flex-wrap: nowrap;
    padding: 8px 10px 8px 32px; /* mantener padding-left para que logo no quede en la curva */
    min-height: 58px;
    border-radius: 999px;
    width: min(100% - 20px, 1120px);
  }

  .site-mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--site-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  .site-mobile-nav-link:hover,
  .site-mobile-nav-link.is-active {
    background: rgba(20, 20, 20, 0.06);
  }

  .site-mobile-nav-cta {
    margin-top: 6px;
    border-radius: 999px;
    background: var(--site-ink);
    color: #ffffff;
    justify-content: center;
  }

  .site-mobile-nav-cta:hover {
    background: #2a2a2a;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-page,
  .site-footer,
  .site-case-detail {
    width: min(100% - 20px, 1120px);
  }

  .site-hero {
    padding-top: 48px;
  }

  .site-hero h1,
  .site-section-heading h1 {
    font-size: 44px;
  }

  .site-band,
  .site-contact-panel {
    padding: 22px;
  }

  .site-footer-form input[type="tel"] {
    padding-right: 106px;
  }

  .site-footer-form button {
    min-width: 92px;
  }
}

/* ============================================================
   NUEVO SITIO — SECCIONES HOME
   ============================================================ */

/* Utilidades generales */
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--site-ink);
}

.section-heading p {
  margin: 0;
  font-size: 18px;
  color: var(--site-muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: background 180ms, transform 120ms;
}

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

.btn-dark  { background: var(--site-ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }

.btn-ghost { background: rgba(20,20,20,.08); color: var(--site-ink); }
.btn-ghost:hover { background: rgba(20,20,20,.13); }

.btn-outline { background: transparent; border: 2px solid var(--site-ink); color: var(--site-ink); }
.btn-outline:hover { background: var(--site-ink); color: #fff; }

/* Reveal animation */
[data-gp-reveal="pending"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms ease, transform 480ms ease;
}
[data-gp-reveal="visible"] {
  opacity: 1;
  transform: none;
}

/* ── HERO ── */
.hero {
  padding-top: 32px;
}
.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: center;
}
.hero-text {
  display: grid;
  gap: 22px;
}
.hero-kicker {
  margin: 0;
  color: var(--site-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-heading {
  margin: 0;
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 1;
  color: var(--site-ink);
}
.hero-heading-prefix {
  display: block;
  font-weight: 400;
  color: var(--site-muted);
  font-size: 0.72em;
  margin-bottom: 4px;
}
.hero-heading-highlight {
  display: block;
  font-weight: 800;
  color: var(--site-ink);
}
.hero-body {
  margin: 0;
  font-size: 18px;
  color: var(--site-muted);
  max-width: 46ch;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.hero-card {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 18px 44px rgba(31,39,51,.1);
}
.hero-card-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--site-line);
}
.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.hero-badge--green { background: rgba(36,122,82,.12); color: var(--site-green); }
.hero-badge-sub { font-size: 12px; color: var(--site-muted); }
.hero-card-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.hero-card-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--site-line);
}
.hero-card-list li strong { font-size: 14px; color: var(--site-ink); }
.hero-card-list li span   { font-size: 12px; color: var(--site-muted); }
.hero-card-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--site-ink);
  padding: 10px;
  border-radius: 999px;
  background: var(--site-bg);
  text-decoration: none;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--site-ink);
}
.hero-stat-num small { font-size: 16px; }
.hero-stat-label { font-size: 13px; color: var(--site-muted); }
.hero-logos {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
  text-align: center;
}
.hero-logos-label {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--site-muted);
  font-weight: 600;
}
.hero-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-logos-row img {
  height: 28px;
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity 180ms;
}
.hero-logos-row img:hover { opacity: 1; }

/* ── RENDIMIENTO ── */
.perf {
  background: var(--site-panel-alt);
}
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.perf-card {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.perf-card-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--site-muted);
  letter-spacing: .04em;
}
.perf-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--site-bg);
}
.perf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.perf-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--site-ink);
}
.perf-card p {
  margin: 0;
  font-size: 15px;
  color: var(--site-muted);
  line-height: 1.6;
}

/* ── PROCESO ── */
.process-grid {
  display: flex;
  gap: 16px;
}
.process-card {
  flex: 1 1 0;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--site-line);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: flex 260ms ease, background 180ms, box-shadow 180ms;
}
.process-card[data-active="true"] {
  flex: 2 1 0;
  background: rgba(255,255,255,.9);
  box-shadow: rgba(0,0,0,.1) 0 8px 20px;
  border: 2px solid var(--site-line);
}
.process-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--site-ink);
}
.process-card p {
  margin: 0;
  font-size: 15px;
  color: var(--site-muted);
  line-height: 1.6;
}
.process-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--site-bg);
  margin-bottom: 4px;
}
.process-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── INTEGRACIONES ── */
.integrations .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.integrations-content {
  display: grid;
  gap: 20px;
  align-content: start;
}
.integrations-content h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
}
.integrations-content p {
  margin: 0;
  font-size: 17px;
  color: var(--site-muted);
  line-height: 1.65;
}
.integrations-logos {
  overflow: hidden;
}
.ticker-list {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  width: max-content;
}
.ticker-list.gp-ticker-horizontal {
  animation: gp-ticker-x 28s linear infinite;
}
.ticker-list:hover { animation-play-state: paused; }
.int-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  padding: 8px;
}

/* ── PRECIOS ── */
.pricing-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.pricing-tab {
  flex: 1;
  max-width: 220px;
  padding: 18px 20px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-panel);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 180ms, border-color 180ms;
}
.pricing-tab[aria-selected="true"] {
  box-shadow: 5px 8px 15px rgba(0,0,0,.15);
  border-color: rgba(20,20,20,.25);
}
.pricing-tab h6 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--site-ink);
}
.pricing-tab p {
  margin: 0;
  font-size: 13px;
  color: var(--site-muted);
}
.pricing-panel {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 12px 40px rgba(31,39,51,.08);
}
.pricing-panel-header h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--site-muted);
}
.pricing-panel-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.pricing-panel-price h2 {
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  color: var(--site-ink);
}
.pricing-panel-price p {
  margin: 0;
  font-size: 16px;
  color: var(--site-muted);
}
.pricing-panel-desc {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--site-muted);
  line-height: 1.6;
}
.pricing-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--site-ink);
}
.pricing-feature::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(36,122,82,.12);
  color: var(--site-green);
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CASOS DE ÉXITO ── */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: var(--site-panel);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(31,39,51,.07);
  transition: box-shadow 200ms, transform 200ms;
}
.story-card:hover {
  box-shadow: 0 16px 40px rgba(31,39,51,.13);
  transform: translateY(-3px);
}
.story-card-media {
  background: var(--site-bg);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 380ms ease;
}
.story-card:hover .story-card-media img {
  transform: scale(1.04);
}
.story-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
  flex: 1;
}
.story-card-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--site-muted);
  text-transform: uppercase;
}
.story-card-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.story-card-desc {
  margin: 0;
  font-size: 15px;
  color: var(--site-muted);
  line-height: 1.6;
  flex: 1;
}
.story-card-arrow {
  font-size: 18px;
  color: var(--site-ink);
  transition: transform 180ms;
}
.story-card:hover .story-card-arrow {
  transform: translateX(4px);
}
.stories-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── FAQ ── */
.faq {
  background: var(--site-panel-alt);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 14px;
  padding: 22px 24px;
  cursor: pointer;
  transition: background 180ms, box-shadow 180ms;
  overflow: hidden;
}
.faq-item[aria-expanded="true"] {
  background: #fff;
  box-shadow: rgba(0,0,0,.08) 0 8px 18px;
}
.faq-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--site-ink);
  line-height: 1.35;
}
.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--site-muted);
  transition: transform 220ms ease;
  line-height: 1;
}
.faq-item[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-item-a {
  display: none;
  margin-top: 14px;
}
.faq-item[aria-expanded="true"] .faq-item-a {
  display: block;
}
.faq-item-a p {
  margin: 0;
  font-size: 15px;
  color: var(--site-muted);
  line-height: 1.65;
}

/* ── CONTACT ── */
.contact {
  background: var(--site-ink);
}
.contact .section-inner {
  padding: 80px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.contact-text {
  display: grid;
  gap: 24px;
}
.contact-text h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner,
  .integrations .section-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .perf-grid {
    grid-template-columns: 1fr;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    flex-direction: column;
  }
  .pricing-tabs {
    flex-direction: column;
    align-items: center;
  }
  .pricing-tab {
    max-width: 100%;
    width: 100%;
  }
  .hero-visual { display: none; }
}

/* Placeholders de color para imágenes pendientes */
.logo-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--site-line);
  background: var(--site-panel);
  font-size: 13px;
  font-weight: 700;
  color: var(--site-muted);
  white-space: nowrap;
}
.perf-card-img--blue  { background: linear-gradient(135deg, rgba(21,94,239,.12), rgba(21,94,239,.06)); }
.perf-card-img--green { background: linear-gradient(135deg, rgba(36,122,82,.12), rgba(36,122,82,.06)); }
.perf-card-img--gold  { background: linear-gradient(135deg, rgba(183,121,31,.12), rgba(183,121,31,.06)); }

.int-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--site-line);
  background: var(--site-panel);
  font-size: 14px;
  font-weight: 700;
  color: var(--site-ink);
  white-space: nowrap;
}

/* ── CONTACT FORM ── */
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-size: 15px;
  font-family: var(--site-font);
  outline: none;
  transition: border-color 150ms;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(255,255,255,.5); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { justify-self: start; }
.site-honeypot { display: none; }

@media (max-width: 640px) {
  .section-inner { padding: 56px 0; }
  .hero-logos { padding-bottom: 40px; }
  .contact-form-row { grid-template-columns: 1fr; }
}
}

/* ============================================================
   TIPOGRAFÍA — tamaños del backup (56px max, no clamp grande)
   ============================================================ */
.hero-heading {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.02;
  margin: 0;
}
.section-heading h2,
.integrations-content h2 {
  font-size: 40px;
  line-height: 1.1;
}
.perf-card h3,
.process-card h3,
.story-card h3,
.faq-item-q {
  font-size: 18px;
}
.hero-body,
.section-heading p,
.integrations-content p {
  font-size: 17px;
}
@media (max-width: 768px) {
  .hero-heading { font-size: 38px; }
  .section-heading h2 { font-size: 30px; }
}

/* ── CTA BUTTON CON FLECHA ── */
.btn-arrow {
  gap: 10px;
}
.btn-arrow-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 220ms ease;
}
.btn-arrow:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* ── HERO DASHBOARD (tabla) ── */
.hero-dashboard {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 48px rgba(31,39,51,.12);
}
.hd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hd-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--site-ink);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hd-sort {
  font-size: 12px;
  color: var(--site-muted);
  cursor: default;
}
.hd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.hd-table thead th {
  text-align: left;
  padding: 0 8px 8px 0;
  color: var(--site-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--site-line);
}
.hd-table tbody tr {
  border-bottom: 1px solid rgba(20,20,20,.05);
}
.hd-table tbody td {
  padding: 10px 8px 10px 0;
  vertical-align: middle;
}
.hd-table tbody td:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}
.hd-avatar--blue   { background: #155eef; }
.hd-avatar--purple { background: #7c3aed; }
.hd-avatar--orange { background: #d97706; }
.hd-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.hd-badge--green { background: rgba(36,122,82,.1); color: var(--site-green); }
.hd-badge--blue  { background: rgba(21,94,239,.1);  color: var(--site-blue); }
.hd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--site-line);
  font-size: 12px;
  color: var(--site-muted);
}
.hd-footer strong { color: var(--site-ink); font-size: 13px; }
.hd-delta {
  font-style: normal;
  color: var(--site-green);
  font-size: 11px;
}

/* ── HERO STAT ── */
.hero-stat {
  margin-top: 12px;
}
.hero-stat-inner {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(31,39,51,.07);
}
.hero-stat-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.hero-stat-num { font-size: 26px; font-weight: 800; color: var(--site-ink); line-height: 1; }
.hero-stat-num small { font-size: 15px; font-weight: 500; }
.hero-stat-label { font-size: 13px; font-weight: 600; color: var(--site-ink); }
.hero-stat-sub { font-size: 12px; color: var(--site-muted); }

/* ── BRAND LOGOS ── */
.brand-logo {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity 180ms, filter 180ms;
}
.brand-logo:hover { opacity: 1; filter: none; }
.hero-logos-label { font-size: 12px; }
