:root {
      --bg: #eceef2;
      --card: #ffffff;
      --ink: #171a1f;
      --muted: #535a65;
      --red: #bf121c;
      --red-dark: #941017;
      --green: #2f7f40;
      --coal: #1e232b;
      --line: #d9dde4;
      --radius: 14px;
      --shadow: 0 12px 30px rgba(17, 20, 27, 0.12);
      --wrap: min(1180px, calc(100% - 36px));
    }

    * { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: "Montserrat", sans-serif;
      scroll-behavior: smooth;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .wrap { width: var(--wrap); margin: 0 auto; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(251, 252, 254, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }

    .topbar-row {
      min-height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .logo { height: 74px; width: auto; }

    .menu {
      display: flex;
      align-items: center;
      gap: 18px;
      margin: 0;
      padding: 0;
      list-style: none;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #21252c;
    }

    .menu a {
      border-bottom: 2px solid transparent;
      padding: 6px 2px;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .menu a:hover,
    .menu a:focus-visible {
      color: #111318;
      border-color: var(--red);
    }

    .cta-top {
      padding: 12px 15px;
      border-radius: 8px;
      background: var(--red);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      box-shadow: 0 8px 20px rgba(191, 18, 28, 0.3);
    }

    .hero {
      height: 540px;
      min-height: 540px;
      background-image:
        linear-gradient(90deg, rgba(19, 21, 25, 0.9) 0%, rgba(22, 25, 31, 0.75) 45%, rgba(22, 25, 31, 0.45) 70%, rgba(17, 20, 25, 0.6) 100%),
        url("/assets/img/camionpluma.jpg");
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
    }

    .hero-box {
      width: var(--wrap);
      margin: 0 auto;
      color: #fff;
      padding: 42px 0 108px;
    }

    .hero h1 {
      margin: 0;
      max-width: 820px;
      font-size: clamp(34px, 4.8vw, 62px);
      line-height: 0.96;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .hero p {
      margin: 22px 0 0;
      max-width: 760px;
      font-size: clamp(16px, 1.6vw, 23px);
      line-height: 1.4;
      color: #eceff6;
      font-weight: 700;
    }

    .hero h1,
    .hero p {
      text-align: left;
    }

    .stats {
      width: var(--wrap);
      margin: -58px auto 0;
      background: linear-gradient(90deg, #191d24, #20252f);
      color: #fff;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: var(--shadow);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      overflow: hidden;
    }

    .stat {
      padding: 20px 14px;
      border-right: 1px solid rgba(255, 255, 255, 0.08);
      min-height: 88px;
    }

    .stat:last-child { border-right: 0; }

    .stat b {
      display: block;
      font-size: clamp(22px, 2.2vw, 32px);
      line-height: 1.05;
      font-weight: 800;
    }

    .stat span {
      display: block;
      margin-top: 7px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #d6dbe5;
    }

    .section {
      width: var(--wrap);
      margin: 18px auto 0;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
    }

    .title {
      margin: 0 0 10px;
      font-family: "Rajdhani", sans-serif;
      text-transform: uppercase;
      font-size: clamp(34px, 3.2vw, 52px);
      line-height: 0.9;
      color: #161920;
    }

    .lead {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.5;
      text-align: justify;
    }


    .constructora-grid {
      width: var(--wrap);
      margin: 16px auto 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .c-card {
      background:
        linear-gradient(165deg, rgba(12, 16, 24, 0.74) 0%, rgba(18, 24, 35, 0.7) 55%, rgba(10, 14, 22, 0.78) 100%);
      border: 1px solid #d3dae4;
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: 0 14px 28px rgba(15, 18, 24, 0.1);
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .c-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      z-index: -2;
      transform: scale(1.02);
    }

    .c-card > * { position: relative; z-index: 1; }

    .c-bg-1::after { background-image: url("/assets/img/camionpluma.jpg"); }
    .c-bg-2::after { background-image: url("/assets/img/camionpluma.jpg"); }
    .c-bg-3::after { background-image: url("/assets/img/camionpluma.jpg"); }
    .c-bg-4::after { background-image: url("/assets/img/camionpluma.jpg"); }

    .c-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, #bf121c, #e43641 65%, #ef6f2f);
    }

    .c-kicker {
      display: inline-flex;
      padding: 5px 9px;
      border-radius: 999px;
      border: 1px solid rgba(225, 233, 245, 0.7);
      background: rgba(246, 250, 255, 0.84);
      color: #202a38;
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 800;
    }

    .c-card h3 {
      margin: 12px 0 10px;
      font-family: "Rajdhani", sans-serif;
      text-transform: uppercase;
      color: #ffffff;
      font-size: clamp(28px, 2.6vw, 40px);
      line-height: 0.92;
    }

    .c-card p {
      margin: 0;
      color: #f1f4fb;
      font-size: 14px;
      line-height: 1.55;
    }

    .c-meta {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px dashed rgba(221, 227, 238, 0.7);
      color: #e8edf6;
      font-size: 13px;
      line-height: 1.45;
    }

    .c-meta strong {
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      font-size: 11px;
      margin-right: 6px;
    }

    .asbesto {
      margin-top: 18px;
      background:
        radial-gradient(130% 130% at 95% 0%, rgba(191, 18, 28, 0.08) 0%, rgba(191, 18, 28, 0) 50%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
      border: 1px solid #d4dbe5;
      box-shadow: 0 14px 30px rgba(16, 20, 27, 0.08);
    }

    .asbesto-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 18px;
      align-items: start;
    }

    .asbesto-tags {
      margin: 0;
      padding: 14px 0 4px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .asbesto-tags span {
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid #d3dae4;
      background: #f8fafc;
      color: #34404f;
      font-size: 11px;
      text-transform: uppercase;
      font-weight: 800;
      letter-spacing: 0.05em;
    }

    .asbesto-steps {
      display: grid;
      gap: 10px;
    }

    .asbesto-step {
      padding: 13px;
      border: 1px solid #d3dae4;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 6px 14px rgba(17, 22, 30, 0.06);
    }

    .asbesto-step b {
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
      color: #111720;
    }

    .asbesto-step p {
      margin: 0;
      color: #3a424d;
      font-size: 13px;
      line-height: 1.45;
    }

    .asbesto-note {
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 9px;
      border: 1px solid #d4dbe5;
      background: #fff;
      color: #2f3946;
      font-size: 13px;
      line-height: 1.45;
    }

    .arriendos {
      width: var(--wrap);
      margin: 18px auto 0;
      padding: 2px;
    }

    .arriendos-head {
      margin-bottom: 16px;
    }

    .arriendos-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .machine {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .machine-media {
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #dde2ea;
    }

    .machine-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .machine-body {
      padding: 16px;
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .machine-body::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: var(--machine-bg);
      background-size: cover;
      background-position: center;
      filter: saturate(0.95);
      z-index: -2;
      transform: scale(1.04);
    }

    .machine-body::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(165deg, rgba(16, 20, 27, 0.84), rgba(24, 31, 41, 0.74));
      z-index: -1;
    }

    .m-bg-1 { --machine-bg: url("/assets/img/retroexcavadora.jpg"); }
    .m-bg-2 { --machine-bg: url("/assets/img/miniexcabadora.jpg"); }
    .m-bg-3 { --machine-bg: url("/assets/img/camiontolva.jpg"); }
    .m-bg-4 { --machine-bg: url("/assets/img/camionpluma.jpg"); }

    .machine-top {
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 10px;
      align-items: center;
    }

    .machine-top h3 {
      margin: 0;
      color: #ffffff;
      text-transform: uppercase;
      font-family: "Rajdhani", sans-serif;
      font-size: clamp(24px, 2vw, 34px);
      line-height: 0.95;
      max-width: 12ch;
      font-weight: 800;
    }

    .price {
      text-align: right;
      font-size: clamp(30px, 2.5vw, 44px);
      line-height: 0.9;
      font-weight: 800;
      color: #ffd34d;
      white-space: nowrap;
    }

    .price small {
      display: block;
      font-size: 11px;
      text-transform: uppercase;
      color: #e6ebf5;
      letter-spacing: 0.05em;
    }

    .machine p {
      margin: 10px 0 0;
      color: #f0f4fb;
      font-size: 14px;
      line-height: 1.45;
      min-height: 62px;
      font-weight: 700;
      text-align: justify;
    }

    .wa {
      margin-top: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 13px;
      border-radius: 8px;
      background: linear-gradient(90deg, #c91421, #ef5a23);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .wa:hover { background: linear-gradient(90deg, #a90f1a, #d84a1c); }

    .wa-icon {
      width: 20px;
      height: 20px;
      display: inline-block;
      flex: 0 0 20px;
    }

    .wa-icon svg {
      width: 100%;
      height: 100%;
      display: block;
      fill: currentColor;
    }

    .band {
      margin-top: 24px;
      background: linear-gradient(90deg, #9f1019, #c91421 60%, #a30f19);
      color: #fff;
    }

    .band-row {
      width: var(--wrap);
      margin: 0 auto;
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      text-transform: uppercase;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .contact-link {
      width: var(--wrap);
      margin: 18px auto 70px;
      padding: 26px 22px;
      border-radius: var(--radius);
      border: 1px solid #d4dbe5;
      background:
        radial-gradient(140% 140% at 0% 0%, rgba(47, 127, 64, 0.09) 0%, rgba(47, 127, 64, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
      box-shadow: 0 16px 32px rgba(16, 20, 27, 0.08);
    }

    .contact-link p {
      margin: 0;
      color: #303846;
      font-size: 15px;
      line-height: 1.5;
      text-align: justify;
    }
@media (max-width: 1200px) {
      .menu { display: none; }
    }

    @media (max-width: 940px) {
      .stats { grid-template-columns: 1fr 1fr; }
      .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
      .stat:nth-child(2n) { border-right: 0; }
      .constructora-grid,
      .arriendos-grid { grid-template-columns: 1fr; }
      .asbesto-grid { grid-template-columns: 1fr; }
      .band-row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 12px 0;
      }
}

    @media (max-width: 680px) {
      :root { --wrap: min(1180px, calc(100% - 22px)); }
      .logo { height: 58px; }
      .hero-box { padding-bottom: 90px; }
      .machine-top { grid-template-columns: 1fr auto; }
      .price { text-align: left; }
      .wa { justify-content: center; }
    }