:root {
  --navy: #030f1b;
  --navy-2: #071a2a;
  --blue: #0878df;
  --blue-light: #2f91ed;
  --orange: #ff6100;
  --white: #f7f8fa;
  --muted: #c7ced6;
  --line: #536171;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
}

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

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

p {
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

.site-header {
  min-height: 104px;
  padding: 22px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(110deg, #020b14, #040d17);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  z-index: 10;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  /* JAVITAS (ugyfel kerese: "a logo tul kicsi, lehetne 40%-al nagyobb"):
     40px -> 56px (pontosan 40% novekmeny). A logo.png alapfajl 400x150px
     felbontasu, tehat bőven van tartalek meg 56px magassagnal is retina
     kijelzokon. */
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 4.2vw, 70px);
}

.main-nav a {
  position: relative;
  padding: 15px 0;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  /* JAVITAS: a fejlec HATTERE MINDIG sotet (lasd .site-header fent),
     FUGGETLENUL attol, hogy az adott oldal (pl. .tips-page) vilagos
     temat hasznal-e a tartalomhoz -- a "color: inherit" korabban a
     .tips-page altal beallitott #111 (kozel fekete) szinnel oroklodott
     ide is, ami kozel-fekete szoveget adott a kozel-fekete fejlecen,
     GYAKORLATILAG LATHATATLANNA teve a menüt. Explicit, a body-tema
     valtozataitol FUGGETLEN vilagos szin biztositja, hogy a menu
     MINDIG lathato maradjon, barmelyik aloldalon. */
  color: var(--white);
}

.main-nav a.active {
  color: var(--blue-light);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 3px;
  background: var(--orange);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero,
.page-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
}

.home-hero {
  height: 365px;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 14, 26, .93) 0%, rgba(2, 14, 26, .58) 38%, rgba(2, 14, 26, .04) 70%);
}

.hero-content {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: .1px;
}

.orange-rule {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange) 68%, transparent);
}

.content-shell {
  width: min(1400px, 92%);
  margin-inline: auto;
}

.home-about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  padding-top: 25px;
  padding-bottom: 30px;
}

.section-title {
  margin-bottom: 17px;
  font-size: 28px;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gear-mark {
  color: var(--blue);
  font-size: 45px;
  line-height: 1;
}

.about-copy p {
  font-size: 16px;
  line-height: 1.48;
  text-align: justify;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}

.feature-card {
  min-height: 180px;
  padding: 20px 12px 14px;
  text-align: center;
  border: 1px solid #657080;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  color: var(--blue-light);
  font-size: 64px;
  line-height: .9;
  font-family: Arial, sans-serif;
}

.feature-card h3 {
  margin: 15px 0 0;
  font-size: 20px;
}

.feature-card h3::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--orange);
}

.compact-hero {
  height: 245px;
}

.page-hero-title {
  position: absolute;
  left: 5.5%;
  top: 50%;
  transform: translateY(-50%);
}

.page-hero-title h1 {
  margin-bottom: 12px;
  font-size: 46px;
}

.services-section {
  padding: 22px 3.7% 25px;
  background: radial-gradient(circle at 55% 90%, #082537, #051522 60%, #04111c);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-column {
  min-width: 0;
  padding: 0 17px;
  border-right: 1px solid #586575;
}

.service-column:last-child {
  border-right: 0;
}

.service-heading {
  min-height: 65px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 6px;
}

.service-heading h2 {
  margin: 5px 0 0;
  font-size: 18px;
}

.round-icon,
.tip-icon {
  flex: 0 0 auto;
  width: 61px;
  height: 61px;
  border: 2px solid #008cff;
  border-radius: 50%;
  color: #168dff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 0 8px 17px;
  color: #cbd0d5;
  font-size: 14px;
  line-height: 1.45;
}

.price-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--orange);
  font-size: 24px;
  font-weight: bold;
}

.price-list strong {
  color: white;
}

.price-list b {
  max-width: 112px;
  color: var(--orange);
  font-size: 13px;
  text-align: right;
  align-self: start;
}

.price-list small {
  font-size: 10px;
}

.price-note {
  margin: 16px auto 0;
  padding: 14px 22px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.price-note p {
  margin: 0;
  color: #d4d8dc;
  font-size: 14px;
}

.info-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border: 3px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font: bold 28px Georgia, serif;
}

.about-wide-image {
  height: 360px;
}

.about-page {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 55px;
  padding-top: 34px;
  padding-bottom: 38px;
}

.about-story h1 {
  margin-bottom: 7px;
  color: #0874d2;
  font-size: 44px;
}

.about-story .orange-rule {
  width: 85px;
  margin-bottom: 20px;
}

.about-story p {
  margin-bottom: 23px;
  font-size: 18px;
  line-height: 1.75;
}

.mechanic-photo {
  margin: 0;
  padding: 10px;
  border: 2px solid #0877cb;
  border-radius: 4px;
  clip-path: polygon(3% 0, 97% 0, 100% 3%, 100% 97%, 97% 100%, 3% 100%, 0 97%, 0 3%);
}

.mechanic-photo img {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.tips-page {
  color: #111;
  background: #fff;
}

.tips-hero {
  height: 248px;
}

.tips-hero .page-hero-title {
  left: 8.5%;
}

.tips-hero .page-hero-title h1 {
  color: white;
}

.tips-list {
  width: min(1280px, 84%);
  margin-inline: auto;
  padding: 12px 0 18px;
}

.tip-row {
  display: grid;
  grid-template-columns: 90px 75px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 101px;
  border-bottom: 1px solid #c8c8c8;
}

.tip-row:last-child {
  border-bottom: 0;
}

.tip-icon {
  width: 83px;
  height: 83px;
  color: white;
  border: 0;
  background: linear-gradient(140deg, #0572d3, #0050ad);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, .12);
  font-size: 39px;
}

.tip-number {
  color: #075cb7;
  font-size: 42px;
  font-weight: 800;
}

.tip-row h2 {
  margin: 0 0 2px;
  font-size: 20px;
}

.tip-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.contact-hero {
  height: 435px;
}

.contact-shade {
  background: linear-gradient(90deg, rgba(1, 13, 23, .1), rgba(1, 13, 23, .08) 48%, rgba(1, 13, 23, .6));
}

.contact-title {
  position: absolute;
  left: 57%;
  right: 6%;
  top: 56%;
}

.contact-title h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: 3px;
}

.glow-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, transparent, var(--orange) 25%, #fff 52%, var(--orange) 70%, transparent);
  box-shadow: 0 0 12px var(--orange);
}

.glow-rule.short {
  width: 360px;
  max-width: 100%;
  margin-top: 32px;
  background: linear-gradient(90deg, var(--orange), #fff 45%, var(--orange) 67%, transparent);
}

.contact-section {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 75px;
  padding-top: 38px;
  padding-bottom: 50px;
}

.contact-intro {
  padding-top: 65px;
}

.contact-intro h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.contact-intro p {
  font-size: 23px;
}

.contact-line {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  min-height: 64px;
}

.contact-line.separated {
  padding: 16px 0;
  border-top: 1px solid #4c5d6d;
}

.contact-line p {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.contact-icon {
  color: var(--blue-light);
  font-size: 34px;
  line-height: 1;
}

.site-footer {
  min-height: 58px;
  padding: 15px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: #aeb8c2;
  background: #020a12;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.calmyx-credit {
  display: inline-flex;
  align-items: center;
  color: #c4cbd2;
  white-space: nowrap;
}

.light-footer {
  color: #c7ced5;
}

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 3%;
  }

  .main-nav {
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .service-column:nth-child(2) {
    border-right: 0;
  }

  .home-about,
  .about-page {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    max-width: 780px;
    margin-inline: auto;
  }

  .about-story p {
    font-size: 17px;
  }

  .tips-list {
    width: 92%;
  }

  .contact-section {
    gap: 35px;
  }

  .contact-line p {
    font-size: 18px;
  }
}

@media (max-width: 800px) {
  .site-header {
    min-height: auto;
    flex-direction: column;
    gap: 10px;
    padding: 16px 4% 10px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 24px;
    padding-bottom: 3px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .home-hero {
    height: 390px;
  }

  .hero-content h1 {
    font-size: 31px;
  }

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

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

  .service-column,
  .service-column:nth-child(2) {
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid #536171;
    padding-bottom: 25px;
  }

  .price-list li {
    font-size: 15px;
  }

  .about-wide-image {
    height: 250px;
  }

  .about-page {
    gap: 25px;
  }

  .tip-row {
    grid-template-columns: 65px 55px 1fr;
  }

  .tip-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .tip-number {
    font-size: 31px;
  }

  .contact-hero {
    height: 340px;
  }

  .contact-title {
    left: 7%;
    right: 7%;
    top: 62%;
  }

  .contact-title h1 {
    font-size: 39px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-logo {
    height: 40px;
  }

  .home-hero {
    height: 430px;
  }

  .home-hero .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background: rgba(2, 14, 26, .66);
  }

  .hero-content {
    left: 5%;
    right: 5%;
  }

  .hero-content h1 {
    font-size: 29px;
  }

  .home-about {
    width: 90%;
  }

  .about-copy p {
    text-align: left;
  }

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

  .feature-card {
    min-height: 155px;
  }

  .compact-hero,
  .tips-hero {
    height: 210px;
  }

  .page-hero-title {
    left: 6%;
  }

  .page-hero-title h1 {
    font-size: 34px;
  }

  .services-section {
    padding-inline: 5%;
  }

  .price-list li {
    grid-template-columns: 1fr;
  }

  .price-list b {
    max-width: none;
    text-align: left;
  }

  .price-note {
    align-items: flex-start;
    padding: 14px;
  }

  .about-story h1 {
    font-size: 36px;
  }

  .about-story p {
    font-size: 16px;
    line-height: 1.65;
  }

  .tips-list {
    width: 92%;
  }

  .tip-row {
    grid-template-columns: 55px 1fr;
    gap: 8px 12px;
    padding: 14px 0;
  }

  .tip-icon {
    width: 52px;
    height: 52px;
  }

  .tip-number {
    font-size: 30px;
  }

  .tip-row div {
    grid-column: 1 / -1;
  }

  .tip-row h2 {
    font-size: 19px;
  }

  .tip-row p {
    font-size: 15px;
  }

  .contact-hero .hero-image {
    object-position: 34% center;
  }

  .contact-title h1 {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .contact-intro h2 {
    font-size: 24px;
  }

  .contact-intro p {
    font-size: 18px;
  }

  .contact-line {
    grid-template-columns: 42px 1fr;
  }

  .contact-line p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .contact-icon {
    font-size: 27px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}