
:root {
  --blue: #0068c9;
  --blue-dark: #0056aa;
  --ink: #091725;
  --muted: #48586b;
  --line: #dce7f3;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1400px, calc(100% - 80px));
  margin: auto;
}

/* HLAVIČKA */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 12px #07182a12;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  padding: 12px 0;
  white-space: nowrap;
}

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

.nav a.active {
  border-bottom: 3px solid var(--blue);
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.login {
  font-size: 12px;
  color: var(--blue);
  white-space: nowrap;
}

.phone-button,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  padding: 15px 21px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.phone-button {
  padding: 13px 19px;
}

.phone-button:hover,
.button-primary:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--blue);
  cursor: pointer;
}

/* ÚVOD */

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

.hero-photo {
  position: absolute;
  right: max(40px, calc((100vw - 1400px) / 2));
  top: 0;
  width: 57%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #f7fbff 0%,
    #f1f8ff 35%,
    rgba(237,246,255,.88) 43%,
    rgba(219,238,255,.35) 55%,
    transparent 70%
  );
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 420px;
  height: 420px;
  top: -110px;
  left: 35%;
  transform: rotate(45deg);
  border: 55px solid rgba(190,222,248,.08);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 55%;
  max-width: 700px;
  padding: 45px 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
}

.hero h1 {
  font-size: clamp(38px, 3.5vw, 56px);
  line-height: 1.08;
  margin: 14px 0;
  letter-spacing: -1.4px;
}

.hero p {
  max-width: 630px;
  font-size: 18px;
  line-height: 1.5;
  color: #344457;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0 32px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 23px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
}

.button-secondary:hover {
  color: var(--blue);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
}

.hero-point svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

/* SEKCE */

.section {
  padding: 30px 0 14px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -.7px;
}

.section-heading h2::after {
  content: "";
  display: inline-block;
  width: 54px;
  height: 4px;
  margin: 0 0 8px 17px;
  background: var(--blue);
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* SLUŽBY */

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

.service-card {
  min-height: 162px;
  position: relative;
  display: flex;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 23px 19px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16,44,75,.035);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(18,60,106,.12);
}

.service-icon {
  flex: none;
  width: 53px;
  height: 53px;
  color: var(--blue);
}

.service-card h3 {
  margin: 1px 0 10px;
  font-size: 17px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.service-arrow {
  position: absolute;
  right: 17px;
  bottom: 12px;
  color: var(--blue);
  font-size: 22px;
}

/* O MNĚ */

.about {
  padding-top: 34px;
}

.about-title {
  font-size: 30px;
  margin: 0 0 20px;
}

.about-title::before,
.gallery-title::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 4px;
  background: var(--blue);
  margin: 0 16px 8px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 46px;
  align-items: center;
}

.about-image {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
}

.about-text h3 {
  font-size: 29px;
  margin: 0 0 5px;
}

.about-subtitle {
  color: var(--blue);
  font-weight: 800;
  font-size: 17px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.about-benefits {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 13px;
  margin: 25px 0;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.benefit svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
  flex: none;
}

/* REALIZACE */

.gallery {
  padding-top: 28px;
  padding-bottom: 28px;
}

.gallery-title {
  font-size: 30px;
  margin: 0;
}

.section-heading .gallery-title::after {
  display: none;
}

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

.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.gallery-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.gallery-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* KONTAKTNÍ FORMULÁŘ */

.contact-section {
  padding: 55px 0 65px;
  background: #f5f9fd;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 55px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  margin: 0 0 8px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #fff;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd9e6;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  font-size: 12px;
  color: #607084;
  line-height: 1.5;
}

/* SPODNÍ KONTAKTNÍ PRUH */

.contact-band {
  background: #071523;
  color: #fff;
  padding: 38px 0;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.contact-band h2 {
  font-size: 27px;
  margin: 0 0 8px;
}

.contact-band p {
  margin: 0;
  font-size: 15px;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 14px;
}

.contact-links a:hover {
  color: #80bfff;
}

/* PATIČKA */

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 125px;
}

.footer-logo {
  width: 200px;
  height: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 13px;
}

.footer-meta {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* RESPONZIVITA */

@media (max-width: 1150px) {
  .container {
    width: min(100% - 44px,1100px);
  }

  .header-inner {
    gap: 15px;
  }

  .logo {
    width: 215px;
  }

  .nav {
    gap: 15px;
  }

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

  .hero-copy {
    width: 60%;
  }

  .hero-photo {
    width: 60%;
  }

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

@media (max-width: 800px) {
  .header-inner {
    min-height: 80px;
  }

  .logo {
    width: 195px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 12px 20px #0002;
  }

  .nav.open {
    display: flex;
  }

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

  .login {
    display: none;
  }

  .phone-button {
    padding: 11px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

	.hero-photo {
	  right: 0;
	  width: 100%;
	  opacity: .28;
	  object-position: center 70%;
	}

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(246,251,255,.94),
      rgba(237,247,255,.82)
    );
  }

  .hero-inner {
    min-height: 500px;
  }

  .hero-copy {
    width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .contact-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 30px);
  }

  .header-actions {
    display: none;
  }

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

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

  .hero-points {
    gap: 14px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

  .gallery-grid {
    gap: 10px;
  }

  .gallery-grid img {
    height: 135px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-links {
    gap: 15px;
  }
}

/* ROZBALOVACÍ MENU SLUŽEB */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 0; background: none; border: 0;
  color: var(--ink); font: inherit; font-weight: 600;
  white-space: nowrap; cursor: pointer;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] { color: var(--blue); }
.nav-chevron { font-size: 12px; transition: transform .2s; }
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -16px;
  min-width: 310px; padding: 9px; background: #fff;
  border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 12px 28px rgba(9,23,37,.14); z-index: 60;
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav .nav-dropdown-menu a {
  display: block; padding: 11px 13px; border-radius: 4px;
  font-size: 13px; font-weight: 600; white-space: normal;
}
.nav .nav-dropdown-menu a:hover { color: var(--blue); background: #edf6ff; }
.service-card { scroll-margin-top: 115px; }
@media (min-width: 801px) and (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
}
@media (max-width: 800px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { padding: 12px 0; }
  .nav-dropdown-menu {
    position: static; min-width: 0; width: 100%;
    box-shadow: none; margin: 3px 0 8px; padding: 4px;
    border-left: 3px solid var(--blue); border-radius: 0 5px 5px 0;
  }
}

/* ZVÝRAZNĚNÍ AKTUÁLNÍ SEKCE V NAVIGACI */
.nav-dropdown-toggle.active {
  color: var(--blue);
  border-bottom: 3px solid var(--blue);
}

/* Karty realizací a zvětšení fotografií */
.gallery-item { display:block; overflow:hidden; border:1px solid var(--line); border-radius:7px; background:#fff; color:inherit; text-decoration:none; }
.gallery-item img { border-radius:0; transition:transform .25s ease; }
.gallery-item:hover img { transform:scale(1.035); }
.gallery-item span { display:block; padding:12px; font-size:13px; font-weight:700; }
.gallery-lightbox { position:fixed; inset:0; z-index:2000; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.9); padding:44px; cursor:zoom-out; }
.gallery-lightbox.open { display:flex; }
.gallery-lightbox img { max-width:100%; max-height:90vh; object-fit:contain; }
@media(max-width:540px) { .gallery-item span { padding:9px; font-size:12px; } .gallery-lightbox { padding:15px; } }

/* PODSTRÁNKA SLUŽBY */
.service-hero { background:linear-gradient(120deg,#f0f7ff,#ffffff); padding:43px 0 39px; border-bottom:1px solid var(--line); }
.service-hero .eyebrow { margin-bottom:10px; }
.service-hero h1 { font-size:clamp(34px,4vw,52px); line-height:1.12; letter-spacing:-1px; margin:0 0 14px; max-width:850px; }
.service-hero p { color:var(--muted); font-size:17px; line-height:1.55; max-width:860px; margin:0 0 17px; }
.breadcrumb { font-size:13px; color:var(--muted); margin-bottom:28px; }
.breadcrumb a { color:var(--blue); }
.service-content { padding:52px 0 65px; }
.service-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:55px; align-items:start; }
.service-article h2 { font-size:27px; margin:0 0 15px; }
.service-article p { color:var(--muted); line-height:1.75; }
.service-article ul { padding-left:22px; color:var(--muted); line-height:1.8; }
.service-block { padding:0 0 28px; margin-bottom:32px; border-bottom:1px solid var(--line); scroll-margin-top:115px; }
.service-block:last-child { border-bottom:0; }
.service-sidebar { position:sticky; top:115px; border:1px solid var(--line); border-radius:9px; padding:26px; background:#f7fbff; }
.service-sidebar h3 { margin:0 0 14px; font-size:21px; }
.service-sidebar p { color:var(--muted); font-size:14px; line-height:1.6; }
.service-sidebar .button-primary { width:100%; text-align:center; }
.service-sidebar .sidebar-link { display:block; color:var(--blue); margin-top:18px; font-size:14px; font-weight:700; }
@media(max-width:900px) { .service-layout { grid-template-columns:1fr; } .service-sidebar { position:static; } }
@media(max-width:540px) { .service-hero { padding:30px 0; } .service-content { padding:34px 0; } }


/* Nadpis a technické prvky kontaktního formuláře */
.contact-form-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--blue);
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.form-verification {
  grid-column: 1 / -1;
  min-width: 0;
}
