﻿:root {
      --black: #080808;
      --ink: #151515;
      --white: #fff;
      --paper: #f8f7f3;
      --line: #dedbd2;
      --soft: #efede6;
      --gold: #c9911b;
      --gold-dark: #a87610;
      --text: #2a2a2a;
      --muted: #6f6a61;
      --max: 1160px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text);
      background: var(--paper);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.5;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    .wrap {
      width: min(var(--max), calc(100% - 48px));
      margin: 0 auto;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-height: 50px;
      padding: 0 24px;
      border: 0;
      border-radius: 4px;
      color: var(--white);
      background: linear-gradient(180deg, #d8a22c, var(--gold));
      font-weight: 700;
      cursor: pointer;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
    }

    .button:hover,
    .button:focus-visible {
      background: linear-gradient(180deg, #e0ad3d, var(--gold-dark));
    }

    .section-kicker {
      margin: 0 0 6px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 4px;
      text-align: center;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1,
    h2,
    h3 {
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      line-height: 1.05;
    }

    .hero {
      position: relative;
      height: clamp(560px, 56vw, 750px);
      color: var(--white);
      background:
        url("assets/hero-office.jpg?v=1783949174") right center / auto 100% no-repeat,
        var(--black);
    }

    .site-header {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      padding: 32px 0;
    }

    .logo {
      display: block;
      width: 158px;
    }

    .logo img {
      width: 100%;
      height: auto;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 52px;
      color: var(--white);
      font-weight: 700;
    }

    .nav a {
      opacity: .92;
    }

    .nav a:hover,
    .nav a:focus-visible {
      color: var(--gold);
      opacity: 1;
    }

    .nav .button,
    .nav .button:hover,
    .nav .button:focus-visible {
      color: var(--white);
    }

    .menu-toggle {
      display: none;
      width: 48px;
      height: 44px;
      padding: 0;
      border: 0;
      color: var(--white);
      background: transparent;
      cursor: pointer;
    }

    .menu-toggle span {
      display: block;
      height: 4px;
      margin: 7px 0;
      border-radius: 8px;
      background: currentColor;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: min(860px, 100%);
      padding: 74px 0 72px;
    }

    .hero h1 {
      margin-bottom: 20px;
      color: var(--white);
      font-size: clamp(52px, 4.2vw, 64px);
      max-width: 860px;
    }

    .hero h1 span {
      color: var(--gold);
    }

    .hero p {
      max-width: 510px;
      margin-bottom: 34px;
      color: rgba(255, 255, 255, .9);
      font-size: 18px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 34px;
    }

    .experience {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      color: var(--white);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 17px;
      font-weight: 700;
    }

    .experience .icon {
      display: grid;
      width: 36px;
      height: 42px;
      place-items: center;
      color: var(--gold);
      border: 2px solid var(--gold);
      border-radius: 16px 16px 20px 20px;
      font-family: Arial, Helvetica, sans-serif;
    }

    .services {
      padding: 44px 0 58px;
      background: var(--paper);
    }

    .services h2,
    .contact h2 {
      margin-bottom: 30px;
      font-size: clamp(31px, 3vw, 42px);
      text-align: center;
    }

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

    .service-card {
      min-height: 204px;
      padding: 25px 24px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 7px;
    }

    .service-icon {
      display: grid;
      width: 46px;
      height: 46px;
      margin-bottom: 16px;
      place-items: center;
      color: var(--gold);
      border: 2px solid currentColor;
      border-radius: 8px;
      font-size: 24px;
      line-height: 1;
    }

    .service-card h3 {
      margin-bottom: 10px;
      font-size: 19px;
    }

    .service-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.45;
    }

    .about {
      background:
        linear-gradient(90deg, rgba(248, 247, 243, .08), rgba(248, 247, 243, .95) 34%, #f8f7f3 100%),
        url("assets/hero-office.jpg?v=1783949174") left center / cover no-repeat;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .about-inner {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 48px;
      min-height: 235px;
      align-items: center;
      padding: 38px 0;
    }

    .about-panel {
      grid-column: 2;
    }

    .about .section-kicker {
      text-align: left;
    }

    .about h2 {
      margin-bottom: 18px;
      font-size: clamp(31px, 3vw, 42px);
    }

    .about p {
      margin-bottom: 10px;
      color: #34322d;
    }

    .certifications {
      padding: 28px 0 34px;
      background: var(--white);
    }

    .certifications h2 {
      margin-bottom: 24px;
      font-size: clamp(25px, 2.5vw, 34px);
      text-align: center;
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .cert {
      display: flex;
      align-items: center;
      gap: 15px;
      min-height: 84px;
      padding: 0 8px;
    }

    .badge {
      display: grid;
      flex: 0 0 auto;
      width: 64px;
      height: 64px;
      place-items: center;
      color: var(--gold);
      border: 2px solid currentColor;
      border-radius: 50%;
      font-size: 29px;
    }

    .cert strong {
      display: block;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 16px;
      line-height: 1.12;
    }

    .why {
      color: var(--white);
      background: #111;
    }

    .why .section-kicker {
      padding-top: 18px;
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      padding: 12px 0 24px;
    }

    .why-item {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 16px;
      padding: 10px 20px;
      border-left: 1px solid rgba(255, 255, 255, .2);
    }

    .why-item:first-child {
      border-left: 0;
    }

    .why-icon {
      color: var(--gold);
      font-size: 32px;
      line-height: 1;
    }

    .why h3 {
      margin-bottom: 5px;
      color: var(--white);
      font-size: 17px;
    }

    .why p {
      margin: 0;
      color: rgba(255, 255, 255, .74);
      font-size: 13px;
    }

    .contact {
      padding: 34px 0 38px;
      background: var(--paper);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: .75fr 1.2fr .8fr;
      gap: 32px;
      align-items: stretch;
    }

    .contact-details,
    .consult-card {
      border-right: 1px solid var(--line);
      padding-right: 28px;
    }

    .consult-card {
      border-right: 0;
      border-left: 1px solid var(--line);
      padding-right: 0;
      padding-left: 34px;
    }

    .detail {
      display: grid;
      grid-template-columns: 30px 1fr;
      gap: 14px;
      margin-bottom: 18px;
    }

    .detail-icon {
      color: var(--gold);
      font-size: 23px;
    }

    .detail strong,
    .consult-card strong {
      display: block;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 16px;
    }

    .detail p,
    .consult-card p,
    .note {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .form input,
    .form textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 2px;
      background: var(--white);
      padding: 13px 14px;
      color: var(--text);
      outline: none;
    }

    .form textarea {
      grid-column: 1 / -1;
      min-height: 96px;
      resize: vertical;
    }

    .form .button {
      justify-self: start;
      min-height: 44px;
      margin-top: 4px;
    }

    .consult-icon {
      margin-bottom: 18px;
      color: var(--gold);
      font-size: 38px;
    }

    .consult-card .button {
      margin-top: 22px;
    }

    .site-footer {
      color: rgba(255, 255, 255, .78);
      background: #0b0b0b;
      border-top: 3px solid var(--gold);
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 190px 1fr auto;
      gap: 28px;
      align-items: center;
      padding: 24px 0;
    }

    .footer-inner .logo {
      width: 125px;
    }

    .footer-tagline,
    .copyright {
      margin: 0;
      font-size: 13px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      justify-content: flex-end;
      font-size: 13px;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: var(--gold);
    }

    .back-to-top {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 20;
      display: grid;
      width: 52px;
      height: 52px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 50%;
      color: var(--white);
      background: linear-gradient(180deg, #d8a22c, var(--gold-dark));
      box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transform: translateY(86px);
      transition: opacity .25s ease, transform .32s ease;
    }

    .back-to-top.is-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .back-to-top:hover,
    .back-to-top:focus-visible {
      background: linear-gradient(180deg, #e0ad3d, var(--gold));
    }

    .back-to-top span {
      font-size: 25px;
      font-weight: 800;
      line-height: 1;
    }

    @media (max-width: 900px) {
      .wrap {
        width: min(100% - 36px, var(--max));
      }

      .hero {
        min-height: 760px;
        height: auto;
        background:
          url("assets/hero-office.jpg?v=1783949174") right bottom / min(132vw, 860px) auto no-repeat,
          var(--black);
      }

      .site-header {
        align-items: flex-start;
        padding: 28px 0 18px;
      }

      .menu-toggle {
        display: block;
        margin-top: 26px;
      }

      .nav {
        display: none;
        position: absolute;
        top: 112px;
        right: 18px;
        left: 18px;
        z-index: 5;
        padding: 20px;
        background: rgba(10, 10, 10, .75);
        border: 1px solid rgba(201, 145, 27, .35);
        border-radius: 6px;
      }

      .nav.is-open {
        display: grid;
        gap: 18px;
      }

      .hero-content {
        padding: 38px 0 220px;
      }

      .hero h1 {
        font-size: clamp(40px, 8vw, 58px);
      }

      .hero p {
        font-size: 17px;
      }

      .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
      }

      .service-grid,
      .cert-grid,
      .why-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .about {
        background:
          linear-gradient(180deg, rgba(248, 247, 243, .25), var(--paper) 42%),
          url("assets/hero-office.jpg?v=1783949174") center top / cover no-repeat;
      }

      .about-inner {
        grid-template-columns: 1fr;
        min-height: 520px;
        align-items: end;
      }

      .about-panel {
        grid-column: auto;
      }

      .why-item,
      .why-item:first-child {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
      }

      .contact-grid,
      .footer-inner {
        grid-template-columns: 1fr;
      }

      .contact-details,
      .consult-card {
        border: 0;
        padding: 0;
      }

      .consult-card {
        padding-top: 26px;
        border-top: 1px solid var(--line);
      }

      .footer-links {
        justify-content: flex-start;
      }
    }

    @media (max-width: 560px) {
      .logo {
        width: 128px;
      }

      .hero-content {
        padding-bottom: 170px;
      }

      .hero h1 {
        font-size: clamp(38px, 10vw, 44px);
      }

      .hero p {
        font-size: 16px;
        line-height: 1.55;
      }

      .button {
        width: 100%;
      }

      .service-grid,
      .cert-grid,
      .why-grid,
      .form {
        grid-template-columns: 1fr;
      }

      .cert {
        padding: 0;
      }

      .form textarea {
        grid-column: auto;
      }

      .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
      }
    }








