/* =============================================
   Řemeslná dílna Svoboda
   Rustikální, teplý, rodinný charakter
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Open+Sans:wght@400;500;600&display=swap');

/* ─── RESET & PROMĚNNÉ ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Nová sofistikovaná paleta */
  --brown:       #8B4A2A;   /* mahagon – bohatší červenohnědá */
  --brown-dark:  #3D1E0A;   /* tmavý základ, skoro černohnědá */
  --brown-mid:   #6B3520;
  --brown-light: #B06840;
  --green:       #4A7C59;   /* lesní zelená – elegantní, ne křiklavá */
  --green-dark:  #2E5238;
  --green-light: #5E9470;
  --gold:        #C8922A;   /* mosazné zlato – teplejší než žlutá */
  --gold-light:  #E4AE48;
  --cream:       #FAF7F0;   /* teplá krémová */
  --beige:       #EDE5D6;   /* plátno */
  --beige-dark:  #D4C8B4;
  --text:        #211208;
  --text-light:  #5A3820;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 10px rgba(61,30,10,.12);
  --shadow:      0 6px 28px rgba(61,30,10,.16);
  --shadow-lg:   0 16px 48px rgba(61,30,10,.22);
  --radius:      6px;
  --radius-lg:   12px;
  --max-w:       1100px;
  --transition:  .3s cubic-bezier(.25,.8,.25,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ─── SCROLL-REVEAL ANIMACE ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s cubic-bezier(.25,.8,.25,1),
              transform .65s cubic-bezier(.25,.8,.25,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .65s cubic-bezier(.25,.8,.25,1),
              transform .65s cubic-bezier(.25,.8,.25,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .65s cubic-bezier(.25,.8,.25,1),
              transform .65s cubic-bezier(.25,.8,.25,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* stagger delay pro položky gridu */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .2s; }
.stagger > *:nth-child(4) { transition-delay: .3s; }

/* ─── PAGE-LOAD HERO ANIMACE ─── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadge {
  from { opacity: 0; transform: translateY(-12px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes shimmerLine {
  0%   { width: 0; opacity: 0; }
  100% { width: 56px; opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(200,146,42,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(200,146,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,146,42,0); }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* ─── HEADER ─── */
header {
  background: var(--brown-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 3px 20px rgba(0,0,0,.45);
  transition: box-shadow var(--transition);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--white);
}

.logo-img {
  height: 76px;
  width: auto;
  display: block;
}

.header-title {
  flex: 1;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--transition);
}
.header-title:hover { opacity: .75; }
.ht-name {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}
.ht-sub {
  display: block;
  font-size: .78rem;
  color: #C0906A;
  letter-spacing: .05em;
  margin-top: 2px;
}

.header-contact {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.header-contact a {
  color: #C0906A;
  font-size: .88rem;
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}
.header-contact a:hover { color: var(--gold-light); }

/* ─── NAVIGACE ─── */
nav { background: var(--brown-mid); border-top: 1px solid rgba(200,146,42,.18); }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

nav ul li a {
  display: block;
  padding: 14px 19px;
  color: #E0C8A8;
  font-size: .91rem;
  font-weight: 600;
  letter-spacing: .2px;
  font-family: 'Open Sans', sans-serif;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  position: relative;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%; right: 50%;
  height: 3px;
  background: var(--gold);
  transition: left var(--transition), right var(--transition);
}
nav ul li a:hover::after,
nav ul li a.active::after { left: 0; right: 0; }
nav ul li a:hover, nav ul li a.active { color: var(--gold-light); }

.hamburger {
  display: none;
  background: none;
  border: 1.5px solid rgba(200,146,42,.4);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 13px;
  border-radius: 4px;
  transition: border-color var(--transition), background var(--transition);
}
.hamburger:hover { border-color: var(--gold); background: rgba(200,146,42,.1); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  background-image:
    linear-gradient(160deg, rgba(61,30,10,.78) 0%, rgba(107,53,32,.65) 55%, rgba(46,82,56,.60) 100%),
    url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

/* subtilní pohyb pozadí na load */
.hero::before {
  content: '';
  position: absolute; inset: -5%;
  background: inherit;
  background-size: cover;
  background-position: center 40%;
  animation: heroParallax 1.2s ease-out forwards;
  z-index: 0;
}
@keyframes heroParallax {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(transparent, var(--cream));
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 740px;
  padding: 60px 24px 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,146,42,.2);
  border: 1px solid rgba(200,146,42,.5);
  color: var(--gold-light);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: .8rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  animation: heroBadge .8s ease-out .2s both;
}

.hero h2 {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
  animation: heroFadeUp .9s ease-out .4s both;
}
.hero h2 em { font-style: italic; color: var(--gold-light); }

.hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,.86);
  margin-bottom: 38px;
  max-width: 570px;
  margin-left: auto; margin-right: auto;
  animation: heroFadeUp .9s ease-out .6s both;
}

.hero-btns {
  animation: heroFadeUp .9s ease-out .8s both;
}

/* ─── TLAČÍTKA ─── */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .97rem;
  font-family: 'Open Sans', sans-serif;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
}

/* shimmer efekt na btn */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .5s ease;
}
.btn:hover::before { left: 140%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark);
  box-shadow: 0 4px 18px rgba(200,146,42,.4);
  border-color: var(--gold);
  animation: pulse-ring 3s ease-in-out 2s infinite;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(200,146,42,.5);
  color: var(--brown-dark);
  animation: none;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
  margin-left: 14px;
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-3px);
  color: var(--white);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(74,124,89,.35);
}
.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(74,124,89,.45);
  color: var(--white);
}

/* ─── SEKCE ─── */
.section { padding: 84px 24px; }
.section-alt { background: var(--beige); }

.container { max-width: var(--max-w); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 58px; }

.section-header .label {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

/* gallery grid item hover – used in index, renovarna, obrazarna, zasivarna */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
}
.gallery-item:hover img { transform: scale(1.05); }

.section-header h2 {
  font-size: 2.15rem;
  color: var(--brown-dark);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 12px auto 0;
  animation: shimmerLine .6s ease-out .3s both;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.04rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── STATS ─── */
.stats-strip {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
  color: var(--white);
  padding: 44px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 10px;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: transform var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { transform: scale(1.05); }

.stat-item .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1.1;
}
.stat-item span:not(.num) {
  font-size: .85rem;
  color: rgba(255,255,255,.68);
  display: block;
  margin-top: 4px;
}

/* ─── WHY-GRID (fotky místo emoji) ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
    padding: 36px 28px;
    text-align: center;
}
.why-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-item-img {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
}
.why-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.why-item:hover .why-item-img img { transform: scale(1.08); }

/* barevný overlay na fotce */
.why-item-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(61,30,10,.45) 100%);
}

.why-item-body {
  padding: 20px 20px 24px;
  border-top: 3px solid var(--green);
}
.why-item-body h3 {
  font-size: 1.05rem;
  color: var(--brown-dark);
  margin-bottom: 7px;
}
.why-item-body p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.62;
}

/* ─── SERVICE KARTY ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card .card-img-wrap {
  overflow: hidden;
  height: 230px;
  position: relative;
}
.service-card .card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.service-card:hover .card-img { transform: scale(1.07); }

/* zlatý pruh nahoře */
.service-card .card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.service-card .card-body { padding: 28px 28px 32px; }

.service-card .card-icon-wrap {
  width: 48px; height: 48px;
  background: var(--beige);
  border: 2px solid var(--beige-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  transition: background var(--transition), transform var(--transition);
}
.service-card:hover .card-icon-wrap {
  background: var(--gold-light);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-light);
  font-size: .95rem;
  margin-bottom: 22px;
  line-height: 1.65;
}
.service-card .btn { padding: 11px 24px; font-size: .9rem; }

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  background-image:
    linear-gradient(160deg, rgba(61,30,10,.88) 0%, rgba(107,53,32,.80) 55%, rgba(46,82,56,.78) 100%),
    url('https://images.unsplash.com/photo-1452860606245-08befc0ff44b?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 84px 24px;
  text-align: center;
}
.cta-banner h2 { font-size: 2.15rem; margin-bottom: 14px; }
.cta-banner p {
  font-size: 1.06rem;
  color: rgba(255,255,255,.80);
  margin-bottom: 34px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}

/* ─── PAGE HERO (podstránky) ─── */
.page-hero {
  position: relative;
  min-height: 330px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 64px 24px 80px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: -5%;
  background: inherit;
  background-size: cover;
  background-position: center;
  animation: heroParallax 1.2s ease-out forwards;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(transparent, var(--cream));
  z-index: 1;
}
.page-hero .label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.page-hero h1 {
  position: relative; z-index: 2;
  font-size: 2.5rem; font-weight: 700;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  margin-bottom: 14px;
  animation: heroFadeUp .8s ease-out .35s both;
}
.page-hero p {
  position: relative; z-index: 2;
  color: rgba(255,255,255,.83);
  font-size: 1.06rem;
  max-width: 580px;
  animation: heroFadeUp .8s ease-out .5s both;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: var(--beige);
  padding: 11px 28px;
  font-size: .83rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--beige-dark);
}
.breadcrumb .container { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb a { color: var(--brown); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: var(--beige-dark); }

/* ─── OBSAH STRÁNKY ─── */
.page-content { padding: 72px 24px; }
.page-content .container { max-width: 940px; }

.page-content h2 {
  font-size: 1.6rem;
  color: var(--brown-dark);
  margin: 42px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--beige);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--text-light); margin-bottom: 15px; }

.service-list { list-style: none; margin: 12px 0 22px; }
.service-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid var(--beige);
  font-size: .96rem;
  transition: padding-left var(--transition), color var(--transition);
}
.service-list li:hover { padding-left: 36px; color: var(--brown); }
.service-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}

.info-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.info-box:hover { border-color: var(--gold-light); box-shadow: var(--shadow); }
.info-box p { margin: 0; color: var(--text); font-size: .94rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.feature-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 30px 0;
}
.feature-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform .55s ease;
}
.feature-img-wrap:hover img { transform: scale(1.03); }

/* ─── KONTAKTNÍ STRÁNKA ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }

.contact-info h3 { font-size: 1.4rem; color: var(--brown-dark); margin-bottom: 24px; }

.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px solid var(--beige);
  transition: transform var(--transition);
}
.contact-item:hover { transform: translateX(4px); }
.contact-item:last-child { border-bottom: none; margin-bottom: 0; }

.contact-item .ci-icon {
  font-size: 1.3rem;
  width: 44px; height: 44px;
  background: var(--beige);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.contact-item:hover .ci-icon { background: var(--gold-light); transform: scale(1.1); }

.contact-item .ci-text strong {
  display: block; color: var(--brown-dark);
  font-size: .8rem; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 3px; font-family: 'Open Sans', sans-serif;
}
.contact-item .ci-text span,
.contact-item .ci-text a { color: var(--text-light); font-size: 1rem; }

.contact-form {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.4rem; color: var(--brown-dark); margin-bottom: 26px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 600; color: var(--brown-dark);
  margin-bottom: 7px; font-size: .86rem; letter-spacing: .3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius);
  font-size: .96rem; font-family: 'Open Sans', sans-serif;
  background: var(--cream); color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,.16);
  transform: scale(1.005);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.map-wrap { margin-top: 52px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ─── O NÁS ─── */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: center; margin-bottom: 64px;
}
.about-text h2 { font-size: 1.9rem; color: var(--brown-dark); margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; }

.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 380px; object-fit: cover; transition: transform .6s ease; }
.about-img:hover img { transform: scale(1.04); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px 22px; text-align: center;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-card .team-icon {
  width: 72px; height: 72px;
  background: var(--beige); border: 3px solid var(--beige-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px;
  transition: background var(--transition), transform var(--transition);
}
.team-card:hover .team-icon { background: var(--gold-light); transform: rotate(8deg) scale(1.1); }
.team-card h3 { color: var(--brown-dark); margin-bottom: 6px; }
.team-card p { color: var(--text-light); font-size: .91rem; }

/* ─── PARTNEŘI ─── */
.partners {
  background: var(--beige); padding: 56px 24px;
  border-top: 1px solid var(--beige-dark);
}
.partners .section-header { margin-bottom: 32px; }

.partners-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; max-width: var(--max-w); margin: 0 auto;
}

.partner-link {
  background: var(--white); padding: 10px 22px;
  border-radius: var(--radius); font-size: .88rem;
  color: var(--text-light); box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
  transition: transform var(--transition), box-shadow var(--transition),
              color var(--transition), border-color var(--transition);
  font-family: 'Open Sans', sans-serif;
}
.partner-link:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  color: var(--brown); border-color: var(--gold);
}

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(160deg, var(--brown-dark) 0%, #2A1208 100%);
  color: #C0906A;
  padding: 60px 24px 28px;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; max-width: var(--max-w); margin: 0 auto 48px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white); font-size: 1.18rem; margin-bottom: 12px;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; color: #8A6040; }

.footer-col h4 {
  color: var(--white); font-size: .82rem;
  text-transform: uppercase; letter-spacing: 1.8px;
  margin-bottom: 16px; font-family: 'Open Sans', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: #8A6040; font-size: .88rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact-list { list-style: none; }
.footer-contact-list li { margin-bottom: 9px; font-size: .88rem; color: #8A6040; display: flex; gap: 8px; }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); max-width: var(--max-w); margin: 0 auto 24px; }

.footer-bottom { text-align: center; font-size: .81rem; color: #5A3820; max-width: var(--max-w); margin: 0 auto; }

/* ─── PŘÍSTUPNOST (WCAG) ─── */
/* Focus visible pro klávesnici */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 10px 20px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: .9rem;
  z-index: 99999;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Formuláře – lepší přístupnost a kontrast */
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
  font-family: 'Open Sans', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,.15);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #C0392B;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select { cursor: pointer; }
.form-group { margin-bottom: 18px; }

/* ─── RESPONZIVITA ─── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ─── HERO SERVICES BAR (sdílený pro všechny stránky) ─── */
.hero-services-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(18, 8, 2, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hsb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 16px;
  gap: 5px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .3s;
  position: relative;
}
.hsb-item:last-child { border-right: none; }
.hsb-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background .3s;
}
.hsb-item:not(:hover)::before { background: transparent !important; }
.hsb-item:hover { background: rgba(255,255,255,.05); }
.hsb-item.zas:hover::before { background: #C8847A !important; }
.hsb-item.bru:hover::before { background: #E55A1B !important; }
.hsb-item.obr:hover::before { background: #C8A840 !important; }
.hsb-item.ren:hover::before { background: #8B6A2A !important; }
.hsb-ico { font-size: 1.7rem; line-height: 1; }
.hsb-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}
.hsb-item em {
  font-style: normal;
  font-size: .73rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ─── BREADCRUMB (přesunuto dolů) ─── */
.breadcrumb {
  padding: 14px 24px;
  font-size: .82rem;
  color: var(--text-light);
  border-top: 1px solid var(--beige-dark);
  background: var(--beige);
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: var(--beige-dark); }

@media (max-width: 768px) {
  .hero-services-bar { grid-template-columns: repeat(2, 1fr); }
  .hsb-item:nth-child(2) { border-right: none; }
  .hsb-item:nth-child(3), .hsb-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 480px) {
  .hero-services-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-contact { display: none; }
  .hamburger { display: block; }
  nav ul { display: none; flex-direction: column; padding: 0; }
  nav ul.open { display: flex; }
  nav ul li a { padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,.06); }
  nav ul li a::after { display: none; }
  .hero { min-height: 520px; }
  .hero h2 { font-size: 2rem; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.9rem; }
  .section-header h2 { font-size: 1.7rem; }
  .cta-banner { background-attachment: scroll; }
}

@media (max-width: 540px) {
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 1.7rem; }
  .section { padding: 56px 16px; }
  .why-item-img { height: 200px; }
}
