/* =========================================================
   HOME — AGENCIA
   Manual PDP: #00CC00 · negro · blanco · Poetsen One + Helvetica
========================================================= */

body.home-page.theme-marketing {
  --hm-orange: #00cc00;
  --hm-orange-hot: #00cc00;
  --hm-orange-soft: #33dd33;
  --hm-green: #00cc00;
  --hm-ink: #050505;
  --hm-panel: #0e0c0a;
  --hm-muted: rgba(255, 255, 255, 0.72);
  --font-heading: var(--font-display);
  --font-body: var(--font-body);
  --green-neon: var(--hm-orange);
  --pdp-neon: var(--hm-orange);
  --pdp-nav-accent: var(--hm-orange);
  background: var(--hm-ink) !important;
  background-color: var(--hm-ink) !important;
  color: #ffffff;
  font-family: var(--font-body);
}

body.home-page.theme-marketing main {
  background: transparent !important;
  background-color: transparent !important;
}

body.home-page.theme-marketing h1,
body.home-page.theme-marketing h2,
body.home-page.theme-marketing h3,
body.home-page.theme-marketing h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ─── Hero ─── */
body.home-page.theme-marketing #inicio.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--pdp-header-stack, 110px));
  padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px) !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 204, 0, 0.28), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(0, 204, 0, 0.06), transparent 28%),
    linear-gradient(160deg, #000 0%, #0a0604 55%, #120804 100%) !important;
  color: #fff !important;
}

body.home-page.theme-marketing #inicio .hero__grid,
body.home-page.theme-marketing #inicio .hero__orb {
  display: none !important;
}

body.home-page.theme-marketing .hero__layout,
body.home-page.theme-marketing .pdp-chooser__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

body.home-page.theme-marketing .hero__copy .eyebrow {
  color: var(--hm-orange-hot) !important;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body.home-page.theme-marketing .hero__copy .eyebrow span:first-child {
  background: var(--hm-orange) !important;
}

body.home-page.theme-marketing #inicio .hero__copy h1 {
  max-width: 11ch;
  margin: 0 0 18px !important;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem) !important;
  line-height: 0.98 !important;
  color: #fff !important;
}

body.home-page.theme-marketing #inicio .hero__copy h1 em {
  display: block;
  font-style: normal;
  background: linear-gradient(105deg, #33dd33 0%, #00cc00 55%, #00cc00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.home-page.theme-marketing #inicio .hero__copy > p {
  max-width: 34rem;
  margin: 0 0 28px !important;
  color: var(--hm-muted) !important;
  font-size: clamp(1rem, 1.5vw, 1.18rem) !important;
  line-height: 1.55 !important;
}

body.home-page.theme-marketing #inicio .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

body.home-page.theme-marketing #inicio .hero__actions .btn--primary {
  background: var(--hm-orange) !important;
  color: #000 !important;
  border-color: var(--hm-orange) !important;
  box-shadow: 0 0 34px rgba(0, 204, 0, 0.42);
}

body.home-page.theme-marketing #inicio .hero__actions .btn--primary:hover {
  background: var(--hm-orange-soft) !important;
  transform: translateY(-2px);
}

body.home-page.theme-marketing #inicio .hero__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

body.home-page.theme-marketing #inicio .hero__actions .btn--ghost:hover {
  border-color: var(--hm-orange) !important;
  color: var(--hm-orange-soft) !important;
}

body.home-page.theme-marketing #inicio .hero__proof {
  display: none !important;
}

/* Full-bleed hero visual (not collage/SaaS) */
body.home-page.theme-marketing .hm-hero-visual {
  position: relative;
  min-height: clamp(320px, 48vw, 520px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 204, 0, 0.28);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(0, 204, 0, 0.18);
  isolation: isolate;
}

body.home-page.theme-marketing .hm-hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(circle, rgba(0, 204, 0, 0.35), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}

body.home-page.theme-marketing .hm-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.04);
  transition: transform 700ms ease;
}

body.home-page.theme-marketing .hm-hero-visual:hover img {
  transform: scale(1.1);
}

body.home-page.theme-marketing .hm-hero-visual__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 48%, transparent 72%),
    linear-gradient(90deg, rgba(0, 204, 0, 0.18), transparent 55%);
  pointer-events: none;
}

body.home-page.theme-marketing .hm-hero-visual__caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 4, 2, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home-page.theme-marketing .hm-hero-visual__caption .live-dot {
  background: var(--hm-green);
  box-shadow: 0 0 0 6px rgba(0, 204, 0, 0.14);
}

/* Ticker */
body.home-page.theme-marketing .hero-ticker {
  margin-top: clamp(28px, 4vw, 48px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.55);
}

body.home-page.theme-marketing .hero-ticker i {
  background: var(--hm-orange) !important;
  box-shadow: 0 0 10px rgba(0, 204, 0, 0.55);
}

body.home-page.theme-marketing .hero-ticker span {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  letter-spacing: 0.14em;
}

/* ─── Trust strip ─── */
body.home-page.theme-marketing .trust-strip,
body.home-page.theme-marketing main section.trust-strip,
body.home-page.theme-marketing #prueba-social {
  padding: 28px 0 !important;
  border-block: 1px solid rgba(0, 204, 0, 0.16) !important;
  background: linear-gradient(180deg, #0a0705, #050505) !important;
  background-color: #050505 !important;
  background-image: linear-gradient(180deg, #0a0705, #050505) !important;
  color: #ffffff !important;
}

body.home-page.theme-marketing .trust-strip__inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

body.home-page.theme-marketing .trust-strip strong,
body.home-page.theme-marketing .trust-strip__inner strong {
  display: block;
  color: var(--hm-orange-hot) !important;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

body.home-page.theme-marketing .trust-strip span,
body.home-page.theme-marketing .trust-strip__inner span {
  display: block !important;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ─── Services bento ─── */
body.home-page.theme-marketing #servicios-oficiales.hm-services {
  padding: clamp(64px, 9vw, 110px) 0;
  background: #050505 !important;
  color: #fff !important;
}

body.home-page.theme-marketing #servicios-oficiales .section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

body.home-page.theme-marketing #servicios-oficiales .eyebrow,
body.home-page.theme-marketing #servicios-oficiales .eyebrow--dark {
  color: var(--hm-orange) !important;
}

body.home-page.theme-marketing #servicios-oficiales h2 {
  color: #fff !important;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem) !important;
  line-height: 1 !important;
  margin: 0 0 12px !important;
}

body.home-page.theme-marketing #servicios-oficiales .section-heading > p {
  color: rgba(255, 255, 255, 0.62) !important;
  max-width: 36rem;
  margin: 0 !important;
}

body.home-page.theme-marketing .hm-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.home-page.theme-marketing .hm-service-card {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(0, 204, 0, 0.22);
  color: inherit;
  text-decoration: none;
  background: var(--hm-panel);
  isolation: isolate;
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

body.home-page.theme-marketing .hm-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 204, 0, 0.55);
  box-shadow: 0 24px 50px rgba(0, 204, 0, 0.16);
}

body.home-page.theme-marketing .hm-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.03);
  transition: opacity 450ms ease, transform 700ms ease;
  z-index: 0;
}

body.home-page.theme-marketing .hm-service-card:hover img {
  opacity: 0.88;
  transform: scale(1.08);
}

body.home-page.theme-marketing .hm-service-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.94) 100%);
  pointer-events: none;
}

body.home-page.theme-marketing .hm-service-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
  display: grid;
  gap: 8px;
}

body.home-page.theme-marketing .hm-service-card__kicker {
  color: var(--hm-orange-soft);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.home-page.theme-marketing .hm-service-card--growth .hm-service-card__kicker {
  color: var(--hm-orange-soft);
}

body.home-page.theme-marketing .hm-service-card h3 {
  margin: 0;
  color: #fff !important;
  font-size: 1.35rem;
  line-height: 1.15;
}

body.home-page.theme-marketing .hm-service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: 28ch;
}

body.home-page.theme-marketing .hm-service-card__cta {
  margin-top: 6px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

body.home-page.theme-marketing .hm-service-card:hover .hm-service-card__cta {
  color: var(--hm-orange-soft);
}

body.home-page #contactForm .form-consent {
  margin: 8px 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

body.home-page #contactForm .form-consent label.cotizador-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  margin: 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

body.home-page #contactForm .form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #00cc00;
}

body.home-page #contactForm .form-consent a {
  color: #33dd33;
  text-decoration: underline;
}

body.home-page.theme-marketing .hm-macros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 18px;
}

body.home-page.theme-marketing .hm-macros a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 204, 0, 0.45);
  border-radius: 999px;
  color: #00cc00;
  font-size: 0.78rem;
  text-decoration: none;
}

body.home-page.theme-marketing .hm-macros a:hover,
body.home-page.theme-marketing .hm-macros a:focus-visible {
  background: #00cc00;
  color: #000;
  outline: none;
}

body.home-page.theme-marketing .hm-services__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

body.home-page.theme-marketing .hm-services__actions .btn--primary {
  background: var(--hm-orange) !important;
  color: #000 !important;
  border-color: var(--hm-orange) !important;
  box-shadow: 0 12px 32px rgba(0, 204, 0, 0.28);
}

body.home-page.theme-marketing .hm-services__actions .btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  background: transparent;
}

/* ─── Portfolio (dark marketing shell) ─── */
body.home-page.theme-marketing #portafolio.portfolio {
  padding: clamp(64px, 8vw, 100px) 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 204, 0, 0.12), transparent 32%),
    #070504 !important;
  color: #fff !important;
}

body.home-page.theme-marketing #portafolio .eyebrow {
  color: var(--hm-orange) !important;
}

body.home-page.theme-marketing #portafolio h2,
body.home-page.theme-marketing #portafolio h3 {
  color: #fff !important;
}

body.home-page.theme-marketing #portafolio .portfolio__lead,
body.home-page.theme-marketing #portafolio .portfolio-industries p {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.home-page.theme-marketing #portafolio .portfolio-filters {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.home-page.theme-marketing #portafolio .portfolio-filters::-webkit-scrollbar {
  display: none;
}

@media (max-width: 720px) {
  body.home-page.theme-marketing #portafolio .portfolio__header {
    gap: 18px;
  }

  body.home-page.theme-marketing #portafolio .portfolio-filters {
    width: 100%;
    padding-right: 28px;
  }

  body.home-page.theme-marketing #portafolio .filter-btn {
    flex-shrink: 0;
    min-height: 42px;
  }
}

body.home-page.theme-marketing #portafolio .filter-btn {
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.78) !important;
  background: transparent !important;
}

body.home-page.theme-marketing #portafolio .filter-btn.active,
body.home-page.theme-marketing #portafolio .filter-btn[aria-pressed="true"],
body.home-page.theme-marketing #portafolio .filter-btn:hover {
  background: var(--hm-orange) !important;
  border-color: var(--hm-orange) !important;
  color: #000 !important;
  box-shadow: 0 6px 18px rgba(0, 204, 0, 0.22) !important;
}

body.home-page.theme-marketing #portafolio .portfolio-actions .btn--primary {
  background: var(--hm-orange) !important;
  color: #000 !important;
  border-color: var(--hm-orange) !important;
}

body.home-page.theme-marketing #portafolio .portfolio-industries {
  margin-top: 4rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(255, 247, 238, 0.08);
}

body.home-page.theme-marketing .nav-dropdown__menu {
  background: #100c09 !important;
  background-color: #100c09 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ─── Contact (dark cohesive; override legacy white contact shell) ─── */
body.home-page.theme-marketing main#contenido > section#contacto.contact,
body.home-page.theme-marketing #contacto.contact {
  padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 100px) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 204, 0, 0.16), transparent 32%),
    #050505 !important;
  background-color: #050505 !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(0, 204, 0, 0.16), transparent 32%) !important;
  color: #ffffff !important;
}

body.home-page.theme-marketing #contacto .contact__shell {
  background: #0c0a08 !important;
  border: 1px solid rgba(0, 204, 0, 0.22) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: none !important;
}

body.home-page.theme-marketing #contacto .contact__hub {
  background: linear-gradient(175deg, #14100c 0%, #080604 100%) !important;
  border-right-color: rgba(255, 255, 255, 0.08) !important;
}

body.home-page.theme-marketing #contacto .contact__hub-header .eyebrow,
body.home-page.theme-marketing #contacto .eyebrow {
  color: var(--hm-orange) !important;
}

body.home-page.theme-marketing #contacto .contact__hub-header h2,
body.home-page.theme-marketing #contacto h2 {
  color: #ffffff !important;
}

body.home-page.theme-marketing #contacto .contact__hub-header p,
body.home-page.theme-marketing #contacto .contact__hub p {
  color: rgba(255, 255, 255, 0.68) !important;
}

body.home-page.theme-marketing #contacto .channel-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.home-page.theme-marketing #contacto .channel-card__label,
body.home-page.theme-marketing #contacto .channel-card__desc,
body.home-page.theme-marketing #contacto .channel-card__title,
body.home-page.theme-marketing #contacto .channel-card span,
body.home-page.theme-marketing #contacto .channel-card p,
body.home-page.theme-marketing #contacto .channel-card strong {
  color: inherit;
}

body.home-page.theme-marketing #contacto .channel-card__label {
  color: rgba(255, 255, 255, 0.55) !important;
}

body.home-page.theme-marketing #contacto .channel-card__val,
body.home-page.theme-marketing #contacto .channel-card__title {
  color: #ffffff !important;
}

body.home-page.theme-marketing #contacto .channel-card__desc {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.home-page.theme-marketing #contacto .channel-card--highlight,
body.home-page.theme-marketing #contacto .channel-card__badge-live {
  border-color: rgba(0, 204, 0, 0.35) !important;
}

body.home-page.theme-marketing #contacto .channel-card__btn {
  background: var(--hm-orange) !important;
  color: #000 !important;
  border-color: var(--hm-orange) !important;
}

body.home-page.theme-marketing #contacto .live-dot {
  background: var(--hm-green) !important;
}

body.home-page.theme-marketing #contacto .contact-form,
body.home-page.theme-marketing #contacto form,
body.home-page.theme-marketing #contacto #contactForm {
  background: #12100c !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.home-page.theme-marketing #contacto .contact-form h3,
body.home-page.theme-marketing #contacto .contact-form h2,
body.home-page.theme-marketing #contacto form h2,
body.home-page.theme-marketing #contacto form h3 {
  color: #ffffff !important;
}

body.home-page.theme-marketing #contacto .contact-form .form-head span,
body.home-page.theme-marketing #contacto form .form-head span,
body.home-page.theme-marketing #contacto form > span:first-child,
body.home-page.theme-marketing #contacto .contact__step {
  background: var(--hm-orange) !important;
  color: #000 !important;
  box-shadow: 0 0 0 10px rgba(0, 204, 0, 0.14) !important;
}

body.home-page.theme-marketing #contacto .contact-form label,
body.home-page.theme-marketing #contacto form label {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.home-page.theme-marketing #contacto .contact-form input,
body.home-page.theme-marketing #contacto .contact-form select,
body.home-page.theme-marketing #contacto .contact-form textarea,
body.home-page.theme-marketing #contacto form input,
body.home-page.theme-marketing #contacto form select,
body.home-page.theme-marketing #contacto form textarea {
  background: #0a0806 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

body.home-page.theme-marketing #contacto .contact-form input:focus,
body.home-page.theme-marketing #contacto .contact-form select:focus,
body.home-page.theme-marketing #contacto .contact-form textarea:focus,
body.home-page.theme-marketing #contacto form input:focus,
body.home-page.theme-marketing #contacto form select:focus,
body.home-page.theme-marketing #contacto form textarea:focus {
  border-color: var(--hm-orange) !important;
  box-shadow: 0 0 0 3px rgba(0, 204, 0, 0.22) !important;
}

body.home-page.theme-marketing #contacto .btn--primary,
body.home-page.theme-marketing #contacto button[type="submit"],
body.home-page.theme-marketing #contacto form .btn,
body.home-page.theme-marketing #contacto form .btn--primary,
body.home-page.theme-marketing #contacto form button[type="submit"] {
  background: var(--hm-orange) !important;
  color: #000 !important;
  border-color: var(--hm-orange) !important;
  box-shadow: 0 16px 34px rgba(0, 204, 0, 0.28) !important;
}

body.home-page.theme-marketing #contacto form .btn:hover,
body.home-page.theme-marketing #contacto form .btn--primary:hover,
body.home-page.theme-marketing #contacto form button[type="submit"]:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

/* Light surfaces that still appear (modals / cards): dark ink + orange accents */
body.home-page.theme-marketing dialog.pdp-modal,
body.home-page.theme-marketing #diagnosticoModal,
body.home-page.theme-marketing #cotizadorModal,
body.home-page.theme-marketing #leadMagnetModal,
body.home-page.theme-marketing #caseModal {
  color: #111827;
}

body.home-page.theme-marketing dialog.pdp-modal .wizard-step-title,
body.home-page.theme-marketing dialog.pdp-modal h2,
body.home-page.theme-marketing dialog.pdp-modal h3,
body.home-page.theme-marketing #cotizadorModal h2,
body.home-page.theme-marketing #cotizadorModal h3,
body.home-page.theme-marketing #diagnosticoModal h2,
body.home-page.theme-marketing #diagnosticoModal h3 {
  color: #0a0d0a !important;
}

body.home-page.theme-marketing dialog.pdp-modal p,
body.home-page.theme-marketing dialog.pdp-modal .wizard-step-subtitle,
body.home-page.theme-marketing dialog.pdp-modal .wizard-option-desc,
body.home-page.theme-marketing #cotizadorModal p,
body.home-page.theme-marketing #diagnosticoModal p {
  color: #4b5563 !important;
}

body.home-page.theme-marketing dialog.pdp-modal .btn--primary,
body.home-page.theme-marketing #cotizadorModal .btn--primary,
body.home-page.theme-marketing #diagnosticoModal .btn--primary,
body.home-page.theme-marketing #cotizadorBtnTransfer {
  background: var(--hm-orange) !important;
  border-color: var(--hm-orange) !important;
  color: #000 !important;
  box-shadow: 0 8px 22px rgba(0, 204, 0, 0.25) !important;
}

/* Ecosistema compact — quiet CTA, not agency services */
body.home-page.theme-marketing .ecosistema-pdp,
body.home-page.theme-marketing .hm-eco-strip {
  background: #050505 !important;
}

body.home-page.theme-marketing .hm-eco-strip {
  padding: clamp(48px, 7vw, 88px) 0;
  border-block: 1px solid rgba(0, 204, 0, 0.12);
}

body.home-page.theme-marketing .hm-eco-strip__inner {
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
}

body.home-page.theme-marketing .hm-eco-strip .eyebrow,
body.home-page.theme-marketing .hm-eco-strip .eyebrow--dark {
  color: var(--hm-orange) !important;
}

body.home-page.theme-marketing .hm-eco-strip .eyebrow span:first-child {
  background: var(--hm-orange) !important;
}

body.home-page.theme-marketing .hm-eco-strip h2 {
  color: #fff !important;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 12px;
}

body.home-page.theme-marketing .hm-eco-strip p {
  color: rgba(255, 255, 255, 0.64) !important;
  margin: 0 0 24px;
}

body.home-page.theme-marketing .hm-eco-strip__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

body.home-page.theme-marketing #portafolio .portfolio__lead a {
  color: var(--hm-orange-soft);
}

body.home-page.theme-marketing .ecosistema-pdp__header .eyebrow {
  color: var(--hm-orange) !important;
}

body.home-page.theme-marketing .ecosistema-pdp__header h2 em {
  color: var(--hm-orange) !important;
}

/* Buttons global on home */
body.home-page.theme-marketing .btn--primary {
  background: var(--hm-orange);
  color: #000;
  box-shadow: 0 12px 36px rgba(0, 204, 0, 0.22);
}

body.home-page.theme-marketing .scroll-progress span {
  background: var(--hm-orange);
  box-shadow: 0 0 18px var(--hm-orange);
}

/* Responsive */
@media (max-width: 1024px) {
  body.home-page.theme-marketing .hero__layout,
  body.home-page.theme-marketing .pdp-chooser__grid {
    grid-template-columns: 1fr;
  }

  body.home-page.theme-marketing .hm-hero-visual {
    min-height: 340px;
    order: -1;
  }

  body.home-page.theme-marketing .hm-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page.theme-marketing .trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.home-page.theme-marketing .hm-services__grid {
    grid-template-columns: 1fr;
  }

  body.home-page.theme-marketing .hm-service-card {
    min-height: 300px;
  }

  body.home-page.theme-marketing #inicio .hero__copy h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page.theme-marketing .hm-hero-visual img,
  body.home-page.theme-marketing .hm-service-card,
  body.home-page.theme-marketing .hm-service-card img {
    transition: none;
  }

  body.home-page.theme-marketing .hm-hero-visual:hover img,
  body.home-page.theme-marketing .hm-service-card:hover img {
    transform: none;
  }
}

/* Casos: title gets its own row so it never collapses into a one-word column */
body.home-page.theme-marketing #portafolio .portfolio__header {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
body.home-page.theme-marketing #portafolio .portfolio__header h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  text-wrap: balance;
}
body.home-page.theme-marketing #portafolio .portfolio__lead {
  max-width: 52ch;
}
body.home-page.theme-marketing #portafolio .portfolio-filters {
  max-width: 100%;
}
html body.home-page.theme-marketing section#portafolio {
  padding-bottom: clamp(32px, 4vw, 56px) !important;
}
html body.home-page.theme-marketing #portafolio .portfolio-mosaic {
  margin-bottom: 0 !important;
}
