@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap");

:root {
  --ink: #0f1113;
  --ink-soft: #181b1e;
  --paper: #f3f1ec;
  --white: #ffffff;
  --muted: #6f7377;
  --line: #d8d5ce;
  --accent: #f5a623;
  --accent-deep: #dd8b08;
  --container: 1200px;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  display: block;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--accent);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(15, 17, 19, 0.2);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(15, 17, 19, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.brand-name {
  color: var(--white);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  border-color: var(--accent);
  background: rgba(245, 166, 35, 0.08);
}

.header-phone svg,
.button svg,
.floating-call svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/sprinterpro-hero.png") center center / cover no-repeat;
  animation: hero-reveal 1.2s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.98) 0%, rgba(10, 12, 14, 0.84) 35%, rgba(10, 12, 14, 0.15) 69%, rgba(10, 12, 14, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 12, 14, 0.8) 0%, transparent 35%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 760px;
  align-items: center;
  padding-block: 136px 105px;
}

.hero-copy {
  width: min(690px, 63%);
  animation: copy-reveal 0.85s 0.12s ease-out both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.eyebrow-dot {
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(58px, 7vw, 96px);
}

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

.hero-copy > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffb83e;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost svg,
.catalog-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-models {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(12, 14, 16, 0.54);
  backdrop-filter: blur(10px);
}

.model-chip {
  display: grid;
  gap: 0;
}

.model-chip strong {
  color: var(--accent);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.model-chip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.model-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.16);
}

.scroll-cue {
  position: absolute;
  bottom: 29px;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.section {
  padding-block: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 50px;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin-top: 13px;
  font-size: clamp(42px, 5vw, 64px);
}

.section-heading-aside {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}

.section-heading-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.button-catalog {
  min-height: 48px;
  padding-inline: 19px;
  color: var(--white);
  background: var(--ink);
}

.button-catalog:hover,
.button-catalog:focus-visible {
  background: #292d31;
}

.button-catalog i {
  font-size: 13px;
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 355px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.product-card:hover {
  z-index: 2;
  box-shadow: 0 18px 44px rgba(15, 17, 19, 0.13);
  transform: translateY(-8px);
}

.card-dark {
  border-color: var(--ink-soft);
  color: var(--white);
  background: var(--ink-soft);
}

.card-amber {
  border-color: var(--accent);
  background: var(--accent);
}

.card-number {
  position: absolute;
  top: 21px;
  right: 24px;
  color: rgba(15, 17, 19, 0.25);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 13px;
}

.card-dark .card-number {
  color: rgba(255, 255, 255, 0.22);
}

.card-icon {
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  margin-top: 22px;
  color: var(--ink);
  background: #ebe9e3;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.card-dark .card-icon {
  color: var(--accent);
  background: #25292d;
}

.card-amber .card-icon {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
}

.card-icon i {
  font-size: 38px;
  line-height: 1;
}

.card-content {
  margin-top: 34px;
}

.card-tag {
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-dark .card-tag {
  color: var(--accent);
}

.card-amber .card-tag {
  color: rgba(15, 17, 19, 0.58);
}

.product-card h3 {
  margin: 8px 0 8px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.52);
}

.card-amber p {
  color: rgba(15, 17, 19, 0.65);
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.catalog-cta p {
  margin: 0;
  color: var(--muted);
}

.catalog-cta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.catalog-cta a:hover,
.catalog-cta a:focus-visible {
  color: var(--accent-deep);
}

.about {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
  overflow: hidden;
}

.about::before {
  position: absolute;
  top: -180px;
  left: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(245, 166, 35, 0.12);
  border-radius: 50%;
  content: "";
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 75px 90px;
}

.section-kicker-light {
  color: var(--accent);
}

.about-title-wrap h2 {
  color: var(--white);
}

.about-copy {
  align-self: end;
}

.about-copy p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
}

.about-copy .about-lead {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.5;
}

.benefits {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 32px;
}

.benefit + .benefit {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.benefit-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
}

.benefit-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.benefit h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

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

.contact {
  background: #e7e4dd;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  align-items: center;
  gap: 70px;
  min-height: 390px;
  padding: 64px 72px;
  background: var(--accent);
  overflow: hidden;
}

.contact-card::after {
  position: absolute;
  top: 0;
  right: 37%;
  bottom: 0;
  width: 1px;
  background: rgba(15, 17, 19, 0.15);
  content: "";
  transform: skew(-8deg);
}

.contact-decoration {
  position: absolute;
  bottom: -80px;
  left: -15px;
  color: rgba(15, 17, 19, 0.06);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 300px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.contact-copy,
.contact-actions {
  position: relative;
  z-index: 2;
}

.contact-copy .section-kicker {
  color: rgba(15, 17, 19, 0.58);
}

.contact h2 {
  margin-top: 16px;
  font-size: clamp(48px, 6vw, 78px);
}

.contact-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(15, 17, 19, 0.68);
}

.contact-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.contact-actions > span {
  color: rgba(15, 17, 19, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-phone {
  margin: 5px 0 18px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 600;
  line-height: 1.2;
}

.contact-email {
  margin: 5px 0 23px;
  border-bottom: 1px solid rgba(15, 17, 19, 0.35);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  border-color: var(--ink);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #292d31;
}

.site-footer {
  color: rgba(255, 255, 255, 0.53);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  min-height: 114px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-footer .brand-mark {
  width: 33px;
  height: 33px;
}

.brand-footer .brand-name {
  font-size: 19px;
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
}

.footer-contact {
  display: grid;
  gap: 2px;
  text-align: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  transition: color 0.2s ease;
}

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

.copyright {
  text-align: right;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: none;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(15, 17, 19, 0.35);
}

.floating-call svg {
  width: 24px;
  height: 24px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@keyframes hero-reveal {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes copy-reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero-copy {
    width: min(690px, 72%);
  }

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

  .product-card {
    min-height: 325px;
  }

  .about-grid {
    gap: 55px;
  }

  .benefit {
    padding: 24px 18px;
  }

  .contact-card {
    grid-template-columns: 1fr 0.7fr;
    padding: 54px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .header-phone {
    width: 43px;
    min-height: 43px;
    justify-content: center;
    padding: 0;
  }

  .header-phone span {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 710px;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 12, 14, 0.97) 0%, rgba(10, 12, 14, 0.74) 64%, rgba(10, 12, 14, 0.22) 100%),
      linear-gradient(0deg, rgba(10, 12, 14, 0.93) 0%, transparent 48%);
  }

  .hero-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 138px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(52px, 14.4vw, 72px);
  }

  .hero-copy > p {
    max-width: 500px;
    font-size: 16px;
  }

  .hero-models {
    position: static;
    margin-top: 18px;
    padding: 12px 18px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .about h2 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .section-heading-aside p {
    max-width: 520px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .benefit {
    padding: 24px 0;
  }

  .benefit + .benefit {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 47px 38px;
  }

  .contact-card::after {
    display: none;
  }

  .contact-decoration {
    font-size: 220px;
  }

  .contact h2 {
    font-size: clamp(44px, 13vw, 65px);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-block: 32px;
  }

  .copyright {
    text-align: left;
  }

  .footer-contact {
    text-align: left;
  }

  .floating-call {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .floating-call.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 540px) {
  .brand-name {
    font-size: 20px;
  }

  .hero,
  .hero-inner {
    min-height: 735px;
  }

  .hero-image {
    background-position: 70% center;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-models {
    width: 100%;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

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

  .product-card {
    min-height: 300px;
  }

  .catalog-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    width: 100%;
    padding: 46px 24px;
  }

  .contact-phone {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
