@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --bg-main: #0b0c10;
  --bg-elevated: #15161d;
  --bg-light: #f6f3ef;

  --text-main: #f5f5f5;
  --text-muted: #b3bcc7;
  --text-dark: #161616;

  --gold-light: #f3d27a;
  --gold-mid: #d7ad4a;
  --gold-dark: #a6762a;

  --metal: #3b3f4a;
  --metal-dark: #252833;

  --border-soft: rgba(255, 255, 255, 0.07);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);

  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease-out;

  --container-max: 1120px;
  --container-pad: clamp(16px, 3.5vw, 32px);

  --section-pad-y: clamp(48px, 7vw, 96px);
  --gap-lg: clamp(16px, 3vw, 32px);

  --header-height: 72px;
  --header-pad-y: 0.85rem;
  --header-gap: clamp(10px, 1.6vw, 20px);

  --font-body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont;
  --font-ui: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont;
  --font-display: "Bank Gothic", "Times New Roman";
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #151820 0, #050509 55%);
  color: var(--text-main);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  padding-top: 80px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(243, 210, 122, 0.75);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 1.15;
}

p {
  margin: 0 0 0.75em;
  line-height: 1.6;
}

.container {
  width: min(var(--container-max), 100% - (var(--container-pad) * 2));
  margin: 0 auto;
}

.section {
  padding: var(--section-pad-y) 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #181b23 0, #090910 55%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to right, #050509, #111420);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.header-scrolled {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--header-gap);
  padding: var(--header-pad-y) 0;
  min-height: var(--header-height);
  flex-wrap: nowrap;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 0 1 auto;
}

.logo img {
  height: clamp(34px, 4vw, 40px);
  width: auto;
  flex: 0 0 auto;
}

.logo > div {
  min-width: 0;
}

.logo-text-main,
.logo-text-sub {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text-main {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.1vw, 18px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-family: var(--font-display);
  font-size: clamp(10px, 0.9vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-light);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  font-size: 0.92rem;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0 4px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: clamp(11px, 1vw, 15px);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 999px;
  transition: width var(--transition-med);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

@keyframes pulse-color {
  0% {
    color: #b3bcc7;
  }
  95% {
    color: #c9d23a;
  }
  100% {
    color: #b3bcc7;
  }
}

.nav-link-driver {
  color: var(--gold-light);
  animation: pulse-color 2s ease-in-out infinite;
}

.burger {
  display: none;
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
  flex: 0 0 auto;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.burger span + span {
  margin-top: 4px;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: calc(var(--section-pad-y) + 2.75rem) 0 var(--section-pad-y);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 210, 122, 0.4);
  background: rgba(15, 17, 25, 0.85);
  box-shadow: 0 0 18px rgba(243, 210, 122, 0.25);
  color: var(--gold-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-ui);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(28px, 4vw, 54px);
  margin-top: 1.1rem;
}

.hero-subtitle {
  max-width: 60ch;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.hero-image-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top, #222631 0, #050509 60%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-ui);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 10% 0, var(--gold-light), var(--gold-dark));
  color: #000;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.85);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-mid);
}

.btn-outline:hover {
  background: rgba(243, 210, 122, 0.1);
  box-shadow: 0 0 16px rgba(243, 210, 122, 0.5);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--gap-lg);
  margin-top: clamp(18px, 3vw, 32px);
}

.card {
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(145deg, #181a24, #090a10);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
  z-index: 0;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(243, 210, 122, 0.11) 0, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(243, 210, 122, 0.08) 0, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-med);
  z-index: -1;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.9);
  border-color: rgba(243, 210, 122, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
  font-family: var(--font-ui);
  font-weight: 600;
}

.card-title {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  margin-bottom: 0.35rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-self: end;
  width: min(460px, 100%);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  padding: clamp(40px, 6vw, 56px) 0 clamp(20px, 3vw, 32px);
  background: #050509;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: clamp(32px, 6vw, 72px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-lg);
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-column {
  min-width: min(240px, 100%);
}

.footer-column h4 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}

.footer-bottom {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 24, 36, 0.95);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.1s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(243, 210, 122, 0.9);
  box-shadow: 0 0 18px rgba(243, 210, 122, 0.35);
  background: rgba(8, 32, 46, 0.98);
  transform: translateY(-1px);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.quote-form {
  max-width: 960px;
  margin-top: 2rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 15, 0.95);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out,
    background 0.2s ease-out,
    transform 0.15s ease-out;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold-mid);
  box-shadow:
    0 0 0 1px rgba(243, 210, 122, 0.6),
    0 14px 32px rgba(0, 0, 0, 0.7);
  background: rgba(10, 13, 20, 0.98);
  transform: translateY(-1px);
}

.label-small {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-weight: 600;
}

.quote-form .row-2,
.quote-form .row-3 {
  display: grid;
  gap: 0.9rem 1.1rem;
  margin-top: 0.5rem;
}

.quote-form .row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form .row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox-list {
  display: grid;
  gap: 0.4rem 1.5rem;
  margin: 0.4rem 0 0.2rem;
}

.quote-checkbox-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.quote-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.file-upload-wrapper {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  background: rgba(7, 9, 15, 0.95);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.file-upload-wrapper:hover {
  border-color: var(--gold-mid);
  box-shadow: 0 0 18px rgba(243, 210, 122, 0.25);
}

.file-upload-button {
  padding: 0.55rem 1.4rem;
  background: radial-gradient(circle at 10% 0, var(--gold-light), var(--gold-dark));
  color: #000;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-ui);
}

.file-upload-name {
  color: var(--text-muted);
  font-size: 0.95rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.15s;
}

.reveal.delay-2 {
  transition-delay: 0.3s;
}

.reveal.delay-3 {
  transition-delay: 0.45s;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 88px;
    --header-pad-y: 0.65rem;
  }

  .main-nav {
    display: none;
  }

  .burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }

  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem var(--container-pad);
    background: rgba(5, 5, 9, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .main-nav.is-open .nav-link {
    padding: 0.85rem 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .footer-inner {
    flex-direction: column;
  }

  .quote-form .row-2,
  .quote-form .row-3 {
    grid-template-columns: 1fr;
  }

  .quote-checkbox-group {
    justify-content: flex-start;
  }
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.contact-panel-form {
  display: flex;
  flex-direction: column;
}

.contact-panel-media {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.contact-panel-media .hero-image-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-panel-media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-frame {
    order: -1;
    max-width: 560px;
    margin: 0 auto clamp(16px, 4vw, 28px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    justify-self: stretch;
    width: 100%;
  }

  .about-image {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 84px;
    --header-pad-y: 0.55rem;
  }

  .header-inner {
    gap: 10px;
  }

  .btn.btn-primary {
    font-size: 11px;
    padding: 8px 12px;
  }

  .btn.btn-primary {
    margin-left: auto;
    margin-right: -6px;
  }
}

@media (max-width: 575px) {
  .logo-text-main,
  .logo-text-sub {
    display: none;
  }
}

@media (max-width: 480px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form select,
  .quote-form input,
  .quote-form textarea,
  .quote-form select {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel-media {
    position: static;
    margin-top: 32px;
  }

  .contact-panel-media .hero-image-frame {
    max-width: 560px;
    margin: 0 auto;
  }
}
