/* Sensoria Farm — mismo sistema visual que Remoclocknew (SaaS claro, primario violeta, header oscuro) */

:root {
  /* Connecteam-like: white / cool gray / strong purple CTA */
  --color-bg: #ffffff;
  --color-bg-muted: #f3f4f6;
  --color-bg-dark: #111827;
  --color-text: #374151;
  --color-text-muted: #6b7280;
  --color-heading: #111827;
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-primary-soft: rgba(99, 102, 241, 0.12);
  --color-accent: #ea580c;
  --color-border: rgba(17, 24, 39, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 40px rgba(17, 24, 39, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --container: min(1180px, calc(100% - 2.5rem));
  --container-header-mobile: min(1180px, calc(100% - 1rem));
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  /* Dark header (top bar) */
  --header-bg: linear-gradient(165deg, #0b1020 0%, #151b33 45%, #1a1f35 100%);
  --header-border: rgba(255, 255, 255, 0.09);
  --header-nav: #cbd5e1;
  --header-nav-hover: #f8fafc;
  --header-accent-soft: rgba(129, 140, 248, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

@media (max-width: 959px) {
  .site-header .header-inner {
    width: var(--container-header-mobile);
    gap: 0.4rem;
  }
}

/* CTAs + burger: pegado a la derecha; el burger es el último hijo */
.header-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 959px) {
  .header-end {
    gap: 0.3rem;
  }
}

/* Logo legible sobre fondo oscuro: bandeja suave + brillo, sin “invert” plano */
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.logo-link:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}

.logo-link:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.8);
  outline-offset: 2px;
}

.logo-link img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.site-nav {
  display: none;
  flex: 1;
  justify-content: center;
}

.site-nav.is-open {
  display: flex;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: linear-gradient(180deg, #151b33 0%, #0f1419 100%);
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: none;
    box-shadow: none;
    gap: 0.15rem;
  }
}

.site-header .site-nav a {
  color: var(--header-nav);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.site-header .site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--header-nav-hover);
  text-decoration: none;
}

.site-header .site-nav a[aria-current='page'] {
  background: var(--header-accent-soft);
  color: #e0e7ff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 1;
  min-width: 0;
}

@media (max-width: 959px) {
  .header-actions {
    gap: 0.3rem;
  }
}

/* Móvil: Contacto + Presupuesto; escritorio: Log In + Demo + Presupuesto */
.header-cta-desktop {
  display: none;
}

.header-cta-mobile {
  display: inline-flex;
}

@media (min-width: 960px) {
  .header-cta-desktop {
    display: inline-flex;
  }

  .header-cta-mobile {
    display: none;
  }
}

@media (max-width: 959px) {
  .site-header .header-actions .btn-sm.header-cta-mobile,
  .site-header .header-actions .btn-sm:not(.header-cta-desktop) {
    padding: 0.38rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
  }
}

@media (max-width: 360px) {
  .logo-link {
    padding: 0.25rem 0.45rem;
  }

  .logo-link img {
    height: 34px;
  }

  .site-header .header-actions .btn-sm.header-cta-mobile,
  .site-header .header-actions .btn-sm:not(.header-cta-desktop) {
    padding: 0.34rem 0.42rem;
    font-size: 0.7rem;
  }

  .header-end {
    gap: 0.2rem;
  }
}

.site-header .nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-right: -0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.site-header .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #f1f5f9;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (min-width: 960px) {
  .site-header .nav-toggle {
    display: none;
    margin-right: 0;
  }
}

/* Botones del header: contraste alto sobre barra oscura, misma familia indigo */
.site-header .header-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.site-header .header-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header .header-actions .btn-primary {
  background: linear-gradient(180deg, #a5b4fc 0%, #6366f1 48%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 16px rgba(79, 70, 229, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-header .header-actions .btn-primary:hover {
  filter: brightness(1.07);
  color: #ffffff;
}

.site-header .header-actions .btn-outline {
  background: transparent;
  color: #f8fafc;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.site-header .header-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #818cf8 0%, var(--color-primary) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

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

.btn-ghost {
  background: var(--color-bg-muted);
  color: var(--color-heading);
}

.btn-ghost:hover {
  background: #e5e7eb;
  color: var(--color-heading);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-soft);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 55%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% -10%, rgba(99, 102, 241, 0.15), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-heading);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-visual {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-muted);
  padding: 1rem;
}

.hero-visual img {
  display: block;
  margin: 0 auto;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--color-bg-muted);
}

.section-title {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-heading);
}

.section-sub {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* Feature grid (Connecteam “all tools” style) */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-cards.cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .grid-cards.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.25);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon .icon-line {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

/* Why section — 4 columns */
.grid-why {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-why {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-why {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--color-heading);
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Split content + image */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split.reverse .split-text {
    order: 2;
  }

  .split.reverse .split-media {
    order: 1;
  }
}

.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prose ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--color-text);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1e1b4b 0%, var(--color-bg-dark) 100%);
  color: #e5e7eb;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: #9ca3af;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #f3f4f6;
  color: var(--color-primary-hover);
}

/* Contact grid (offices) */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.office-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}

.office-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.office-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff;
}

.office-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.5;
}

.office-card a {
  color: #a5b4fc;
}

/* Footer */
.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-top {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-top a {
  color: var(--color-text);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copy {
  text-align: center;
  font-size: 0.8125rem;
}

.footer-copy img {
  height: 24px;
  vertical-align: middle;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #f9fafb, #fff);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.page-hero p {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--color-text-muted);
}

/* Feature list (product page) */
.feature-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.feature-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: transparent;
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Certifications strip */
.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.certs img {
  height: 56px;
  width: auto;
  opacity: 0.85;
}

/* Brochure link */
.link-brochure {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ accordion */
.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--color-bg);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-heading);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.75rem;
}

.faq details p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.mail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mail-card {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-muted);
}

.mail-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.mail-card a {
  font-weight: 600;
  word-break: break-all;
}

.cta-band .mail-card a {
  color: #c7d2fe;
}

.cta-band .mail-card a:hover {
  color: #fff;
}

/* Geo tracking / long-form marketing */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2rem 0 0;
  opacity: 0.85;
}

.logo-strip img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--color-heading);
  font-size: 0.875rem;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.geo-hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-muted);
}

.media-cap {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Logo texto (sin imagen) */
.logo-link--text {
  text-decoration: none;
  padding: 0.25rem 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.logo-link--text:hover {
  text-decoration: none;
  background: transparent;
  border-color: transparent;
}

.logo-link--text:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.8);
  outline-offset: 2px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.logo-title {
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.logo-sub {
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a5b4fc;
  margin-top: 0.15rem;
}

/* Cómo funciona — pasos ampliados (Ganado tracking) */
.how-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.how-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .how-block {
    grid-template-columns: 1fr 1fr;
  }

  .how-block:nth-child(even) .how-block-media {
    order: 2;
  }

  .how-block:nth-child(even) .how-block-text {
    order: 1;
  }
}

.how-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-heading);
}

.how-block p,
.how-block li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.how-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.how-block-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
}

.step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.lora-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-top: 1rem;
}

.lora-diagram svg {
  flex-shrink: 0;
}

.attr-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.attr-note a {
  font-weight: 600;
}
