@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Landing B2B · Guía de agentes de IA */
.landing-agentes-ia {
  background: #F7F5F1;
  color: #1A1A1A;
}

.landing-agentes-ia,
.landing-agentes-ia * {
  font-family: 'Inter', Arial, sans-serif !important;
}

.landing-agentes-ia .menu,
.landing-agentes-ia #header-container {
  background: #fff !important;
  box-shadow: none !important;
}

.landing-agentes-ia .desktop-lang,
.landing-agentes-ia .mobile-lang {
  display: none !important;
}

/* En la landing, el menú se limita a Servicios · Recursos · Contacto */
.landing-agentes-ia .menu_nav > li:nth-child(3),
.landing-agentes-ia .menu_nav > li:nth-child(4),
.landing-agentes-ia .menu_nav > li:nth-child(5),
.landing-agentes-ia .menu_nav > li:nth-child(7) {
  display: none !important;
}

.landing-agentes-ia #mobile-menu a[href="/proyectos"],
.landing-agentes-ia #mobile-menu a[href="/metodo"],
.landing-agentes-ia #mobile-menu a[href="/nosotros"] {
  display: none !important;
}

.b2b-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.b2b-hero {
  position: relative;
  overflow: hidden;
  padding: 138px 0 76px;
  background: #F7F5F1;
}

.b2b-hero__head {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.b2b-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  margin-top: 34px;
}

.b2b-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #F05836;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.b2b-eyebrow span {
  width: 22px;
  height: 2px;
  background: #f05836;
  border-radius: 2px;
}

.b2b-eyebrow--dark { color: #6f7780; }
.b2b-eyebrow--light { color: #ffb39f; }
.b2b-eyebrow--light span { background: #ff8b6f; }

.b2b-hero h1 {
  max-width: 1000px;
  margin: 0 0 18px;
  color: #111111;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.b2b-lead {
  max-width: 820px;
  margin: 0;
  color: #1A1A1A;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.b2b-lead strong { color: #242a30; }

.b2b-description {
  max-width: 820px;
  margin: 14px 0 0;
  color: #6d757d;
  font-size: 14.5px;
  line-height: 1.6;
}

.b2b-description--guide {
  max-width: 380px;
  margin: 14px 0 0;
  font-size: 13px;
}

.b2b-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #6d757d;
  font-size: 13px;
  font-weight: 550;
}

.b2b-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.b2b-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f05836;
}

/* Dos tarjetas iguales: guía y formulario */
.b2b-guide-card {
  display: flex;
  min-width: 0;
  align-items: stretch;
  padding: 24px;
  border: 1px solid #E5E1D8;
  border-radius: 14px;
  background: #fff;
}

.guide-cover {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.guide-cover__brand {
  margin: 0 0 14px;
  color: #F05836;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-cover__brand span { color: #F05836; }

.guide-cover h2 {
  margin: 0 0 8px;
  color: #111;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.guide-cover__subtitle {
  max-width: 400px;
  margin: 0 0 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.guide-cover__art {
  display: grid;
  flex: 1;
  min-height: 210px;
  place-items: center;
  padding: 10px;
  border-radius: 12px;
  background: #F7E8E0;
}

.guide-cover__art svg,
.guide-cover__art img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-cover__art img {
  object-fit: contain;
}

.guide-cover__meta {
  margin: 14px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.b2b-guide img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  border: 1px solid #E5E1D8;
  border-radius: 8px;
}

/* Formulario */
.b2b-form-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-self: stretch;
  padding: 24px;
  border: 1px solid #E5E1D8;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.b2b-form-kicker {
  margin: 0 0 7px;
  color: #f05836;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.b2b-form-head h2 {
  margin: 0 0 7px;
  color: #242a30;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.b2b-form-head > p:last-child {
  margin: 0 0 17px;
  color: #6d757d;
  font-size: 13px;
  line-height: 1.5;
}

.b2b-form {
  display: grid;
  gap: 11px;
}

.b2b-field {
  display: grid;
  gap: 5px;
}

.b2b-field label {
  color: #3c444b;
  font-size: 11.5px;
  font-weight: 600;
}

.b2b-field label span { color: #f05836; }

.b2b-field input {
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #dcd8d2;
  border-radius: 7px;
  background: #fdfcfb;
  color: #242a30;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.b2b-field input:focus {
  outline: none;
  border-color: #f05836;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(240, 88, 54, 0.12);
}

.b2b-field input.field-error {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.b2b-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #6d757d;
  font-size: 11.5px;
  line-height: 1.45;
}

.b2b-check input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  accent-color: #f05836;
}

.b2b-check em { font-style: normal; color: #9a9fa4; }

.b2b-privacy-link {
  margin: 0;
  color: #555;
  font-size: 11.5px;
  line-height: 1.5;
}

.b2b-privacy-link a {
  color: #F05836;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b2b-required { color: #f05836; }

.b2b-privacy-note a { color: #8a5c4a; text-decoration: underline; text-underline-offset: 2px; }
.b2b-check a { color: #b34a33; text-decoration: underline; text-underline-offset: 2px; }

.b2b-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 3px;
  border: 0;
  border-radius: 7px;
  background: #f05836;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.b2b-submit:hover { background: #d94727; transform: translateY(-1px); }

.b2b-submit-note {
  margin: 0;
  color: #7c848b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.b2b-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

.b2b-msg {
  display: none;
  margin: 2px 0 0;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.45;
}

.b2b-msg.show { display: block; }
.b2b-msg.success { background: #edf7ee; color: #1b5e20; }
.b2b-msg.error { background: #fdecea; color: #b3261e; }

/* Contenido */
.b2b-content {
  padding: 46px 0 54px;
  background: #F7F5F1;
}

.b2b-content__divider {
  margin: 0 0 30px;
  border: 0;
  border-top: 1px solid #D9D2C7;
}

.b2b-content h2 {
  margin: 0 0 26px;
  color: #111;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.b2b-find-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 42px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-find-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  color: #1A1A1A;
  font-size: 17px;
  line-height: 1.45;
}

.b2b-find-item__icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #F05836;
}

.b2b-find-item__icon svg {
  width: 20px;
  height: 20px;
}

/* Footer negro compacto */
.b2b-footer {
  padding: 44px 0 42px;
  background: #171717;
  color: #fff;
  text-align: center;
}

.b2b-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.b2b-footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.b2b-footer p {
  margin: 0 0 20px;
  color: #A3A3A3;
  font-size: 12.5px;
  line-height: 1.5;
}

.b2b-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #F05836;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.b2b-footer__btn:hover {
  background: #F05836;
  color: #fff;
}

/* En la landing el footer global no se muestra: el cierre es el bloque negro */
.landing-agentes-ia #footer-container {
  display: none !important;
}

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

@media (max-width: 1120px) {
  .b2b-guide img { max-width: 340px; }
}

@media (max-width: 820px) {
  .b2b-hero { padding: 116px 0 58px; }
  .b2b-hero__grid { grid-template-columns: 1fr; }
  .b2b-form-card { max-width: 560px; }
}

@media (max-width: 540px) {
  .b2b-shell { padding: 0 18px; }
  .b2b-hero { padding-top: 106px; }
  .b2b-hero h1 { font-size: clamp(28px, 8.8vw, 36px); }
  .b2b-guide-card { padding: 18px; }
  .b2b-form-card { padding: 20px 18px; }
  .b2b-content { padding: 36px 0 40px; }
  .b2b-footer { padding: 36px 0; }
}

/* Página de recursos */
.resources-hero {
  padding: 138px 0 64px;
  background:
    radial-gradient(ellipse 55% 60% at 92% 8%, rgba(240, 88, 54, 0.11) 0%, transparent 70%),
    #f9f7f5;
}

.resources-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: #242a30;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.resources-hero .b2b-lead { max-width: 720px; }

.resources-section { padding: 66px 0 78px; background: #fffdfb; }
.resources-section--cream { background: #f3eee7; }

.resources-section__head {
  max-width: 720px;
  margin-bottom: 30px;
}

.resources-section__head h2 {
  margin: 0 0 12px;
  color: #242a30;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.resources-section__head > p:last-child {
  margin: 0;
  color: #616a73;
  font-size: 15.5px;
  line-height: 1.65;
}

.resource-featured {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #e8e1d7;
  border-radius: 18px;
  background: #fff;
}

.resource-featured__media { display: block; }

.resource-featured__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 22px 38px -22px rgba(26, 32, 37, 0.55);
  transition: transform 0.2s ease;
}

.resource-featured__media:hover img { transform: translateY(-3px); }

.resource-featured__body { max-width: 640px; }

.resource-tag {
  margin: 0 0 9px;
  color: #c04a2e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.resource-featured__body h3 {
  margin: 0 0 12px;
  color: #242a30;
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.resource-featured__body p {
  margin: 0 0 20px;
  color: #616a73;
  font-size: 14.5px;
  line-height: 1.65;
}

.b2b-btn--orange {
  background: #f05836;
  border: 1px solid #f05836;
  color: #fff;
}

.b2b-btn--orange:hover { background: #d94727; border-color: #d94727; }

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

.resource-tool {
  padding: 24px 22px;
  border: 1px solid #e5ddd3;
  border-radius: 14px;
  background: rgba(255, 253, 251, 0.8);
}

.resource-tool__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fde9e3;
  color: #a63a20;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-tool h3 {
  margin: 0 0 7px;
  color: #2d343a;
  font-size: 16px;
  font-weight: 650;
}

.resource-tool p {
  margin: 0;
  color: #68717a;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .resources-hero { padding: 112px 0 48px; }
  .resource-featured { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
  .resource-featured__body h3 { font-size: 20px; }
  .resource-featured__body p { font-size: 13.5px; }
  .resources-tools { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .resource-featured { grid-template-columns: 1fr; }
  .resource-featured__media { max-width: 170px; }
}


/* La landing y Recursos no muestran el botón flotante: el formulario ya es el CTA */
.landing-agentes-ia #ic-float-contact,
.resources-page #ic-float-contact { display: none !important; }


/* Honeypot: invisible para personas, visible para bots */
.b2b-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Página de agradecimiento */
.thanks-page { background: #f9f7f5; }

.thanks-hero {
  padding: 142px 0 78px;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 55% at 50% 0%, rgba(240, 88, 54, 0.1) 0%, transparent 72%),
    #f9f7f5;
}

.thanks-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thanks-check {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #fde9e3;
  color: #c04a2e;
  font-size: 25px;
  font-weight: 700;
}

.thanks-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #242a30;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.thanks-text {
  max-width: 610px;
  margin: 0 0 26px;
  color: #5d666e;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
}

.thanks-page .thanks-download,
.thanks-page .thanks-diagnostic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 330px);
  min-height: 54px;
  margin: 0;
  padding: 0 24px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.thanks-page .thanks-download { margin: 0 auto; }
.thanks-page .thanks-download:hover,
.thanks-page .thanks-diagnostic:hover { transform: translateY(-1px); }

.thanks-page .thanks-download:focus-visible,
.thanks-page .thanks-diagnostic:focus-visible {
  outline: 3px solid rgba(240, 88, 54, 0.34);
  outline-offset: 3px;
}

.thanks-note {
  margin: 15px 0 0;
  color: #8a9298;
  font-size: 11.5px;
}

.thanks-next { padding: 64px 0 76px; background: #f3eee7; }

.thanks-next__inner { max-width: 760px; }

.thanks-next h2 {
  margin: 0 0 12px;
  color: #242a30;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.thanks-next p {
  margin: 0 0 22px;
  color: #5d666e;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 540px) {
  .thanks-hero { padding: 112px 0 56px; }
  .thanks-next { padding: 48px 0 58px; }
  .thanks-page .thanks-download,
  .thanks-page .thanks-diagnostic { width: 100%; }
}

/* Legibilidad reforzada solicitada: nota de descarga y temas de la guía */
@media (max-width: 640px) {
  .landing-agentes-ia .b2b-submit-note { font-size: 14px !important; }
  .landing-agentes-ia .b2b-content .b2b-find-grid > .b2b-find-item { font-size: 16px !important; }
}
.landing-agentes-ia .b2b-content .b2b-find-grid > .b2b-find-item { font-size: 17px !important; }

/* Aumento de legibilidad y torso para réplica de referencia */
.landing-agentes-ia .b2b-submit-note { font-size: 16px !important; }
.landing-agentes-ia .b2b-content .b2b-find-grid > li.b2b-find-item { font-size: 19px !important; }
@media (max-width: 640px) {
  .landing-agentes-ia .b2b-submit-note { font-size: 16px !important; }
  .landing-agentes-ia .b2b-content .b2b-find-grid > li.b2b-find-item { font-size: 18px !important; }
}
