
/*
 * LUIGIVELO — REPARATUREN
 * Swiss Industrial Precision
 *
 * Estilos exclusivos de reparaturen.html
 * Los componentes globales permanecen en core.css.
 */

@layer pages {

  /* PAGE FOUNDATION */

  .lv-repairs {
    --rp-ink: #202829;
    --rp-accent: #a6c6ba;
    --rp-paper: #f8f8f5;
    --rp-line: #dce2dc;
    --rp-muted: #596862;

    background: var(--rp-paper);
    color: var(--rp-ink);
    overflow: clip;
  }

  .lv-repairs .rp-shell {
    width: min(1140px, calc(100% - 48px));
    margin-inline: auto;
  }

  .lv-repairs h1,
  .lv-repairs h2,
  .lv-repairs h3 {
    margin: 0;
    color: inherit;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .lv-repairs p {
    line-height: 1.65;
  }

  .lv-repairs .rp-kicker {
    margin: 0 0 24px;
    color: #426b5c;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  /* HERO */

  .lv-repairs .rp-hero {
    padding-block: clamp(72px, 9vw, 132px);
    background: var(--rp-ink);
    color: #f8f8f5;
  }

  .lv-repairs .rp-hero .rp-kicker {
    color: var(--rp-accent);
  }

  .lv-repairs .rp-hero h1 {
    max-width: 1100px;
    color: #fff;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 780;
    letter-spacing: -0.055em;
  }

  .lv-repairs .rp-hero h1 em {
    color: var(--rp-accent);
    font-style: normal;
  }

  .lv-repairs .rp-hero-intro {
    max-width: 660px;
    margin: 28px 0 42px;
    color: #d1dbd5;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  }

  .lv-repairs .rp-hero-rate {
    max-width: 680px;
    padding-top: 26px;
    border-top: 1px solid rgb(166 198 186 / 35%);
  }

  .lv-repairs .rp-rate-main {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
  }

  .lv-repairs .rp-rate-main strong {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 780;
    line-height: 1.1;
    letter-spacing: -0.045em;
  }

  .lv-repairs .rp-rate-main span {
    color: var(--rp-accent);
    font-weight: 600;
  }

  .lv-repairs .rp-hero-rate p {
    margin: 12px 0 0;
    color: #cbd8d0;
    font-size: 0.95rem;
  }

  /* INFORMATION */

  .lv-repairs .rp-intro {
    padding-block: clamp(60px, 8vw, 100px);
  }

  .lv-repairs .rp-intro-grid,
  .lv-repairs .rp-conditions-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 6vw, 90px);
  }

  .lv-repairs .rp-intro h2,
  .lv-repairs .rp-conditions h2,
  .lv-repairs .rp-catalogue-heading h2,
  .lv-repairs .rp-cta h2 {
    font-size: clamp(2rem, 4vw, 3.9rem);
    font-weight: 760;
  }

  .lv-repairs .rp-intro-copy {
    padding-top: 5px;
  }

  .lv-repairs .rp-intro-copy p {
    margin: 0 0 16px;
    color: #43514d;
  }

  .lv-repairs .rp-intro-copy strong {
    color: var(--rp-ink);
  }

  /* CONDITIONS */

  .lv-repairs .rp-conditions {
    padding-block: clamp(60px, 8vw, 100px);
    background: #e9eeea;
  }

  .lv-repairs .rp-conditions-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: condition;
  }

  .lv-repairs .rp-conditions-list li {
    position: relative;
    padding: 17px 0 17px 48px;
    border-bottom: 1px solid #cbd6ce;
    color: #3c4b46;
    line-height: 1.6;
    counter-increment: condition;
  }

  .lv-repairs .rp-conditions-list li:first-child {
    border-top: 1px solid #cbd6ce;
  }

  .lv-repairs .rp-conditions-list li::before {
    content: counter(condition, decimal-leading-zero);
    position: absolute;
    top: 19px;
    left: 0;
    color: #527667;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .lv-repairs .rp-conditions-list strong {
    color: var(--rp-ink);
  }

  /* CATALOGUE */

  .lv-repairs .rp-catalogue {
    padding-block: clamp(65px, 9vw, 120px);
  }

  .lv-repairs .rp-catalogue-heading {
    margin-bottom: clamp(48px, 7vw, 90px);
  }

  .lv-repairs .rp-catalogue-heading h2 {
    max-width: 780px;
  }

  .lv-repairs .rp-category {
    margin-bottom: clamp(54px, 7vw, 90px);
  }

  .lv-repairs .rp-category:last-child {
    margin-bottom: 0;
  }

  .lv-repairs .rp-category-heading {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 2px solid var(--rp-ink);
  }

  .lv-repairs .rp-category-number {
    flex: 0 0 auto;
    color: #4d7766;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .lv-repairs .rp-category h3 {
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    font-weight: 760;
  }

  /* TECHNICAL TABLES */

  .lv-repairs .rp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
  }

  .lv-repairs .rp-table th,
  .lv-repairs .rp-table td {
    padding: 16px 12px;
    vertical-align: top;
    border-bottom: 1px solid var(--rp-line);
    background: transparent;
  }

  .lv-repairs .rp-table th {
    color: #687771;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-align: left;
    text-transform: uppercase;
  }

  .lv-repairs .rp-table th:first-child,
  .lv-repairs .rp-table td:first-child {
    padding-left: 0;
    width: 73%;
  }

  .lv-repairs .rp-table th:last-child,
  .lv-repairs .rp-table td:last-child {
    padding-right: 0;
    width: 27%;
    text-align: right;
  }

  .lv-repairs .rp-table td {
    color: #33413d;
    font-size: 1rem;
    line-height: 1.55;
  }

  .lv-repairs .rp-table td:last-child {
    color: #203d33;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .lv-repairs .rp-table tbody tr {
    transition: background-color 160ms ease;
  }

  .lv-repairs .rp-table tbody tr:hover {
    background: #edf2ed;
  }

  /* FINAL CTA */

  .lv-repairs .rp-cta {
    padding-block: clamp(65px, 8vw, 110px);
    background: var(--rp-ink);
    color: #f8f8f5;
  }

  .lv-repairs .rp-cta .rp-kicker {
    color: var(--rp-accent);
  }

  .lv-repairs .rp-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
  }

  .lv-repairs .rp-cta h2 {
    color: #fff;
  }

  .lv-repairs .rp-cta p:not(.rp-kicker) {
    max-width: 610px;
    margin: 22px 0 0;
    color: #d3dcd7;
  }

  .lv-repairs .rp-cta-action {
    display: flex;
    justify-content: flex-end;
  }

  .lv-repairs .rp-cta-action .btn {
    max-width: 100%;
  }

  /* TABLET */

  @media (max-width: 820px) {
    .lv-repairs .rp-intro-grid,
    .lv-repairs .rp-conditions-grid,
    .lv-repairs .rp-cta-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 32px;
    }

    .lv-repairs .rp-cta-action {
      justify-content: flex-start;
    }
  }

  /* MOBILE */

  @media (max-width: 600px) {
    .lv-repairs .rp-shell {
      width: calc(100% - 32px);
    }

    .lv-repairs .rp-hero {
      padding-block: 66px 72px;
    }

    .lv-repairs .rp-hero h1 {
      font-size: clamp(2.55rem, 10vw, 4rem);
      overflow-wrap: anywhere;
    }

    .lv-repairs .rp-hero-intro {
      margin-bottom: 32px;
    }

    .lv-repairs .rp-category-heading {
      gap: 14px;
    }

    .lv-repairs .rp-category h3 {
      font-size: clamp(1.6rem, 6.5vw, 2.4rem);
    }

    .lv-repairs .rp-table th:first-child,
    .lv-repairs .rp-table td:first-child {
      width: 65%;
    }

    .lv-repairs .rp-table th:last-child,
    .lv-repairs .rp-table td:last-child {
      width: 35%;
    }

    .lv-repairs .rp-table th,
    .lv-repairs .rp-table td {
      padding-block: 15px;
      padding-inline: 6px;
    }

    .lv-repairs .rp-table td {
      font-size: 0.89rem;
    }

    .lv-repairs .rp-table td:last-child {
      font-size: 0.86rem;
      white-space: normal;
    }

    .lv-repairs .rp-conditions-list li {
      padding-left: 38px;
    }

    .lv-repairs .rp-cta-action .btn {
      width: 100%;
    }
  }

  /* REDUCED MOTION */

  @media (prefers-reduced-motion: reduce) {
    .lv-repairs .rp-table tbody tr {
      transition: none;
    }
  }
}
