:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #111111;
  --border-subtle: color-mix(in srgb, var(--fg) 12%, transparent);
  --panel-bg: color-mix(in srgb, var(--bg) 92%, transparent);
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --fg: #e5e7eb;
    --border-subtle: color-mix(in srgb, var(--fg) 18%, transparent);
    --panel-bg: color-mix(in srgb, var(--bg) 80%, transparent);
    --accent: #60a5fa;
    --accent-strong: #93c5fd;
  }
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --fg: #111111;
  --border-subtle: color-mix(in srgb, var(--fg) 12%, transparent);
  --panel-bg: color-mix(in srgb, var(--bg) 92%, transparent);
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
}

:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --fg: #e5e7eb;
  --border-subtle: color-mix(in srgb, var(--fg) 18%, transparent);
  --panel-bg: color-mix(in srgb, var(--bg) 80%, transparent);
  --accent: #60a5fa;
  --accent-strong: #93c5fd;
}

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

html,
body {
  margin: 0;
  padding: 0;
  scrollbar-gutter: stable;
  overflow-anchor: none;
}

body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--fg) 8%, transparent), transparent 55%),
    radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--fg) 5%, transparent), transparent 50%),
    var(--bg);
  color: color-mix(in srgb, var(--fg) 85%, transparent);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  display: block;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-content h1 {
  margin-top: 3rem;
  user-select: none;
  -webkit-user-select: none;
}

h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--fg);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:hover {
  opacity: 0.9;
}

.page-shell {
  max-width: 876px;
  padding: 110px 1.5rem 2.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ls-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: color-mix(in srgb, var(--bg) 25%, transparent);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  z-index: 2000;
  transition: transform 0.28s ease, opacity 0.28s ease;
  will-change: transform, opacity;
}

.ls-topbar.is-hidden {
  transform: translateY(calc(-100% - 2px));
  opacity: 0.96;
}

.ls-topbar-inner {
  height: 100%;
  margin: 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ls-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
}

.ls-topbar-logo {
  height: 52px;
  width: auto;
  opacity: 0.9;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.lead {
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero-atom {
  width: 135px;
  height: 135px;
  justify-self: center;
  align-self: center;
  color: color-mix(in srgb, var(--fg) 85%, transparent);
  cursor: grab;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  overflow: visible;
}

.hero-atom:active {
  cursor: grabbing;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.closing-claim {
  margin-top: 5.4rem;
  text-align: center;
}

.closing-claim-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.closing-claim h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  font-weight: 600;
  margin: 0;
}

.claim-loop-banner {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
}

.claim-loop-text {
  margin: 0;
  transition: opacity 0.34s ease, transform 0.34s ease, filter 0.34s ease;
  will-change: opacity, transform, filter;
  user-select: none;
  -webkit-user-select: none;
}

.claim-loop-text.is-transitioning {
  opacity: 0.04;
  transform: translateY(6px);
  filter: blur(2px);
}

.closing-claim-icon {
  width: 100px;
  height: 100px;
  color: color-mix(in srgb, var(--fg) 85%, transparent);
  flex-shrink: 0;
}

.closing-claim-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ls-upperfooter {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
  user-select: none;
  -webkit-user-select: none;
}

.ls-upperfooter * {
  user-select: none;
  -webkit-user-select: none;
}

.ls-upperfooter img {
  -webkit-user-drag: none;
  user-drag: none;
}

.ls-upperfooter-col {
  min-width: 0;
}

.ls-upperfooter-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
}

.ls-upperfooter-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.ls-upperfooter-list li {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--fg) 88%, transparent);
}

.ls-upperfooter-contact .contact-info {
  margin-top: 0;
  display: grid;
  row-gap: 0.65rem;
}

.ls-upperfooter-contact .contact-info-item {
  margin: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 0.5rem;
  align-items: start;
}

.ls-upperfooter-contact .contact-icon-link {
  width: 18px;
  height: 18px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--fg) 78%, transparent);
  border: none;
  text-decoration: none;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ls-upperfooter-contact .contact-icon-link:hover,
.ls-upperfooter-contact .contact-icon-link:focus-visible {
  color: var(--fg);
  border: none;
}

.ls-upperfooter-contact .contact-info-item p {
  line-height: 1.35;
}

.ls-upperfooter-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 0.6rem;
  min-height: 72px;
}

.ls-upperfooter-brand.is-logo-right {
  justify-content: flex-end;
  align-items: flex-end;
}

.ls-upperfooter-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 150px);
  height: auto;
  display: block;
  opacity: 0.95;
  cursor: pointer;
  touch-action: manipulation;
}

.ls-upperfooter-about-link {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--fg) 88%, transparent);
  text-decoration: underline;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ls-upperfooter-brand.is-logo-right .ls-upperfooter-about-link {
  opacity: 1;
  pointer-events: auto;
}

.service-card {
  position: relative;
  --card-title-color: var(--fg);
  padding: 0 1.2rem;
  border-radius: 0.85rem;
  border: none;
  background: color-mix(in srgb, var(--panel-bg) 92%, transparent);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--fg) 10%, transparent);
  transition: height 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.service-card h2 {
  font-size: clamp(1.105rem, 2.21vw, 1.445rem);
  color: var(--card-title-color);
  margin: 0;
  padding: 0.55rem 1.9rem 0.55rem 0;
}

.service-card-body {
  padding: 0.2rem 0 1rem;
}

.service-card[role="button"] {
  cursor: pointer;
}

.service-card[role="button"]::after {
  content: "-";
  position: absolute;
  right: 0.9rem;
  top: 20px;
  width: 1rem;
  height: 1rem;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
  color: var(--card-title-color);
}

.service-card[data-collapsed="true"]::after {
  content: "+";
}

.service-card[data-collapsed="false"]::after {
  font-size: 1.34rem;
  transform: translateY(-50%) scaleX(1.28);
  transform-origin: center;
}

.service-card:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.service-card.is-collapsed {
  --card-title-color: color-mix(in srgb, var(--fg) 58%, transparent);
  height: 40px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.service-card.is-collapsed h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card.is-collapsed:hover h2 {
  color: var(--fg);
}

.service-card.is-collapsed:hover {
  --card-title-color: var(--fg);
}

.service-card--selectable-copy,
.service-card--selectable-copy * {
  user-select: text;
  -webkit-user-select: text;
}

.service-card p + p {
  margin-top: 0.65rem;
}

.service-meta {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
}

.price-note {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--fg) 65%, transparent);
  white-space: pre-line;
}

.service-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.service-actions-bottom {
  align-self: flex-end;
}

a.btn-pill,
button.btn-pill {
  margin-top: 0;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

a.btn-pill-solid,
button.btn-pill-solid {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

a.btn-pill-outline,
button.btn-pill-outline {
  background: transparent;
  color: var(--fg);
  border-color: color-mix(in srgb, var(--fg) 55%, transparent);
}

a.btn-pill:hover,
button.btn-pill:hover {
  opacity: 0.92;
  filter: none;
}

a.btn-pill:active,
button.btn-pill:active {
  transform: translateY(1px);
}

a.btn-pill:focus-visible,
button.btn-pill:focus-visible,
.icon-button:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.utility-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  margin: 0;
  width: 44px;
  height: 36px;
  padding: 0;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.9;
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1;
  box-shadow: none;
  filter: none;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

#lang-toggle {
  width: auto;
  min-width: 66px;
  padding: 0 0.65rem;
  justify-content: space-between;
  gap: 0.5rem;
}

.icon-button:hover {
  opacity: 1;
  border-color: #ffffff;
}

.icon-button:active,
.icon-button[aria-expanded="true"],
.icon-button[aria-pressed="true"],
.icon-button.is-active {
  border-color: #ffffff;
}

#theme-toggle[aria-pressed="true"] {
  border-color: var(--border-subtle);
}

#theme-toggle[aria-pressed="true"]:hover,
#theme-toggle[aria-pressed="true"]:focus-visible {
  border-color: #ffffff;
}

.icon-button .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

body.page .ls-topbar #theme-toggle,
body.page .ls-topbar #lang-toggle {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
}

#theme-toggle svg {
  fill: currentColor;
  stroke: currentColor;
}

#theme-toggle [data-icon="moon"] {
  font-size: 18px;
  line-height: 18px;
  transform: translateY(-1px);
}

#theme-toggle[data-theme="dark"] [data-icon="sun"] {
  display: none;
}

#theme-toggle[data-theme="light"] [data-icon="moon"] {
  display: none;
}

:root[data-theme="dark"] #theme-toggle [data-icon="sun"] {
  display: none;
}

:root[data-theme="light"] #theme-toggle [data-icon="moon"] {
  display: none;
}

.lang-picker {
  position: relative;
}

.lang-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  padding: 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--fg) 12%, transparent);
  display: grid;
  gap: 0.4rem;
  z-index: 1100;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.lang-option:hover {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
}

.legal-footer {
  margin-top: 4.5rem;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.7;
}

.footer-link {
  margin-top: 0.1rem;
  text-align: center;
  font-size: 0.75rem;
}

.ls-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--fg) 72%, transparent);
}

.ls-note-block {
  margin-top: 1rem;
}

.ls-note-block .ls-note:first-child {
  margin-top: 0;
}

.ls-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.ls-filter-btn {
  border: 1px solid var(--border-subtle);
  background: var(--panel-bg);
  color: var(--fg);
  border-radius: 999px;
  height: 32px;
  padding: 0 0.8rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.ls-filter-btn-label {
  display: block;
  transform: translateY(-1px);
}

.ls-filter-btn.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.ls-filter-btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ls-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  table-layout: fixed;
}

.ls-table th,
.ls-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ls-table th {
  color: var(--fg);
  font-weight: 600;
}

.ls-table tbody tr:last-child td {
  border-bottom: none;
}

.ls-price {
  color: #16a34a;
  font-weight: 700;
}

.ls-table-subrow td {
  padding-top: 0;
  border-bottom: 1px solid var(--border-subtle);
  color: color-mix(in srgb, var(--fg) 78%, transparent);
  font-size: 0.92rem;
}

.ls-table-subrow-has-gallery td {
  border-bottom: none;
}

.ls-table-gallery-row td {
  padding-top: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
}

.ls-table-gallery-row[hidden] {
  display: none;
}

.ls-machine-gallery {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ls-machine-gallery a {
  display: inline-flex;
  text-decoration: none;
}

.ls-machine-gallery img {
  width: 92px;
  height: 68px;
  object-fit: cover;
  display: block;
  border-radius: 0.45rem;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--fg) 6%, transparent);
}

.ls-table-subrow-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.ls-table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.ls-mini-action {
  border: 1px solid var(--border-subtle);
  background: var(--panel-bg);
  color: var(--fg);
  border-radius: 0.5rem;
  min-width: 58px;
  height: 24px;
  padding: 0 0.5rem 0.02rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  align-self: center;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.ls-mini-action-label {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.ls-mini-action:hover {
  opacity: 0.92;
}

.ls-mini-action:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.ls-table tbody tr:not(.ls-table-subrow) td {
  border-bottom: none;
}

.ls-table tbody tr.ls-table-subrow:last-child td {
  border-bottom: none;
}

.ls-table tbody tr[data-machine-id]:not(:first-child) td {
  border-top: 1px solid var(--border-subtle);
}


.scroll-top-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.scroll-top-button {
  padding: 0.5rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--fg) 55%, transparent);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-button:hover {
  opacity: 0.9;
}

.legal-doc {
  max-width: 876px;
}

.legal-copy h1 {
  margin-top: 0.5rem;
}

.ls-about-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.85rem 0 2.5rem;
}

.ls-about-person {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.ls-about-person-media {
  width: 125px;
  height: 125px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 125px;
  border: 1px solid var(--border-subtle);
  background: var(--panel-bg);
}

.ls-about-person-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ls-about-person-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ls-about-person-copy strong {
  font-size: 1rem;
}

.ls-about-person-copy span {
  color: var(--text-muted);
}

.ls-about-person-copy em {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
}

.ls-about-person-meta {
  margin-top: 0.2rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.page-section + .page-section {
  margin-top: 1.1rem;
}

.page-section h3 {
  margin-bottom: 0.45rem;
}

.page-section ul {
  margin: 0.2rem 0 0.2rem 1.2rem;
  padding: 0;
}

.page-section li + li {
  margin-top: 0.3rem;
}

.ls-about-checks ul {
  list-style: none;
  margin-left: 0;
}

.ls-about-checks li {
  position: relative;
  padding-left: 1.2rem;
}

.ls-about-checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
}

.card {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--panel-bg);
  text-align: left;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 85% 10%, rgba(148, 163, 184, 0.08), transparent 45%),
    radial-gradient(circle at 12% 18%, rgba(203, 213, 225, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 52%, #e5e7eb 100%);
}

:root[data-theme="light"] body.ls-maquinaria-page {
  background:
    radial-gradient(circle at 85% 10%, rgba(148, 163, 184, 0.08), transparent 45%),
    radial-gradient(circle at 12% 18%, rgba(203, 213, 225, 0.12), transparent 40%),
    linear-gradient(180deg, #e5e7eb 0%, #f5f7fb 52%, #ffffff 100%);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 85% 10%, rgba(96, 165, 250, 0.12), transparent 45%),
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.08), transparent 40%),
    linear-gradient(180deg, #07111f 0%, #04070d 52%, #000000 100%);
}

:root[data-theme="dark"] body.ls-maquinaria-page {
  background:
    radial-gradient(circle at 85% 10%, rgba(96, 165, 250, 0.12), transparent 45%),
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.08), transparent 40%),
    linear-gradient(180deg, #000000 0%, #04070d 52%, #07111f 100%);
}

body.ls-contact-page .page-shell {
  max-width: 800px;
}

html:has(body.ls-privacy-page),
body.ls-privacy-page {
  scrollbar-gutter: auto;
}

@media (max-width: 720px) {
  .ls-about-people {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ls-about-person {
    align-items: flex-start;
  }
}

body.ls-contact-page .contacto {
  display: grid;
  gap: 1.1rem;
}

body.ls-privacy-page {
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--fg) 8%, transparent), transparent 55%),
    radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--fg) 5%, transparent), transparent 50%),
    var(--bg);
}

.contact-info {
  margin-top: 0.4rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.contact-info-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--fg);
}

.contact-info-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.contact-form {
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: color-mix(in srgb, var(--fg) 90%, transparent);
}

.field {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  appearance: none;
  -webkit-appearance: none;
}

.field:focus {
  outline: none;
  border-color: var(--fg);
  background: var(--bg);
}

textarea.field {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.form-status {
  margin-top: 0.75rem;
  min-height: 1.6em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--fg) 85%, transparent);
}

.form-status[hidden] {
  display: flex !important;
  visibility: hidden;
}

.form-status[data-state="success"] {
  color: #16a34a;
}

.form-status[data-state="error"] {
  color: #dc2626;
}

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

  .hero-atom {
    order: -1;
  }

  .ls-upperfooter {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ls-upperfooter-col {
    padding: 0.95rem 0;
  }

  .ls-upperfooter-col + .ls-upperfooter-col {
    border-top: 1px solid var(--border-subtle);
  }

  .ls-upperfooter-brand {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding: 92px 1.25rem 2.5rem;
  }

  .service-card.is-collapsed {
    height: 48px;
  }

  .service-card {
    padding: 0.9rem 1rem;
  }

  .service-card[role="button"]::after {
    top: 33px;
  }

  .ls-topbar-inner {
    padding: 0 0.75rem;
  }

  .icon-button {
    width: 42px;
    height: 34px;
  }

  .table-wrap {
    overflow-x: visible;
  }

  .ls-table {
    min-width: 0;
    table-layout: auto;
    font-size: 0.84rem;
  }

  .ls-table thead {
    display: none;
  }

  .ls-table,
  .ls-table tbody,
  .ls-table tr,
  .ls-table td {
    display: block;
    width: 100%;
  }

  .ls-table tbody tr[data-machine-id] {
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-subtle);
  }

  .ls-table tbody tr[data-machine-id]:first-child {
    border-top: none;
  }

  .ls-table td {
    padding: 0.18rem 0;
    border-top: none !important;
    border-bottom: none !important;
  }

  .ls-table tbody tr[data-machine-id] td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--fg);
  }

  .ls-table-gallery-row td,
  .ls-table-subrow td {
    padding: 0.5rem 0 0;
  }

  .ls-table-subrow-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .ls-machine-gallery img {
    width: 78px;
    height: 58px;
  }

  .ls-table-gallery-row td {
    padding-bottom: 1rem;
  }

  .ls-table-actions {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.35rem;
  }

  .ls-mini-action,
  .ls-filter-btn {
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
    box-shadow: none;
    transform: none;
  }
}

