﻿/*!
 * Project: AS ÄŒIÄŒA Auto Servis
 * Owner: AS ÄŒIÄŒA
 * Author: Dragan VujiÄiÄ‡
 * Design and implementation: Dizajn VujiÄiÄ‡
 * Copyright (c) 2026 AS ÄŒIÄŒA Auto Servis. All rights reserved.
 *
 * This file is part of the official AS ÄŒIÄŒA website codebase.
 */

:root {
  --red: #d92d12;
  --red-dark: #b8240d;
  --ink: #151515;
  --muted: #666b72;
  --line: #e7e7e7;
  --soft: #f6f6f4;
  --white: #ffffff;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

body.home-page {
  overflow: hidden;
}

body.home-page main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

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

.site-header,
.hero,
.section,
.site-footer {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav-row {
  position: relative;
  min-height: 92px;
  width: 100%;
}

.brand {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background:
    radial-gradient(circle at 25% 50%, rgba(0, 114, 206, 0.5), transparent 40%),
    radial-gradient(circle at 75% 50%, rgba(227, 6, 19, 0.4), transparent 45%),
    linear-gradient(135deg, #001a3d 0%, #003c8f 40%, #3b1c5a 70%, #8b0000 100%);
  overflow: hidden;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 0;
}

.brand::after {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  width: 350px;
  height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 114, 206, 0.25), rgba(227, 6, 19, 0.25), transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.brand img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 84px;
  max-width: none;
  object-fit: contain;
  transform: translateY(2px);
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 30px 50px rgba(0, 0, 0, 0.4));
  transition: 0.3s ease;
}

.brand:hover img {
  transform: translateY(0) scale(1.025);
  filter:
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55)) drop-shadow(0 24px 36px rgba(0, 0, 0, 0.44));
}

.nav-row__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding-left: 230px;
  min-width: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
  min-width: 0;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.header-help {
  display: grid;
  gap: 1px;
  font-weight: 700;
}

.header-help span {
  font-size: 13px;
}

.header-help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.header-help a::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--red);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.32 1.8.59 2.65a2 2 0 0 1-.45 2.11L8.09 9.64a16 16 0 0 0 6.27 6.27l1.16-1.16a2 2 0 0 1 2.11-.45c.85.27 1.74.47 2.65.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 9px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn--primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-dark);
}

.nav-service-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 10px;
  margin-left: 40px;
  padding: 19px 27px;
  border: 1px solid rgb(235, 51, 0);
  border-radius: 5px;
  color: rgb(23, 23, 23);
  font-size: 17px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: 0.6px;
  text-transform: capitalize;
  background: transparent;
  transition: 0.62s ease-out;
}

.nav-service-button:hover {
  background: #ff3b00;
  color: #fff;
  border-color: #ff3b00;
  transform: translateY(-2px);
  box-shadow: none;
}

.nav-row__inner>.nav-service-button:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.16);
}

.btn--service-stripes {
  position: relative;
  overflow: hidden;
}

.btn--service-stripes::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: url("../img/main-button-slider/stripes.webp") left center / auto 100% no-repeat;
  opacity: 0.16;
  transform: translateX(-115%);
  animation: serviceStripeSlide 6.2s linear infinite;
  pointer-events: none;
}

.btn--service-stripes span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
}

.btn--service-stripes span::after {
  display: none;
}

@keyframes serviceStripeSlide {
  0% {
    transform: translateX(-115%);
  }

  100% {
    transform: translateX(115%);
  }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 22px;
}

.nav-phone {
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 600px;
}

.hero--home {
  min-height: 600px;
  background-image: url("../img/main-slider/slider-1.webp");
  background-position: center;
  background-size: cover;
}

.home-page .hero--home,
.home-page .hero__grid {
  min-height: 0;
}

.home-page .hero--home {
  flex: 1 1 auto;
  height: auto;
}

.home-page .hero__grid {
  flex: 1 1 auto;
  height: 100%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.82) 100%),
    rgba(241, 48, 11, 0.1);
}

.hero__grid {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  align-items: center;
  gap: 22px;
  padding: 32px 0 24px;
}

.hero__content {
  position: relative;
  z-index: 3;
  min-width: 0;
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(29px, 3.1vw, 34px);
  font-weight: 800;
}

h2 {
  margin-bottom: 12px;
  font-size: 25px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

p {
  color: var(--muted);
}

.hero__content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-person,
.hero-man {
  position: absolute;
  right: 8%;
  bottom: 0;
  top: auto !important;
  transform: translateY(340px);
  z-index: 3;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

.hero-person img,
.hero-man img {
  position: relative;
  z-index: 3;
  display: block;
  height: auto;
  max-height: 520px;
  width: auto;
  object-fit: contain;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

.section {
  padding: 28px 0;
}

.contact-section {
  padding-top: 24px;
  padding-bottom: 18px;
}

.section--light {
  background: var(--soft);
}

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

.service-strip article,
.card,
.contact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.home-page .section {
  padding: 24px 0;
}

.home-page .service-strip article {
  min-height: 140px;
}

.card {
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.service-strip span {
  color: var(--red);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.info-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-left: 3px solid var(--red);
  background: var(--white);
}

.info-grid strong {
  font-size: 14px;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.72)),
    url("../img/main-slider/slider-1.webp") center / cover;
}

.page-hero .shell {
  padding: 32px 0 24px;
}

.page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
}

.about-story {
  max-width: 920px;
}

.about-story p + p {
  margin-top: 12px;
}

.card ul,
.content-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
}

.card strong {
  display: block;
  margin-bottom: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr 0.8fr;
  align-items: end;
  gap: 22px;
}

.contact-info {
  align-self: start;
  height: auto;
  min-height: unset;
  padding: 22px 24px;
}

.contact-info,
.contact-form {
  padding-top: 20px;
  padding-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 37, 21, 0.08);
  color: #e12515;
  font-size: 14px;
  line-height: 1;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 800;
}

.contact-item p {
  margin: 0;
  font-size: 14px;
  line-height: 0.9;
}

.form-grid {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 400;
  font-size: 14px;
}

.form-alert {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-alert--success {
  border: 1px solid rgba(28, 125, 72, 0.28);
  color: #155d36;
  background: #effaf3;
}

.form-alert--error {
  border: 1px solid rgba(217, 45, 18, 0.26);
  color: #99220e;
  background: #fff1ee;
}

.field-error {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid input,
.form-grid select {
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 400;
}

.form-grid textarea {
  min-height: 100px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 400;
}

.form-grid label:last-of-type {
  grid-column: 1 / -1;
}

.form-grid button {
  grid-column: 1 / -1;
  margin-top: 2px;
  height: 42px;
  font-size: 14px;
  font-weight: 700;
}

.kontakt-cta {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  height: 100%;
  overflow: visible;
}

.kontakt-cta img {
  max-width: 624px;
  width: 122%;
  height: auto;
  flex-shrink: 0;
  display: block;
  position: relative;
  top: 22px;
  left: 200px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #171717;
  color: var(--white);
}

.footer__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.legal-content .card {
  padding: 18px 20px;
}

.legal-content h2 {
  font-size: 20px;
}

@media (max-width: 1600px) {
  body.home-page {
    overflow: auto;
  }

  .hero,
  .hero--home {
    min-height: clamp(420px, 34vw, 520px);
  }

  .hero__grid {
    min-height: clamp(420px, 34vw, 520px);
    grid-template-columns: minmax(320px, 520px) 1fr;
  }

  .hero-person,
  .hero-man {
    right: clamp(28px, 7vw, 110px);
    transform: translateY(clamp(170px, 14vw, 240px));
  }

  .hero-person img,
  .hero-man img {
    max-height: clamp(390px, 31vw, 500px);
    transform: none;
  }

  .home-page .section {
    padding: 20px 0;
  }

  .home-page .service-strip article {
    min-height: 132px;
    padding: 16px;
  }

  .service-strip h2 {
    margin-bottom: 10px;
    font-size: 23px;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .nav-row__inner {
    gap: 18px;
    padding-left: 224px;
  }

  .main-nav {
    gap: 18px;
  }

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

  .header-help a {
    font-size: 15px;
  }

  .nav-service-button {
    margin-left: 12px;
    padding: 15px 20px;
    font-size: 16px;
  }
}

@media (max-width: 1180px) {
  body.home-page {
    overflow: auto;
  }

  body.home-page main {
    flex: 1 0 auto;
  }

  .nav-row {
    display: flex;
    width: 100%;
    min-height: 82px;
    overflow: visible;
  }

  .brand {
    position: relative;
    left: auto;
    top: auto;
    width: 190px;
    height: 82px;
    flex: 0 0 190px;
    align-self: stretch;
    padding: 10px;
  }

  .brand img {
    width: auto;
    height: 74px;
    transform: translateY(2px);
  }

  .brand:hover img {
    transform: translateY(0) scale(1.02);
  }

  .nav-row__inner {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 14px;
    min-height: 82px;
    margin: 0;
    padding: 0 18px;
  }

  .header-help,
  .nav-service-button {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 42px;
    cursor: pointer;
  }

  .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: absolute;
    right: 78px;
    top: 50%;
    z-index: 90;
    font-size: 15px;
    line-height: 1;
    transform: translateY(-50%);
  }

  .nav-phone::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: var(--red);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.32 1.8.59 2.65a2 2 0 0 1-.45 2.11L8.09 9.64a16 16 0 0 0 6.27 6.27l1.16-1.16a2 2 0 0 1 2.11-.45c.85.27 1.74.47 2.65.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 80;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
  }

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

  .main-nav a {
    padding: 10px 6px;
    text-align: center;
  }
}

@media (min-width: 1181px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 1100px) {
  .brand {
    position: relative;
    left: auto;
    top: auto;
    width: 220px;
    height: 92px;
    flex: 0 0 220px;
    align-self: stretch;
    padding: 8px;
  }

  .brand img {
    width: auto;
    height: 84px;
    transform: translateY(2px);
  }

  .brand:hover img {
    transform: translateY(0) scale(1.025);
  }

  .nav-row {
    display: flex;
    width: 100%;
    overflow: hidden;
  }

  .nav-row__inner {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    min-height: 92px;
    padding: 0 18px;
    gap: 14px;
  }

  .main-nav {
    min-width: 0;
    flex: 1 1 auto;
    gap: 14px;
    margin-right: 0;
  }

  .main-nav a {
    font-size: 13px;
    white-space: nowrap;
  }

  .header-help {
    display: grid;
    flex: 0 0 auto;
    gap: 0;
  }

  .header-help span {
    font-size: 11px;
  }

  .header-help a {
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
  }

  .header-help a::before {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .nav-service-button {
    min-height: 42px;
    margin-left: 0;
    padding: 11px 16px;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 16px;
  }

  .hero__content {
    max-width: 610px;
  }

  .hero__content h1 {
    max-width: 590px;
    font-size: 32px;
  }

  .hero__content p {
    max-width: 560px;
    font-size: 15px;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .hero-man {
    right: 4%;
    opacity: 1 !important;
  }

  .home-page .service-strip article {
    min-height: 120px;
    padding: 16px;
  }

  .service-strip h2 {
    font-size: 22px;
  }

  .service-strip p {
    font-size: 14px;
  }

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

  .kontakt-cta {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 10px;
  }

  .kontakt-cta img {
    max-width: 300px;
    top: 0;
    left: 0;
  }
}

@media (max-width: 1024px) {
  .hero-person,
  .hero-man {
    opacity: 1 !important;
  }

  .kontakt-cta img {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    right: 60px;
    top: 50%;
    z-index: 999;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-50%);
  }

  .nav-service-button {
    display: none;
  }

  .nav-phone::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: var(--red);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.32 1.8.59 2.65a2 2 0 0 1-.45 2.11L8.09 9.64a16 16 0 0 0 6.27 6.27l1.16-1.16a2 2 0 0 1 2.11-.45c.85.27 1.74.47 2.65.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

@media (min-width: 1181px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-person,
  .hero-man {
    display: none;
  }
}

@media (max-width: 991px) {
  body.home-page {
    overflow: auto;
  }

  body.home-page main {
    flex: 1 0 auto;
  }

  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .nav-row {
    min-height: 72px;
    overflow: visible;
  }

  .brand {
    width: 150px;
    height: 72px;
    flex-basis: 150px;
    padding: 12px;
  }

  .brand img {
    width: auto;
    height: 60px;
    transform: translateY(2px);
  }

  .nav-toggle {
    position: relative;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-row__inner {
    justify-content: flex-end;
    gap: 12px;
    min-height: 72px;
    padding: 0 14px;
  }

  .header-help {
    display: none;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 80;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
  }

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

  .main-nav a {
    padding: 9px 4px;
  }

  .hero--home,
  .hero__grid {
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding: 32px 0 28px;
  }

  .service-strip,
  .cards-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-info {
    padding: 22px;
  }

  .contact-item {
    margin-bottom: 18px;
  }

  .kontakt-cta img {
    max-width: 220px;
  }

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

  .page-hero .shell {
    padding: 40px 20px;
  }

  .page-hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }
}

@media (max-width: 425px) {
  .page-hero .shell {
    padding: 30px 15px;
  }

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

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    width: 100%;
  }

  .contact-form button {
    width: 100%;
    padding: 14px;
  }
}

@media (max-width: 320px) {
  .page-hero h1 {
    font-size: 22px;
  }

  .page-hero p {
    font-size: 14px;
  }

  .nav-phone {
    right: 58px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: auto;
    font-size: 12px;
  }
}

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

  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 22px;
  }

  .nav-phone {
    right: 64px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    text-align: center;
    font-size: 14px;
    line-height: 1;
  }

  .service-strip,
  .cards-grid,
  .info-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  .nav-row {
    display: flex;
    width: 100%;
    min-height: 82px;
    overflow: visible;
  }

  .brand {
    position: relative;
    left: auto;
    top: auto;
    width: 190px;
    height: 82px;
    flex: 0 0 190px;
    align-self: stretch;
    padding: 10px;
  }

  .brand img {
    width: auto;
    height: 74px;
    transform: translateY(2px);
  }

  .brand:hover img {
    transform: translateY(0) scale(1.02);
  }

  .nav-row__inner {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 14px;
    min-height: 82px;
    margin: 0;
    padding: 0 18px;
  }

  .header-help,
  .nav-service-button {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 42px;
    cursor: pointer;
  }

  .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: absolute;
    right: 78px;
    top: 50%;
    z-index: 90;
    font-size: 15px;
    line-height: 1;
    transform: translateY(-50%);
  }

  .nav-phone::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: var(--red);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.32 1.8.59 2.65a2 2 0 0 1-.45 2.11L8.09 9.64a16 16 0 0 0 6.27 6.27l1.16-1.16a2 2 0 0 1 2.11-.45c.85.27 1.74.47 2.65.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 80;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
  }

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

  .main-nav a {
    padding: 10px 6px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .brand {
    width: 132px;
    flex-basis: 132px;
    padding: 10px;
  }

  .brand img {
    width: auto;
    height: 54px;
    transform: translateY(2px);
  }

  .nav-row__inner {
    padding: 0 10px;
  }

  .nav-phone {
    right: 56px;
    gap: 5px;
    font-size: 12px;
  }

  .nav-phone::before {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .nav-toggle {
    width: 40px;
    height: 38px;
    flex-basis: 40px;
  }
}

