/**
* Template Name: rekbytu
* Template URL: http://rekonstrukcebytupardubice.cz
* Updated: 20.2.2026
* Author: Fresh Mill studio, tvoba webovych stranek
* License: https://freshmill.cz
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Readex+Pro:wght@160..700&display=swap');

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: #475569;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

a {
  color: #f59e0b;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  font-family: 'Exo', sans-serif;
}

p {
  font-family: 'Poppins', sans-serif;
}


@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# UVOD
--------------------------------------------------------------*/
:root {
  --accent: #f5a623;
  --accent-dark: #d4880f;
  --dark: #0f1628;
  --dark2: #141d35;
  --dark3: #1a2540;
  --text-muted-light: rgba(255, 255, 255, .6);
  --card-border: rgba(245, 166, 35, .25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}

/* ═══════════════════════════════════
       NAVBAR
    ═══════════════════════════════════ */
.navbar {
  background: var(--dark) !important;
  padding: .9rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff !important;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.navbar-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}

.nav-link {
  color: rgba(255, 255, 255, .75) !important;
  font-weight: 500;
  font-family: 'Readex Pro', sans-serif;
  font-size: .95rem;
  padding: .4rem .9rem !important;
  transition: color .2s;
}

.nav-link:hover {
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .btn-nav {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-family: 'Readex Pro', sans-serif;
  font-size: .9rem;
  padding: .5rem 1.25rem;
  border-radius: .35rem;
  border: none;
  text-decoration: none;
  transition: background .2s;
}

.navbar .btn-nav:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* ═══════════════════════════════════
       HERO
    ═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1800&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 16, 35, .90) 45%, rgba(10, 16, 35, .55) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(245, 166, 35, .15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Exo', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.0;
  text-transform: none;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--accent);
  display: block;
}

.hero-subtitle {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.85rem;
  border: none;
  border-radius: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.85rem;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transform: translateY(-2px);
}

/* Info card wrapper – perspective pro 3D tilt */
.info-card-wrap {
  perspective: 900px;
}

/* Info card */
.info-card {
  background: rgba(15, 22, 40, .88);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* výchozí naklopení – jako na screenshotu */
  transform: rotate3d(0.4, -1, 0.1, 10deg) rotateZ(-2deg);
  transition: transform .08s ease-out;
  will-change: transform;
  box-shadow: 12px 20px 50px rgba(0, 0, 0, .45);
}

.info-card h4 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: .7rem;
}

.check-item i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .15rem;
  font-size: .95rem;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.stat-val {
  font-family: 'Exo', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.stat-val.accent {
  color: var(--accent);
}

.stat-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  margin-top: .2rem;
}

.divider-v {
  width: 1px;
  background: rgba(255, 255, 255, .18);
  align-self: stretch;
}

/* ═══════════════════════════════════
       QUALITY SECTION
    ═══════════════════════════════════ */
.section-quality {
  padding: 6rem 0;
  background: #fff;
}

.section-quality .section-title {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--dark);
}

.section-quality p {
  color: #555;
  font-size: .98rem;
  line-height: 1.7;
}

.quality-image-wrap {
  position: relative;
}

.quality-image-wrap img {
  width: 100%;
  border-radius: .75rem;
  object-fit: contain;
  height: 500px;
}

.quality-image-wrap .img-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border-radius: .6rem;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.quality-image-wrap .img-badge i {
  color: var(--accent);
}

.quality-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  color: #444;
  margin-bottom: .55rem;
}

.quality-check i {
  color: var(--accent);
  flex-shrink: 0;
  font-size: .9rem;
  margin-top: .18rem;
}

.quality-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.quality-stat .val {
  font-family: 'Exo', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.quality-stat .lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
  margin-top: .2rem;
}

/* ═══════════════════════════════════
       FEATURES STRIP
    ═══════════════════════════════════ */
.section-features {
  padding: 5rem 0;
  background: #f5f6fa;
}

.feature-card {
  background: #fff;
  border: 1px solid #eaedf3;
  border-radius: 1rem;
  padding: 2rem 1.75rem 2rem;
  text-align: left;
  height: 100%;
  transition: box-shadow .25s, transform .2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1.5rem 0;
  background: rgba(245, 166, 35, .1);
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}

.feature-card h5 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: .65rem;
}

.feature-card p {
  font-size: .9rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════
       BRANDS / PARTNERS
    ═══════════════════════════════════ */
.section-brands {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.brands-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #aaa;
  text-align: center;
  margin-bottom: 1.5rem;
}

.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}

.brand-name {
  font-family: 'Readex Pro', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #bbb;
  letter-spacing: .04em;
  transition: color .2s;
}

.brand-name:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════
       SERVICES
    ═══════════════════════════════════ */
.section-services {
  padding: 6rem 0;
  background: #f0f2f7;
}

.section-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .6rem;
  display: block;
}

.section-heading {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.1;
}

.section-subtext {
  color: #666;
  font-size: .98rem;
  line-height: 1.6;
  max-width: 540px;
  margin: .75rem auto 0;
}

/* Karta služby */
.service-card {
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: box-shadow .25s, transform .2s, border-color .25s;
}

.service-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, .10);
  transform: translateY(-4px);
  border-color: #dde0ea;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
}

.service-card:hover h5 {
  color: var(--accent);
}

.service-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0;
  transition: opacity .2s;
}

.service-card:hover .service-card-arrow {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #f0f2f7;
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 1.25rem;
  transition: background .25s, color .25s;
  flex-shrink: 0;
}

.service-card h5 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: .5rem;
  transition: color .25s;
}

.service-card p {
  font-size: .88rem;
  color: #777;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-link {
  font-family: 'Readex Pro', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: #aaa;
  text-decoration: none;
  margin-top: auto;
}

.service-card:hover .service-link {
  color: var(--accent);
}

/* ═══════════════════════════════════
       SERVICE MODAL
    ═══════════════════════════════════ */
.svc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 35, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.svc-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.svc-modal {
  background: #fff;
  border-radius: 1.25rem;
  max-width: 820px;
  width: 100%;
  display: flex;
  overflow: hidden;
  max-height: 90vh;
  transform: translateY(20px) scale(.97);
  transition: transform .3s;
  position: relative;
}

.svc-modal-overlay.show .svc-modal {
  transform: translateY(0) scale(1);
}

.svc-modal-img {
  width: 42%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

@media (max-width: 639px) {
  .svc-modal-img {
    display: none;
  }
}

.svc-modal-body {
  padding: 2.5rem 2rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.svc-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: #f0f2f7;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  transition: background .2s, color .2s;
  z-index: 10;
}

.svc-modal-close:hover {
  background: var(--accent);
  color: #fff;
}

.svc-modal-title {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: .5rem;
}

.svc-modal-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.svc-modal-desc {
  font-size: .97rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.svc-modal-includes {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dark);
  margin-bottom: .75rem;
}

.svc-modal-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.svc-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  color: #444;
  margin-bottom: .55rem;
}

.svc-modal-list li i {
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: .1rem;
}

.svc-modal-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.svc-modal-actions .btn-accent {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

.svc-modal-actions .btn-close-modal {
  flex: 0 0 auto;
  background: transparent;
  border: 2px solid #ddd;
  color: var(--dark);
  font-weight: 600;
  font-size: .97rem;
  padding: .82rem 1.5rem;
  border-radius: .4rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.svc-modal-actions .btn-close-modal:hover {
  border-color: #bbb;
  background: #f5f5f5;
}

/* ═══════════════════════════════════
       PROCESS (dark)
    ═══════════════════════════════════ */
.section-process {
  background: #0d1526;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, .04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245, 166, 35, .03) 0%, transparent 50%);
  padding: 6rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* jemná hvězdičková textura */
.section-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.section-process .container {
  position: relative;
  z-index: 1;
}

.section-process .section-label {
  color: var(--accent);
}

.section-process .section-heading {
  color: #fff;
}

/* Wrapper karet */
.process-cards-row {
  display: flex;
  gap: 0;
  align-items: stretch;
  justify-content: center;
}

.process-item {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 300px;
}

/* Karta – výchozí stav */
.process-card {
  flex: 1;
  background: #141e33;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  position: relative;
  transition: border-color .3s, background .3s, box-shadow .3s;
  z-index: 1;
  cursor: default;
}

/* Hover – zlatý border + světlejší bg */
.process-card:hover {
  background: #1a2540;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Ikona kruh – výchozí šedivý */
.process-icon-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.process-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: rgba(245, 166, 35, .7);
  transition: background .3s, border-color .3s, color .3s;
}

/* Hover – zlatý kruh */
.process-card:hover .process-icon-circle {
  background: rgba(245, 166, 35, .12);
  border-color: var(--accent);
  color: var(--accent);
}

/* Badge číslo */
.process-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Exo', sans-serif;
  line-height: 1;
}

.process-card h5 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: .65rem;
}

.process-card p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65;
  margin: 0;
}

/* Connector šipka mezi kartami */
.process-connector {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 166, 35, .45);
  font-size: 1rem;
}

/* Tip box */
.process-tip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(245, 166, 35, .08);
  border: 1px solid rgba(245, 166, 35, .3);
  border-radius: .5rem;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  margin-top: 3rem;
}

.process-tip strong {
  color: var(--accent);
}

/* Responzivita */
@media (max-width: 991.98px) {
  .process-cards-row {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .process-item {
    max-width: calc(50% - .5rem);
    flex: 0 0 calc(50% - .5rem);
  }

  .process-connector {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .process-item {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* ═══════════════════════════════════
       PORTFOLIO
    ═══════════════════════════════════ */
.section-portfolio {
  padding: 6rem 0 0 0;
  background: #fff;
}

.portfolio-header h2 {
  font-family: 'Exo', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.portfolio-header p {
  font-size: .97rem;
  color: #777;
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1.4rem;
  border: 1.5px solid #ccc;
  border-radius: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}

.btn-outline-dark:hover {
  border-color: var(--dark);
  background: #f5f5f5;
  color: var(--dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  grid-template-rows: 255px 255px;
  gap: 1rem;
}

.portfolio-col-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-row: 1 / 3;
}

.portfolio-col-left .p-item {
  flex: 1;
}

.portfolio-center {
  grid-column: 2;
  grid-row: 1 / 3;
}

.portfolio-col-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-row: 1 / 3;
}

.portfolio-col-right .p-item {
  flex: 1;
}

.p-item {
  position: relative;
  overflow: hidden;
  border-radius: .85rem;
  cursor: pointer;
  background: #eee;
}

.p-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.p-item:hover img {
  transform: scale(1.06);
}

.p-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 32, .82) 0%, rgba(8, 14, 32, .1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1.25rem;
}

.p-item:hover .p-item-overlay {
  opacity: 1;
}

.p-item-cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .2rem;
}

.p-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: .35rem;
  line-height: 1.2;
}

.p-item-zoom {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: .6rem 1.4rem;
  border: 2px solid var(--accent);
  border-radius: .4rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

/* PORTFOLIO MODAL */
.port-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 22, .88);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.port-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.port-modal {
  background: #fff;
  border-radius: 1.25rem;
  max-width: 860px;
  width: 100%;
  display: flex;
  overflow: hidden;
  transform: scale(.95);
  transition: transform .3s;
  max-height: 90vh;
}

.port-modal-overlay.show .port-modal {
  transform: scale(1);
}

.port-modal-gallery {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;
  background: #111;
}

.port-modal-gallery .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s;
}

.port-modal-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: .4rem;
  padding: .6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
}

.port-modal-thumb {
  width: 52px;
  height: 40px;
  border-radius: .35rem;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color .2s;
}

.port-modal-thumb.active {
  border-color: var(--accent);
}

.port-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.port-modal-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
  z-index: 10;
}

.port-modal-close:hover {
  background: rgba(255, 255, 255, .25);
}

.port-modal-body {
  flex: 1;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.port-modal-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .5rem;
}

.port-modal-title {
  font-family: 'Exo', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.port-modal-desc {
  font-size: .95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-dark-solid {
  background: var(--dark);
  color: #fff;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: .97rem;
  padding: .9rem 1.75rem;
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background .2s;
}

.btn-dark-solid:hover {
  background: #1a2540;
  color: #fff;
}

@media (max-width: 991.98px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }

  .portfolio-col-left {
    grid-row: 1;
    flex-direction: row;
  }

  .portfolio-center {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .portfolio-col-right {
    grid-row: 3;
    flex-direction: row;
  }
}

@media (max-width: 575.98px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-col-left,
  .portfolio-col-right {
    flex-direction: column;
    grid-row: auto;
  }

  .portfolio-center {
    grid-column: 1;
  }

  .port-modal {
    flex-direction: column;
  }

  .port-modal-gallery {
    flex: 0 0 220px;
  }
}

/* ═══════════════════════════════════
       TESTIMONIALS
    ═══════════════════════════════════ */
.section-testimonials {
  padding: 6rem 0;
  background: #fff;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: .75rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  height: 100%;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: .9rem;
  margin-bottom: .75rem;
}

.testimonial-card blockquote {
  font-size: .93rem;
  color: #444;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
}

.author-city {
  font-size: .8rem;
  color: #888;
}

/* ═══════════════════════════════════
       CONTACT
    ═══════════════════════════════════ */
.section-contact {
  background: var(--dark2);
  padding: 6rem 0;
  color: #fff;
}

.section-contact .section-label {
  color: var(--accent);
}

.contact-title {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(245, 166, 35, .12);
  border: 1px solid var(--card-border);
  border-radius: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
}

.contact-info-item .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .45);
}

.contact-info-item .value {
  font-weight: 600;
  color: #fff;
  font-size: .98rem;
}

.contact-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
}

.contact-form h4 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.form-control {
  background: rgba(255, 255, 255, .07) !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  color: #fff !important;
  border-radius: .45rem !important;
  font-family: 'Poppins', sans-serif;
  font-size: .93rem;
  padding: .7rem 1rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, .4) !important;
}

.form-control:focus {
  background: rgba(255, 255, 255, .1) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .15) !important;
  outline: none;
}

.form-label {
  color: rgba(255, 255, 255, .7);
  font-size: .87rem;
  margin-bottom: .35rem;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem;
  border: none;
  border-radius: .45rem;
  width: 100%;
  transition: background .2s;
}

.btn-submit:hover {
  background: var(--accent-dark);
}

/* ═══════════════════════════════════
       FOOTER
    ═══════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, .6);
}

.footer-brand {
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}

.footer-brand .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: #fff;
}

.footer p {
  font-size: .88rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

footer ul.menu {
  list-style: none;
  padding: 0;
}

footer ul.menu li {
  margin-bottom: .45rem;
}

footer ul.menu a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}

footer ul.menu a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .07);
  border-radius: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

/* ═══════════════════════════════════
       UTILITIES & RESPONSIVE
    ═══════════════════════════════════ */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .info-card {
    margin-top: 3rem;
  }

  .section-quality {
    padding: 4rem 0;
  }

  .section-features,
  .section-services,
  .section-process,
  .section-portfolio,
  .section-testimonials,
  .section-contact {
    padding: 4rem 0;
  }
}

@media (max-width: 575.98px) {

  .btn-accent,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .quality-stats {
    gap: 1.5rem;
  }

  .brands-row {
    gap: 1.5rem 2rem;
  }
}



/*--------------------------------------------------------------
# PODSTRÁNKA NEZÁVAZNÁ NABÍDKA
# Fonty:
#   Nadpisy      → 'Exo', sans-serif
#   Popisy/text  → 'Poppins', sans-serif
#   Tlačítka/UI  → 'Readex Pro', sans-serif
--------------------------------------------------------------*/

/* ── PAGE HEADER ── */
.page-header {
  background: var(--bg-light);
  padding: 3rem 0 0;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Readex Pro', sans-serif;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color .2s;
}

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

.page-title {
  font-family: 'Exo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: .6rem;
}

.page-title span {
  color: var(--accent);
}

.page-subtitle {
  font-family: 'Poppins', sans-serif;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ── MAIN SECTION ── */
.nabidka-section {
  padding: 0 0 5rem;
}

/* ── FORM CARD ── */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
}

/* ── FORM LABELS & INPUTS ── */
.form-label {
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.form-label i {
  color: var(--accent);
  font-size: 1rem;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .95rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .15);
  outline: none;
}

.form-control::placeholder {
  color: #b0b8c4;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ── ROZSAH TOGGLE BUTTONS ── */
.rozsah-group {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.rozsah-btn {
  flex: 1;
  min-width: 100px;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}

.rozsah-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.rozsah-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245, 166, 35, .35);
}

/* ── STEP NAVIGATION BUTTONS ── */
.step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: .8rem;
}

.btn-prev {
  flex: 0 0 auto;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .65rem 1.4rem;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}

.btn-prev:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-next {
  flex: 1;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: .65rem 1.4rem;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-shadow: 0 4px 14px rgba(245, 166, 35, .35);
}

.btn-next:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ── SUBMIT BUTTON ── */
.btn-submit {
  flex: 1;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(245, 166, 35, .4);
}

.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, .5);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ── CONSENT TEXT ── */
.form-consent {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .75rem;
}

.form-consent a {
  color: var(--accent);
  text-decoration: none;
}

/* ── PROGRESS BAR ── */
.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  cursor: pointer;
}

.progress-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-muted);
  transition: all .3s;
  z-index: 1;
  position: relative;
}

.progress-step.active .progress-step-dot,
.progress-step.done .progress-step-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, .2);
}

.progress-step-label {
  font-family: 'Readex Pro', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: .4rem;
  text-align: center;
  transition: color .3s;
}

.progress-step.active .progress-step-label {
  color: var(--accent);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-bottom: 1.4rem;
  transition: background .3s;
}

.progress-line.done {
  background: var(--accent);
}

/* ── MULTI-STEP FORM ── */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: nabidkaSlideIn .3s ease both;
}

@keyframes nabidkaSlideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nabidkaShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-8px);
  }

  40% {
    transform: translateX(8px);
  }

  60% {
    transform: translateX(-5px);
  }

  80% {
    transform: translateX(5px);
  }
}

/* ── SUCCESS STATE ── */
.success-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-overlay.show {
  display: flex;
}

.form-content.hidden {
  display: none;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1.3rem;
  box-shadow: 0 8px 24px rgba(245, 166, 35, .4);
  animation: nabidkaPopIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes nabidkaPopIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: 'Exo', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: .5rem;
}

.success-text {
  font-family: 'Poppins', sans-serif;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 380px;
}

.btn-back-home {
  margin-top: 1.5rem;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: .75rem 1.8rem;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-block;
}

.btn-back-home:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  color: var(--dark);
}

/* ── SIDEBAR ── */
.sidebar-sticky {
  position: sticky;
  top: 90px;
}

/* Co následuje card */
.steps-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.8rem 1.6rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.steps-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.steps-card-title {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.3rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

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

.step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--accent);
  border-radius: 50%;
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text strong {
  display: block;
  font-family: 'Exo', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .15rem;
}

.step-text span {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Kontakt card */
.contact-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.contact-form .wpcf7-form-control-wrap,
.contact-form br {
  display: none;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}
.contact-card::before {
  content: '';
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  opacity: .12;
  border-radius: 50%;
}

.contact-card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  opacity: .08;
  border-radius: 50%;
}

.contact-card-title {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.25;
}

.contact-card p {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--accent);
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  transition: opacity .2s;
  position: relative;
  z-index: 1;
}

.contact-phone:hover {
  opacity: .85;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .sidebar-sticky {
    position: static;
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .form-card {
    padding: 1.5rem 1.2rem;
  }

  .rozsah-btn {
    min-width: 80px;
    font-size: .82rem;
  }
}

/*--------------------------------------------------------------
# PODSTRANKA
--------------------------------------------------------------*/
.podstranka-wrap {
  min-height: 100vh;
  background: #f0f2f5;
  padding: 48px 20px 80px;
}
.podstranka-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.podstranka-back:hover {
  color: #111;
}
.podstranka-back svg {
  width: 16px;
  height: 16px;
}
.podstranka-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 64px 48px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}
.podstranka-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.podstranka-icon {
  width: 40px;
  height: 40px;
  background: #fff8e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.podstranka-icon svg {
  width: 22px;
  height: 22px;
  color: #f5a623;
}
.podstranka-card h1 {
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

/* WordPress the_content() styling */
.podstranka-content h2,
.podstranka-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.podstranka-content h2:first-child,
.podstranka-content h3:first-child {
  margin-top: 0;
}
.podstranka-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin: 0 0 16px;
  font-weight: 300;
}
.podstranka-content strong {
  font-weight: 500;
  color: #555;
}

.podstranka-content ul,
.podstranka-content ol {
  padding-left: 20px;
  margin: 0 0 16px;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
}
.podstranka-content li {
  margin-bottom: 6px;
}
.podstranka-content a {
  color: #f5a623;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
  transition: border-color 0.2s;
}
.podstranka-content a:hover {
  border-color: #141d35;
  text-decoration: underline;
}
.podstranka-content blockquote {
  border-left: 3px solid #e5e7eb;
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  color: #6b7280;
  font-style: italic;
}
.podstranka-content hr {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 32px 0;
}
.podstranka-footer-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
  font-size: 13px;
  color: #555;
  font-style: italic;
}
@media (max-width: 640px) {
  .podstranka-card {
    padding: 32px 24px;
  }
  .podstranka-card h1 {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# NEZAVAZNA NABIDKA
--------------------------------------------------------------*/
.form-card.dark {
    background-color: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px;
}

/* Labely */
.form-card.dark .wpcf7-form label,
.form-card.dark label {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Inputy a textarea */
.form-card.dark .wpcf7-form input[type="text"],
.form-card.dark .wpcf7-form input[type="email"],
.form-card.dark .wpcf7-form input[type="tel"],
.form-card.dark .wpcf7-form textarea {
    background-color: #252b3b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    padding: 14px 16px;
    width: 100%;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-card.dark .wpcf7-form input::placeholder,
.form-card.dark .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-card.dark .wpcf7-form input:focus,
.form-card.dark .wpcf7-form textarea:focus {
    outline: none;
    border-color: #f5a623;
}

/* Submit tlačítko */
.form-card.dark .wpcf7-form input[type="submit"] {
    background-color: #f5a623;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.form-card.dark .wpcf7-form input[type="submit"]:hover {
    background-color: #e09610;
    transform: translateY(-1px);
}

/* Název formuláře */
.form-card.dark h2,
.form-card.dark h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 24px;
}
/* Select / Dropdown */
.form-card.dark .wpcf7-form select,
.form-card.dark select {
    background-color: #252b3b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    padding: 14px 40px 14px 16px;
    width: 100%;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;

    /* Šipka dolů */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5a623' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-card.dark .wpcf7-form select:focus,
.form-card.dark select:focus {
    outline: none;
    border-color: #f5a623;
}

/* Možnosti v dropdownu */
.form-card.dark .wpcf7-form select option,
.form-card.dark select option {
    background-color: #252b3b;
    color: #ffffff;
}

/* Vybraná (aktivní) možnost */
.form-card.dark .wpcf7-form select option:checked,
.form-card.dark select option:checked {
    background-color: #f5a623;
    color: #1a1a1a;
}
.form-response-time{
  font-size:14px;
  color:#6c757d;
  margin-top:10px;
}

/*--------------------------------------------------------------
# GALERIE
--------------------------------------------------------------*/
.galerie-wrap {
  background: #f5f5f0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  position: relative;
}

.galerie-wrap .galerie-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 740px) {
  .galerie-wrap .galerie-container { padding: 0 20px; }
}

/* ── ZPĚT ODKAZ ── */
.galerie-back {
  padding-top: 24px;
  padding-bottom: 0;
}

.galerie-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b6b6b;
  text-decoration: none;
  transition: color .2s;
}

.galerie-back a:hover { color: #1a1a1a; }

.galerie-back a svg { width: 16px; height: 16px; }

/* ── HEADER ── */
.galerie-header {
  padding: 20px 0 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.galerie-title-block .kpi-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 10px;
}

.galerie-title-block .kpi-label svg { width: 15px; height: 15px; }

.galerie-title-block h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  color: #1a1a1a;
  margin: 0;
}

/* ── FILTRY ── */
.galerie-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  background: #fff;
  color: #1a1a1a;
  outline: none;
}

.filter-btn:hover {
  border-color: #F5A623;
  color: #F5A623;
}

.filter-btn.active {
  background: #F5A623;
  color: #fff;
  border-color: #F5A623;
}

/* ── GRID ── */
.galerie-grid {
  padding: 0 0 64px;
  columns: 4;
  column-gap: 16px;
}

@media (max-width: 1100px) {
  .galerie-grid { columns: 3; }
}

@media (max-width: 740px) {
  .galerie-grid { columns: 2; padding: 0 0 40px; }
}

@media (max-width: 480px) {
  .galerie-grid { columns: 1; }
}

.galerie-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  transition: opacity .3s, transform .3s;
  animation: fadeUp .45s ease both;
}

.galerie-item.hidden {
  display: none;
}

.galerie-item img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

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

.galerie-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(0,0,0,.55));
  border-radius: 16px;
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.galerie-item:hover .galerie-item-overlay {
  opacity: 1;
}

.galerie-item-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.galerie-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.galerie-item:hover .galerie-zoom-icon { opacity: 1; }

.galerie-zoom-icon svg { width: 16px; height: 16px; color: #fff; }

/* ── CTA SEKCE ── */
.galerie-cta {
  margin: 0 0 80px;
  background: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}

@media (max-width: 740px) {
  .galerie-cta { margin: 0 0 60px; padding: 40px 24px; }
}

.galerie-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.galerie-cta p {
  font-size: 15px;
  color: #6b6b6b;
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.cta-btn {
  display: inline-block;
  background: #F5A623;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(245,166,35,.35);
}

.cta-btn:hover {
  background: #d4891a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245,166,35,.45);
  color: #fff;
}

/* ── LIGHTBOX ── */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 24px;
}

.lb-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lb-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  max-height: 88vh;
  display: flex;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.lb-close:hover { background: rgba(255,255,255,.25); }

.lb-close svg { width: 20px; height: 20px; color: #fff; }

.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(8px);
  z-index: 10000;
}

.lb-btn:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-50%) scale(1.05);
}

.lb-btn svg { width: 22px; height: 22px; color: #fff; }

.lb-prev { left: 16px; }
.lb-next { right: 16px; }

.lb-caption {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 10000;
}

/* ── ADMIN TLAČÍTKO ── */
.admin-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #fff;
  border: 2px dashed #ccc;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}

.admin-add-btn svg { width: 15px; height: 15px; }

.admin-add-btn:hover {
  border-color: #F5A623;
  color: #F5A623;
}

/* ── DEMO NOTICE ── */
.galerie-demo-notice {
  column-span: all;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 16px;
}

.galerie-demo-notice a {
  color: #b45309;
  font-weight: 600;
}

/* animace */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/*--------------------------------------------------------------
# GALERIE - LIGHTBOX
--------------------------------------------------------------*/
#lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

#lightbox img{
  max-width:90%;
  max-height:85%;
  object-fit:contain;
}

.lightbox-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:white;
  cursor:pointer;
}

.lightbox-prev,
.lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:50px;
  color:white;
  cursor:pointer;
  padding:10px;
}

.lightbox-prev{ left:30px; }
.lightbox-next{ right:30px; }