body.page-id-47 .entry-header,
body.home .entry-header {
  display: none !important;
}

body.page-id-47 .entry-content,
body.home .entry-content {
  margin-top: 0;
}

body.page-id-47 .ct-container-full {
  padding-top: 0 !important;
}

body.page-id-47 .kadence-column47_50cecc-16 {
  display: none !important;
}

body.page-id-47 .kt-adv-heading47_d357b9-97 {
  max-width: 520px;
  font-family: 'Work Sans', sans-serif !important;
  font-size: clamp(40px, 3vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -.025em !important;
}

body.page-id-47 .kt-adv-heading47_75f2ba-84 {
  max-width: 500px !important;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

body.page-id-47 .kb-row-layout-id47_9c201d-d2 .kt-row-column-wrap {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

body.page-id-47 .kadence-column47_f96f87-f5 > .kt-inside-inner-col {
  width: min(520px, 100%);
  min-height: 520px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

body.page-id-47 .kb-btns47_224d06-d7 {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
}

body.page-id-47 .kb-btns47_224d06-d7 .kb-button {
  min-width: 190px !important;
  min-height: 52px !important;
  padding: 0 22px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

body.page-id-47 .kb-btn47_e9dd8c-4a {
  color: #fff !important;
  background: #128ceb !important;
  border: 1px solid #128ceb !important;
}

body.page-id-47 .kb-btn47_e9dd8c-4a::after {
  content: '→';
  margin-left: 14px;
  font-size: 22px;
  font-weight: 700;
}

body.page-id-47 .kb-btn47_23547f-fc {
  color: #fff !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.48) !important;
}

body.page-id-47 .kb-btn47_e9dd8c-4a:hover {
  color: #262e4f !important;
  background: #ffc33c !important;
  border-color: #ffc33c !important;
}

body.page-id-47 .kb-btn47_23547f-fc:hover {
  color: #262e4f !important;
  background: #fff !important;
  border-color: #fff !important;
}

@media (max-width: 767px) {
  body.page-id-47 .kb-row-layout-id47_9c201d-d2 .kt-row-column-wrap {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  body.page-id-47 .kadence-column47_f96f87-f5 > .kt-inside-inner-col {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  body.page-id-47 .kt-adv-heading47_d357b9-97 {
    max-width: 330px;
    font-size: 28px !important;
  }

  body.page-id-47 .kt-adv-heading47_75f2ba-84 {
    max-width: 330px !important;
    font-size: 16px !important;
  }

  body.page-id-47 .kb-btns47_224d06-d7 {
    width: 100%;
    flex-direction: column !important;
    gap: 8px !important;
  }

  body.page-id-47 .kb-btns47_224d06-d7 .kb-button {
    width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
  }

  body.page-id-47 .kb-btn47_e9dd8c-4a::after {
    margin-left: 7px;
    font-size: 18px;
  }
}

.tmd-home-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.editor-styles-wrapper .tmd-home-shell {
  width: 100%;
  margin-left: 0;
}

.tmd-container-block {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.editor-styles-wrapper .tmd-container-block {
  width: 100%;
}

.tmd-section {
  padding: 78px 0;
}

.tmd-section-soft {
  background: #f5f7fa;
}

.tmd-hero-block {
  background:
    radial-gradient(circle at 78% 24%, rgba(18,140,235,.22), transparent 34%),
    linear-gradient(135deg, #262e4f 0%, #1a2240 100%);
  color: #fff;
  padding: 86px 0 72px;
}

.tmd-hero-block h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 800;
}

.tmd-hero-block p {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.65;
}

.tmd-kicker {
  color: #ffc33c;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.tmd-hero-visual {
  min-height: 390px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,195,60,.45), transparent 24%),
    radial-gradient(circle at 74% 58%, rgba(18,140,235,.55), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.tmd-btn-primary .wp-block-button__link {
  background: #ffc33c !important;
  color: #262e4f !important;
  border-radius: 7px;
  font-weight: 800;
  padding: 14px 26px;
}

.tmd-btn-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 7px;
  font-weight: 800;
  padding: 12px 26px;
}

.tmd-btn-blue .wp-block-button__link {
  background: #128ceb !important;
  color: #fff !important;
  border-radius: 7px;
  font-weight: 800;
  padding: 14px 26px;
}

.tmd-trust-bar {
  background: #fff;
  box-shadow: 0 18px 50px rgba(38,46,79,.08);
}

.tmd-trust-card {
  padding: 26px 28px;
  border-right: 1px solid #e8ecf2;
}

.tmd-trust-card:last-child {
  border-right: 0;
}

.tmd-trust-card h3 {
  color: #262e4f;
  font-size: 16px;
  margin-bottom: 6px;
}

.tmd-trust-card p {
  color: #5e748b;
  font-size: 14px;
  line-height: 1.45;
}

.tmd-section-title {
  color: #262e4f;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
}

.tmd-section-text {
  color: #5e748b;
  font-size: 16px;
  line-height: 1.65;
}

.tmd-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(38,46,79,.06);
  transition: .2s ease;
  height: 100%;
}

.tmd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(18,140,235,.12);
}

.tmd-card h3 {
  color: #262e4f;
  font-size: 19px;
  margin-top: 0;
  margin-bottom: 8px;
}

.tmd-card p {
  color: #5e748b;
  font-size: 14px;
  line-height: 1.55;
}

.tmd-card a {
  color: #128ceb;
  font-weight: 800;
  text-decoration: none;
}

.tmd-card-visual {
  height: 82px !important;
  border-radius: 14px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 22% 25%, rgba(255,195,60,.5), transparent 30%),
    radial-gradient(circle at 80% 68%, rgba(18,140,235,.35), transparent 36%),
    #eef3f9;
}

.tmd-dark-panel {
  background: #262e4f;
  color: #fff;
  border-radius: 22px;
  padding: 36px;
}

.tmd-dark-panel h2,
.tmd-dark-panel h3 {
  color: #fff;
}

.tmd-dark-panel p {
  color: rgba(255,255,255,.76);
}

.tmd-final-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,195,60,.28), transparent 28%),
    linear-gradient(135deg, #128ceb, #262e4f);
  color: #fff;
  border-radius: 26px;
  padding: 44px;
}

.tmd-final-cta h2 {
  color: #fff;
}

.tmd-final-cta p {
  color: rgba(255,255,255,.78);
}

@media (max-width: 781px) {
  .tmd-section {
    padding: 56px 0;
  }

  .tmd-hero-block {
    padding: 60px 0 48px;
  }

  .tmd-trust-card {
    border-right: 0;
    border-bottom: 1px solid #e8ecf2;
  }

  .tmd-final-cta {
    padding: 30px;
  }
}

/* Mejor visibilidad dentro del editor Gutenberg */
.editor-styles-wrapper .tmd-hero-block h1,
.editor-styles-wrapper .tmd-hero-block .wp-block-heading,
.editor-styles-wrapper .tmd-dark-panel h2,
.editor-styles-wrapper .tmd-dark-panel h3,
.editor-styles-wrapper .tmd-final-cta h2 {
  color: #ffffff !important;
}

.editor-styles-wrapper .tmd-hero-block p:not(.tmd-kicker),
.editor-styles-wrapper .tmd-dark-panel p,
.editor-styles-wrapper .tmd-final-cta p {
  color: rgba(255,255,255,.78) !important;
}

.editor-styles-wrapper .tmd-kicker {
  color: #ffc33c !important;
}

.editor-styles-wrapper .tmd-home-shell {
  background: #ffffff;
}

.editor-styles-wrapper .tmd-hero-block {
  margin-top: 0 !important;
}
