﻿:root {
      --ink: #171717;
      --muted: #62646a;
      --line: #ded4bf;
      --gold: #b8860b;
      --gold-soft: #f1ddb0;
      --gold-pale: #fbf5e7;
      --cream: #fffaf0;
      --paper: #fffdf8;
      --coal: #1d1d1f;
      --deep: #2b261b;
      --green: #2f6f55;
      --blue: #315f7d;
      --rose: #8a5045;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background:
        linear-gradient(135deg, #f5efe2 0%, #d9c8a4 44%, #f8f3e8 100%);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.58;
    }

    .page {
      width: min(100%, 1040px);
      margin: 0 auto;
      background: var(--paper);
      box-shadow: 0 28px 90px rgba(37, 28, 10, 0.22);
      overflow: hidden;
    }

    .cover {
      position: relative;
      min-height: 720px;
      padding: 38px 58px 48px;
      display: grid;
      grid-template-rows: auto 1fr auto;
      color: #fff;
      background:
        radial-gradient(circle at 88% 16%, rgba(225, 177, 79, 0.26), transparent 30%),
        linear-gradient(135deg, rgba(9, 9, 8, 0.99) 0%, rgba(31, 27, 19, 0.98) 58%, rgba(99, 70, 14, 0.92) 100%),
        #1e1b15;
    }

    .cover::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 12px;
      background: linear-gradient(90deg, #7d5605, #f2d386, #ad7807);
    }

    .brand-row {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 26px;
    }

    .logo-box {
      width: 230px;
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px 18px;
      background: rgba(0, 0, 0, 0.34);
      border: 1px solid rgba(242, 211, 134, 0.36);
      border-radius: 16px;
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    }

    .logo-box.awg {
      width: 230px;
      height: 84px;
      padding: 12px 18px;
      background: rgba(0, 0, 0, 0.34);
      border: 1px solid rgba(242, 211, 134, 0.36);
    }

    .logo-box img {
      max-width: 168px;
      max-height: 54px;
      object-fit: contain;
    }

    .logo-box:not(.awg) {
      filter: none;
    }

    .logo-box.awg img {
      max-width: 168px;
      max-height: 54px;
    }

    .cover-main {
      position: relative;
      z-index: 1;
      align-self: center;
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
      gap: 42px;
      align-items: center;
      padding: 48px 0 34px;
    }

    .cover-copy {
      max-width: 650px;
    }

    .hero-logo-panel {
      min-height: 330px;
      padding: 32px;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
        rgba(0, 0, 0, 0.22);
      border: 1px solid rgba(242, 211, 134, 0.42);
      border-radius: 28px;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 32px 80px rgba(0, 0, 0, 0.26);
      overflow: hidden;
    }

    .hero-panel-kicker {
      color: #f2d386;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .hero-logo-panel h2 {
      margin: 16px 0 12px;
      color: #fff;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 34px;
      line-height: 1.12;
    }

    .hero-logo-panel p {
      color: rgba(255, 255, 255, 0.74);
      font-size: 15px;
    }

    .hero-points {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 28px;
    }

    .hero-points span {
      padding: 13px 14px;
      color: #f8e9c1;
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(242, 211, 134, 0.24);
      border-radius: 14px;
      font-size: 13px;
      font-weight: 700;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 22px;
      color: var(--gold-soft);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 42px;
      height: 2px;
      background: var(--gold-soft);
    }

    h1 {
      margin: 0;
      max-width: 710px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 58px;
      line-height: 0.98;
      font-weight: 700;
      letter-spacing: 0;
    }

    .subtitle {
      margin: 24px 0 0;
      max-width: 610px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 19px;
    }

    .price-panel {
      margin-top: 42px;
      width: min(100%, 520px);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: 18px;
      padding: 22px 26px;
      background: rgba(255, 255, 255, 0.09);
      border: 1px solid rgba(242, 211, 134, 0.46);
      border-radius: 20px;
      backdrop-filter: blur(8px);
    }

    .price-panel span,
    .price-panel small {
      display: block;
      color: rgba(255, 255, 255, 0.72);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .price-panel strong {
      display: block;
      color: #f2d386;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 40px;
      line-height: 1;
      white-space: nowrap;
    }

    .cover-footer {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .cover-footer div {
      min-height: 90px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px 18px;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.12));
      border: 1px solid rgba(242, 211, 134, 0.22);
      border-radius: 14px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 15px;
      font-weight: 700;
    }

    .cover-footer strong {
      display: block;
      margin-bottom: 8px;
      color: #fff;
      font-size: 12px;
      line-height: 1;
      text-transform: uppercase;
    }

    main {
      padding: 0 58px 60px;
    }

    .intro-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin: 32px 0 10px;
    }

    .metric {
      min-height: 132px;
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 14px;
      align-items: center;
      padding: 20px;
      background: linear-gradient(145deg, #fff, #fff8e8);
      border: 1px solid var(--line);
      box-shadow: 0 16px 34px rgba(65, 48, 12, 0.08);
      border-radius: 18px;
    }

    .metric b {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 58px;
      height: 58px;
      color: #18140d;
      background: linear-gradient(145deg, #ffe6a5, #bd820c);
      border-radius: 50%;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 25px;
      line-height: 1;
      box-shadow: 0 12px 24px rgba(156, 106, 5, 0.16);
    }

    .metric span {
      display: block;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.45;
    }

    .metric span strong {
      display: block;
      margin-bottom: 4px;
      color: var(--coal);
      font-size: 12px;
      line-height: 1;
      text-transform: uppercase;
    }

    section {
      padding: 34px 0;
      border-top: 1px solid var(--line);
    }

    section:first-of-type {
      border-top: 0;
    }

    .section-head {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 34px;
      align-items: start;
      margin-bottom: 18px;
    }

    .section-kicker {
      color: var(--gold);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
    }

    h2 {
      margin: 0;
      color: var(--coal);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 31px;
      line-height: 1.15;
      letter-spacing: 0;
    }

    h3 {
      margin: 0 0 10px;
      color: var(--coal);
      font-size: 16px;
      letter-spacing: 0;
    }

    p {
      margin: 0 0 12px;
    }

    ul {
      margin: 10px 0 0;
      padding-left: 18px;
    }

    li {
      margin: 5px 0;
    }

    .lead {
      color: var(--muted);
      font-size: 17px;
    }

    .highlight {
      margin-top: 20px;
      padding: 24px 28px;
      background:
        linear-gradient(90deg, rgba(184, 134, 11, 0.13), rgba(255, 255, 255, 0)),
        var(--gold-pale);
      border-left: 5px solid var(--gold);
    }

    .scope-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .scope-item {
      position: relative;
      min-height: 0;
      padding: 0;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 14px 32px rgba(48, 37, 13, 0.07);
      border-radius: 18px;
      overflow: hidden;
    }

    .scope-item::before {
      display: none;
    }

    .scope-card-head {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 20px 22px;
      color: #fff;
      background: linear-gradient(135deg, #151515, #3d2c0a);
    }

    .scope-card-body {
      padding: 22px 24px 24px;
    }

    .scope-card-body ul {
      margin-top: 0;
      padding-left: 0;
      list-style: none;
    }

    .scope-card-body li {
      position: relative;
      margin: 0 0 11px;
      padding-left: 22px;
      font-size: 15px;
      line-height: 1.5;
    }

    .scope-card-body li:last-child {
      margin-bottom: 0;
    }

    .scope-card-body li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.68em;
      width: 7px;
      height: 7px;
      background: #bd820c;
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(189, 130, 12, 0.13);
    }

    .scope-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      width: 38px;
      height: 38px;
      margin-bottom: 0;
      color: #16130d;
      background: linear-gradient(145deg, #ffe6a5, #bf850e);
      font-weight: 700;
      border-radius: 999px;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    .scope-card-head h3 {
      margin: 0;
      color: #fff;
    }

    .timeline {
      display: grid;
      gap: 14px;
      margin-top: 18px;
    }

    .timeline-row {
      display: grid;
      grid-template-columns: 78px 1fr 100px;
      gap: 18px;
      align-items: stretch;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
    }

    .timeline-step {
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #151515, #3d2c0a);
      color: #fff;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 24px;
      font-weight: 700;
    }

    .timeline-body {
      padding: 16px 0;
    }

    .timeline-body p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .timeline-duration {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14px;
      color: var(--gold);
      font-weight: 700;
      text-align: center;
      border-left: 1px solid var(--line);
    }

    .commercial-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 24px;
      align-items: start;
    }

    .total-box {
      padding: 30px;
      color: #fff;
      background:
        linear-gradient(145deg, rgba(8, 8, 8, 0.98), rgba(83, 58, 10, 0.97)),
        var(--coal);
      border: 1px solid rgba(184, 134, 11, 0.38);
      border-radius: 20px;
    }

    .total-box span {
      display: block;
      color: rgba(255, 255, 255, 0.66);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
    }

    .total-box strong {
      display: block;
      margin: 10px 0 18px;
      color: #f2d386;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 48px;
      line-height: 1;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 0;
      overflow: hidden;
      font-size: 14px;
      background: #fff;
    }

    th,
    td {
      padding: 13px 15px;
      border: 1px solid var(--line);
      vertical-align: top;
      text-align: left;
    }

    th {
      background: linear-gradient(135deg, #151515, #3d2c0a);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
    }

    td.amount,
    th.amount {
      text-align: right;
      white-space: nowrap;
    }

    .total-row td {
      background: var(--gold-pale);
      color: var(--gold);
      font-weight: 700;
    }

    .payment-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .payment-list.two-payments {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-item {
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 18px;
      align-items: center;
      min-height: 126px;
      padding: 24px 26px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 12px 28px rgba(48, 37, 13, 0.06);
      border-radius: 18px;
      overflow: hidden;
    }

    .payment-item::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 7px;
      background: linear-gradient(180deg, #f2d386, #9c6a05);
    }

    .payment-item b {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 76px;
      height: 76px;
      color: #16130d;
      background: linear-gradient(145deg, #ffe6a5, #bd820c);
      border-radius: 50%;
      font-size: 26px;
      line-height: 1.1;
      box-shadow: 0 12px 24px rgba(156, 106, 5, 0.18);
    }

    .payment-item span {
      display: block;
      color: var(--muted);
      font-size: 14px;
    }

    .payment-item strong {
      display: block;
      margin-bottom: 4px;
      color: var(--coal);
      font-size: 17px;
    }

    .payment-item small {
      display: block;
      margin-top: 6px;
      color: #9c6a05;
      font-size: 18px;
      font-weight: 700;
    }

    .stack-list,
    .two-column-list {
      columns: 2;
      column-gap: 34px;
    }

    .stack-list li,
    .two-column-list li {
      break-inside: avoid;
      margin-bottom: 8px;
    }

    .soft-band {
      padding: 24px 28px;
      background: var(--gold-pale);
      border: 1px solid var(--line);
    }

    .signature {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
      margin-top: 34px;
    }

    .signature div {
      min-height: 102px;
      padding-top: 12px;
      border-top: 1px solid var(--ink);
      color: var(--muted);
      font-size: 14px;
    }

    @media print {
      body {
        background: #fff;
      }

      .page {
        width: auto;
        box-shadow: none;
      }

      .cover,
      section,
      .scope-item,
      .timeline-row,
      .payment-item,
      .total-box {
        break-inside: avoid;
      }
    }

    @media (max-width: 820px) {
      .cover,
      main {
        padding-left: 26px;
        padding-right: 26px;
      }

      h1 {
        font-size: 42px;
      }

      .brand-row,
      .cover-main,
      .price-panel,
      .section-head,
      .commercial-grid,
      .timeline-row {
        grid-template-columns: 1fr;
      }

      .brand-row,
      .price-panel {
        display: grid;
      }

      .logo-box,
      .logo-box.awg {
        width: 190px;
        height: 72px;
      }

      .hero-points {
        grid-template-columns: 1fr;
      }

      .cover-footer,
      .intro-strip,
      .scope-grid,
      .payment-list,
      .signature {
        grid-template-columns: 1fr;
      }

      .timeline-duration {
        justify-content: flex-start;
        border-left: 0;
        border-top: 1px solid var(--line);
      }

      .stack-list,
      .two-column-list {
        columns: 1;
      }
    }

