:root {
  --bg: #131314;
  --bg-soft: #1a1a1b;
  --panel: rgba(36, 36, 38, 0.72);
  --panel-strong: rgba(28, 28, 30, 0.88);
  --line: rgba(245, 208, 122, 0.24);
  --line-strong: rgba(245, 208, 122, 0.54);
  --gold: #d7b36a;
  --gold-bright: #f3d789;
  --gold-deep: #8f6b2c;
  --text: #f2efe8;
  --muted: #d0c8b5;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  --inset: inset 0 1px 0 rgba(255, 248, 220, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 0% 14%, rgba(200, 151, 54, 0.32), transparent 23%),
    radial-gradient(circle at 100% 78%, rgba(200, 151, 54, 0.24), transparent 20%),
    linear-gradient(180deg, #101011 0%, #161618 52%, #111113 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(245, 208, 122, 0.04) 6% 6.2%, transparent 6.2% 100%),
    linear-gradient(180deg, transparent 0 82%, rgba(245, 208, 122, 0.04) 82% 82.2%, transparent 82.2% 100%);
  opacity: 0.55;
}

body::after {
  background:
    radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(135deg, rgba(245, 208, 122, 0.05), transparent 35%);
  z-index: -1;
}

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

.page-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 14px auto 24px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 232, 171, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(38, 38, 39, 0.95), rgba(25, 25, 27, 0.9));
  box-shadow: var(--shadow), var(--inset), 0 0 26px rgba(214, 174, 95, 0.12);
  position: sticky;
  top: 14px;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  color: var(--gold-bright);
  min-width: 128px;
}

.brand-mark {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.brand-sub {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  color: rgba(255, 245, 224, 0.92);
  font-size: 15px;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 220, 133, 0.7), rgba(255, 220, 133, 0.15));
  box-shadow: 0 0 16px rgba(255, 210, 110, 0.4);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid rgba(255, 228, 153, 0.44);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta-top,
.cta-primary {
  color: #2a2010;
  background: linear-gradient(180deg, #f3d789 0%, #d2a74f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.8), 0 8px 22px rgba(212, 169, 84, 0.25);
}

.cta-secondary {
  color: var(--gold-bright);
  background: rgba(20, 20, 21, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.08);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 227, 159, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 31, 32, 0.86), rgba(17, 17, 18, 0.94));
  box-shadow: var(--shadow), var(--inset);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 680px;
  margin-top: 14px;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(15, 15, 16, 0.93) 0%, rgba(15, 15, 16, 0.8) 34%, rgba(15, 15, 16, 0.34) 54%, rgba(15, 15, 16, 0.05) 74%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.08) 0%, rgba(5, 5, 6, 0.45) 100%),
    url("./assets/lexus-luxury-interior.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-copy {
  padding: 82px 34px 28px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0 0 20px;
  max-width: 560px;
  color: var(--gold-bright);
  font-size: clamp(28px, 6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(250, 244, 228, 0.92);
  font-size: 29px;
  line-height: 1.34;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-actions .cta {
  min-width: 188px;
  min-height: 62px;
  font-size: 28px;
  border-radius: 16px;
}

.hero-trace {
  margin-top: auto;
  padding-top: 40px;
  width: 100%;
}

.hero-trace span {
  display: block;
  width: 80%;
  height: 16px;
  border-bottom: 1px solid rgba(255, 215, 131, 0.28);
  position: relative;
}

.hero-trace span::before,
.hero-trace span::after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 1px;
  background: rgba(255, 215, 131, 0.55);
}

.hero-trace span::before {
  left: 34%;
  width: 70px;
}

.hero-trace span::after {
  left: 52%;
  width: 22px;
  transform: skewX(-45deg);
}

.hero-visual {
  display: none;
}

.section {
  position: relative;
  padding: 68px 8px 0;
}

.section h2 {
  margin: 0 0 42px;
  text-align: center;
  color: var(--gold);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-services::before,
.section-process::before {
  content: "";
  position: absolute;
  opacity: 0.16;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 76%, rgba(255, 216, 133, 0.9) 76% 78%, transparent 78% 100%),
    linear-gradient(0deg, transparent 0 78%, rgba(255, 216, 133, 0.9) 78% 80%, transparent 80% 100%);
  filter: blur(0.2px);
}

.section-services::before {
  right: 0;
  top: 96px;
  width: 210px;
  height: 330px;
}

.section-process::before {
  left: -30px;
  top: 120px;
  width: 170px;
  height: 250px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.glass-card,
.contact-details {
  position: relative;
}

.glass-card {
  min-height: 314px;
  padding: 28px 24px 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 228, 152, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 18%, transparent 18% 40%),
    linear-gradient(180deg, rgba(47, 47, 49, 0.86), rgba(23, 23, 24, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(217, 175, 93, 0.12);
}

.glass-card::before,
.contact-details::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 238, 192, 0.22), rgba(255, 238, 192, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-icon,
.process-icon {
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(243, 215, 137, 0.18));
}

.card-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
}

.glass-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 800;
}

.glass-card p {
  margin: 0;
  color: rgba(240, 233, 219, 0.9);
  font-size: 16px;
  line-height: 1.48;
}

.process-item h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 800;
}

.process-item p,
.contact-lines p {
  margin: 0;
  color: rgba(240, 233, 219, 0.9);
  font-size: 16px;
  line-height: 1.4;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.process-item {
  text-align: center;
  padding: 8px 8px 0;
}

.process-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
}

.icon-svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.process-arrow {
  height: 2px;
  margin-top: -54px;
  background: linear-gradient(90deg, rgba(255, 221, 137, 0.28), rgba(255, 221, 137, 0.98));
  position: relative;
  grid-column: span 1;
  display: none;
}

.process-row {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

.process-arrow {
  display: block;
  width: 88px;
  box-shadow: 0 0 12px rgba(255, 211, 113, 0.32);
}

.process-arrow::before,
.process-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
}

.process-arrow::before {
  left: 0;
  width: 8px;
  height: 8px;
  background: rgba(255, 221, 137, 0.95);
  box-shadow: 0 0 18px rgba(255, 211, 113, 0.4);
}

.process-arrow::after {
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(255, 221, 137, 0.98);
  border-right: 2px solid rgba(255, 221, 137, 0.98);
  transform: translateY(-50%) rotate(45deg);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.contact-details {
  min-height: 300px;
  padding: 42px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 179, 106, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(40, 40, 41, 0.9), rgba(19, 19, 20, 0.96));
}

.contact-city {
  margin: 0;
  color: var(--gold-bright);
  font-size: 18px;
  font-weight: 700;
}

.contact-lines {
  padding: 22px 4px 6px;
  display: grid;
  gap: 10px;
}

.contact-lines a {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.contact-lines p {
  margin-top: 10px;
}

.footer {
  padding: 20px 0 10px;
  text-align: center;
  color: rgba(240, 233, 219, 0.82);
  font-size: 15px;
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #32d36b, #16ac53);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(1200px, calc(100% - 28px));
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    display: none;
  }

  .service-grid,
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
  }

  .topbar {
    border-radius: 14px;
    padding: 14px 12px;
    position: static;
  }

  .nav {
    gap: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 38px 18px 12px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .hero-actions .cta {
    min-width: 160px;
    min-height: 54px;
    font-size: 20px;
  }

  .hero-trace {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .service-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-arrow {
    display: none;
  }

  .section {
    padding-top: 54px;
  }

  .section h2 {
    margin-bottom: 28px;
    font-size: 40px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    font-size: 28px;
  }

  .brand-sub {
    font-size: 14px;
  }

  .nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 14px;
  }

  .cta,
  .cta-top {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

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

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .cta {
    width: 100%;
    min-width: 0;
  }

  .glass-card {
    min-height: auto;
  }

}
