/* =======================
   VARIABLES
======================= */

:root {
  --color-bg: #fbfaf8;
  --color-light: #ffffff;
  --color-dark: #111111;
  --color-text: #333333;
  --color-muted: #666666;
  --color-border: rgba(19, 37, 72, 0.10);

  --color-accent: #DBBE2C;
  --color-blue: #132548;

  --shadow-soft: 0 10px 34px rgba(19, 37, 72, 0.06);
  --shadow-medium: 0 22px 70px rgba(19, 37, 72, 0.10);

  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --nav-height: 5rem;
  --container: 1500px;
}


/* =======================
   RESET / GLOBAL
======================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: var(--color-dark);
  background: var(--color-bg);
}

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

a {
  color: inherit;
}

section {
  scroll-margin-top: var(--nav-height);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}


/* =======================
   HEADER / NAVIGATION
======================= */

.navigator {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;

  height: var(--nav-height);
  padding: 0.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.logo img {
  max-height: 120px;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: var(--color-dark);
  cursor: pointer;
  user-select: none;
}

.navigation ul {
  height: 100%;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation li {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.navigation a {
  height: 100%;
  padding: 0 1.35rem;

  display: flex;
  align-items: center;

  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;

  transition: color 0.3s ease;
}

.navigation a span {
  position: relative;
  display: inline-block;
}

.navigation a span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;

  height: 2px;
  background: var(--color-accent);
  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navigation a:hover span::after {
  transform: scaleX(1);
}


/* =======================
   HOME
======================= */

.home {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  overflow: hidden;

  display: flex;
  align-items: center;

  background: var(--color-bg);
}

.home-bg {
  position: absolute;
  inset: var(--nav-height) 0 0 auto;
  width: 58%;
  height: calc(100% - var(--nav-height));
  z-index: 0;
}

.home-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      90deg,
      #fbfaf8 0%,
      rgba(251, 250, 248, 0.96) 18%,
      rgba(251, 250, 248, 0.70) 38%,
      rgba(251, 250, 248, 0.20) 68%,
      rgba(251, 250, 248, 0.00) 100%
    );
}

.home-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    linear-gradient(
      180deg,
      rgba(251, 250, 248, 0.10) 0%,
      rgba(251, 250, 248, 0.00) 55%,
      #fbfaf8 100%
    );
}

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

.home-content {
  position: relative;
  z-index: 5;

  width: min(720px, 100%);
  padding: clamp(2rem, 7vw, 7rem) clamp(1.25rem, 7vw, 7rem);
}

.home-label {
  position: relative;
  display: inline-flex;
  margin-bottom: 1.25rem;

  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;

  width: 58px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 999px;
}

.home h1 {
  margin: 2rem 0 1.4rem;

  color: var(--color-dark);
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.home p {
  max-width: 610px;
  margin: 0;

  color: var(--color-text);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.8;
  font-weight: 500;
}

.home-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.home-btn {
  min-height: 58px;
  padding: 1rem 1.9rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.home-btn.primary {
  background: var(--color-blue);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(19, 37, 72, 0.25);
}

.home-btn.secondary {
  border: 2px solid rgba(219, 190, 44, 0.45);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.74);
}

.home-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}


/* =======================
   SERVICES
======================= */

.services {
  padding: 30px 20px 105px;
  background: var(--color-bg);
}

.services .container {
  max-width: var(--container);
}

.services-title {
  position: relative;
  margin: 0 0 54px;

  text-align: center;
  color: var(--color-dark);

  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-transform: none;
}

.services-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;

  width: 58px;
  height: 3px;

  background: var(--color-accent);
  border-radius: 999px;
  transform: translateX(-50%);
}

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

.service-card {
  min-height: 340px;
  padding: 34px 30px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 190, 44, 0.16);
  border-radius: 10px;

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(219, 190, 44, 0.34);
  box-shadow: 0 18px 48px rgba(19, 37, 72, 0.09);
}

.service-card img {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
  object-fit: contain;

  filter:
    invert(57%)
    sepia(38%)
    saturate(609%)
    hue-rotate(356deg)
    brightness(89%)
    contrast(87%);
}

.service-card h3 {
  max-width: 310px;
  margin: 0 0 17px;

  color: var(--color-dark);

  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.service-card p {
  max-width: 330px;
  margin: 0;

  color: var(--color-text);

  font-size: 0.96rem;
  line-height: 1.68;
  font-weight: 400;

  display: block;
  overflow: visible;
}


/* =======================
   ABOUT ME
======================= */

.about-me {
  padding: 0 0 50px;
  background: var(--color-bg);
}

.about-me-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 56px;
}

.about-me-container img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.about-me-text {
  max-width: 680px;
}

.about-me-text h2 {
  margin: 0 0 18px;

  color: var(--color-dark);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.about-me-text p {
  margin: 0;

  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}


/* =======================
   FORMULAR
======================= */

.formular {
  padding: 90px 20px 110px;
  background: var(--color-bg);
}

.formular-card {
  max-width: 1450px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.82fr 1.45fr;
  gap: clamp(2rem, 4vw, 4.5rem);

  padding: clamp(2rem, 4vw, 4.5rem);

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.formular-info h2 {
  margin: 0 0 2.3rem;

  color: var(--color-dark);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.formular-info-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: flex-start;

  margin-bottom: 2rem;
}

.formular-icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-accent);
  border: 2px solid rgba(219, 190, 44, 0.50);
  border-radius: 10px;

  font-size: 1.25rem;
  font-weight: 800;
}

.formular-info-text {
  min-width: 0;
}

.formular-info-text h3 {
  margin: 0 0 0.45rem;

  color: var(--color-dark);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 800;
}

.formular-info-text p,
.formular-note {
  margin: 0;

  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
}

.formular-note {
  margin-top: 2.8rem;
  font-size: 0.95rem;
}

.formular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem 1.7rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.35rem;
}

.field label {
  margin-bottom: 0.55rem;

  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.field label span {
  color: #b12828;
}

.formular input,
.formular textarea,
.formular select {
  width: 100%;
  padding: 1rem 1.1rem;

  border: 1px solid rgba(19, 37, 72, 0.14);
  border-radius: var(--radius-sm);
  outline: none;

  background: #ffffff;
  color: var(--color-dark);

  font-family: inherit;
  font-size: 1rem;

  box-shadow: inset 0 1px 2px rgba(19, 37, 72, 0.04);

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.formular select {
  appearance: auto;
}

.formular input:focus,
.formular textarea:focus,
.formular select:focus {
  border-color: rgba(219, 190, 44, 0.85);
  box-shadow: 0 0 0 4px rgba(219, 190, 44, 0.14);
}

.formular textarea {
  min-height: 145px;
  resize: vertical;
}

.file-upload {
  min-height: 72px;
  padding: 1rem 1.2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  border: 1.5px dashed rgba(19, 37, 72, 0.20);
  border-radius: var(--radius-sm);
  background: #ffffff;

  color: var(--color-text);
  text-align: center;
  font-weight: 700;
}

.file-upload input {
  display: none;
}

.file-upload span {
  font-size: 0.98rem;
}

.file-upload small {
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.8rem;
  align-items: flex-start;

  margin: 0.5rem 0 1.3rem;

  color: var(--color-text);
  font-size: 0.93rem;
  line-height: 1.55;
  font-weight: 600;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  padding: 0;
}

.formular button {
  width: 100%;
  min-height: 58px;
  padding: 1rem 1.4rem;

  border: none;
  border-radius: var(--radius-sm);

  background: var(--color-blue);
  color: #ffffff;

  font-size: 1.08rem;
  font-weight: 800;
  cursor: pointer;

  box-shadow: 0 16px 35px rgba(19, 37, 72, 0.22);

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.formular button:hover {
  background: #0f1d39;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(19, 37, 72, 0.28);
}

.gdpr {
  margin: 1rem 0 0;

  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.gdpr a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#formMessage {
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.6;
}


/* =======================
   FOOTER / KONTAKT
======================= */

.footer {
  width: 100%;
  padding: 20px 20px 26px;
  background: var(--color-bg);
  border-top: 1px solid rgba(19, 37, 72, 0.08);
}

.footer-container {
  max-width: 1650px;
  margin: 0 auto;
}

.footer-title {
  margin: 0;

  text-align: center;
  color: var(--color-dark);

  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.footer-contact-grid {
  margin-top: -8px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;

  align-items: center;
}

.footer-contact-item {
  min-height: 92px;

  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
}

.footer-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-accent);
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 500;
}

.footer-contact-item h3 {
  margin: 0 0 7px;

  color: var(--color-dark);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.footer-contact-item p {
  margin: 0;

  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.5;
  font-weight: 600;
}

.footer-contact-item a {
  color: var(--color-text);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;

  border-top: 1px solid rgba(19, 37, 72, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;

  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-bottom strong {
  color: var(--color-dark);
}


/* =========================
   PRICE LIST
========================= */

.price-list-hero .home-content {
  max-width: 760px;
}

.price-list-section {
  padding: 90px 20px;
  background: rgba(251, 250, 248, 0.94);
}

.price-list-section .container {
  max-width: 1180px;
  margin: 0 auto;
}

.price-list-card {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  padding: 56px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.price-list-card h2 {
  margin: 0 0 24px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 600;
}

.price-list-card h2:not(:first-child) {
  margin-top: 52px;
}

.price-list-card p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.8;
}

.price-list-card p:last-child {
  margin-bottom: 0;
}

.price-list-card strong {
  font-weight: 700;
  white-space: nowrap;
}

.price-list-card a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.price-list-card a:hover {
  opacity: 0.75;
}


/* =========================
   GDPR PAGE
========================= */

.gdpr-page {
  padding: 130px 20px 95px;
  background: rgba(251, 250, 248, 0.94);
}

.gdpr-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.gdpr-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 190, 44, 0.18);
  border-radius: 14px;
  padding: 58px 62px;
  box-shadow: var(--shadow-soft);
}

.gdpr-label {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--color-accent);
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gdpr-card h1 {
  margin: 0 0 22px;

  color: var(--color-dark);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.gdpr-intro {
  max-width: 760px;
  margin: 0 0 46px;

  color: var(--color-text);
  font-size: 1.08rem;
  line-height: 1.75;
  font-weight: 600;
}

.gdpr-card h2 {
  margin: 42px 0 16px;

  color: var(--color-dark);
  font-size: clamp(1.32rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.gdpr-card h2:first-of-type {
  margin-top: 0;
}

.gdpr-card p {
  margin: 0 0 18px;

  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.78;
  font-weight: 600;
}

.gdpr-card strong {
  color: var(--color-dark);
  font-weight: 800;
}

.gdpr-card a {
  color: var(--color-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.gdpr-card a:hover {
  color: var(--color-accent);
}

.gdpr-card ul {
  margin: 8px 0 28px;
  padding-left: 0;
  list-style: none;
}

.gdpr-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;

  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
}

.gdpr-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;

  width: 7px;
  height: 7px;

  background: var(--color-accent);
  border-radius: 50%;
}

.gdpr-back {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(19, 37, 72, 0.1);
}

.gdpr-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--color-dark);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.gdpr-back a:hover {
  color: var(--color-accent);
}


/* =======================
   TABLET
======================= */

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 270px;
  }

  .footer {
    padding-top: 45px;
  }

  .footer-contact-grid {
    margin-top: 35px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .navigator {
    padding: 0.5rem 2rem;
  }

  .hamburger {
    display: block;
  }

  .navigation {
    position: absolute;
    top: var(--nav-height);
    left: 0;

    width: 100%;
    display: none;

    background: var(--color-bg);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.08);
  }

  .navigation.active {
    display: block;
  }

  .navigation ul {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .navigation li {
    height: 60px;
    border-bottom: 1px solid rgba(19, 37, 72, 0.10);
  }

  .navigation a {
    width: 100%;
    justify-content: center;
  }

  .home {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
  }

  .home-content {
    order: 1;
    margin: 0 auto;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
    text-align: center;
  }

  .home-label::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .home p {
    margin: 0 auto;
  }

  .home-actions {
    justify-content: center;
  }

  .home-bg {
    position: relative;
    order: 2;
    inset: auto;

    width: 100%;
    height: 380px;
  }

  .home-bg::before {
    background:
      linear-gradient(
        180deg,
        #fbfaf8 0%,
        rgba(251, 250, 248, 0.60) 22%,
        rgba(251, 250, 248, 0.00) 55%
      );
  }

  .home-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(251, 250, 248, 0.00) 55%,
        #fbfaf8 100%
      );
  }

  .about-me-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .about-me-container img {
    margin: 0 auto;
  }

  .about-me-text {
    margin: 0 auto;
  }

  .formular-card {
    grid-template-columns: 1fr;
  }

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


/* =======================
   MOBILE
======================= */

@media (max-width: 768px) {
  .price-list-section {
    padding: 64px 16px;
  }

  .price-list-card {
    padding: 34px 24px;
    border-radius: 16px;
  }

  .price-list-card h2 {
    font-size: 27px;
  }

  .price-list-card h2:not(:first-child) {
    margin-top: 40px;
  }

  .price-list-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .gdpr-page {
    padding: 105px 16px 70px;
  }

  .gdpr-card {
    padding: 38px 26px;
    border-radius: 12px;
  }

  .gdpr-intro {
    margin-bottom: 36px;
    font-size: 1rem;
  }

  .gdpr-card h2 {
    margin-top: 34px;
  }

  .gdpr-back {
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 4.6rem;
  }

  .container {
    padding: 0 14px;
  }

  .navigator {
    padding: 0.75rem 1rem;
  }

  .logo img {
    max-height: 65px;
  }

  .hamburger {
    font-size: 1.8rem;
  }

  .navigation a {
    font-size: 0.88rem;
  }

  .home-content {
    padding: 3.6rem 1.25rem 2.2rem;
  }

  .home-label {
    font-size: 0.72rem;
  }

  .home h1 {
    margin-top: 1.8rem;
    font-size: clamp(2.15rem, 11vw, 3.25rem);
    line-height: 1.08;
  }

  .home p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .home-actions {
    margin-top: 1.8rem;
    flex-direction: column;
    gap: 0.85rem;
  }

  .home-btn {
    width: 100%;
    min-height: 54px;
    padding: 0.95rem 1.2rem;
    font-size: 0.96rem;
  }

  .home-bg {
    height: 310px;
  }

  .services {
    padding: 60px 14px 70px;
  }

  .services-title {
    margin-bottom: 46px;
    font-size: 2.05rem;
  }

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

  .service-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .service-card img {
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
  }

  .service-card h3 {
    font-size: 1.12rem;
  }

  .service-card p {
    font-size: 0.93rem;
    line-height: 1.6;
  }

  .about-me {
    padding: 20px 0 60px;
  }

  .about-me-container {
    padding: 0 18px;
  }

  .about-me-container img {
    width: 230px;
    height: 230px;
  }

  .about-me-text h2 {
    font-size: 2rem;
  }

  .about-me-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .formular {
    padding: 60px 14px 75px;
  }

  .formular-card {
    padding: 1.4rem;
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(19, 37, 72, 0.08);
  }

  .formular-info h2 {
    margin-bottom: 1.35rem;
    font-size: 2rem;
    text-align: center;
  }

  .formular-info-item {
    display: block;

    margin: 0;
    padding: 1rem 0;

    text-align: left;
    border-bottom: 1px solid rgba(19, 37, 72, 0.10);
  }

  .formular-info-item:first-of-type {
    padding-top: 0.2rem;
  }

  .formular-info-item:last-of-type {
    padding-bottom: 0.35rem;
    border-bottom: 0;
  }

  .formular-icon {
    display: none;
  }

  .formular-info-text h3 {
    margin: 0 0 0.3rem;

    font-size: 1rem;
    line-height: 1.4;
  }

  .formular-info-text p {
    margin: 0;

    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .formular-note {
    margin-top: 1.15rem;
    padding-top: 1rem;

    color: var(--color-muted);
    border-top: 1px solid rgba(19, 37, 72, 0.10);

    text-align: left;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .field {
    margin-bottom: 1rem;
  }

  .formular input,
  .formular textarea,
  .formular select {
    padding: 0.95rem;
    font-size: 0.95rem;
  }

  .formular textarea {
    min-height: 155px;
  }

  .file-upload {
    min-height: 82px;
    padding: 1rem;
  }

  .file-upload span {
    font-size: 0.92rem;
  }

  .consent {
    grid-template-columns: 20px 1fr;
    gap: 0.7rem;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .formular button {
    min-height: 54px;
    font-size: 0.98rem;
  }

  .gdpr {
    text-align: center;
    font-size: 0.82rem;
  }

  .footer {
    padding: 48px 18px 26px;
  }

  .footer-title {
    font-size: 2.05rem;
  }

  .footer-contact-grid {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-contact-item {
    min-height: auto;
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .footer-icon {
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
  }

  .footer-contact-item h3 {
    font-size: 0.94rem;
  }

  .footer-contact-item p {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .price-list-card {
    padding: 28px 20px;
  }

  .price-list-card h2 {
    font-size: 24px;
  }

  .gdpr-page {
    padding: 95px 14px 58px;
  }

  .gdpr-card {
    padding: 30px 20px;
  }

  .gdpr-label {
    font-size: 0.76rem;
  }

  .gdpr-card p,
  .gdpr-card li {
    font-size: 0.96rem;
  }
}


/* =======================
   SMALL MOBILE
======================= */

@media (max-width: 420px) {
  .home h1 {
    font-size: 2.25rem;
  }

  .home-bg {
    height: 260px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .formular-card {
    padding: 1.15rem;
  }

  .footer-contact-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-icon {
    margin: 0 auto;
  }
}

/* ========================================
   404 PAGE
======================================== */

.error-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-page {
    flex: 1;
}

.error-section {
    position: relative;
    min-height: 70vh;
    padding: 160px 24px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(
            rgba(17, 31, 44, 0.88),
            rgba(17, 31, 44, 0.88)
        ),
        url("/img/main.webp") center / cover no-repeat;
}

.error-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    font-size: clamp(180px, 35vw, 520px);
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.045);
    user-select: none;
    pointer-events: none;
}

.error-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
}

.error-label {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #c7a66a;
}

.error-content h1 {
    margin: 0 0 24px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.08;
    color: #ffffff;
}

.error-content p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.error-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.error-actions .home-btn {
    min-width: 190px;
}

.error-actions .home-btn.secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.65);
}

.error-actions .home-btn.secondary:hover {
    color: #111f2c;
    background: #ffffff;
    border-color: #ffffff;
}

@media (max-width: 600px) {
    .error-section {
        min-height: 65vh;
        padding: 130px 20px 80px;
    }

    .error-content p {
        font-size: 16px;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-actions .home-btn {
        width: 100%;
    }
}

/* =====================================================
   NAHRÁNÍ PŘÍLOHY
===================================================== */

.file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 28px 22px;
    border: 2px dashed #c8cdd6;
    border-radius: 12px;
    background: #f8f9fb;
    color: #334155;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.file-upload:hover {
    border-color: #9b854f;
    background: #fbfaf6;
    box-shadow: 0 8px 22px rgba(24, 35, 61, 0.08);
}

.file-upload:focus-within {
    border-color: #18233d;
    box-shadow:
        0 0 0 4px rgba(24, 35, 61, 0.12),
        0 8px 22px rgba(24, 35, 61, 0.08);
}

.file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.file-upload > span {
    display: block;
    max-width: 420px;
    color: #18233d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.file-upload > small {
    display: block;
    margin-top: 8px;
    color: #7a8495;
    font-size: 12px;
    line-height: 1.5;
}

/* Stav při přetažení souboru */

.file-upload.is-dragover {
    border-color: #b49a60;
    background: #fffaf0;
    box-shadow:
        0 0 0 4px rgba(180, 154, 96, 0.15),
        0 10px 28px rgba(24, 35, 61, 0.1);
    transform: translateY(-2px);
}

/* Stav po úspěšném výběru souboru */

.file-upload.has-file {
    border-color: #5f956a;
    background: #f5fbf6;
}

.file-upload.has-file > span {
    color: #285a34;
}

.file-upload.has-file > small {
    color: #5f7664;
}


/* =====================================================
   VYBRANÝ SOUBOR
===================================================== */

.selected-file {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 15px 16px;
    border: 1px solid #b9d6bf;
    border-radius: 10px;
    background: #f2faf4;
    box-shadow: 0 5px 16px rgba(34, 91, 48, 0.08);
}

.selected-file[hidden] {
    display: none;
}

.selected-file-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #397947;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(57, 121, 71, 0.22);
}

.selected-file-info {
    min-width: 0;
    flex: 1;
}

.selected-file-info strong {
    display: block;
    overflow: hidden;
    color: #21482a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-file-info span {
    display: block;
    margin-top: 3px;
    color: #607766;
    font-size: 12px;
    line-height: 1.45;
}

.selected-file-remove {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #66736a;
    cursor: pointer;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.selected-file-remove:hover {
    background: #fbeaea;
    color: #9b2424;
    transform: scale(1.06);
}

.selected-file-remove:focus-visible {
    outline: 3px solid rgba(155, 36, 36, 0.22);
    outline-offset: 2px;
}


/* =====================================================
   HLÁŠKY FORMULÁŘE
===================================================== */

#formMessage {
    margin-top: 18px;
}

#formMessage p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.55;
}

.form-success {
    border: 1px solid #b9d6bf;
    background: #f2faf4;
    color: #24552d;
}

.form-error {
    border: 1px solid #e5bcbc;
    background: #fff3f3;
    color: #8a2525;
}


/* =====================================================
   MOBILNÍ ZOBRAZENÍ
===================================================== */

@media (max-width: 600px) {
    .file-upload {
        min-height: 130px;
        padding: 22px 16px;
        border-radius: 10px;
    }

    .file-upload > span {
        font-size: 14px;
    }

    .selected-file {
        gap: 11px;
        padding: 13px;
    }

    .selected-file-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .selected-file-info strong {
        font-size: 13px;
    }

    .selected-file-remove {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}

/* =====================================================
   FINÁLNÍ OPRAVA TLAČÍTKA PRO ODEBRÁNÍ PŘÍLOHY
   Musí zůstat na úplném konci souboru.
===================================================== */

#contactForm button[disabled] {
    cursor: wait;
    opacity: 0.7;
}

.formular .selected-file-remove {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;

    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #66736a;

    font-size: 25px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
    box-shadow: none;
    transform: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.formular .selected-file-remove:hover {
    background: #fbeaea;
    color: #9b2424;
    box-shadow: none;
    transform: scale(1.06);
}

.formular .selected-file-remove:focus-visible {
    background: #fbeaea;
    color: #9b2424;
    outline: 3px solid rgba(155, 36, 36, 0.22);
    outline-offset: 2px;
    box-shadow: none;
}

@media (max-width: 600px) {
    .formular .selected-file-remove {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        max-width: 34px;
        height: 34px;
        min-height: 34px;
    }
}
