/* Estilos para la plantilla "CleverBrain Inicio 2026" */
body.page-template-page-cleverbrain-inicio {
  background: #ffffff !important;
}

.page-template-page-cleverbrain-inicio .site-content .ast-container,
.page-template-page-cleverbrain-inicio.ast-separate-container .site-content .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.page-template-page-cleverbrain-inicio #primary,
.page-template-page-cleverbrain-inicio.ast-separate-container #primary {
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-template-page-cleverbrain-inicio .ast-article-single,
.page-template-page-cleverbrain-inicio.ast-separate-container .ast-article-single {
  padding: 0;
  background: transparent;
}

.page-template-page-cleverbrain-inicio .entry-header {
  display: none;
}

.cb-home {
  --orange: #f6902c;
  --teal: #0093a2;
  --magenta: #d13282;
  --navy: #10214a;
  --ink: #1d2433;
  --muted: #5f6877;
  --line: #e6edf2;
  --soft: #f7fbfd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 33, 74, 0.12);
  --radius: 8px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.cb-home * {
  box-sizing: border-box;
}

.cb-home img {
  display: block;
  max-width: 100%;
}

.cb-home a {
  text-decoration: none;
}

.cb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius);
  border: 0;
  font-weight: 900;
  line-height: 1;
}

.cb-button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(246, 144, 44, 0.22);
}

.cb-button-secondary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(0, 147, 162, 0.2);
}

.cb-button-outline,
.cb-light {
  color: var(--teal);
  background: var(--white);
  border: 1px solid rgba(0, 147, 162, 0.34);
  box-shadow: none;
}

.cb-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.1fr);
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 9% 16%, rgba(209, 50, 130, 0.1), transparent 24%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #f3fbfc 100%);
}

.cb-hero-copy {
  align-self: center;
  padding: clamp(42px, 7vw, 88px) clamp(22px, 5vw, 76px);
}

.cb-eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.cb-home h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.55rem, 5.1vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.cb-home h1 span {
  color: var(--magenta);
}

.cb-hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.cb-actions,
.cb-rental-actions,
.cb-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cb-actions {
  margin-bottom: 30px;
}

.cb-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 500px;
  margin: 0;
}

.cb-hero-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}

.cb-hero-facts dt {
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cb-hero-facts dd {
  margin: 2px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.cb-hero-visual {
  min-height: 540px;
  overflow: hidden;
}

.cb-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.cb-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.cb-trust-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 96px;
  padding: 20px;
  background: var(--white);
  color: var(--navy);
}

.cb-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--white);
}

.cb-icon-magenta { background: var(--magenta); }
.cb-icon-teal { background: var(--teal); }
.cb-icon-orange { background: var(--orange); }

.cb-section,
.cb-split-section,
.cb-location-section,
.cb-steps-section,
.cb-rental-section {
  padding: clamp(52px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.cb-section-heading {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.cb-compact {
  margin-bottom: 28px;
}

.cb-home h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.cb-home h3 {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.2;
}

.cb-section-heading p,
.cb-split-copy p,
.cb-location-copy p,
.cb-feature-panel p,
.cb-service-grid p,
.cb-workshop-grid p,
.cb-steps-grid p,
.cb-rental-copy p,
.cb-rental-form p {
  color: var(--muted);
}

.cb-audience-grid,
.cb-workshop-grid,
.cb-service-grid,
.cb-steps-grid {
  display: grid;
  gap: 18px;
}

.cb-audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cb-audience-card,
.cb-workshop-grid article,
.cb-service-grid article,
.cb-steps-grid article,
.cb-feature-panel,
.cb-rental-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.cb-audience-card {
  min-height: 208px;
  padding: 24px;
}

.cb-card-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
}

.cb-magenta-card { border-color: rgba(209, 50, 130, 0.28); background: linear-gradient(180deg, rgba(209, 50, 130, 0.06), #fff); }
.cb-magenta-card .cb-card-icon { background: var(--magenta); }
.cb-teal-card { border-color: rgba(0, 147, 162, 0.28); background: linear-gradient(180deg, rgba(0, 147, 162, 0.07), #fff); }
.cb-teal-card .cb-card-icon { background: var(--teal); }
.cb-orange-card { border-color: rgba(246, 144, 44, 0.34); background: linear-gradient(180deg, rgba(246, 144, 44, 0.08), #fff); }
.cb-orange-card .cb-card-icon { background: var(--orange); }
.cb-blue-card { border-color: rgba(16, 33, 74, 0.18); background: linear-gradient(180deg, rgba(16, 33, 74, 0.05), #fff); }
.cb-blue-card .cb-card-icon { background: var(--navy); }

.cb-section-workshops,
.cb-services-section {
  background: var(--soft);
}

.cb-workshop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cb-workshop-grid article,
.cb-service-grid article,
.cb-steps-grid article {
  padding: 22px;
  box-shadow: 0 8px 28px rgba(16, 33, 74, 0.05);
}

.cb-line-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: color-mix(in srgb, currentColor 9%, #ffffff);
}

.cb-line-icon svg,
.cb-feature-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cb-line-icon svg {
  width: 32px;
  height: 32px;
}

.cb-robot,
.cb-critical { color: var(--magenta); }
.cb-ai,
.cb-code { color: var(--teal); }
.cb-art,
.cb-cooking { color: var(--orange); }
.cb-math { color: #6f4bb7; }
.cb-engineering { color: #007f8c; }

.cb-split-section,
.cb-location-section,
.cb-rental-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.cb-split-copy,
.cb-location-copy,
.cb-rental-copy {
  max-width: 660px;
}

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

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

.cb-check-list li::before {
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  content: "\2713";
  font-size: 0.78rem;
  line-height: 20px;
  text-align: center;
}

.cb-feature-panel,
.cb-rental-form {
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.cb-feature-list {
  display: grid;
  gap: 22px;
}

.cb-feature-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}

.cb-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--magenta), var(--orange));
  color: var(--white);
}

.cb-feature-icon svg {
  width: 22px;
  height: 22px;
}

.cb-feature-list article:nth-child(2) .cb-feature-icon {
  background: var(--teal);
}

.cb-location-section {
  background: linear-gradient(120deg, rgba(0, 147, 162, 0.09), rgba(209, 50, 130, 0.08)), #fff;
}

.cb-map-card {
  min-height: 330px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(0, 147, 162, 0.16) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(209, 50, 130, 0.12) 40px);
  box-shadow: var(--shadow);
}

.cb-map-pin {
  width: 72px;
  height: 72px;
  margin: 58px auto 26px;
  border: 18px solid var(--magenta);
  border-radius: 50% 50% 50% 0;
  background: var(--white);
  transform: rotate(-45deg);
}

.cb-map-card p,
.cb-map-card strong {
  display: block;
  text-align: center;
}

.cb-map-card p {
  margin-bottom: 4px;
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
}

.cb-map-card strong {
  color: var(--navy);
  font-size: 1.5rem;
}

.cb-service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cb-service-grid article {
  border-top: 5px solid var(--teal);
}

.cb-service-grid article:nth-child(2) { border-top-color: var(--magenta); }
.cb-service-grid article:nth-child(3) { border-top-color: var(--orange); }
.cb-service-grid article:nth-child(4) { border-top-color: #6f4bb7; }
.cb-service-grid article:nth-child(5) { border-top-color: var(--teal); }

.cb-rental-section {
  align-items: start;
  background: linear-gradient(120deg, rgba(0, 147, 162, 0.08), rgba(246, 144, 44, 0.08)), #fff;
}

.cb-rental-actions {
  margin-top: 26px;
}

.cb-steps-section {
  text-align: center;
}

.cb-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto 26px;
}

.cb-steps-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.cb-steps-grid article:nth-child(2) span { background: var(--magenta); }
.cb-steps-grid article:nth-child(3) span { background: var(--orange); }

.cb-whatsapp-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 620px;
  width: 100%;
  padding: 0 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.cb-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(36px, 5vw, 56px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 8% 100%, var(--orange) 0 64px, transparent 65px),
    radial-gradient(circle at 96% 10%, var(--teal) 0 70px, transparent 71px),
    linear-gradient(135deg, var(--magenta), #bd2373);
}

.cb-final-cta h2,
.cb-final-cta .cb-eyebrow {
  color: var(--white);
}

.cb-final-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.cb-mini-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--navy);
  background: #ffffff;
}

.cb-mini-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cb-mini-footer a {
  display: inline-flex;
  margin: 4px 14px 4px 0;
  color: var(--teal);
  font-weight: 900;
}

.cb-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cb-social-links a {
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(0, 147, 162, 0.24);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(0, 147, 162, 0.07);
}

@media (max-width: 1180px) {
  .cb-hero,
  .cb-split-section,
  .cb-location-section,
  .cb-rental-section {
    grid-template-columns: 1fr;
  }

  .cb-hero-visual {
    min-height: 420px;
    order: -1;
  }

  .cb-hero-copy {
    padding-top: 42px;
  }

  .cb-audience-grid,
  .cb-workshop-grid,
  .cb-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .cb-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .cb-hero {
    min-height: 0;
  }

  .cb-hero-visual {
    min-height: 300px;
  }

  .cb-hero-copy {
    padding: 34px 18px 44px;
  }

  .cb-home h1 {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
  }

  .cb-actions,
  .cb-final-actions,
  .cb-rental-actions {
    width: 100%;
  }

  .cb-actions .cb-button,
  .cb-final-actions .cb-button,
  .cb-rental-actions .cb-button,
  .cb-rental-form .cb-button {
    width: 100%;
  }

  .cb-hero-facts,
  .cb-trust-strip,
  .cb-audience-grid,
  .cb-workshop-grid,
  .cb-service-grid,
  .cb-steps-grid {
    grid-template-columns: 1fr;
  }

  .cb-trust-strip article {
    justify-content: flex-start;
    min-height: 74px;
  }

  .cb-audience-card {
    min-height: 0;
  }

  .cb-final-cta {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* CleverBrain ajustes globales 2026 */
:root {
  --cb-orange: #f6902c;
  --cb-teal: #0093a2;
  --cb-magenta: #d13282;
  --cb-navy: #10214a;
  --cb-muted: #5f6877;
  --cb-line: #e6edf2;
  --cb-soft: #f7fbfd;
}

body:not(.page-template-page-cleverbrain-inicio) {
  background: #ffffff !important;
}

.site-header,
.ast-primary-header-bar,
.ast-main-header-wrap,
.main-header-bar,
.ast-theme-transparent-header .site-header,
.ast-theme-transparent-header .ast-primary-header-bar,
.ast-theme-transparent-header .main-header-bar {
  position: relative;
  border-bottom: 1px solid rgba(230, 237, 242, 0.95) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  background-image: none !important;
  box-shadow: 0 8px 22px rgba(16, 33, 74, 0.04) !important;
  backdrop-filter: blur(14px);
}

.ast-theme-transparent-header #masthead {
  position: relative !important;
  left: auto;
  right: auto;
}

.site-header img,
.custom-logo-link img {
  max-height: 76px;
  width: auto;
}

.main-header-menu .menu-link,
.ast-builder-menu .main-navigation > ul > li > a,
.ast-builder-menu-1 .menu-item > .menu-link {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  color: var(--cb-navy) !important;
}

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current_page_item > .menu-link {
  color: var(--cb-magenta) !important;
}

.main-header-menu .sub-menu {
  border: 1px solid var(--cb-line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 33, 74, 0.12);
}

.site-header .ast-builder-button-wrap .ast-custom-button,
.site-header .menu-item a[href*="carrito"],
.site-header .menu-item a[href*="cart"] {
  border-radius: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
}

.site-footer,
.ast-footer-overlay,
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap {
  display: none !important;
}

.cb-global-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--cb-line);
  color: var(--cb-navy);
  background: #ffffff;
}

.cb-global-footer strong {
  display: block;
  color: var(--cb-navy);
  font-weight: 900;
}

.cb-global-footer p {
  margin: 4px 0 0;
  color: var(--cb-muted);
}

.cb-global-footer a {
  display: inline-flex;
  margin: 4px 14px 4px 0;
  color: var(--cb-teal);
  font-weight: 900;
  text-decoration: none;
}

.cb-global-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cb-global-social a {
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(0, 147, 162, 0.24);
  border-radius: 8px;
  color: var(--cb-navy);
  background: rgba(0, 147, 162, 0.07);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-woocommerce-container,
.woocommerce-page .site-main,
.blog .site-main,
.archive .site-main,
.page:not(.page-template-page-cleverbrain-inicio) .site-main {
  border-radius: 8px;
}

.page:not(.page-template-page-cleverbrain-inicio) .entry-title,
.blog .page-title,
.archive .page-title,
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  color: var(--cb-navy);
  font-weight: 900;
  letter-spacing: 0;
}

.page:not(.page-template-page-cleverbrain-inicio) .entry-content h2,
.page:not(.page-template-page-cleverbrain-inicio) .entry-content h3,
.blog .entry-title a,
.archive .entry-title a,
.woocommerce-loop-product__title {
  color: var(--cb-navy);
  font-weight: 900;
}

.page:not(.page-template-page-cleverbrain-inicio) .entry-content a,
.blog .entry-title a:hover,
.archive .entry-title a:hover {
  color: var(--cb-teal);
}

.page:not(.page-template-page-cleverbrain-inicio) .entry-content .wp-block-gallery,
.page:not(.page-template-page-cleverbrain-inicio) .gallery,
.elementor-gallery__container,
.envira-gallery-wrap,
.foogallery {
  gap: 14px !important;
}

.page:not(.page-template-page-cleverbrain-inicio) .entry-content .wp-block-gallery img,
.page:not(.page-template-page-cleverbrain-inicio) .gallery img,
.elementor-gallery-item__image,
.envira-gallery-wrap img,
.foogallery img {
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(16, 33, 74, 0.1);
}

.blog .ast-article-post,
.archive .ast-article-post {
  border: 1px solid var(--cb-line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(16, 33, 74, 0.07);
}

.blog .post-thumb img,
.archive .post-thumb img,
.blog .wp-post-image,
.archive .wp-post-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.read-more a,
.ast-button,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 8px !important;
  font-weight: 900 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link {
  background: var(--cb-orange) !important;
  color: #ffffff !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover {
  background: #df7d1d !important;
}

.woocommerce ul.products li.product {
  border: 1px solid var(--cb-line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 33, 74, 0.07);
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
  background: var(--cb-soft);
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
  padding: 18px !important;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--cb-magenta) !important;
  font-weight: 900;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.page:not(.page-template-page-cleverbrain-inicio) input[type="text"],
.page:not(.page-template-page-cleverbrain-inicio) input[type="email"],
.page:not(.page-template-page-cleverbrain-inicio) input[type="tel"],
.page:not(.page-template-page-cleverbrain-inicio) textarea,
.page:not(.page-template-page-cleverbrain-inicio) select {
  border: 1px solid var(--cb-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.page:not(.page-template-page-cleverbrain-inicio) input:focus,
.page:not(.page-template-page-cleverbrain-inicio) textarea:focus,
.page:not(.page-template-page-cleverbrain-inicio) select:focus {
  border-color: var(--cb-teal) !important;
  box-shadow: 0 0 0 3px rgba(0, 147, 162, 0.12) !important;
}

.wpforms-container .wpforms-submit,
.contact-form button,
.contact-form input[type="submit"] {
  border-radius: 8px !important;
  background: var(--cb-teal) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

.page:not(.page-template-page-cleverbrain-inicio) .entry-content {
  line-height: 1.65;
}

body.page-id-525 #content,
body.page-id-525 .site-content,
body.page-id-525 #primary,
body.page-id-525 #main {
  background:
    radial-gradient(circle at 8% 6%, rgba(209, 50, 130, 0.08), transparent 24%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 42%) !important;
}

body.page-id-525 .elementor-section.elementor-top-section:first-of-type {
  min-height: 420px !important;
  margin-top: 0 !important;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(247, 251, 253, 0.88) 100%),
    radial-gradient(circle at 90% 30%, rgba(0, 147, 162, 0.16), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(246, 144, 44, 0.16), transparent 24%) !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(247, 251, 253, 0.88) 100%),
    radial-gradient(circle at 90% 30%, rgba(0, 147, 162, 0.16), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(246, 144, 44, 0.16), transparent 24%) !important;
  background-color: #f7fbfd !important;
  border-bottom: 1px solid var(--cb-line);
}

body.page-id-525 .elementor-section.elementor-top-section:first-of-type .elementor-background-overlay {
  display: none !important;
  opacity: 0 !important;
}

body.page-id-525 .elementor-element-a0c48cd {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(247, 251, 253, 0.88) 100%),
    radial-gradient(circle at 90% 30%, rgba(0, 147, 162, 0.16), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(246, 144, 44, 0.16), transparent 24%) !important;
  background-color: #f7fbfd !important;
}

body.page-id-525 .elementor-section.elementor-top-section:first-of-type .elementor-heading-title {
  color: var(--cb-navy) !important;
  font-size: clamp(2.4rem, 6vw, 5rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

body.page-id-525 .elementor-section.elementor-top-section:first-of-type .elementor-divider-separator {
  border-color: var(--cb-teal) !important;
  border-width: 8px !important;
}

body.page-id-525 .elementor-section:not(:first-of-type) {
  margin: 0 auto 18px !important;
}

body.page-id-525 .elementor-section:not(:first-of-type) > .elementor-container {
  max-width: 1120px !important;
  padding: 22px 28px;
  border: 1px solid var(--cb-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(16, 33, 74, 0.06);
}

body.page-id-525 .elementor-widget-heading .elementor-heading-title {
  color: var(--cb-navy) !important;
  letter-spacing: 0 !important;
}

body.page-id-525 .elementor-column:first-child .elementor-heading-title {
  color: var(--cb-magenta) !important;
}

body.page-id-525 .elementor-widget-image-carousel,
body.page-id-525 .swiper,
body.page-id-525 .swiper-container {
  border-radius: 8px;
  overflow: hidden;
}

body.page-id-525 .elementor-image-carousel img,
body.page-id-525 .swiper-slide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

body.page-id-525 .elementor-swiper-button {
  display: grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff !important;
  background: rgba(0, 147, 162, 0.88);
}

@media (max-width: 921px) {
  .main-header-menu .menu-link,
  .ast-builder-menu .main-navigation > ul > li > a,
  .ast-builder-menu-1 .menu-item > .menu-link {
    font-size: 0.95rem !important;
  }

  .ast-mobile-popup-content .main-header-menu .menu-link {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

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

  .cb-global-social {
    justify-content: flex-start;
  }

  body.page-id-525 .elementor-section:not(:first-of-type) > .elementor-container {
    padding: 18px;
  }
}

/* CleverBrain ajustes Contacto/Galería 2026-07-02 */
body.page-id-16 .elementor-divider,
body.page-id-16 .elementor-divider-separator,
body.page-id-525 .elementor-divider,
body.page-id-525 .elementor-divider-separator,
body.page-id-16 hr,
body.page-id-525 hr {
  display: none !important;
  border: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-16 #content,
body.page-id-16 .site-content,
body.page-id-16 #primary,
body.page-id-16 #main {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 48%) !important;
}

body.page-id-16 .elementor-section.elementor-top-section:first-of-type {
  min-height: 360px !important;
  padding: clamp(48px, 8vw, 90px) 18px !important;
  border-bottom: 1px solid var(--cb-line);
  background:
    radial-gradient(circle at 88% 24%, rgba(0, 147, 162, 0.14), transparent 30%),
    radial-gradient(circle at 8% 86%, rgba(246, 144, 44, 0.16), transparent 26%),
    linear-gradient(120deg, rgba(255,255,255,0.96), rgba(247,251,253,0.92)) !important;
}

body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-heading-title {
  color: var(--cb-navy) !important;
  font-size: clamp(2.35rem, 5vw, 4.7rem) !important;
  line-height: 1.03 !important;
  letter-spacing: 0 !important;
}

body.page-id-16 .elementor-widget-heading .elementor-heading-title,
body.page-id-525 .elementor-widget-heading .elementor-heading-title {
  color: var(--cb-navy) !important;
  letter-spacing: 0 !important;
}

body.page-id-16 .elementor-widget-heading h2.elementor-heading-title,
body.page-id-16 h2.wp-block-heading {
  font-size: clamp(1.75rem, 3vw, 2.55rem) !important;
  line-height: 1.1 !important;
}

body.page-id-16 .elementor-section:not(:first-of-type) > .elementor-container,
body.page-id-16 .wpforms-container,
body.page-id-16 form {
  border-radius: 8px;
}

body.page-id-16 .elementor-section:not(:first-of-type) > .elementor-container {
  max-width: 1120px !important;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--cb-line);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(16, 33, 74, 0.07);
}

body.page-id-16 .wpforms-container,
body.page-id-16 .elementor-widget-wpforms,
body.page-id-16 .elementor-widget-shortcode {
  background: #ffffff;
}

body.page-id-16 input,
body.page-id-16 textarea,
body.page-id-16 select {
  min-height: 46px;
}

body.page-id-525 .elementor-section.elementor-top-section:first-of-type .elementor-heading-title {
  font-size: clamp(2rem, 4.2vw, 3.75rem) !important;
  line-height: 1.06 !important;
}

body.page-id-525 .elementor-section:not(:first-of-type) .elementor-heading-title {
  font-size: clamp(1.2rem, 2vw, 1.65rem) !important;
  line-height: 1.18 !important;
}

body.page-id-525 .elementor-column:first-child .elementor-heading-title {
  font-size: clamp(1rem, 1.7vw, 1.25rem) !important;
  color: var(--cb-magenta) !important;
}

body.page-id-525 .elementor-section:not(:first-of-type) > .elementor-container {
  gap: 16px;
}

/* CleverBrain ajuste final encabezado Contacto 2026-07-02 */
body.page-id-16 .elementor-element-f1a9ea2,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type {
  min-height: 180px !important;
  height: 180px !important;
  max-height: 180px !important;
  padding: 28px 18px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 70%, rgba(0,147,162,.08) 100%) !important;
  background-image: linear-gradient(90deg, #ffffff 0%, #ffffff 70%, rgba(0,147,162,.08) 100%) !important;
  border: 0 !important;
}

body.page-id-16 .elementor-element-f1a9ea2 .elementor-background-overlay,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-background-overlay {
  display: none !important;
  opacity: 0 !important;
}

body.page-id-16 .elementor-element-f1a9ea2 > .elementor-container,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type > .elementor-container,
body.page-id-16 .elementor-element-f1a9ea2 .elementor-column,
body.page-id-16 .elementor-element-f1a9ea2 .elementor-widget-wrap,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-column,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-widget-wrap {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 1 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body.page-id-16 .elementor-element-f1a9ea2 .elementor-widget-heading,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-widget-heading {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-16 .elementor-element-f1a9ea2 .elementor-heading-title,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-heading-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  color: var(--cb-navy) !important;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.page-id-16 .elementor-element-f1a9ea2::after,
body.page-id-16 .elementor-section.elementor-top-section:first-of-type::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 560px) {
  body.page-id-16 .elementor-element-f1a9ea2,
  body.page-id-16 .elementor-section.elementor-top-section:first-of-type {
    min-height: 160px !important;
    height: 160px !important;
    max-height: 160px !important;
    padding: 22px 14px !important;
  }

  body.page-id-16 .elementor-element-f1a9ea2 .elementor-heading-title,
  body.page-id-16 .elementor-section.elementor-top-section:first-of-type .elementor-heading-title {
    font-size: clamp(1.8rem, 9vw, 2.3rem) !important;
  }
}

/* CleverBrain centrado definitivo encabezado Contacto 2026-07-02 */
body.page-id-16 .elementor-element-f1a9ea2 .elementor-element-4def1a2 {
  display: none !important;
}

body.page-id-16 .elementor-element-f1a9ea2 > .elementor-container {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

body.page-id-16 .elementor-element-f1a9ea2 .elementor-element-962d242 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

body.page-id-16 .elementor-element-f1a9ea2 .elementor-element-962d242 .elementor-widget-wrap {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}


/* CleverBrain enlaces y galería cuadrada 2026-07-03 */
.cb-workshop-card {
  display: block !important;
  padding: 22px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--white) !important;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(16, 33, 74, 0.05) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.cb-workshop-card:hover,
.cb-workshop-card:focus-visible {
  color: inherit !important;
  transform: translateY(-3px) !important;
  border-color: rgba(0, 147, 162, 0.42) !important;
  box-shadow: 0 14px 34px rgba(16, 33, 74, 0.10) !important;
  outline: none !important;
}

.cb-workshop-card h3,
.cb-workshop-card p {
  text-decoration: none !important;
}

.cb-hero-facts a {
  display: block !important;
  padding: 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.75) !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.cb-hero-facts a:hover,
.cb-hero-facts a:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(0, 147, 162, 0.36) !important;
  box-shadow: 0 10px 26px rgba(16, 33, 74, 0.08) !important;
  outline: none !important;
}

body.page-id-525 .elementor-widget-image-carousel,
body.page-id-525 .elementor-widget-image-carousel .swiper,
body.page-id-525 .elementor-widget-image-carousel .elementor-image-carousel-wrapper {
  overflow: hidden !important;
}

body.page-id-525 .elementor-widget-image-carousel .swiper-slide {
  height: auto !important;
}

body.page-id-525 .elementor-widget-image-carousel .swiper-slide-inner,
body.page-id-525 .elementor-widget-image-carousel figure,
body.page-id-525 .elementor-image-carousel .swiper-slide-inner {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

body.page-id-525 .elementor-image-carousel img,
body.page-id-525 .swiper-slide img,
body.page-id-525 img.swiper-slide-image {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}
