/* ==================================================
   DKF – PŘÍPRAVA PRŮMYSLOVÝCH PODLAH
   HLAVNÍ STYLY
================================================== */

:root {
  --blue: #07579f;
  --blue-dark: #063d72;
  --blue-light: #eaf4fc;

  --dark: #252d33;
  --dark-deep: #172027;

  --white: #ffffff;
  --light: #f5f7f9;
  --gray: #68747d;
  --border: #dce3e8;

  --shadow-small: 0 8px 24px rgba(22, 45, 64, 0.08);
  --shadow: 0 16px 42px rgba(22, 45, 64, 0.14);

  --radius: 8px;
  --container: 1240px;
}


/* ==================================================
   ZÁKLAD
================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  padding: 85px 0;
}


/* ==================================================
   SPOLEČNÉ NADPISY
================================================== */

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

.section-heading-left {
  margin-bottom: 22px;
  text-align: left;
}

.section-label {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-heading h2,
.request-heading h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  margin: 13px auto 0;
  background: var(--blue);
}

.section-heading-left h2::after {
  margin-left: 0;
}


/* ==================================================
   TLAČÍTKA
================================================== */

.btn {
  min-height: 48px;
  padding: 12px 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 2px solid transparent;
  border-radius: 5px;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2px;

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

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

.btn-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(7, 87, 159, 0.22);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(7, 87, 159, 0.3);
}

.btn-outline-blue {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.btn-outline-blue:hover {
  color: var(--white);
  background: var(--blue);
}


/* ==================================================
   HLAVIČKA
================================================== */

.header {
  position: relative;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(20, 42, 58, 0.06);
}

.header-inner {
  min-height: 88px;

  display: flex;
  align-items: center;
  gap: 35px;
}

.logo {
  width: 230px;
  height: 80px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

.nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 29px;
}

.nav a {
  position: relative;
  padding: 33px 0;

  color: var(--dark);
  font-size: 13px;
  font-weight: 800;

  transition: color 0.2s ease;
}

.nav a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;

  height: 3px;

  background: var(--blue);

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

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

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-button {
  min-height: 48px;
  padding: 12px 19px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  flex-shrink: 0;

  color: var(--white);
  background: var(--blue);
  border-radius: 5px;

  font-size: 13px;
  font-weight: 900;

  box-shadow: 0 8px 20px rgba(7, 87, 159, 0.2);

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

.header-button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}


/* ==================================================
   HERO
================================================== */

.hero {
  min-height: 540px;

  display: grid;
  grid-template-columns: 43% 57%;

  background: var(--white);
  overflow: hidden;
}

.hero-text-side {
  position: relative;
  z-index: 2;

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

  padding: 70px 0 70px 20px;

  background:
    linear-gradient(
      135deg,
      var(--white) 0%,
      #fbfcfd 70%,
      #f0f5f9 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;

  width: min(100% - 40px, 540px);
  margin-right: 30px;
}

.hero-label {
  margin-bottom: 10px;

  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;

  color: var(--dark);
  font-size: clamp(45px, 5vw, 70px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero h2 {
  max-width: 470px;
  margin-bottom: 15px;

  color: var(--blue);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

.hero-description {
  max-width: 470px;
  color: var(--gray);
  font-size: 15px;
}

.hero-buttons {
  margin-top: 27px;

  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-image-side {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

/* modrý vnější tvar */
.hero-image-side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: var(--blue);

  clip-path: polygon(
    19% 0,
    100% 0,
    100% 100%,
    19% 100%,
    3% 50%
  );
}

/* bílý vnitřní proužek */
.hero-image-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background: var(--white);

  clip-path: polygon(
    20% 0,
    100% 0,
    100% 100%,
    20% 100%,
    4.2% 50%
  );
}

/* samotná fotografie */
.hero-image-side img {
  position: relative;
  z-index: 3;

  width: 100%;
  height: 100%;
  min-height: 540px;

  object-fit: cover;
  object-position: center 58%;

  clip-path: polygon(
    20.8% 0,
    100% 0,
    100% 100%,
    20.8% 100%,
    5.2% 50%
  );
}

/* ==================================================
   SLUŽBY
================================================== */

.services {
  padding-top: 80px;
  background:
    linear-gradient(
      180deg,
      var(--white) 0%,
      #f8fafc 100%
    );
}

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

.service-card {
  position: relative;

  min-height: 300px;

  display: flex;
  flex-direction: column;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);

  overflow: hidden;

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

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(7, 87, 159, 0.35);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 53px;
  height: 53px;
  margin: 23px auto 12px;

  display: grid;
  place-items: center;

  color: var(--blue);
  background: var(--blue-light);
  border-radius: 50%;

  font-size: 25px;
  font-weight: 900;
}

.service-text {
  min-height: 75px;
  padding: 0 12px 16px;

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

  text-align: center;
}

.service-text h3 {
  color: var(--dark);
  font-size: 17px;
  line-height: 1.18;
}

.service-image {
  height: 135px;
  margin-top: auto;

  background:
    linear-gradient(
      135deg,
      #dce8f1,
      #c9d8e4
    );

  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.35s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.section-button {
  margin-top: 35px;
  text-align: center;
}


/* ==================================================
   REALIZACE
================================================== */

.realizations {
  background: var(--white);
}

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

.gallery-item {
  position: relative;
  height: 230px;

  background:
    linear-gradient(
      135deg,
      #d5e2eb,
      #bfcfdb
    );

  border-radius: 5px;
  box-shadow: var(--shadow-small);

  overflow: hidden;
}

.gallery-item::after {
  content: "Zobrazit";

  position: absolute;
  left: 50%;
  bottom: 18px;

  padding: 8px 15px;

  color: var(--white);
  background: var(--blue);
  border-radius: 4px;

  font-size: 12px;
  font-weight: 800;

  opacity: 0;
  transform: translate(-50%, 15px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.72);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* ==================================================
   O NÁS
================================================== */

.about {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.people {
  display: grid;
  gap: 20px;
}

.person {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  align-items: center;
}

.person-photo {
  height: 145px;

  display: grid;
  place-items: center;

  background: #e3e9ed;
  border-radius: 6px;

  overflow: hidden;
}

.person-placeholder {
  font-size: 68px;
  filter: grayscale(1);
}

.person-info h3 {
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 20px;
}

.person-info strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 14px;
}

.person-info p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}

.about-content {
  padding-left: 55px;
  border-left: 1px solid #c9d2d9;
}

.about-content > p {
  margin-bottom: 13px;
  color: var(--gray);
  font-size: 15px;
}

.advantages-grid {
  margin-top: 32px;

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

.advantage {
  text-align: center;
}

.advantage-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;

  display: grid;
  place-items: center;

  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50%;

  font-size: 23px;
  font-weight: 900;
}

.advantage strong,
.advantage span {
  display: block;
}

.advantage strong {
  color: var(--dark);
  font-size: 13px;
}

.advantage span {
  color: var(--gray);
  font-size: 12px;
}


/* ==================================================
   POPTÁVKOVÁ SEKCE
================================================== */

.request {
  min-height: 275px;

  display: grid;
  grid-template-columns: 24% 23% 53%;

  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.request-image {
  position: relative;
  min-height: 275px;
  background: #dbe5ec;
  overflow: hidden;
}

.request-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(7, 87, 159, 0.12),
      transparent
    );
}

.request-image img {
  width: 100%;
  height: 100%;
  min-height: 275px;
  object-fit: cover;
  object-position: center;
}

.request-heading {
  position: relative;
  z-index: 2;

  padding: 48px 35px;

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

  background: var(--white);
}

.request-heading::before {
  content: "";

  position: absolute;
  top: 0;
  left: -55px;

  width: 105px;
  height: 100%;

  background: var(--white);

  transform: skewX(-16deg);
}

.request-heading > * {
  position: relative;
  z-index: 2;
}

.request-heading h2 {
  margin-bottom: 12px;
}

.request-heading h2 span {
  display: block;
  color: var(--blue);
}

.request-heading > p:last-child {
  color: var(--gray);
  font-size: 14px;
}

.request-form {
  padding: 43px 40px;

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

  background: #f8fafb;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.form-bottom {
  margin-top: 13px;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  align-items: stretch;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  position: absolute;
  width: 1px;
  height: 1px;

  clip: rect(0 0 0 0);
  overflow: hidden;
}

.form-group input,
.form-group textarea {
  width: 100%;

  color: var(--dark);
  background: var(--white);
  border: 1px solid #cfd8df;
  border-radius: 4px;
  outline: none;

  font-size: 13px;

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

.form-group input {
  height: 45px;
  padding: 0 13px;
}

.form-group textarea {
  min-height: 80px;
  padding: 12px 13px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 87, 159, 0.1);
}

.form-bottom .btn {
  min-width: 190px;
}


/* ==================================================
   PATIČKA
================================================== */

.footer {
  color: rgba(255, 255, 255, 0.75);
  background: var(--dark-deep);
}

.footer-grid {
  padding-top: 42px;
  padding-bottom: 38px;

  display: grid;
  grid-template-columns: 1fr 0.9fr 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.footer-brand {
  padding-right: 35px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand img {
  width: 230px;
  padding: 12px;

  background: var(--white);
  border-radius: 4px;
}

.footer-column h3 {
  margin-bottom: 12px;

  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.footer-column p {
  margin-bottom: 6px;
  font-size: 13px;
}


/* Partner v patičce */
.footer-partner {
  min-width: 0;
}

.footer-partner-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
  padding: 8px 10px;
  background: #fff;
  border-radius: 4px;
}

.footer-bottom {
  padding: 15px 0;

  background: #10171c;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}


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

@media (max-width: 1120px) {
  .header-inner {
    gap: 20px;
  }

  .logo {
    width: 185px;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 12px;
  }

  .header-button {
    padding-inline: 15px;
    font-size: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    display: none;
  }

  .about-grid {
    gap: 45px;
  }

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

  .request {
    grid-template-columns: 25% 30% 45%;
  }

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


/* ==================================================
   MENŠÍ TABLET
================================================== */

@media (max-width: 900px) {
  .section {
    padding: 70px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;

    flex-wrap: wrap;
  }

  .logo {
    width: 190px;
    height: 65px;
  }

  .header-button {
    margin-left: auto;
  }

  .nav {
    order: 3;

    width: 100%;
    margin-left: 0;
    padding-top: 9px;

    justify-content: flex-start;
    overflow-x: auto;

    border-top: 1px solid var(--border);
  }

  .nav a {
    flex-shrink: 0;
    padding: 10px 0;
  }

  .nav a::after {
    bottom: 2px;
  }

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

  .hero-text-side {
    padding: 65px 0 85px;
    justify-content: center;
  }

  .hero-text-side::after {
    top: auto;
    right: 0;
    bottom: -60px;

    width: 100%;
    height: 110px;

    border-right: 0;
    border-bottom: 7px solid var(--blue);

    transform: skewY(-5deg);
  }

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 90px, 500px);
  margin-right: 95px;
}

  .hero-image-side,
  .hero-image-side img {
    min-height: 430px;
  }

  .quick-links {
    margin-top: -40px;
  }

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

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

  .about-content {
    padding-left: 0;
    border-left: 0;
  }

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

  .request-image {
    min-height: 280px;
  }

  .request-heading::before {
    display: none;
  }

  .request-heading {
    padding: 45px 30px 20px;
  }

  .request-form {
    padding: 25px 30px 45px;
  }

  .form-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .footer-partner {
    grid-column: 1 / -1;
  }
}


/* ==================================================
   MOBIL
================================================== */
@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 48px 0;
  }

  .header-inner {
    padding: 8px 0;
  }

  .header-button {
    display: none;
  }

  .logo {
    width: 145px;
    height: 52px;
  }

  .nav {
    gap: 16px;
    padding-top: 7px;
  }

  .nav a {
    padding: 8px 0;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-text-side {
    padding: 38px 0 52px;
  }

  .hero-content {
    width: min(100% - 28px, 520px);
    margin: 0 auto;
  }

  .hero-label {
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .hero h1 {
    margin-bottom: 15px;
    font-size: 34px;
    line-height: 0.98;
    letter-spacing: -0.8px;
  }

  .hero h2 {
    margin-bottom: 11px;
    font-size: 18px;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-buttons {
    margin-top: 20px;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 43px;
    padding: 10px 15px;
    font-size: 12px;
  }

  .hero-image-side,
  .hero-image-side img {
    min-height: 240px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-label {
    font-size: 10px;
  }

  .section-heading h2,
  .request-heading h2 {
    font-size: 27px;
  }

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

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

  .service-icon {
    width: 40px;
    height: 40px;
    margin: 15px auto 8px;
    font-size: 19px;
  }

  .service-text {
    min-height: 58px;
    padding: 0 8px 10px;
  }

  .service-text h3 {
    font-size: 14px;
  }

  .service-image {
    height: 95px;
  }

  .section-button {
    margin-top: 24px;
  }

  .section-button .btn {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 11px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .gallery-item {
    height: 150px;
  }

  .gallery-item:nth-child(5) {
    display: none;
  }

  .person {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }

  .person-photo {
    height: 100px;
  }

  .person-placeholder {
    font-size: 46px;
  }

  .person-info h3 {
    font-size: 17px;
  }

  .person-info strong {
    font-size: 12px;
  }

  .person-info p {
    font-size: 12px;
  }

  .about-content > p {
    font-size: 13px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .advantage-icon {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .advantage strong {
    font-size: 12px;
  }

  .advantage span {
    font-size: 11px;
  }

  .request-image,
  .request-image img {
    min-height: 190px;
  }

  .request-heading {
    padding: 32px 22px 12px;
  }

  .request-heading > p:last-child {
    font-size: 12px;
  }

  .request-form {
    padding: 18px 22px 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .form-bottom {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .form-group input {
    height: 41px;
    font-size: 12px;
  }

  .form-group textarea {
    min-height: 72px;
    font-size: 12px;
  }

  .form-bottom .btn {
    width: 100%;
    min-height: 42px;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .footer-brand img {
    width: 175px;
  }

  .footer-column h3 {
    font-size: 13px;
  }

  .footer-column p {
    font-size: 12px;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .footer-bottom p {
    font-size: 10px;
  }
}


/* ==================================================
   MALÝ MOBIL
================================================== */

@media (max-width: 430px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero h2 {
    font-size: 16px;
  }

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

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

  .service-image {
    height: 88px;
  }

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

  .gallery-item {
    height: 190px;
  }

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    display: none;
  }

  .person {
    grid-template-columns: 72px 1fr;
  }

  .person-photo {
    height: 88px;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* ==================================================
   VNITŘNÍ STRÁNKA – SLUŽBY
================================================== */

.page-hero {
  position: relative;
  padding: 90px 0;

  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(23, 32, 39, 0.97),
      rgba(7, 61, 114, 0.88)
    ),
    url("../images/hero.webp");

  background-size: cover;
  background-position: center 58%;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: 8%;

  width: 180px;
  height: 420px;

  background: rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero .section-label {
  color: #77baf1;
}

.page-hero h1 {
  margin-bottom: 18px;

  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}

.page-hero p:last-child {
  max-width: 690px;

  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.services-detail {
  background: var(--white);
}

.services-detail-list {
  display: grid;
  gap: 100px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}

.service-detail-reverse .service-detail-image {
  order: 2;
}

.service-detail-reverse .service-detail-content {
  order: 1;
}

.service-detail-image {
  position: relative;
  height: 430px;

  background: var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow);

  overflow: hidden;
}

.service-detail-image::after {
  content: "";
  position: absolute;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.5s ease;
}

.service-detail:hover .service-detail-image img {
  transform: scale(1.035);
}

.service-detail-content {
  position: relative;
}

.service-number {
  position: absolute;
  top: -60px;
  right: 0;

  color: rgba(7, 87, 159, 0.08);
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

.service-detail-content h2 {
  position: relative;
  z-index: 1;

  margin-bottom: 22px;

  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
}

.service-detail-content > p:not(.section-label) {
  position: relative;
  z-index: 1;

  margin-bottom: 14px;

  color: var(--gray);
  font-size: 16px;
}

.service-benefits {
  position: relative;
  z-index: 1;

  margin: 25px 0 30px;
  list-style: none;
}

.service-benefits li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;

  color: var(--dark);
  font-size: 14px;
}

.service-benefits li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  color: var(--blue);
  font-weight: 900;
}

.services-cta {
  padding: 65px 0;

  color: var(--white);
  background:
    linear-gradient(
      120deg,
      var(--dark-deep),
      var(--blue-dark)
    );
}

.services-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.services-cta .section-label {
  color: #7cc2f5;
}

.services-cta h2 {
  margin-bottom: 10px;

  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
}

.services-cta p:last-child {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 900px) {
  .page-hero {
    padding: 70px 0;
  }

  .service-detail,
  .service-detail-reverse {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .service-detail-reverse .service-detail-image,
  .service-detail-reverse .service-detail-content {
    order: initial;
  }

  .service-detail-image {
    height: 360px;
  }

  .services-detail-list {
    gap: 75px;
  }

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

@media (max-width: 650px) {
  .page-hero {
    padding: 52px 0;
  }

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

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

  .services-detail-list {
    gap: 58px;
  }

  .service-detail-image {
    height: 245px;
  }

  .service-detail-content h2 {
    margin-bottom: 16px;
    font-size: 27px;
  }

  .service-detail-content > p:not(.section-label) {
    font-size: 13px;
  }

  .service-number {
    top: -25px;
    font-size: 70px;
  }

  .service-benefits {
    margin: 20px 0 24px;
  }

  .service-benefits li {
    font-size: 12px;
  }

  .services-cta {
    padding: 48px 0;
  }

  .services-cta h2 {
    font-size: 27px;
  }

  .services-cta p:last-child {
    font-size: 13px;
  }

  .services-cta .btn {
    width: 100%;
  }
}
/* ==================================================
   VNITŘNÍ STRÁNKA – REALIZACE
================================================== */

.projects-page {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5f8fa 100%
    );
}

.projects-intro {
  margin-bottom: 45px;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: end;
}

.projects-intro h2 {
  color: var(--dark);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
}

.projects-intro > p {
  max-width: 690px;
  color: var(--gray);
  font-size: 15px;
}

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

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-small);
  overflow: hidden;

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

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 87, 159, 0.35);
  box-shadow: var(--shadow);
}

.project-image {
  position: relative;
  height: 250px;

  display: block;
  background: var(--light);
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 40%,
      rgba(16, 26, 33, 0.68) 100%
    );

  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.4s ease;
}

.project-image span {
  position: absolute;
  left: 20px;
  bottom: 17px;
  z-index: 2;

  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.project-card:hover .project-image::after {
  opacity: 1;
}

.project-card:hover .project-image img {
  transform: scale(1.06);
}

.project-card:hover .project-image span {
  opacity: 1;
  transform: translateY(0);
}

.project-content {
  padding: 24px 24px 27px;
}

.project-category {
  margin-bottom: 7px;

  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 10px;

  color: var(--dark);
  font-size: 21px;
  line-height: 1.2;
}

.project-content > p:last-child {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .projects-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

@media (max-width: 650px) {
  .projects-intro {
    margin-bottom: 30px;
  }

  .projects-intro h2 {
    font-size: 28px;
  }

  .projects-intro > p {
    font-size: 13px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-image {
    height: 210px;
  }

  .project-content {
    padding: 19px 18px 22px;
  }

  .project-content h3 {
    font-size: 18px;
  }

  .project-content > p:last-child {
    font-size: 12px;
  }
}
/* ==================================================
   VNITŘNÍ STRÁNKA – REALIZACE
================================================== */

.projects-empty {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4f7f9 100%
    );
}

.projects-empty-box {
  max-width: 880px;
  margin-inline: auto;
  padding: 70px 65px;

  text-align: center;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.projects-empty-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;

  display: grid;
  place-items: center;

  color: var(--white);
  background: var(--blue);
  border-radius: 50%;

  font-size: 27px;
  font-weight: 900;
}

.projects-empty-box h2 {
  max-width: 700px;
  margin: 0 auto 18px;

  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  text-transform: uppercase;
}

.projects-empty-box > p:not(.section-label) {
  max-width: 700px;
  margin: 0 auto 15px;

  color: var(--gray);
  font-size: 16px;
}

.projects-empty-note {
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.projects-empty-box .btn {
  margin-top: 18px;
}

.projects-example {
  background: var(--white);
}

.projects-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-example-card {
  position: relative;
  padding: 34px 28px;

  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;

  overflow: hidden;
}

.project-example-number {
  position: absolute;
  top: -8px;
  right: 14px;

  color: rgba(7, 87, 159, 0.08);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
}

.project-example-card h3 {
  position: relative;
  z-index: 1;

  margin-bottom: 9px;
  padding-right: 35px;

  color: var(--dark);
  font-size: 21px;
  line-height: 1.2;
}

.project-example-type {
  position: relative;
  z-index: 1;

  margin-bottom: 19px;

  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.project-example-card ul {
  position: relative;
  z-index: 1;

  list-style: none;
}

.project-example-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;

  color: var(--gray);
  font-size: 13px;
}

.project-example-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.projects-example-disclaimer {
  max-width: 760px;
  margin: 30px auto 0;

  color: var(--gray);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .projects-example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .projects-empty-box {
    padding: 42px 22px;
  }

  .projects-empty-icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .projects-empty-box h2 {
    font-size: 27px;
  }

  .projects-empty-box > p:not(.section-label) {
    font-size: 13px;
  }

  .project-example-card {
    padding: 26px 20px;
  }

  .project-example-card h3 {
    font-size: 18px;
  }

  .project-example-card li {
    font-size: 12px;
  }
}
/* ==================================================
   VNITŘNÍ STRÁNKA – O NÁS
================================================== */

.about-page {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f6f8fa 100%
    );
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.about-page-content h2 {
  max-width: 720px;
  margin-bottom: 24px;

  color: var(--dark);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  text-transform: uppercase;
}

.about-page-content > p:not(.section-label) {
  max-width: 760px;
  margin-bottom: 15px;

  color: var(--gray);
  font-size: 16px;
}

.about-page-content .btn {
  margin-top: 17px;
}

.about-page-highlight {
  position: relative;
  padding: 45px 38px;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--dark-deep),
      var(--blue-dark)
    );

  border-radius: 9px;
  box-shadow: var(--shadow);

  overflow: hidden;
}

.about-page-highlight::after {
  content: "";

  position: absolute;
  top: -80px;
  right: -80px;

  width: 220px;
  height: 320px;

  background: rgba(255, 255, 255, 0.06);
  transform: rotate(19deg);
}

.about-highlight-number {
  position: relative;
  z-index: 1;

  margin-bottom: 22px;

  color: #79c0f1;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.about-page-highlight h3 {
  position: relative;
  z-index: 1;

  margin-bottom: 15px;

  font-size: 25px;
  line-height: 1.2;
}

.about-page-highlight > p {
  position: relative;
  z-index: 1;

  margin-bottom: 20px;

  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.about-page-highlight ul {
  position: relative;
  z-index: 1;

  list-style: none;
}

.about-page-highlight li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;

  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.about-page-highlight li::before {
  content: "✓";

  position: absolute;
  left: 0;

  color: #79c0f1;
  font-weight: 900;
}


.team-page {
  background: var(--white);
}

.team-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.team-profile {
  display: grid;
  grid-template-columns: 180px 1fr;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: var(--shadow-small);

  overflow: hidden;
}

.team-profile-photo {
  min-height: 310px;

  display: grid;
  place-items: center;

  background:
    linear-gradient(
      145deg,
      #e5edf3,
      #cfdce6
    );
}

.team-profile-placeholder {
  width: 105px;
  height: 105px;

  display: grid;
  place-items: center;

  color: var(--white);
  background: var(--blue);
  border-radius: 50%;

  font-size: 46px;
  font-weight: 900;
}

.team-profile-content {
  padding: 36px 30px;
}

.team-profile-label {
  margin-bottom: 5px;

  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.team-profile-content h3 {
  margin-bottom: 3px;

  color: var(--dark);
  font-size: 27px;
}

.team-profile-ico {
  margin-bottom: 17px;

  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.team-profile-content > p:not(.team-profile-label, .team-profile-ico) {
  color: var(--gray);
  font-size: 14px;
}

.team-profile-contact {
  margin-top: 22px;
  padding-top: 18px;

  display: grid;
  gap: 7px;

  border-top: 1px solid var(--border);
}

.team-profile-contact a,
.team-profile-contact span {
  color: var(--gray);
  font-size: 13px;
}

.team-profile-contact a {
  transition: color 0.2s ease;
}

.team-profile-contact a:hover {
  color: var(--blue);
}


.values-page {
  background: var(--light);
}

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

.value-card {
  position: relative;
  min-height: 245px;
  padding: 32px 26px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-small);

  overflow: hidden;
}

.value-card-number {
  position: absolute;
  top: -5px;
  right: 12px;

  color: rgba(7, 87, 159, 0.08);
  font-size: 75px;
  font-weight: 900;
  line-height: 1;
}

.value-card h3 {
  position: relative;
  z-index: 1;

  margin: 45px 0 12px;

  color: var(--dark);
  font-size: 20px;
}

.value-card p {
  position: relative;
  z-index: 1;

  color: var(--gray);
  font-size: 13px;
}


@media (max-width: 1000px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .team-profile {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 760px) {
  .team-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .about-page-grid {
    gap: 30px;
  }

  .about-page-content h2 {
    font-size: 28px;
  }

  .about-page-content > p:not(.section-label) {
    font-size: 13px;
  }

  .about-page-highlight {
    padding: 34px 24px;
  }

  .about-highlight-number {
    font-size: 48px;
  }

  .about-page-highlight h3 {
    font-size: 21px;
  }

  .team-profile {
    grid-template-columns: 95px 1fr;
  }

  .team-profile-photo {
    min-height: 245px;
  }

  .team-profile-placeholder {
    width: 67px;
    height: 67px;
    font-size: 30px;
  }

  .team-profile-content {
    padding: 25px 19px;
  }

  .team-profile-content h3 {
    font-size: 21px;
  }

  .team-profile-content > p:not(.team-profile-label, .team-profile-ico) {
    font-size: 12px;
  }

  .values-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .value-card {
    min-height: auto;
    padding: 25px 20px;
  }

  .value-card h3 {
    margin-top: 32px;
    font-size: 18px;
  }
}
@media (min-width: 1001px) {
  .values-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ==================================================
   VNITŘNÍ STRÁNKA – POPTÁVKA
================================================== */

.quote-page {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4f7f9 100%
    );
}

.quote-page-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 65px;
  align-items: start;
}

.quote-info {
  position: sticky;
  top: 115px;
}

.quote-info h2 {
  margin-bottom: 18px;

  color: var(--dark);
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1.08;
  text-transform: uppercase;
}

.quote-info > p:not(.section-label) {
  margin-bottom: 30px;

  color: var(--gray);
  font-size: 15px;
}

.quote-info-list {
  display: grid;
  gap: 16px;
}

.quote-info-item {
  padding: 20px;

  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
}

.quote-info-item > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  color: var(--white);
  background: var(--blue);
  border-radius: 50%;

  font-size: 12px;
  font-weight: 900;
}

.quote-info-item h3 {
  margin-bottom: 3px;

  color: var(--dark);
  font-size: 16px;
}

.quote-info-item p {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
}

.quote-contact-box {
  margin-top: 22px;
  padding: 25px;

  display: grid;
  gap: 7px;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--dark-deep),
      var(--blue-dark)
    );

  border-radius: 8px;
}

.quote-contact-box h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.quote-contact-box a {
  width: fit-content;

  color: rgba(255, 255, 255, 0.83);
  font-size: 14px;
}

.quote-contact-box a:hover {
  color: var(--white);
}


.quote-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quote-form {
  padding: 45px;
}

.quote-form-heading {
  margin-bottom: 32px;
  padding-bottom: 25px;

  border-bottom: 1px solid var(--border);
}

.quote-form-heading h2 {
  margin-bottom: 8px;

  color: var(--dark);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  text-transform: uppercase;
}

.quote-form-heading > p:last-child {
  color: var(--gray);
  font-size: 13px;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 21px;
}

.quote-field {
  display: flex;
  flex-direction: column;
}

.quote-field-full {
  grid-column: 1 / -1;
}

.quote-field label {
  margin-bottom: 7px;

  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;

  color: var(--dark);
  background: #fbfcfd;
  border: 1px solid #cad4dc;
  border-radius: 5px;
  outline: none;

  font-size: 14px;

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

.quote-field input,
.quote-field select {
  height: 49px;
  padding: 0 13px;
}

.quote-field textarea {
  min-height: 155px;
  padding: 13px;
  resize: vertical;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 87, 159, 0.1);
}

.quote-field input[type="file"] {
  height: auto;
  padding: 12px;
  background: var(--white);
}

.quote-field small {
  margin-top: 6px;

  color: var(--gray);
  font-size: 11px;
}

.quote-consent label {
  margin: 0;

  display: flex;
  align-items: flex-start;
  gap: 11px;

  color: var(--gray);
  font-size: 12px;
  font-weight: 400;
}

.quote-consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;

  flex-shrink: 0;
}

.quote-submit {
  width: 100%;
  min-height: 54px;
}


@media (max-width: 950px) {
  .quote-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-info {
    position: static;
  }

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


@media (max-width: 650px) {
  .quote-page-grid {
    gap: 28px;
  }

  .quote-info h2 {
    font-size: 28px;
  }

  .quote-info > p:not(.section-label) {
    margin-bottom: 22px;
    font-size: 13px;
  }

  .quote-info-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quote-info-item {
    padding: 15px;
  }

  .quote-contact-box {
    padding: 20px;
  }

  .quote-form {
    padding: 27px 18px;
  }

  .quote-form-heading {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .quote-form-heading h2 {
    font-size: 27px;
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .quote-field-full {
    grid-column: auto;
  }

  .quote-field input,
  .quote-field select {
    height: 44px;
    font-size: 12px;
  }

  .quote-field textarea {
    min-height: 125px;
    font-size: 12px;
  }

  .quote-submit {
    min-height: 47px;
    font-size: 11px;
  }
}
/* ==================================================
   DĚKOVNÁ STRÁNKA
================================================== */

.thank-you-page {
  min-height: 100vh;
  padding: 35px 20px;

  display: grid;
  place-items: center;

  background:
    linear-gradient(
      135deg,
      #f5f8fa,
      #e9f1f7
    );
}

.thank-you-box {
  width: min(100%, 620px);
  padding: 55px 45px;

  text-align: center;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.thank-you-logo {
  width: 240px;
  margin: 0 auto 30px;
}

.thank-you-box h1 {
  margin-bottom: 15px;

  color: var(--dark);
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1;
  text-transform: uppercase;
}

.thank-you-box > p:not(.section-label) {
  max-width: 470px;
  margin: 0 auto 28px;

  color: var(--gray);
  font-size: 16px;
}

@media (max-width: 650px) {
  .thank-you-box {
    padding: 38px 22px;
  }

  .thank-you-logo {
    width: 190px;
  }

  .thank-you-box h1 {
    font-size: 36px;
  }

  .thank-you-box > p:not(.section-label) {
    font-size: 13px;
  }

  .thank-you-box .btn {
    width: 100%;
  }
}
/* ==================================================
   VNITŘNÍ STRÁNKA – KONTAKT
================================================== */

.contact-page {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f5f8fa 100%
    );
}

.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.contact-person-card {
  padding: 38px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-small);
}

.contact-person-top {
  margin-bottom: 28px;
  padding-bottom: 25px;

  display: flex;
  align-items: center;
  gap: 20px;

  border-bottom: 1px solid var(--border);
}

.contact-person-letter {
  width: 75px;
  height: 75px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--blue-dark)
    );

  border-radius: 50%;

  font-size: 32px;
  font-weight: 900;
}

.contact-person-top .section-label {
  margin-bottom: 3px;
}

.contact-person-top h2 {
  margin-bottom: 3px;

  color: var(--dark);
  font-size: 30px;
  line-height: 1.1;
}

.contact-ico {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.contact-details {
  display: grid;
  gap: 13px;
}

.contact-detail {
  min-height: 76px;
  padding: 16px 18px;

  display: flex;
  align-items: center;
  gap: 15px;

  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 7px;

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

a.contact-detail:hover {
  transform: translateX(4px);
  background: var(--white);
  border-color: var(--blue);
}

.contact-detail-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  color: var(--white);
  background: var(--blue);
  border-radius: 50%;

  font-size: 17px;
}

.contact-detail small,
.contact-detail strong {
  display: block;
}

.contact-detail small {
  margin-bottom: 2px;

  color: var(--gray);
  font-size: 11px;
}

.contact-detail strong {
  color: var(--dark);
  font-size: 14px;
}

.contact-detail-disabled {
  opacity: 0.6;
}


.contact-info-section {
  background: var(--white);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-info-card {
  min-height: 220px;
  padding: 34px 28px;

  text-align: center;

  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;

  display: grid;
  place-items: center;

  color: var(--blue);
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 50%;

  font-size: 23px;
  font-weight: 900;
}

.contact-info-card h3 {
  margin-bottom: 8px;

  color: var(--dark);
  font-size: 19px;
}

.contact-info-card p {
  color: var(--gray);
  font-size: 13px;
}


.contact-action {
  background:
    linear-gradient(
      180deg,
      #f5f8fa,
      #ffffff
    );
}

.contact-action-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.contact-action-content h2 {
  max-width: 720px;
  margin-bottom: 18px;

  color: var(--dark);
  font-size: clamp(31px, 4vw, 47px);
  line-height: 1.08;
  text-transform: uppercase;
}

.contact-action-content > p:not(.section-label) {
  max-width: 720px;

  color: var(--gray);
  font-size: 15px;
}

.contact-action-buttons {
  margin-top: 27px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-social-box {
  padding: 42px 35px;

  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--dark-deep),
      var(--blue-dark)
    );

  border-radius: 9px;
  box-shadow: var(--shadow);
}

.contact-social-box .section-label {
  color: #80c4f3;
}

.contact-social-box h3 {
  margin-bottom: 12px;

  font-size: 25px;
  line-height: 1.2;
}

.contact-social-box > p:not(.section-label) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.contact-social-placeholder {
  width: 58px;
  height: 58px;
  margin-top: 25px;

  display: grid;
  place-items: center;

  color: var(--blue-dark);
  background: var(--white);
  border-radius: 50%;

  font-size: 32px;
  font-weight: 900;
}


@media (max-width: 850px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

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

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


@media (max-width: 650px) {
  .contact-person-card {
    padding: 24px 18px;
  }

  .contact-person-top {
    gap: 14px;
  }

  .contact-person-letter {
    width: 58px;
    height: 58px;

    font-size: 25px;
  }

  .contact-person-top h2 {
    font-size: 22px;
  }

  .contact-detail {
    padding: 13px;
  }

  .contact-detail strong {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .contact-info-card {
    min-height: auto;
    padding: 27px 20px;
  }

  .contact-action-content h2 {
    font-size: 28px;
  }

  .contact-action-content > p:not(.section-label) {
    font-size: 13px;
  }

  .contact-action-buttons {
    flex-direction: column;
  }

  .contact-action-buttons .btn {
    width: 100%;
  }

  .contact-social-box {
    padding: 32px 23px;
  }

  .contact-social-box h3 {
    font-size: 21px;
  }
}

/* ===== FORMULÁŘE / SUPABASE ===== */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.form-status:empty {
  min-height: 0;
  margin-top: 0;
}

.form-status.is-success {
  color: #148348;
}

.form-status.is-error {
  color: #b42318;
}

.request-form button:disabled,
.quote-form button:disabled {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

/* ==================================================
   REALIZACE – DYNAMICKÁ GALERIE + SPRÁVA
================================================== */
.projects-intro-live {
  margin-bottom: 32px;
}

.realizations-status {
  padding: 28px 0;
  color: var(--gray);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.realizations-status.is-error {
  color: #b42318;
}

.realizations-empty {
  margin-top: 10px;
}

.realizations-admin-bar[hidden] {
  display: none !important;
}

.realizations-admin-bar {
  margin-bottom: 28px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #eef7ff;
  border: 1px solid #b8d9f3;
  border-radius: 8px;
  box-shadow: var(--shadow-small);
}

.realizations-admin-bar strong {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
}

.realizations-admin-bar span {
  color: var(--gray);
  font-size: 12px;
}

.realizations-admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.realization-card {
  display: flex;
  flex-direction: column;
}

.realization-card.is-draft {
  border-style: dashed;
}

.realization-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.realization-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.realization-card-topline .project-category {
  margin-bottom: 7px;
}

.realization-draft-badge {
  padding: 3px 8px;
  color: #76510a;
  background: #fff3ce;
  border: 1px solid #f0d37b;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.realization-card-meta {
  margin: 0 0 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: var(--gray);
  font-size: 11px;
  font-weight: 700;
}

.realization-card-description {
  margin-bottom: 15px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.55;
}

.realization-card-link {
  margin-top: auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.realization-card-admin-actions {
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.realization-admin-small {
  padding: 7px 10px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid #b8cee0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.realization-admin-small:hover {
  background: var(--blue-light);
}

.realization-admin-small.is-danger {
  color: #a82016;
  border-color: #efc0bc;
}

.realization-admin-small.is-danger:hover {
  background: #fff0ef;
}

.footer-admin-link {
  padding: 0;
  color: rgba(255, 255, 255, 0.42);
  background: transparent;
  border: 0;
  font-size: 11px;
}

.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

.realizations-modal[hidden] {
  display: none !important;
}

.realizations-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  padding: 25px;
  display: grid;
  place-items: center;
}

.realizations-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 32, 0.72);
  backdrop-filter: blur(4px);
}

.realizations-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  padding: 38px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.realizations-editor-card {
  width: min(100%, 960px);
}

.realizations-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--gray);
  background: var(--light);
  border: 0;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.realizations-modal-card h2 {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
}

.realizations-modal-lead {
  margin-bottom: 25px;
  color: var(--gray);
  font-size: 14px;
}

.realizations-field {
  display: block;
  margin-bottom: 16px;
}

.realizations-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 900;
}

.realizations-field input,
.realizations-field textarea,
.realizations-field select {
  width: 100%;
  padding: 12px 13px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid #cfd8df;
  border-radius: 5px;
  outline: none;
  font: inherit;
}

.realizations-field input:focus,
.realizations-field textarea:focus,
.realizations-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 87, 159, 0.1);
}

.realizations-field textarea {
  resize: vertical;
}

.realizations-field small {
  display: block;
  margin-top: 5px;
  color: var(--gray);
  font-size: 11px;
}

.realizations-full-button {
  width: 100%;
}

.realization-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.realization-editor-span-2 {
  grid-column: 1 / -1;
}

.realizations-check {
  margin: 4px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.realizations-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.realization-editor-actions {
  padding-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.realizations-existing-images {
  margin: 8px 0 24px;
  padding: 18px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 7px;
}

.realizations-existing-images h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.realizations-existing-images-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.realizations-existing-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 5px;
  background: #dde4e9;
}

.realizations-existing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realizations-existing-image-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(161, 26, 18, 0.9);
  border: 0;
  border-radius: 50%;
  font-size: 19px;
}

/* DETAIL REALIZACE */
.realization-detail-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-deep);
}

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

.realization-detail-hero-image {
  background-position: center;
  background-size: cover;
}

.realization-detail-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 25, 38, 0.9) 0%, rgba(8, 25, 38, 0.62) 55%, rgba(8, 25, 38, 0.32) 100%);
}

.realization-detail-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 95px;
  padding-bottom: 65px;
  color: white;
}

.realization-detail-back {
  display: inline-block;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 800;
}

.realization-detail-hero .section-label {
  color: #88c8f4;
}

.realization-detail-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  text-transform: uppercase;
}

.realization-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 800;
}

.realization-detail-page {
  background: linear-gradient(180deg, #fff 0%, #f6f8fa 100%);
}

.realization-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: start;
}

.realization-detail-intro {
  margin-bottom: 28px;
  color: var(--dark);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.45;
}

.realization-detail-copy p,
.realization-detail-technology p:not(.section-label) {
  margin-bottom: 16px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}

.realization-detail-technology {
  margin-top: 35px;
  padding: 26px 28px;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 5px;
}

.realization-detail-facts {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-small);
}

.realization-detail-fact {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.realization-detail-fact:last-child {
  border-bottom: 0;
}

.realization-detail-fact span {
  display: block;
  margin-bottom: 3px;
  color: var(--gray);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.realization-detail-fact strong {
  display: block;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.4;
}

.realization-gallery {
  margin-top: 80px;
  padding-top: 65px;
  border-top: 1px solid var(--border);
}

.realization-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.realization-gallery-item {
  position: relative;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8edf1;
  border: 0;
  border-radius: 7px;
}

.realization-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.realization-gallery-item:hover img {
  transform: scale(1.04);
}

.realization-lightbox[hidden] {
  display: none !important;
}

.realization-lightbox {
  position: fixed;
  inset: 0;
  z-index: 6000;
  padding: 40px;
  display: grid;
  place-items: center;
  background: rgba(8, 14, 19, 0.94);
}

.realization-lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0,0,0,0.45);
}

.realization-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  color: white;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  font-size: 28px;
}

@media (max-width: 900px) {
  .realizations-admin-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .realization-detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .realizations-existing-images-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .realizations-modal {
    padding: 10px;
    align-items: end;
  }

  .realizations-modal-card {
    width: 100%;
    max-height: 92vh;
    padding: 31px 18px 22px;
    border-radius: 12px 12px 0 0;
  }

  .realization-editor-grid {
    grid-template-columns: 1fr;
  }

  .realization-editor-span-2 {
    grid-column: auto;
  }

  .realization-editor-actions {
    flex-direction: column-reverse;
  }

  .realization-editor-actions .btn {
    width: 100%;
  }

  .realizations-existing-images-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .realization-detail-hero {
    min-height: 390px;
  }

  .realization-detail-hero-content {
    padding-top: 70px;
    padding-bottom: 42px;
  }

  .realization-detail-hero h1 {
    font-size: 34px;
  }

  .realization-detail-intro {
    font-size: 19px;
  }

  .realization-gallery {
    margin-top: 50px;
    padding-top: 45px;
  }

  .realization-gallery-grid {
    grid-template-columns: 1fr;
  }

  .realization-lightbox {
    padding: 16px;
  }
}

/* NÁHLEDY VYBRANÝCH FOTOGRAFIÍ PŘED NAHRÁNÍM */
.realizations-selected-head {
  margin: 10px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.realizations-selected-head strong {
  color: var(--dark);
  font-size: 12px;
}

.realizations-clear-selected {
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.realizations-selected-images {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.realizations-selected-images-cover {
  max-width: 180px;
  grid-template-columns: 1fr;
}

.realizations-selected-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #eef2f5;
}

.realizations-selected-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.realizations-selected-image-info {
  padding: 7px 8px;
  background: #fff;
}

.realizations-selected-image-name {
  display: block;
  overflow: hidden;
  color: var(--gray-dark, #4d5b66);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.realizations-selected-image-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(161, 26, 18, 0.94);
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.realizations-selected-image-remove:hover {
  transform: scale(1.06);
}

@media (max-width: 760px) {
  .realizations-selected-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .realizations-selected-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.realizations-field > label {
  display: block;
}

.realizations-field > label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 900;
}

/* Admin ovládání realizací v patičce */
.footer-admin-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-admin-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-admin-auth-actions[hidden] {
  display: none !important;
}

.footer-admin-action {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.footer-admin-action:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.footer-admin-action-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.footer-admin-action-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

@media (max-width: 720px) {
  .footer-bottom-inner {
    gap: 14px;
  }

  .footer-admin-actions,
  .footer-admin-auth-actions {
    justify-content: flex-start;
  }
}


/* ==================================================
   FACEBOOK – KONTAKT + PATIČKA
================================================== */
.contact-facebook-link {
  margin-top: 25px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.contact-facebook-link:hover {
  transform: translateY(-2px);
}

.contact-facebook-link .contact-social-placeholder {
  flex: 0 0 auto;
  margin-top: 0;
  transition: background 0.18s ease, color 0.18s ease;
}

.contact-facebook-link:hover .contact-social-placeholder {
  color: #07579f;
  background: #eaf4fb;
}

.contact-facebook-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-facebook-copy strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
}

.contact-facebook-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.25;
}

.footer-bottom-inner {
  flex-wrap: wrap;
}

.footer-facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer-facebook-link:hover {
  color: var(--white);
}

.footer-facebook-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  color: #07579f;
  background: #ffffff;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 650px) {
  .contact-facebook-link {
    width: 100%;
  }

  .footer-facebook-link {
    margin-top: 4px;
  }
}


/* ==================================================
   OCHRANA OSOBNÍCH ÚDAJŮ + ODKAZY V PATIČCE
================================================== */
.footer-privacy-link {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-privacy-link:hover,
.footer-privacy-link:focus-visible {
  color: #ffffff;
}

.form-privacy-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.55;
}

.form-privacy-note a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-consent a {
  color: #005eaa;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-page {
  background: #f6f8fa;
}

.privacy-layout {
  max-width: 960px;
}

.privacy-card {
  padding: clamp(28px, 5vw, 58px);
  background: #ffffff;
  border: 1px solid #dfe6ec;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 38, 55, 0.07);
}

.privacy-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  color: #15232d;
  font-size: 24px;
}

.privacy-card h2:first-of-type {
  margin-top: 8px;
}

.privacy-card p,
.privacy-card li {
  color: #5a6b78;
  line-height: 1.75;
}

.privacy-card ul {
  margin: 12px 0 18px 22px;
}

.privacy-card a {
  color: #005eaa;
  font-weight: 700;
}

.privacy-updated {
  margin-bottom: 20px;
  color: #7b8a95 !important;
  font-size: 13px;
}

.privacy-contact-box {
  margin-top: 38px;
  padding: 24px 28px;
  background: #eef6fc;
  border-left: 4px solid #0064ad;
  border-radius: 4px;
}

.privacy-contact-box h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .footer-privacy-link {
    font-size: 10px;
  }
}
