* {
  box-sizing: border-box;
}

:root {
  --gold: #9a7a34;
  --gold-light: #c8ad6a;
  --black: #111315;
  --muted: #5e6268;
  --line: #d3b04b;
  --paper: #f7f5ef;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(90deg, rgba(154, 122, 52, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(154, 122, 52, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 80px;
  color: var(--black);
}

.site-header {
  padding: 0 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
}

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: min(210px, 58vw);
  height: auto;
  display: block;
}

.main-nav {
  margin: 4px auto 0;
  padding: 0 0 8px;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 38px);
  flex-wrap: wrap;
  border-bottom: 3px solid var(--gold);
}

.main-nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.hero {
  width: min(1200px, 92vw);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  border-left: 3px solid var(--black);
  border-right: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

.hero::before,
.hero::after {
  bottom: 6px;
}

.hero::before {
  top: 0;
}

.hero::after {
  bottom: 6px;
}

.hero-image {
  min-height: 150px;
  background:
    radial-gradient(circle at 30% 25%, rgba(200, 173, 106, 0.12), transparent 22%),
    linear-gradient(135deg, #050607, #1d2023 55%, #050607);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.pc-frame {
  width: min(260px, 70vw);
  height: 118px;
  border: 2px solid var(--gold);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(200, 173, 106, 0.08) 49% 51%, transparent 52%),
    linear-gradient(135deg, #090b0d, #16191c);
  position: relative;
  box-shadow: inset 0 0 10px rgba(200, 173, 106, 0.05);
}

.cooler {
  position: absolute;
  top: 22px;
  left: 86px;
  width: 48px;
  height: 48px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 25px;
  box-shadow: 0 0 12px rgba(200, 173, 106, 0.18);
}

.ram {
  position: absolute;
  top: 20px;
  right: 38px;
  width: 34px;
  height: 72px;
  border-left: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
}

.ram::before,
.ram::after {
  left: 20px;
}

.ram::after {
  left: 20px;
}

.gpu {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 26px;
  background: linear-gradient(90deg, #0c0d0f, #1b1d20);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 0.75rem;
}

.cables {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 12px;
  height: 68px;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold-light);
  border-radius: 20px;
}

.hero-content {
  padding: 18px 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--gold);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 0.98;
  margin: 0 0 10px;
  color: var(--gold);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-text {
  color: #3b3f44;
  font-weight: 700;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 22px;
  margin-top: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.small-button:hover {
  transform: translateY(-2px);
  background: #faf8f2;
}

.small-button {
  background: #a18446;
  color: var(--white);
  border-radius: 8px;
  border: 0;
  padding: 12px 22px;
}

.section {
  width: min(1200px, 92vw);
  margin: 38px auto;
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.intro-section {
  border-color: var(--black);
}

.section-heading {
  max-width: 820px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.card {
  border: 3px solid var(--gold);
  padding: 28px;
  background: var(--white);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card p {
  color: var(--muted);
  flex: 1;
}

.icon {
  width: 94px;
  height: 94px;
  border: 3px solid var(--gold);
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 30% 25%, rgba(200, 173, 106, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 244, 226, 0.7));
  box-shadow:
    inset 0 0 0 4px rgba(182, 138, 34, 0.08),
    0 10px 22px rgba(182, 138, 34, 0.12);
}

.service-icon {
  width: 68px;
  height: 68px;
}

.service-icon path,
.service-icon rect,
.service-icon circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon rect,
.service-icon circle {
  fill: rgba(227, 196, 93, 0.08);
}

.card:hover .icon {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 4px rgba(182, 138, 34, 0.1),
    0 16px 28px rgba(182, 138, 34, 0.2);
}

.emulation {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #111315, #262a2f);
  color: var(--white);
  border-color: var(--black);
}

.emulation h2 {
  color: var(--gold-light);
}

.emulation p {
  color: #e7e2d4;
}

.note {
  font-size: 0.95rem;
  color: #cfc7b4 !important;
}

.emulation-box {
  display: grid;
  gap: 14px;
}

.emulation-box span {
  border: 2px solid var(--gold);
  color: var(--gold-light);
  padding: 18px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
}

.contact-details {
  background: var(--black);
  color: var(--white);
  padding: 28px;
  border-left: 8px solid var(--gold);
}

.contact-details p {
  margin: 0 0 12px;
}

.site-footer {
  margin-top: 48px;
  padding: 28px 24px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  border-top: 5px solid var(--gold);
}

.site-footer p {
  margin: 6px 0;
  font-weight: 700;
}

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

  .hero-content {
  padding: 18px 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--gold);
}

  .cards {
    gap: 18px;
  }

  .main-nav {
  margin: 4px auto 0;
  padding: 0 0 8px;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 38px);
  flex-wrap: wrap;
  border-bottom: 3px solid var(--gold);
}

  .main-nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}
}

@media (max-width: 520px) {
  .hero-image {
  min-height: 150px;
  background:
    radial-gradient(circle at 30% 25%, rgba(200, 173, 106, 0.12), transparent 22%),
    linear-gradient(135deg, #050607, #1d2023 55%, #050607);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

  .pc-frame {
  width: min(260px, 70vw);
  height: 118px;
  border: 2px solid var(--gold);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(200, 173, 106, 0.08) 49% 51%, transparent 52%),
    linear-gradient(135deg, #090b0d, #16191c);
  position: relative;
  box-shadow: inset 0 0 10px rgba(200, 173, 106, 0.05);
}

  .cooler {
  position: absolute;
  top: 22px;
  left: 86px;
  width: 48px;
  height: 48px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 25px;
  box-shadow: 0 0 12px rgba(200, 173, 106, 0.18);
}

  .ram {
  position: absolute;
  top: 20px;
  right: 38px;
  width: 34px;
  height: 72px;
  border-left: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
}

  .ram::before,
.ram::after {
  left: 20px;
}

  .gpu {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  height: 26px;
  background: linear-gradient(90deg, #0c0d0f, #1b1d20);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 0.75rem;
}

  .cables {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 12px;
  height: 68px;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold-light);
  border-radius: 20px;
}

  .section {
    padding: 24px;
  }

  .card {
    min-height: auto;
  }
}

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

  .hero-image {
    min-height: 120px;
  }

  .hero-content {
    border-left: 0;
    border-top: 3px solid var(--gold);
  }
}
