:root {
  color-scheme: dark;
  --bg: #08121f;
  --surface: #101f30;
  --surface-2: #0c1827;
  --text: #eef6ff;
  --muted: #a1b3c7;
  --line: #26364a;
  --accent: #42d7bf;
  --accent2: #5ca4ff;
  --max: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.container {
  max-width: var(--max);
  padding: 0 28px;
  margin: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: #fff;
  color: #111;
  padding: 8px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 18, 31, 0.9);
  border-bottom: 1px solid #26364a80;
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0.045em;
}
.brand-symbol {
  color: var(--accent);
  font-weight: 900;
  margin-right: 12px;
}
.brand-dot {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  color: #c6d4e3;
  font-size: 14px;
}
.nav-links a:hover,
.text-link:hover {
  color: var(--accent);
}
.nav-cta {
  border: 1px solid #4c766f;
  border-radius: 10px;
  padding: 8px 15px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  font-size: 22px;
  padding: 2px 12px;
}
.hero {
  min-height: 680px;
  padding-top: 105px;
  padding-bottom: 105px;
  display: grid;
  grid-template-columns: 1.09fr 0.91fr;
  align-items: center;
  gap: 44px;
}
.eyebrow,
.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--accent);
}
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  margin-right: 6px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(43px, 5.1vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 23px 0 24px;
}
h2 {
  font-size: clamp(29px, 3.5vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 16px 0 18px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(100deg, #5be8cd, #67abff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.lead {
  color: #bccadd;
  font-size: 17px;
  line-height: 1.78;
  max-width: 630px;
}
.lead strong {
  color: #fff;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 750;
  font-size: 14px;
  transition:
    transform 0.18s,
    background 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--accent);
  color: #06211d;
}
.primary:hover {
  background: #75e7d3;
}
.secondary {
  border: 1px solid #456079;
  color: #e2ebf5;
}
.secondary:hover {
  background: #152a3e;
}
.hero-tags,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}
.hero-tags span,
.project-tags span {
  padding: 4px 11px;
  border: 1px solid #2c4557;
  border-radius: 7px;
  color: #b6cbdc;
  font-size: 12px;
  background: #152539;
}
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.32;
}
.glow-one {
  background: #0ebf9e;
  width: 220px;
  height: 220px;
  top: 45px;
  left: 0;
}
.glow-two {
  background: #477df4;
  width: 250px;
  height: 220px;
  right: 0;
  bottom: 0;
}
.terminal {
  position: relative;
  width: 100%;
  border: 1px solid #3a5970;
  border-radius: 17px;
  background: linear-gradient(145deg, #14263b, #0a1523);
  box-shadow: 0 30px 90px #0008;
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  overflow: hidden;
}
.terminal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #192d41;
  padding: 13px 15px;
  color: #8cabbe;
  font-size: 11px;
}
.lights {
  display: flex;
  gap: 6px;
}
.lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fb7070;
}
.lights i:nth-child(2) {
  background: #f8c65a;
}
.lights i:nth-child(3) {
  background: #47d6ad;
}
.terminal pre {
  margin: 0;
  padding: 28px 18px 31px;
  font:
    13px/2.05 Consolas,
    Monaco,
    monospace;
  color: #d2dfef;
  white-space: pre;
  overflow-x: auto;
}
.line-muted {
  color: #567088;
}
.purple {
  color: #c9a7fa;
}
.cyan {
  color: #6cd8f5;
}
.yellow {
  color: #ffd27c;
}
.green {
  color: #64ddae;
}
.floating-pill {
  position: absolute;
  right: -10px;
  bottom: 25px;
  padding: 12px 17px;
  background: #132b37;
  border: 1px solid #336b69;
  border-radius: 12px;
  box-shadow: 0 12px 32px #0006;
  font-size: 13px;
  font-weight: 700;
}
.floating-pill span {
  color: var(--accent);
  margin-right: 8px;
}
.section {
  padding-top: 104px;
  padding-bottom: 110px;
  scroll-margin-top: 76px;
}
.section-alt {
  background: linear-gradient(180deg, #0d1a2a, #0b1726);
  border-block: 1px solid #1b3044;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.split p,
.section-head p,
.service-card p,
.project-body p,
.steps p,
.contact-box p {
  color: var(--muted);
}
.split p {
  font-size: 16px;
}
.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}
.text-link {
  font-size: 14px;
  font-weight: 750;
  color: #66e7d3;
}
.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card,
.project-card {
  background: #101f30;
  border: 1px solid #293d51;
  border-radius: 15px;
  overflow: hidden;
}
.service-card {
  padding: 29px 25px;
  min-height: 270px;
}
.service-card h3 {
  margin: 20px 0 10px;
}
.card-icon {
  display: grid;
  place-items: center;
  background: #173c45;
  color: #67e8d0;
  border-radius: 11px;
  width: 52px;
  height: 52px;
  font-weight: 800;
  font-size: 20px;
}
.service-card p {
  font-size: 14px;
}
.card-meta {
  color: #71d9cd;
  font-size: 12px;
}
.project-art {
  height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 23px;
  background:
    radial-gradient(circle at 84% 18%, #1a966e70, transparent 55%),
    linear-gradient(130deg, #0a352f, #071923);
  position: relative;
  overflow: hidden;
}
.project-art:after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid #ffffff24;
  border-radius: 22px;
  transform: rotate(28deg);
  right: -30px;
  top: -40px;
}
.project-art.predict {
  background:
    radial-gradient(circle at 85% 10%, #2b93ed70, transparent 55%),
    linear-gradient(130deg, #092747, #091526);
}
.project-art.adapta {
  background:
    radial-gradient(circle at 85% 10%, #a16adf65, transparent 55%),
    linear-gradient(130deg, #2a1a45, #0c1728);
}
.project-art > span:not(.project-art-icon) {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  color: #b8e6e2;
}
.project-art strong {
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-top: 7px;
}
.project-art-icon {
  position: absolute;
  font-size: 70px;
  right: 38px;
  top: 20px;
  color: #ffffffab;
}
.project-body {
  padding: 23px;
}
.project-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #72e1d1;
  margin-bottom: 10px;
}
.project-body h3 {
  margin: 0 0 10px;
}
.project-body p {
  min-height: 105px;
  font-size: 14px;
}
.project-tags {
  margin: 15px 0 23px;
}
.project-status {
  font-size: 12px;
  color: #b7c0d4;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps > div {
  border-top: 1px solid #3a5266;
  padding-top: 17px;
}
.steps b {
  color: var(--accent);
  font-size: 13px;
}
.steps h3 {
  margin: 11px 0 7px;
}
.steps p {
  font-size: 14px;
}
.contact-section {
  background:
    radial-gradient(circle at 10% 20%, #183b48, transparent 55%), #0b1928;
}
.contact-box {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: center;
}
.contact-box h2 {
  max-width: 650px;
}
.contact-detail {
  background: #0e2531;
  border: 1px solid #315466;
  padding: 28px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-wrap: anywhere;
}
.contact-detail > span {
  color: #75e1d0;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.contact-detail a {
  font-size: 14px;
}
.contact-detail a:hover {
  color: var(--accent);
}
.contact-detail small {
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  color: #8ba4b8;
  font-size: 12px;
}
.footer-inner {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.footer-inner strong {
  color: #eaf7fa;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 60px;
    gap: 36px;
  }
  .hero-visual {
    max-width: 560px;
    min-height: 380px;
  }
  .split {
    gap: 25px;
  }
  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-box {
    gap: 25px;
  }
}

@media (max-width: 650px) {
  .container {
    padding-inline: 20px;
  }
  .nav {
    min-height: 65px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #0c192a;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding-top: 58px;
    gap: 22px;
  }
  .hero-visual {
    min-height: 330px;
  }
  .terminal {
    transform: none;
  }
  .terminal pre {
    font-size: 11px;
    padding: 18px 10px;
  }
  .terminal-top {
    font-size: 9px;
  }
  .floating-pill {
    right: 5px;
    bottom: 7px;
  }
  .section {
    padding-top: 70px;
    padding-bottom: 72px;
  }
  .split,
  .contact-box {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .project-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
  .project-body p {
    min-height: auto;
  }
  .footer-inner {
    padding-top: 23px;
    padding-bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* GM.DEV v1.1 — microinteracciones y accesibilidad */
:root {
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html {
  scroll-padding-top: 88px;
}
.service-card,
.project-card,
.contact-detail {
  transition:
    transform 220ms var(--motion-ease),
    border-color 220ms ease,
    box-shadow 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover,
  .project-card:hover {
    transform: translateY(-5px);
    border-color: #4a9b9b;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  }
}
.nav-links a[aria-current="location"] {
  color: var(--accent);
}
.nav-links a[aria-current="location"]:not(.nav-cta) {
  text-decoration: underline;
  text-underline-offset: 9px;
  text-decoration-thickness: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 440ms var(--motion-ease),
      transform 440ms var(--motion-ease);
  }
  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* GM.DEV v1.3 — Flujo de datos GM Predict AI */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.pipeline-step {
  position: relative;
  padding: 24px;
  border: 1px solid #293d51;
  border-radius: 14px;
  background: #101f30;
}

.pipeline-step > span {
  display: block;
  margin-bottom: 18px;
  color: #a6b8ca;
  font-size: 12px;
  font-weight: 700;
}

.pipeline-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pipeline-step p {
  color: #b6c7d7;
  font-size: 14px;
}

.pipeline-step.implemented {
  border-color: #328c7d;
  background: #102d31;
}

.pipeline-step.implemented > span {
  color: #70e6cf;
}

.pipeline-step.planned {
  border-style: dashed;
}

@media (max-width: 900px) {
  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .pipeline {
    grid-template-columns: 1fr;
  }
}

/* GM.DEV v1.4 — Sobre mí e identidad profesional */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.about-photo {
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}

.about-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #344650;
  border-radius: 22px;
  background: #101419;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
}

.about-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-photo-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
  color: #a9c1d0;
  font-size: 13px;
}

.about-status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #5be8cd;
}

.about-content h2 {
  margin-bottom: 12px;
}

.about-content p {
  color: #b6c7d7;
  font-size: 15px;
  line-height: 1.8;
}

.about-content .about-role {
  color: #70e6cf;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.about-skills span {
  padding: 6px 11px;
  border: 1px solid #315466;
  border-radius: 8px;
  background: #152539;
  color: #c5d9e5;
  font-size: 12px;
}

.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-photo {
    max-width: 330px;
  }
}

@media (max-width: 650px) {
  .about-photo {
    max-width: 290px;
  }

  .about-content h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .about-actions {
    align-items: stretch;
  }

  .about-actions .btn {
    width: 100%;
  }
}
/* GM.DEV v1.4 — Identidad visual negro premium */

:root {
  --page-black: #050608;
  --surface-black: #101419;
  --border-dark: #26333d;
}

/* Fondo general */
html,
body {
  background-color: var(--page-black);
}

/* Secciones principales */
.section,
.section-alt,
.contact-section,
.about-section {
  background: var(--page-black);
}

/* Encabezado */
.site-header {
  background: #080b10;
  border-bottom-color: var(--border-dark);
}

/* Tarjetas */
.service-card,
.project-card,
.contact-detail,
.pipeline-step {
  background: var(--surface-black);
  border-color: var(--border-dark);
}

/* Tarjetas de proyecto: conservar su identidad */
.project-art.football {
  background: linear-gradient(135deg, #112a25, #080c0e);
}

.project-art.predict {
  background: linear-gradient(135deg, #102033, #080c0e);
}

.project-art.adapta {
  background: linear-gradient(135deg, #25192e, #080c0e);
}

/* Footer */
footer {
  background: var(--page-black);
  border-top-color: var(--border-dark);
}

/* GM.DEV v1.5 — Catálogo comercial */

.product-grid {
  display: grid;
  gap: 24px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  background: var(--surface-black);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
}

.product-visual {
  min-width: 0;
  padding: 26px;
  background:
    radial-gradient(
      circle at 15% 20%,
      #163b3c,
      transparent 65%
    ),
    #080d14;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 18px 45px #0006;
}

.product-caption {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.product-body {
  min-width: 0;
  padding: clamp(24px, 4vw, 40px);
}

.product-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.product-status {
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.product-version {
  color: var(--muted);
  font-size: 12px;
}

.product-body h3 {
  font-size: clamp(27px, 3vw, 37px);
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-body p {
  color: var(--muted);
  font-size: 14px;
}

.product-body .product-tagline {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.product-features li {
  position: relative;
  padding-left: 24px;
  color: #c5d9e5;
  font-size: 14px;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .product-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-visual {
    padding: 24px;
  }
}

@media (max-width: 650px) {
  .product-visual {
    padding: 15px;
  }

  .product-body {
    padding: 23px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }
}
/* GM.DEV v1.5 — Navegación responsive */

.brand,
.nav-links a {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .nav {
    min-height: 65px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #080b10;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-links.open {
    display: flex;
  }

}

/* =========================================
   GM.DEV v1.6 — Consolidacion comercial
   ========================================= */

.product-card-commercial {
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  align-items: stretch;
}

.product-card-commercial .product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-audience {
  margin-top: 24px;
}

.product-audience h4,
.product-subtitle {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.product-audience ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-card-commercial .product-features {
  margin: 0 0 12px;
}

.product-card-commercial .product-actions {
  margin-top: 20px;
}

.product-body .product-contact-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.product-showcase {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(
      circle at 15% 20%,
      #163b3c,
      transparent 65%
    ),
    #080d14;
  border-left: 1px solid var(--border-dark);
}

.product-showcase-heading h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.4;
}

.product-showcase-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-demo-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-black);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
}

.product-demo-image {
  display: block;
  min-width: 0;
}

.product-demo-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-dark);
}

.product-demo-image:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.product-demo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
}

.product-demo-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.product-demo-body h5 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
}

.product-demo-body p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-demo-body .btn {
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  font-size: 12px;
  text-align: center;
  white-space: normal;
}

.product-showcase-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .product-card-commercial {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-showcase {
    border-left: 0;
    border-top: 1px solid var(--border-dark);
  }
}

@media (max-width: 650px) {
  .product-showcase {
    padding: 20px;
  }

  .product-demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-demo-body {
    padding: 18px;
  }

  .product-card-commercial .product-actions .btn {
    white-space: normal;
  }
}
/* GM.DEV v1.6 - Optimizacion visual comercial */

.product-card-commercial {
  grid-template-columns: minmax(0, 1fr);
}

.product-card-commercial .product-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  justify-content: initial;
}

.product-card-commercial .product-heading,
.product-card-commercial .product-body > h3,
.product-card-commercial .product-tagline,
.product-card-commercial .product-body > p,
.product-card-commercial .product-actions {
  grid-column: 1 / -1;
}

.product-card-commercial .product-body > p {
  max-width: 760px;
}

.product-card-commercial .product-audience {
  grid-column: 1;
  grid-row: 5 / span 2;
  margin-top: 20px;
}

.product-card-commercial .product-subtitle {
  grid-column: 2;
  grid-row: 5;
  margin-top: 20px;
}

.product-card-commercial .product-features {
  grid-column: 2;
  grid-row: 6;
}

.product-card-commercial .product-showcase {
  border-left: 0;
  border-top: 1px solid var(--border-dark);
  justify-content: flex-start;
  padding: clamp(20px, 4vw, 36px);
}

.product-card-commercial .product-demo-grid {
  gap: 24px;
}

.product-card-commercial .product-demo-body {
  padding: 20px;
}

.product-card-commercial .product-demo-body h5 {
  font-size: 21px;
}

.product-card-commercial .product-demo-body .btn {
  font-size: 14px;
  padding: 12px 16px;
}

#productos {
  scroll-margin-top: 90px;
}

@media (max-width: 650px) {
  .product-card-commercial .product-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .product-card-commercial .product-demo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .product-card-commercial .product-showcase {
    padding: 18px;
  }

  .product-card-commercial .product-audience {
    margin-top: 20px;
  }

  .product-card-commercial .product-subtitle {
    margin-top: 0;
  }

  #productos {
    scroll-margin-top: 75px;
  }
}
