:root {
  --bg: #08090a;
  --bg-elev: #0f1011;
  --surface: #141516;
  --surface-2: #1a1b1e;
  --text: #f7f8f8;
  --muted: #8a8f98;
  --faint: #62666d;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --accent: #7170ff;
  --accent-hover: #828fff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(113, 112, 255, 0.14);
  --ok: #10b981;
  --ok-soft: rgba(16, 185, 129, 0.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1160px;
  --header-h: 72px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 10, 0.82);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(113,112,255,.25), rgba(34,211,238,.12));
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
}

.logo-text { font-size: 1.02rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.2rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  place-items: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:focus-visible,
.chip:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }

.btn-light {
  background: #fff;
  color: #0b0c0e;
}
.btn-light:hover { background: #e8e9eb; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 40%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(113,112,255,.18), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 20% auto auto -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(34,211,238,.1), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34,211,238,.15);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.hero-panel-top strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--mono);
}

.pill-ok {
  background: var(--ok-soft);
  border-color: rgba(16,185,129,.35);
  color: #6ee7b7;
}

.hero-thumb {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0c0e;
}

.hero-thumb img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-panel-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  min-width: 0;
}

/* Sections */
.section {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  border-block: 1px solid var(--border-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-hero h2,
.block-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-head-row .section-head { margin-bottom: 0; }

/* Cards / grids */
.cards-3,
.cards-2,
.catalog-grid,
.industry-grid,
.process-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.process-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.industry-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/*
  Catálogo desktop: cada tarjeta con espacio propio.
  auto-fit + minmax evita solapes; baja de fila sola al achicar.
*/
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 30px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
}

.cards-3 > *,
.cards-2 > *,
.catalog-grid > *,
.industry-grid > *,
.process-grid > * {
  min-width: 0;
  max-width: 100%;
}

.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: var(--accent-soft);
  border: 1px solid rgba(113,112,255,.25);
  color: var(--accent-hover);
  font-family: var(--mono);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.process-step {
  position: relative;
  min-width: 0;
}

.process-step .num {
  font-family: var(--mono);
  color: var(--accent-2);
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  display: block;
}

/* Marquee / verticals strip */
.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.16); }
.chip.is-active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(113,112,255,.45);
}

/* Catalog cards — flex column fluido, sin solapes */
.catalog-card {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  z-index: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 100%;
  margin: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.catalog-card:hover {
  z-index: 1;
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
}

/* Caja de miniatura (las “cajas azules/mock”): proporción fija, no desborda */
.catalog-card .thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b0c0e;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}

.catalog-card .thumb img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
}

.catalog-card .badge-real {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  left: 0.65rem;
  max-width: calc(100% - 1.3rem);
  background: rgba(6, 78, 59, 0.92);
  color: #a7f3d0;
  border: 1px solid rgba(16,185,129,.4);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-card .body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 1rem 1.05rem 1.15rem;
  box-sizing: border-box;
}

.catalog-card .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  width: 100%;
  min-width: 0;
  color: var(--faint);
  font-size: 0.78rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-card .meta span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.catalog-card h3 {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: clamp(1rem, 2.8vw, 1.08rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.catalog-card p {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Industry */
.industry-card {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  min-width: 0;
  max-width: 100%;
}

.industry-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.industry-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(113,112,255,.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(34,211,238,.12), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(113,112,255,.16), transparent 45%),
    rgba(255,255,255,0.02);
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

/* Page hero */
.page-hero {
  padding: 2.6rem 0 1.2rem;
}

.page-hero .lead { max-width: 42rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}

/* min-width:0 evita que selects/inputs largos empujen el grid fuera del viewport */
.contact-grid > * {
  min-width: 0;
  max-width: 100%;
}

.contact-card,
.form-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 1.25rem;
  overflow: hidden;
  width: 100%;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.contact-list div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-soft);
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.92rem;
  min-width: 0;
  max-width: 100%;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding: 0.7rem 0.85rem;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

select {
  padding-right: 2.4rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.03);
}

select option {
  background: #121316;
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-card .btn,
form .btn {
  width: 100%;
  max-width: 100%;
}

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

/* Prose */
.prose {
  max-width: 46rem;
  color: var(--muted);
}

.prose h2 {
  color: var(--text);
  margin: 1.8rem 0 0.6rem;
  letter-spacing: -0.03em;
}

.prose p { margin: 0 0 1rem; }

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.prose li { margin: 0.35rem 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid strong {
  display: block;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-grid a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  color: var(--faint);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Utilities */
.muted { color: var(--muted); }
.hidden { display: none !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }

.featured-real {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(16,185,129,.25);
  background:
    radial-gradient(circle at 0% 0%, rgba(16,185,129,.08), transparent 45%),
    rgba(255,255,255,0.02);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.featured-real > * {
  min-width: 0;
  max-width: 100%;
}

.featured-real img {
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
  background: #0b0c0e;
}

.featured-real h3 {
  margin: 0.5rem 0;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.featured-real p {
  margin: 0 0 1rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .featured-real,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Formulario a una columna antes: en tablet 2 cols se corta el form */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* catálogo/cards ya usan auto-fit; solo afinar gap */
  .catalog-grid {
    gap: 1.25rem;
  }
}

/* Móvil: catálogo y cards a columna completa */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(8, 9, 10, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.15rem;
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0.4rem; }
  .site-nav .btn { margin-top: 0.35rem; width: 100%; }

  .hero-grid,
  .contact-grid,
  .featured-real,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* auto-fit con piso 350px puede forzar overflow en móviles angostos:
     forzamos 1 columna limpia */
  .catalog-grid,
  .cards-3,
  .cards-2,
  .process-grid,
  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  /* Filtros del catálogo: scroll horizontal en vez de wrap caótico */
  .strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding-bottom: 0.35rem;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
  }

  .strip::-webkit-scrollbar { height: 4px; }
  .strip::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
  }

  .catalog-card {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .catalog-card .thumb,
  .catalog-card .body,
  .catalog-card .meta,
  .catalog-card h3,
  .catalog-card p,
  .catalog-card .thumb img {
    width: 100%;
    max-width: 100%;
  }

  .catalog-card .thumb {
    aspect-ratio: 16 / 11;
  }

  .catalog-card .body {
    flex-direction: column;
    padding: 0.95rem 1rem 1.1rem;
  }

  .catalog-card .meta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .catalog-card:hover {
    transform: none; /* menos salto al tocar en móvil */
  }

  .featured-real {
    display: flex;
    flex-direction: column;
    padding: 0.85rem;
  }

  .featured-real img {
    width: 100%;
    max-width: 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn {
    width: 100%;
  }

  .form-card,
  .contact-card {
    padding: 1rem;
  }

  input,
  textarea,
  select {
    font-size: 16px; /* evita zoom forzado en iOS/Android al enfocar */
  }

  .page-hero h1,
  .hero h1 {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
