@font-face {
  font-family: "Lato Local";
  src: url("../fonts/lato-v23-latin-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato Local";
  src: url("../fonts/lato-v23-latin-900.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins Local";
  src: url("../fonts/poppins-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #062ca5;
  --blue-dark: #061f73;
  --ink: #1a2026;
  --muted: #636b75;
  --paper: #ffffff;
  --soft: #f6f6f6;
  --line: #e1e5ea;
  --green: #00926f;
  --shadow: 0 18px 40px rgba(12, 23, 41, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato Local", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1170px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--paper);
  box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.06);
}

.topbar {
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
}

.topbar__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 14px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__item--whatsapp {
  color: var(--green);
  font-size: 18px;
}

.topbar__item--whatsapp img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.contact-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue);
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}

.navbar {
  position: relative;
  background: var(--ink);
}

.navbar__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 227px;
  height: 65px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.navbar__phone {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 166px;
  padding: 0 24px;
  color: var(--paper);
  background: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  margin-left: auto;
}

.nav-links a {
  display: grid;
  place-items: center;
  min-width: 92px;
  padding: 0 18px;
  color: var(--paper);
  font-weight: 900;
  transition: background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: 134px;
  color: var(--paper);
}

.hero__slides,
.hero__slide,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.26) 60%, rgba(0, 0, 0, 0.55));
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 52px;
}

.hero__copy {
  max-width: 880px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 900;
}

.hero__copy p {
  max-width: 760px;
  margin: 0 0 34px;
  font-size: 19px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: 0;
  border-radius: 7px;
  font: 900 15px/1 "Lato Local", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(2px);
}

.button--primary,
.button--small {
  color: var(--paper);
  background: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue-dark);
}

.button--primary:hover,
.button--small:hover {
  background: var(--ink);
}

.button--light {
  color: var(--blue);
  background: var(--paper);
}

.button--small {
  min-height: 38px;
  padding: 10px 18px;
  font-weight: 400;
  font-size: 14px;
}

.form {
  display: grid;
  gap: 10px;
}

.quote-card {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px 24px;
  color: var(--paper);
  background: rgba(26, 32, 38, 0.9);
  border-top: 5px solid var(--blue);
  box-shadow: var(--shadow);
  text-align: center;
}

.quote-card h2 {
  margin: 0 0 4px;
  font-size: 27px;
  font-weight: 900;
  text-align: center;
  grid-column: 1 / -1;
}

.quote-card label {
  text-align: left;
}

.quote-card .button,
.quote-card .form__status {
  justify-self: center;
  grid-column: 1 / -1;
}

.quote-card .button {
  min-height: 40px;
  padding-block: 10px;
}

.form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 1px;
}

.form input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  padding: 7px 11px;
  color: var(--ink);
  background: #fafafa;
  font: 400 15px "Lato Local", Arial, sans-serif;
}

.form__status {
  min-height: 16px;
  margin: 0;
  font-size: 13px;
}

.form__status.is-error {
  color: #ffd5de;
}

.form__status.is-ok {
  color: #d9ffe7;
}

.feature-strip {
  padding: 36px 0 0;
  background: var(--paper);
}

.hero-features {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.hero-features article {
  min-height: 152px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-features article:last-child {
  border-right: 0;
}

.hero-features img {
  width: 70px;
  height: 59px;
  object-fit: contain;
}

.hero-features h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.section {
  padding: 82px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.1;
  font-weight: 900;
}

.section-copy p {
  max-width: 560px;
  color: #3f4852;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 900;
}

.split__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

.section-heading--left {
  text-align: left;
}

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

.product-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.product-card h3 {
  margin: 0;
  min-height: 70px;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  min-height: 110px;
  color: #4f5964;
}

.product-card--wide {
  grid-column: span 2;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 20px;
}

.product-card--wide p,
.product-card--wide h3 {
  min-height: 0;
}

.advantages {
  color: var(--paper);
  background: var(--ink);
}

.advantages .eyebrow,
.advantages .section-heading h2 {
  color: var(--paper);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.advantage-grid article {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 16px;
}

.advantage-grid img {
  width: 96px;
  height: 100px;
  object-fit: contain;
}

.advantage-grid h3 {
  margin: 0;
  color: var(--paper);
  font-size: 22px;
  line-height: 1.25;
}

.advantage-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.gallery-grid a {
  overflow: hidden;
  background: #191919;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.08);
}

.testimonials {
  position: relative;
  color: var(--paper);
  background: var(--ink) url("../images/06_runshare_6.jpg") center / cover fixed;
  margin-bottom: 72px;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.testimonials__inner {
  position: relative;
  z-index: 1;
}

.testimonials .eyebrow {
  color: var(--paper);
}

.testimonial-slider {
  max-width: 820px;
  min-height: 260px;
  margin: 0 auto;
  text-align: center;
}

.testimonial {
  display: none;
}

.testimonial.is-active {
  display: block;
}

.testimonial p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.85;
}

.testimonial h3 {
  margin: 0;
  font-size: 18px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dots button.is-active {
  background: var(--blue);
}

.cta {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  color: var(--paper);
  text-align: center;
}

.cta__image,
.cta__shade {
  position: absolute;
  inset: 0;
}

.cta__image {
  background: url("../images/07_runshare_7.jpg") center / cover;
}

.cta__shade {
  background: rgba(0, 0, 0, 0.61);
}

.cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cta p {
  margin: 0;
  font-size: 22px;
}

.site-footer {
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  gap: 60px;
  padding: 62px 0;
  align-items: start;
}

.footer-logo {
  width: 251px;
  margin-bottom: 18px;
}

.footer-grid p {
  color: var(--blue);
  font-weight: 900;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact h2 {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
}

.footer-contact a,
.footer-contact p {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.footer-form .form__status.is-error {
  color: #b00020;
}

.footer-form .form__status.is-ok {
  color: var(--green);
}

.copyright {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.88);
  background: #161b20;
  border-top: 1px solid #111417;
  font-family: "Poppins Local", Arial, sans-serif;
}

.floating-whatsapp {
  position: fixed;
  right: 30px;
  bottom: 34px;
  z-index: 19;
  width: 92px;
  height: 92px;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(4px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font: 900 18px Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 960px) {
  .topbar__inner {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .topbar__item:nth-child(4) {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-height: 52px;
    justify-content: start;
    padding: 0 calc((100vw - min(760px, calc(100vw - 40px))) / 2);
  }

  .hero {
    padding-top: 130px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 0 120px;
  }

  .quote-card {
    max-width: 420px;
  }

  .hero-features,
  .split,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-features article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

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

  .product-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 118px;
  }

  .container {
    width: min(100% - 32px, 560px);
  }

  .topbar__inner {
    font-size: 12px;
  }

  .topbar__item:nth-child(3) {
    display: none;
  }

  .topbar__item--whatsapp {
    font-size: 15px;
  }

  .brand {
    width: 190px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    min-height: 760px;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero__copy p {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .product-grid,
  .gallery-grid,
  .product-card--wide {
    grid-template-columns: 1fr;
  }

  .product-card--wide {
    grid-column: span 1;
  }

  .product-card h3,
  .product-card p {
    min-height: 0;
  }

  .testimonials {
    background-attachment: scroll;
  }

  .testimonial-slider {
    min-height: 430px;
  }

  .cta {
    min-height: 360px;
  }

  .floating-whatsapp {
    display: none;
  }
}
