/* 
 * style.css – Lenka Maříková (LM styling)
 * Tvorba prémiového webdesignu pro osobní stylistku
 */

/* Písma jsou hostována lokálně (vlastní doména) místo Google Fonts CDN – rychlejší načtení */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Whisper';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/whisper-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Whisper';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/whisper-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- NADEFINOVÁNÍ DESIGN SYSTÉMU (CSS Proměnné) --- */
:root {
  /* Barevná paleta */
  --color-primary: #0098AF;          /* Primární teal / mořská modř / hluboká tyrkysová */
  --color-primary-light: #aee3e8;    /* Sekundární bledě azurová / světle tyrkysová */
  --color-primary-soft: rgba(0, 152, 175, 0.08); /* Jemný tyrkysový nádech */
  
  --color-gold-light: #F7E7C4;       /* Světlá šampaňská zlatá */
  --color-gold: #e4b859;             /* Doplňková zlatá pro detaily a CTA */
  --color-gold-dark: #cda143;        /* Tmavší zlatá pro lepší kontrast na bílém pozadí */
  
  --color-bg-base: #FFFFFF;          /* Základní bílé pozadí */
  --color-bg-light: #E8F4F5;         /* Velmi světlá jemná tyrkysově šedá */
  --color-text-dark: #333333;        /* Hlavní text (černá na 80%) */
  --color-text-muted: #454545;       /* Běžný text – tmavší šedá pro lepší čitelnost, ne černá */
  --color-text-white: #FFFFFF;
  
  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(228, 184, 89, 0.25);
  --glass-shadow: rgba(0, 152, 175, 0.06);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Fonty */
  --font-serif: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: 'Whisper', cursive; /* Okrasný font pro nadpisy a podpis */
  
  /* Animace & Tranzice */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Max šířka obsahu */
  --max-width: 1200px;

  /* Typografická škála (sjednoceno, čitelnost pro 45+) */
  --fs-2xs: 0.875rem;   /* 14px – minimální velikost, jen drobný/legal text */
  --fs-xs: 0.9375rem;   /* 15px – popisky, vedlejší text, menší tlačítka */
  --fs-sm: 1rem;        /* 16px – navigace, formuláře, menší CTA */
  --fs-base: 1.125rem;  /* 18px – běžný čtecí text (odstavce) */
  --fs-md: 1.25rem;     /* 20px – zvýrazněný text, perex */
  --fs-lg: 1.5rem;      /* 24px – podnadpisy karet (H3 úroveň) */
  --fs-xl: 1.875rem;    /* 30px – menší sekční nadpisy */
  --fs-2xl: clamp(2.25rem, 4vw, 3rem);   /* H2 */
  --fs-3xl: clamp(2.75rem, 5.5vw, 4rem); /* H1 */
  --fs-script-sm: clamp(1.6rem, 3vw, 2rem);
  --fs-script-md: clamp(2rem, 3.5vw, 2.5rem);
  --fs-script-lg: clamp(2.5rem, 4.5vw, 3.25rem);
}

/* --- RESET & ZÁKLADNÍ NASTAVENÍ --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Minimální přístupná velikost dle instrukcí */
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dekorační barevné gradientní kruhy na pozadí (Mesh gradient) */
body::before, body::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.18;
  pointer-events: none;
}

body::before {
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, var(--color-primary-light) 0%, rgba(255,255,255,0) 70%);
}

body::after {
  top: 60%;
  right: -10%;
  background: radial-gradient(circle, var(--color-gold-light) 0%, rgba(255,255,255,0) 70%);
}

/* --- TYPOGRAFIE --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: #a0a0a0;
  text-shadow:
    -1px -1px 2px rgba(255, 255, 255, 1),
    -2px -2px 6px rgba(255, 255, 255, 0.75),
    1px  1px 3px rgba(0, 0, 0, 0.18),
    2px  2px 10px rgba(0, 0, 0, 0.11);
}

h1 {
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: #6a6a6a;
  line-height: 1.1;
  text-shadow: none;
  margin-bottom: 1.75rem;
}

h2 {
  font-size: var(--fs-2xl);
  text-align: center;
  padding-bottom: 24px;
  font-weight: 300;
  color: #6a6a6a;
  line-height: 1.1;
  text-shadow: none;
}

h3, h4, h5, h6 {
  font-weight: 600;
}

h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.8rem;
}

p {
  font-weight: 400;
  color: var(--color-text-muted);
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.h1-subline {
  display: block;
  font-size: 0.52em;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-top: 0.3em;
  margin-bottom: 1.75rem;
  color: var(--color-primary);
}

/* Okrasné popisy stylizovaným písmem */
.ornamental-subtitle {
  font-family: var(--font-script);
  font-size: var(--fs-script-md);
  color: var(--color-gold-dark);
  text-align: center;
  display: block;
  margin-bottom: 0.25rem;
}

/* --- TLAČÍTKA (CTA) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Primární tlačítko - Luxusní Zlaté s leskem */
.btn-primary {
  background: linear-gradient(135deg, #DFBA88 0%, #BE9C6F 50%, #A68255 100%);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
  background: linear-gradient(135deg, #EAD0B2 0%, #CBB08C 50%, #B89367 100%);
}

.btn-primary:hover::before {
  left: 125%;
}

/* Tyrkysové tlačítko - Dárkový poukaz v hlavičce */
.btn-turquoise {
  background: var(--color-primary);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(0, 152, 175, 0.3);
}

.btn-turquoise:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 152, 175, 0.45);
  background: #00b3cd;
}

/* Sekundární tlačítko - Skleněné s jemným zlatým rámečkem */
.btn-secondary {
  background: rgba(253, 251, 247, 0.5);
  border: 1px solid var(--color-gold);
  color: var(--color-text-dark);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 111, 112, 0.2);
}

/* --- ROZVRŽENÍ STRÁNKY (CONTAINER) --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

.section-padding {
  padding: 80px 0;
}

/* --- NAVIGAČNÍ MENU (HEADER) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.05); /* Skoro neviditelné na začátku */
  border-bottom: 1px solid transparent;
  transition: all var(--transition-smooth);
}

/* Změna stylu navigace při scrollu */
.header.scrolled {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px var(--glass-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1340px;
  height: 90px;
  transition: height var(--transition-smooth);
}

.header.scrolled .nav-container {
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  align-self: flex-start;
  overflow: visible;
}

.logo img {
  height: 150px;
  width: auto;
  transition: height var(--transition-smooth);
}

.header.scrolled .logo img {
  height: 110px;
}

/* Menu položky */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 0;
  position: relative;
  color: var(--color-text-dark);
  white-space: nowrap;
}

.nav-link:focus-visible,
.dropdown-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

button.nav-link {
  background: none;
  border: none;
  cursor: pointer;
}

/* Efekt podtržení u aktivní položky / hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.nav-cta .btn {
  padding: 0.6rem 1.4rem;
  font-size: var(--fs-2xs);
  white-space: nowrap;
}

/* Dropdown pod Službami */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  display: inline-block;
  font-size: 0.9rem;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background-color: var(--color-bg-base);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  list-style: none;
  min-width: 230px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  z-index: 200;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent var(--color-bg-base) transparent;
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.04));
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  white-space: nowrap;
}

.dropdown-link:hover {
  color: var(--color-gold);
  padding-left: 28px;
}

/* Mobilní tlačítko hamburger – 44×44px dotykový cíl (vizuální ikona zůstává 26×18px) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 13px 9px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: all var(--transition-fast);
  transform-origin: left center;
}

/* --- HERO SEKCE --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* Zabrání poskakování výšky při skrývání adresního řádku na mobilu */
  display: flex;
  align-items: center;
  padding-top: 100px; /* Aby nebylo pod fixním menu (90px = výška hlavičky) */
  padding-bottom: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 75%;
  height: 110%;
  background: radial-gradient(ellipse at 38% 42%, rgba(0, 152, 175, 0.22) 0%, rgba(174, 227, 232, 0.13) 40%, transparent 68%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: var(--fs-script-md);
  color: var(--color-gold-dark);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.hero h1 {
  margin-bottom: 1.75rem;
  color: #6a6a6a;
  font-size: var(--fs-3xl);
  font-weight: 300;
  line-height: 1.1;
  text-shadow: none;
}

/* Reduce spacing between city and "pro ženy s plnějšími křivkami" */
/* old .hero h1 span rule removed */


.hero h1 .hero-h1-city {
  font-size: 0.65em;
  vertical-align: middle;
  color: inherit;
  margin-bottom: -0.2rem;
}

.hero h1 span {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--color-primary);
  line-height: 1.3;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* Konzistentní mezera mezi hlavním nadpisem a podnadpisem */
.hero h1 span:last-of-type {
  margin-top: 0.3rem;
}

.hero-desc {
  font-size: var(--fs-base);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Rámovaný portrét v Hero sekci s překrýváním */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 0.8;
  border-radius: var(--border-radius-sm);
  background: var(--color-bg-light);
  box-shadow: 15px 15px 0px 0px rgba(197, 168, 128, 0.15);
  transition: transform var(--transition-smooth);
}

.hero-image-frame:hover {
  transform: translate(-5px, -5px);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  display: block;
}

/* Překrývající ozdobný rámeček */
.hero-image-frame::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-sm);
  pointer-events: none;
  z-index: -1;
  transition: all var(--transition-smooth);
}

.hero-image-frame:hover::before {
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
}


/* --- FILOSOFIE / KLIENTSKÉ VÝZVY --- */
.challenges {
  background-color: var(--color-bg-light);
  position: relative;
}

.challenges-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin-top: 50px;
  padding: 14px;
}

.step-connector {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  position: relative;
  z-index: 1;
}

.step-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(197,168,128,0.3), rgba(197,168,128,0.7), rgba(197,168,128,0.3));
  transform: translateY(-50%);
  z-index: 0;
}

.step-connector svg {
  position: relative;
  z-index: 1;
  background: var(--color-bg-light);
  padding: 3px;
}

.challenge-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
}

/* Zlatý posazený rámeček — stejný efekt jako u hero fotky */
.challenge-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-md);
  pointer-events: none;
  z-index: -1;
  transition: all var(--transition-smooth);
}

.challenge-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0 12px 40px rgba(31, 51, 51, 0.12);
  border-color: rgba(31, 111, 112, 0.2);
}

.challenge-card:hover::before {
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
}

.challenge-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: var(--color-primary);
  transition: transform var(--transition-smooth);
}

.challenge-card:hover .challenge-icon {
  transform: rotateY(180deg);
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--color-gold-dark);
}

.challenge-card h3 {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  margin-bottom: 15px;
}

.challenge-card p {
  font-size: var(--fs-base);
  line-height: 1.6;
  flex: 1;
}

.challenge-btn {
  margin-top: 24px;
  align-self: center;
  padding: 10px 20px;
}

/* --- SEKCIE O MNĚ --- */
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -15%;
  width: 85%;
  height: 130%;
  background:
    radial-gradient(ellipse at 62% 40%, rgba(0, 152, 175, 0.22) 0%, rgba(174, 227, 232, 0.13) 40%, transparent 68%),
    radial-gradient(ellipse at 30% 70%, rgba(174, 227, 232, 0.10) 0%, transparent 55%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}

.about .about-grid {
  position: relative;
  z-index: 1;
}

/* --- PROMĚNA TEASER --- */
.promena-teaser {
  background-color: var(--color-bg-light);
  border-top: 1px solid rgba(0, 152, 175, 0.15);
  padding: 2.8rem 0;
}

.promena-teaser-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.promena-teaser-text {
  flex: 1;
}

.promena-teaser-heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.promena-teaser-desc {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

.promena-teaser-action {
  flex-shrink: 0;
}

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

.about-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 0.8;
  border-radius: var(--border-radius-sm);
  background: var(--color-bg-base);
  box-shadow: -15px 15px 0px 0px rgba(31, 111, 112, 0.08); /* Tyrkysový podklad */
  transition: transform var(--transition-smooth);
}

.about-image-frame:hover {
  transform: translate(5px, -5px);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  display: block;
}

/* Dvojitý překrývající rámeček jako ve vzoru */
.about-image-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 1px solid var(--color-gold);
  border-radius: var(--border-radius-sm);
  pointer-events: none;
  z-index: 1;
  transition: all var(--transition-smooth);
}

.about-image-frame:hover::before {
  top: 20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
}

.about-content {
  position: relative;
}

.about-content h2 {
  text-align: left;
  margin-bottom: 20px;
}

.about-content .ornamental-subtitle {
  text-align: left;
}


.about-text p {
  margin-bottom: 20px;
  font-size: var(--fs-base);
}

.about-signature {
  font-family: var(--font-script);
  font-size: var(--fs-script-lg);
  color: var(--color-gold-dark);
  margin-top: 30px;
  display: block;
}

/* --- SLUŽBY --- */
.services {
  background-color: var(--color-bg-light);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--color-bg-base);
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 50px 35px;
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(197, 168, 128, 0.15);
  border-color: var(--color-gold);
}

.service-icon {
  width: 70px;
  height: 70px;
  color: var(--color-gold);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--color-primary);
}

.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.service-card p {
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 35px;
  flex-grow: 1; /* Tlačítka budou zarovnaná na spodu */
}

.service-card .btn {
  width: 100%;
}

/* --- KONTAKT A FORMULÁŘ --- */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

/* Stylizovaný glassmorphism kontaktní formulář */
.contact-form-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px var(--glass-shadow);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 45px;
  border-radius: var(--border-radius-md);
}

.contact-form h3 {
  margin-bottom: 25px;
  font-family: var(--font-serif);
  color: var(--color-gold-dark);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  background-color: rgba(253, 251, 247, 0.6);
  border: 1px solid rgba(197, 168, 128, 0.4);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-dark);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: var(--color-text-white);
  box-shadow: 0 0 0 3px rgba(31, 111, 112, 0.1);
}

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

/* Ochrana proti spamu - Honeypot */
.hidden-field {
  display: none !important;
  visibility: hidden !important;
}

/* Kontaktní detaily napravo */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 45px;
  height: 45px;
  background-color: var(--color-primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-text .info-label {
  font-size: var(--fs-md);
  font-weight: 600;
  font-family: var(--font-sans);
  margin-bottom: 5px;
  color: var(--color-text-dark);
}

.info-text p, .info-text a {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
}

.info-text a:hover {
  color: var(--color-primary);
}

/* Sociální sítě */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-bg-light);
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Fakturační údaje na spodu */
.business-details {
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  padding-top: 25px;
  margin-top: 20px;
}

.business-details .info-label {
  font-size: var(--fs-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.business-details p {
  font-size: var(--fs-xs);
  line-height: 1.5;
}

/* --- PATIČKA (FOOTER) --- */
.footer {
  background-color: #2a2a2a;
  color: #BDBDBD;
  font-size: var(--fs-xs);
  border-top: 2px solid var(--color-gold);
}

/* Hlavní mřížka patičky – 4 sloupce */
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1.3fr;
  gap: 50px;
  padding: 60px 20px 50px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Nadpisy sloupců */
.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 20px;
  text-shadow: none;
}

/* Sloupec 1: logo + tagline + social */
.footer-col--brand .footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-col--brand .footer-logo img {
  height: 90px;
  width: auto;
  transition: opacity var(--transition-fast);
  opacity: 0.9;
}

.footer-col--brand .footer-logo img:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: var(--fs-xs);
  color: #999;
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(228, 184, 89, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-3px);
}

/* Sloupec 2: navigace */
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #BDBDBD;
  font-size: var(--fs-xs);
  transition: color var(--transition-fast);
  position: relative;
  padding-left: 14px;
}

.footer-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-gold-light);
}

.footer-nav a:hover::before {
  width: 9px;
}

.footer-subnav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-left: 14px;
}

.footer-subnav a {
  font-size: var(--fs-2xs);
  color: #9E9E9E;
}

.footer-subnav a:hover {
  color: var(--color-gold-light);
}

/* Sloupec 3: kontakt */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #BDBDBD;
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-gold);
}

.footer-contact-list a {
  color: #BDBDBD;
  transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
  color: var(--color-gold-light);
}

/* Sloupec 4: firemní údaje */
.footer-business {
  font-style: normal;
  font-size: var(--fs-2xs);
  color: #999;
  line-height: 1.75;
}

.footer-business strong {
  color: #BDBDBD;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer-registrace {
  font-size: var(--fs-2xs);
  color: #777;
  display: block;
  margin-top: 6px;
  line-height: 1.6;
}

/* Spodní lišta */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
}

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

.footer-bottom-inner p {
  color: #777;
  font-size: var(--fs-2xs);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #777;
  font-size: var(--fs-2xs);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-gold-light);
}

/* Responsivita patičky */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 50px 20px 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- RESPONSIVITA (MEDIA QUERIES) --- */

/* Tablet (Large) a menší obrazovky */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }
  
  .challenges-grid {
    gap: 0;
  }

  .step-connector {
    flex: 0 0 36px;
  }

  .services-grid {
    gap: 20px;
  }
  
  .about-grid {
    gap: 40px;
  }
}

/* Tablet (Medium) */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    order: 1;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image-container {
    order: 2;
  }

  .challenges-grid {
    flex-direction: column;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .step-connector {
    flex: 0 0 36px;
    transform: rotate(90deg);
  }

  .step-connector::before {
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }

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

  .about-image-container {
    order: 2;
  }

  .about-content h2 {
    text-align: center;
  }

  /* Oprava přetečení rámečku u fotky na mobilu */
  .about-image-frame::before {
    left: -8px;
    right: -8px;
  }

  .about-image-frame:hover::before {
    left: -12px;
    right: -12px;
  }

  .about-image-frame {
    box-shadow: -8px 8px 0px 0px rgba(31, 111, 112, 0.08);
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .section-desc {
    max-width: 90%;
  }
}

/* Mobilní menu – hamburger od 1400px (tablety i menší notebooky) */
@media (max-width: 1400px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-base);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    transition: right var(--transition-smooth);
    z-index: 10000;
    padding: 110px 20px 40px;
  }

  .nav-menu.active {
    right: 0;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 0;
    filter: none;
    background: rgba(0, 0, 0, 0.35);
    opacity: 1;
    z-index: 9999;
    pointer-events: none;
  }

  .nav-link {
    font-size: var(--fs-sm);
  }

  /* Dropdown na mobilu */
  .has-dropdown {
    display: block;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
  }

  .dropdown-arrow {
    transform: none;
  }

  #sluzby-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    padding: 6px 0 0 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .has-dropdown:hover .dropdown-menu {
    position: static !important;
    transform: none !important;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu.open {
    max-height: 300px;
  }

  .dropdown-link {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 8px 16px;
    font-size: var(--fs-2xs);
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .dropdown-link:hover,
  .dropdown-link:active,
  .dropdown-link:focus-visible {
    color: var(--color-gold);
    padding-left: 16px !important;
  }

  /* CTA se na mobilu přesune dovnitř vysouvacího menu (viz .nav-cta.mobile-open) */
  .nav-cta {
    display: none;
  }

  .nav-cta.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 40px;
    pointer-events: none;
    transition: right var(--transition-smooth);
    z-index: 10001;
  }

  .nav-cta.mobile-open.active {
    right: 0;
  }

  .nav-cta.mobile-open .btn {
    pointer-events: auto;
  }

  /* Hamburger aktivní animace */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
  }
}

/* Menší mobily – padding sekcí a formulář */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .promena-teaser-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .promena-teaser-heading {
    font-size: var(--fs-lg);
  }
}

/* Malé mobily */
@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .logo img {
    height: 95px;
  }

  .header.scrolled .logo img {
    height: 78px;
  }

  .nav-container {
    height: 68px;
  }

  .header.scrolled .nav-container {
    height: 56px;
  }

  .section-desc {
    max-width: 100%;
  }

  .challenges-highlight {
    padding: 1.2rem 1.2rem;
  }

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

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-btns .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* --- ANIMACE PRO ELEMENTY (INTERSECTION OBSERVER) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- ZÁKAZNICKÉ STYLY PRO HOMEPAGE --- */
.hero-problem {
  font-size: var(--fs-md);
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero-quote-box {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--color-gold);
  background: transparent;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  max-width: 540px;
}

.hero-quote-text {
  display: block;
  font-family: var(--font-script);
  font-size: var(--fs-script-md);
  color: var(--color-gold-dark);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.hero-quote-sub {
  display: block;
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.challenges-intro {
  max-width: 70%;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.lead-text {
  font-size: var(--fs-md);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--color-text-muted);
}

.challenges-highlight {
  background: var(--color-primary-soft);
  border: 1px solid rgba(0, 152, 175, 0.15);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 2rem;
  margin: 0 auto 2.5rem;
  display: block;
  text-align: center;
  max-width: 680px;
}

.challenges-highlight p {
  color: var(--color-text-dark);
  font-size: var(--fs-base);
}

.section-subheading {
  font-size: var(--fs-xl);
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

.services-2x2 {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  gap: 40px !important;
}

.service-sub {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-top: -12px;
  margin-bottom: 20px;
}

.section-desc {
  max-width: 70%;
  margin: 1.5rem auto 0 auto;
  font-size: var(--fs-base);
}

.services-hero-desc {
  margin-top: 1.75rem;
}

.text-center {
  text-align: center;
}

.cta-section {
  background-color: var(--color-bg-light);
  border-top: 1px solid rgba(228, 184, 89, 0.15);
  border-bottom: 1px solid rgba(228, 184, 89, 0.15);
}

.cta-text {
  font-size: var(--fs-base);
  max-width: 650px;
  margin: 1.5rem auto;
  line-height: 1.7;
}

.cta-location {
  font-size: var(--fs-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 15px;
  font-style: italic;
}

.contact-brand {
  margin-bottom: 10px;
}

.contact-brand h3 {
  font-size: var(--fs-xl);
  color: var(--color-text-muted);
  margin-bottom: 5px;
}

.contact-brand .subtitle {
  font-size: var(--fs-sm);
  letter-spacing: 0.15em;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.link-inline {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 1px dotted var(--color-primary);
}

.link-inline:hover {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold-dark);
}

.service-details {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 15px 0 25px 0;
  padding: 10px;
  background: var(--color-primary-soft);
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-dark);
}

/* --- TIMELINE INFOGRAFIKA (Stránky služeb) --- */
.service-timeline {
  position: relative;
  padding: 20px 0 5px;
  margin-top: 35px;
}

/* Svislá zlatá linka */
.service-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  top: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-gold) 6%,
    var(--color-gold) 94%,
    transparent 100%
  );
}

/* Liché kroky — obsah vlevo */
.timeline-step {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 32px);
  margin-bottom: 30px;
  position: relative;
  align-items: flex-start;
}

/* Sudé kroky — obsah vpravo */
.timeline-step:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 32px);
}

/* Zlatý diamant na ose */
.timeline-step::before {
  content: '';
  position: absolute;
  left: calc(50% - 12px);
  top: 14px;
  width: 24px;
  height: 24px;
  background: url(Obrazky/Diamatnt-zlaty.svg) center / contain no-repeat;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-step-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 18px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px var(--glass-shadow);
  max-width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-step-content:hover {
  border-color: rgba(228, 184, 89, 0.55);
  box-shadow: 0 6px 24px rgba(228, 184, 89, 0.12);
}

.timeline-step-content p {
  margin: 0;
  color: var(--color-text-dark);
  line-height: 1.65;
  font-size: var(--fs-base);
}

@media (max-width: 640px) {
  .service-timeline::before {
    left: 16px;
    transform: none;
  }

  .timeline-step,
  .timeline-step:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 46px;
  }

  .timeline-step::before,
  .timeline-step:nth-child(even)::before {
    left: 4px;
  }
}

/* --- FAQ ACCORDION STYLY --- */
.faq-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-col {
  display: flex;
  flex-direction: column;
}

.faq-accordion {
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.55);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
}

.faq-accordion:hover {
  border-color: var(--color-gold);
  border-left-color: var(--color-gold-dark);
  box-shadow: 0 4px 20px rgba(228, 184, 89, 0.18);
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-text-dark);
  text-align: left;
  gap: 15px;
}

.faq-header:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -3px;
}

.faq-icon {
  color: var(--color-gold-dark);
  transition: transform var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-accordion.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 24px;
}

.faq-accordion.open .faq-body {
  padding: 0 24px 22px 24px;
}

.faq-body p {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .faq-two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 900px) {
  .services-2x2 {
    grid-template-columns: 1fr !important;
    max-width: 500px;
  }
  .challenges-intro {
    max-width: 100%;
  }
  .hero-quote-box {
    border-left: none;
    border-top: 3px solid var(--color-gold);
    border-radius: var(--border-radius-md);
    padding: 1.2rem 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- DĚLÍCÍ PRVEK --- */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 2;
  background-color: #ffffff;
}

.divider-diamond {
  width: clamp(28px, 4vw, 44px);
  height: auto;
  flex-shrink: 0;
}

.divider-line {
  width: clamp(60px, 10vw, 120px);
  flex-shrink: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(201, 154, 90, 0.55) 50%, transparent 100%);
}

.divider-line:first-child {
  background: linear-gradient(to right, transparent 0%, rgba(201, 154, 90, 0.55) 100%);
}

.divider-line:last-child {
  background: linear-gradient(to right, rgba(201, 154, 90, 0.55) 0%, transparent 100%);
}

/* --- DIAMANT / SITUACE SEKCE --- */
.diamond-section {
  margin-top: 0;
  padding: 60px 0 130px;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(to bottom, transparent 0%, transparent 10%, transparent 85%, #ffffff 100%),
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(174, 227, 232, 0.40) 0%, transparent 70%),
    radial-gradient(ellipse 30% 25% at 50% 50%, rgba(174, 227, 232, 0.22) 0%, transparent 60%),
    #ffffff;
  overflow-x: hidden;
}

/* Nadpis sekce nad grafikou */
.diamond-section-header {
  text-align: center;
  margin-bottom: 1.5cm;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}


.diamond-section-text {
  margin-top: 1.2rem;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  font-weight: 300;
  text-align: left;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.diamond-section-text p {
  margin: 0 0 1.4rem;
}

.diamond-section-text p:last-child {
  margin-bottom: 0;
}

.diamond-layout {
  display: grid;
  grid-template-columns: 330px 400px 330px;
  gap: 0;
  align-items: center;
  min-height: 640px;
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

/* Levý a pravý sloupec – před diamantem */
.diamond-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 640px;
  position: relative;
  z-index: 2;
}

/* Horní outfit: obrázek kotví nahoru, popisek v úrovni pasu */
.diamond-col .diamond-outfit:first-child {
  align-items: flex-start;
  position: relative;
  z-index: 0;
}

/* Dolní outfit: překrývá horní, obrázek kotví dolů, popisek v úrovni pasu */
.diamond-col .diamond-outfit:last-child {
  align-items: flex-end;
  margin-top: -180px;
  position: relative;
  z-index: 1;
}

/* Pravý sloupec: menší překryv aby bylo jasné pořadí Práce (nahoře) → Večírek (dole) */
.diamond-col--right .diamond-outfit:last-child {
  margin-top: -170px;
}

.diamond-outfit {
  display: flex;
  flex-direction: row;
}

.diamond-outfit--right {
  flex-direction: row;
}

/* Obrázky – přesah do diamantu */
.diamond-outfit-img {
  flex-shrink: 0;
  display: flex;
}

.diamond-col .diamond-outfit:first-child .diamond-outfit-img {
  align-items: flex-start;
}

.diamond-col .diamond-outfit:last-child .diamond-outfit-img {
  align-items: flex-end;
}

.diamond-col:not(.diamond-col--right) .diamond-outfit-img {
  margin-right: -90px;
}

.diamond-col--right .diamond-outfit-img {
  margin-left: -70px;
  overflow: hidden;
}

/* Ořízne prázdný okraj fotky u textu, aby postava byla blíž popisku */
.diamond-col--right .diamond-outfit:first-child .diamond-outfit-img {
  width: 360px;
}

.diamond-col--right .diamond-outfit:last-child .diamond-outfit-img {
  width: 385px;
}

/* Velikosti fotografií */
.diamond-col:not(.diamond-col--right) .diamond-outfit:first-child .diamond-outfit-img img {
  max-height: 480px;
  position: relative;
  left: -55px;
}

.diamond-col:not(.diamond-col--right) .diamond-outfit:last-child .diamond-outfit-img img {
  max-height: 520px;
}

.diamond-col--right .diamond-outfit:first-child .diamond-outfit-img img {
  max-height: 460px;
}

.diamond-col--right .diamond-outfit:last-child .diamond-outfit-img img {
  max-height: 490px;
}

.diamond-outfit-img img {
  display: block;
  width: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-smooth);
}

.diamond-outfit-img img:hover {
  transform: translateY(-5px);
}

/* Popisky */
.diamond-outfit-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 0.1cm;
}

/* Horní popisek: vysoko – tvoří horní část sloupečku */
.diamond-col .diamond-outfit:first-child .diamond-outfit-label {
  padding-top: 45px;
}

/* Dolní popisek: kotví k horní části – text pod popiskem horního outfitu */
.diamond-col .diamond-outfit:last-child .diamond-outfit-label {
  justify-content: flex-start;
  padding-top: 55px;
  padding-bottom: 0;
}

/* Výlet má vyšší obrázek než Večírek – label posunut nahoru aby byl na úrovni Večírku */
.diamond-col:not(.diamond-col--right) .diamond-outfit:last-child .diamond-outfit-label {
  padding-top: 0;
  transform: translateY(-60px);
}

/* Večírek zarovnán na stejnou výšku popisku jako Výlet (bez zásahu do překryvu fotek) */
.diamond-col--right .diamond-outfit:last-child .diamond-outfit-label {
  padding-top: 0;
  transform: translateY(-20px);
}

.diamond-outfit-label--right {
  padding-right: 0;
  padding-left: 0;
}

.diamond-label-title {
  font-family: var(--font-script);
  font-size: var(--fs-script-md);
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 0.3rem;
  text-shadow: none;
  font-weight: 400;
  line-height: 1.1;
  text-align: left;
}

.diamond-outfit-label p {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 190px;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.diamond-outfit-label--right p {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* Výjimka: text doleva i v pravém sloupci (Práce, Večírek) */
.diamond-outfit-label--right p.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* Střední část: diamant + text – za ženami */
.diamond-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 640px;
  z-index: 1;
}

.diamond-bg-img {
  position: absolute;
  inset: -70px;
  width: calc(100% + 140px);
  height: calc(100% + 140px);
  object-fit: contain;
  opacity: 0.85;
  transform: scale(0.85);
}

.diamond-center-text {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 1rem;
  margin-top: -3rem;
}

.diamond-center-italic,
.diamond-center-big {
  font-family: var(--font-script);
  font-size: var(--fs-script-lg);
  color: var(--color-primary);
  font-weight: 400;
  display: block;
  line-height: 1.25;
  text-shadow: none;
  letter-spacing: normal;
  margin-top: 0;
}

.diamond-center-gold {
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  color: var(--color-gold-dark);
  font-weight: 500;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-shadow: none;
  margin-top: 0.2rem;
}

.diamond-center-sub {
  font-family: var(--font-script);
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  font-weight: 400;
  display: block;
  line-height: 1.3;
  text-shadow: none;
  margin-top: 0.1rem;
}

/* Třpytky (sparkle hvězdičky) */
.sparkle {
  position: absolute;
  display: block;
  color: var(--color-gold);
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
  opacity: 0.75;
  pointer-events: none;
}

.sparkle::before { content: '✦'; }

.sparkle-1 { top: 18%; left:  8%; font-size: 1.1rem; opacity: 0.6; }
.sparkle-2 { top: 55%; right: 6%; font-size: 1.6rem; opacity: 0.7; }
.sparkle-3 { bottom: 22%; left: 12%; font-size: 0.9rem; opacity: 0.5; }
.sparkle-4 { top: 30%; right: 10%; font-size: 1rem; opacity: 0.55; }

/* Responsivita */
@media (max-width: 1140px) {
  .diamond-section {
    padding: 40px 0 80px;
  }

  .diamond-layout {
    grid-template-columns: 1fr;
    min-height: unset;
    width: 100%;
  }

  .diamond-col,
  .diamond-center {
    height: auto;
  }

  .diamond-center {
    order: -1;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    min-height: 300px;
  }

  .diamond-bg-img {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .diamond-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Reset desktopových align-items na outfit kontejnerech */
  .diamond-col .diamond-outfit:first-child,
  .diamond-col .diamond-outfit:last-child {
    align-items: flex-start;
    margin-top: 0;
    position: static;
  }

  .diamond-outfit,
  .diamond-outfit--right {
    flex-direction: column;
    align-items: flex-start;
    width: 45%;
    max-width: 180px;
  }

  /* Reset labelu — všechna desktopová pravidla vynulována, text vždy zarovnán doleva */
  .diamond-outfit-label,
  .diamond-outfit-label--right {
    flex: none;
    text-align: left;
    order: -1;
    padding: 0 !important;
    justify-content: flex-start !important;
    transform: none !important;
  }

  /* Reset padding-top z desktopových pravidel první a poslední outfit (Ples/Práce: 45px, Výlet/Večírek: 55px) */
  .diamond-col .diamond-outfit:first-child .diamond-outfit-label,
  .diamond-col .diamond-outfit:last-child .diamond-outfit-label {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
    transform: none !important;
  }

  /* Reset specifického posunutí labelu Výletu */
  .diamond-col:not(.diamond-col--right) .diamond-outfit:last-child .diamond-outfit-label {
    transform: none !important;
    padding-top: 0 !important;
  }

  .diamond-outfit-label p,
  .diamond-outfit-label--right p,
  .diamond-outfit-label--right p.text-left {
    margin: 0;
    max-width: 180px;
    text-align: left !important;
  }

  /* Reset desktopových negativních marginů na obrázkových wrapperech */
  .diamond-col:not(.diamond-col--right) .diamond-outfit-img,
  .diamond-col--right .diamond-outfit-img {
    margin: 0;
    width: auto;
    overflow: visible;
  }

  /* Reset align-items na obrázkových wrapperech */
  .diamond-col .diamond-outfit:first-child .diamond-outfit-img,
  .diamond-col .diamond-outfit:last-child .diamond-outfit-img {
    align-items: center;
  }

  /* Klíčový reset: position: relative + left: -55px na obrázku Plesu */
  .diamond-col:not(.diamond-col--right) .diamond-outfit:first-child .diamond-outfit-img img {
    position: static;
    left: auto;
  }

  /* Jednotné velikosti obrázků na tabletech */
  .diamond-col:not(.diamond-col--right) .diamond-outfit:first-child .diamond-outfit-img img,
  .diamond-col:not(.diamond-col--right) .diamond-outfit:last-child .diamond-outfit-img img,
  .diamond-col--right .diamond-outfit:first-child .diamond-outfit-img img,
  .diamond-col--right .diamond-outfit:last-child .diamond-outfit-img img {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .diamond-col {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .diamond-outfit,
  .diamond-outfit--right {
    max-width: 140px;
  }

  .diamond-col:not(.diamond-col--right) .diamond-outfit:first-child .diamond-outfit-img img,
  .diamond-col:not(.diamond-col--right) .diamond-outfit:last-child .diamond-outfit-img img,
  .diamond-col--right .diamond-outfit:first-child .diamond-outfit-img img,
  .diamond-col--right .diamond-outfit:last-child .diamond-outfit-img img {
    max-height: 160px;
  }
}

/* =============================================================
   BALÍČKY PROMĚNY STYLU
   ============================================================= */

/* Hero sekce balíčků */
.packages-hero {
  padding-top: 140px;
  text-align: center;
}

.packages-hero-lead {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  font-weight: 400;
  margin-top: 1.75rem;
  margin-bottom: 8px;
}

.packages-hero-text {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Sekce cesta – Brus → Lesk → Koruna */
.path-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: center;
  max-width: 860px;
  margin: 48px auto 0;
}

.path-step {
  text-align: center;
  padding: 32px 20px;
  background: #ffffff;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(228, 184, 89, 0.3);
  box-shadow: 0 2px 12px rgba(0, 152, 175, 0.05);
}

.path-step-number {
  display: block;
  font-family: var(--font-script);
  font-size: var(--fs-script-sm);
  color: var(--color-gold);
  margin-bottom: 4px;
}

.path-step-name {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-bottom: 10px;
}

.path-step-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.path-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

/* Přehled balíčků – srovnávací sekce */
.packages-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.package-compare-card {
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.35);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--border-radius-md);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0, 152, 175, 0.05);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.package-compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(228, 184, 89, 0.15);
}

.package-compare-card.featured {
  border-top-color: var(--color-primary);
  background: #ffffff;
}

.package-compare-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-bottom: 2px;
}

.package-compare-tagline {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.package-compare-includes {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.package-compare-separator {
  border: none;
  border-top: 1px solid rgba(228, 184, 89, 0.3);
  margin: 20px 0;
}

.package-compare-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 6px;
}

.package-compare-meta-item {
  font-size: var(--fs-xs);
  color: var(--color-text-dark);
}

.package-compare-price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 12px 0 20px;
}

/* Rotující diamant na kartách balíčků */
@keyframes diamond-flip-h {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.card-diamond-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
}

.path-step:hover .card-diamond-icon,
.challenge-card:hover .card-diamond-icon {
  animation: diamond-flip-h 1.5s linear infinite;
}

/* Detail balíčku – sekce */
.package-detail {
  padding: 90px 0;
}

.package-detail-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.package-detail-label {
  display: inline-block;
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-dark);
  border: 1px solid rgba(228, 184, 89, 0.6);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.package-detail h2 {
  text-align: left;
  padding-bottom: 6px;
  font-size: var(--fs-2xl);
}

.package-detail-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.6;
}

.package-detail-text + .package-detail-text {
  margin-top: 12px;
}

.package-includes-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 28px 0 12px;
  letter-spacing: 0.03em;
}

.package-includes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.package-includes-list li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  font-weight: 300;
  border-bottom: 1px solid rgba(228, 184, 89, 0.15);
  line-height: 1.5;
}

.package-includes-list li:last-child {
  border-bottom: none;
}

.package-includes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cda143' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.package-takeaway {
  background: rgba(228, 184, 89, 0.08);
  border-left: 3px solid var(--color-gold);
  padding: 18px 22px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-top: 8px;
}

.package-takeaway p {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Info box (pravý sloupec) */
.package-info-box {
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.4);
  border-radius: var(--border-radius-md);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 120px;
}

.package-info-box-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-bottom: 2px;
}

.package-info-box-tagline {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-weight: 400;
}

.package-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(228, 184, 89, 0.2);
  font-size: var(--fs-sm);
}

.package-info-row:last-of-type {
  border-bottom: none;
}

.package-info-key {
  font-weight: 600;
  color: var(--color-text-dark);
}

.package-info-val {
  color: var(--color-text-muted);
  font-weight: 400;
}

.package-info-price {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 22px 0 24px;
  text-align: center;
}

.package-for-whom {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  padding-top: 18px;
  border-top: 1px solid rgba(228, 184, 89, 0.2);
  margin-top: 20px;
  font-style: italic;
  line-height: 1.6;
}

/* Responzivní – balíčky */
@media (max-width: 960px) {
  .packages-overview {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .package-detail-inner {
    grid-template-columns: 1fr;
  }

  .package-info-box {
    position: static;
  }

  .path-steps {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 16px;
  }

  .path-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}


/* ===========================
   COOKIE CONSENT BANNER
   =========================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(22, 22, 22, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 2px solid var(--color-gold);
  color: #e0e0e0;
  padding: 1.25rem 2rem;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 2rem;
  align-items: center;
}

.cookie-banner__text p {
  font-size: var(--fs-2xs);
  line-height: 1.55;
  color: #bbb;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--color-gold);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-wrap: nowrap;
}

/* --- Tlačítka cookie banneru --- */
.cookie-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}

.cookie-btn--accept {
  background: var(--color-gold);
  color: #1a1100;
  border: 1px solid var(--color-gold);
}

.cookie-btn--accept:hover,
.cookie-btn--accept:focus-visible {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
}

.cookie-btn--reject {
  background: transparent;
  color: #d0d0d0;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-btn--reject:hover,
.cookie-btn--reject:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.48);
}

.cookie-btn--settings {
  background: transparent;
  color: var(--color-gold-light);
  border: 1px solid rgba(228, 184, 89, 0.35);
  font-size: var(--fs-2xs);
}

.cookie-btn--settings:hover,
.cookie-btn--settings:focus-visible {
  background: rgba(228, 184, 89, 0.1);
  border-color: rgba(228, 184, 89, 0.6);
}

/* --- Modální okno s podrobným nastavením --- */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#cookie-modal.cookie-modal--open {
  display: flex;
}

.cookie-modal__card {
  background: #1c1c1c;
  border: 1px solid rgba(228, 184, 89, 0.28);
  border-radius: var(--border-radius-md);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cookie-modal__header h2 {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}

.cookie-modal__close {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 1.625rem;
  line-height: 1;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.cookie-modal__close:hover {
  color: #fff;
}

.cookie-modal__intro {
  font-size: var(--fs-2xs);
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --- Kategorie --- */
.cookie-category {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.125rem;
  margin-bottom: 0.625rem;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category__name {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #e4e4e4;
}

.cookie-category__desc {
  font-size: var(--fs-2xs);
  color: #888;
  margin-top: 0.5rem;
  line-height: 1.55;
}

/* --- Toggle přepínač --- */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--color-gold);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle__track {
  cursor: not-allowed;
  opacity: 0.55;
}

.cookie-toggle input:focus-visible + .cookie-toggle__track {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* --- Patička modálu --- */
.cookie-modal__footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cookie-modal__footer .cookie-btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

/* --- Plovoucí tlačítko pro opětovné otevření nastavení --- */
#cookie-settings-fab {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 9990;
  background: rgba(22, 22, 22, 0.92);
  border: 1px solid rgba(228, 184, 89, 0.35);
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  font-size: var(--fs-2xs);
  font-family: var(--font-sans);
  color: #aaa;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 0.375rem;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

#cookie-settings-fab:hover,
#cookie-settings-fab:focus-visible {
  border-color: rgba(228, 184, 89, 0.65);
  color: var(--color-gold-light);
}

#cookie-settings-fab.cookie-fab--visible {
  display: flex;
}

/* --- Responzivita --- */
@media (max-width: 820px) {
  #cookie-banner {
    padding: 1rem 1.25rem;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .cookie-banner__actions {
    flex-wrap: wrap;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-modal__card {
    padding: 1.25rem;
  }

  .cookie-modal__footer {
    flex-direction: column;
  }

  .cookie-modal__footer .cookie-btn {
    width: 100%;
  }
}

/* ==========================================================================
   BLOG (přehled článků + detail článku)
   ========================================================================== */

/* --- Drobečková navigace --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xs);
  color: #999;
  margin-bottom: 25px;
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* --- Meta údaje článku (kategorie, datum, doba čtení) --- */
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-2xs);
  color: #888;
  margin-bottom: 20px;
}

.category-chip {
  display: inline-block;
  background: var(--color-gold-light);
  color: #7d5a14;
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 14px;
  border-radius: 14px;
}

/* --- Nadpis a perex článku --- */
.blog-article-title {
  text-align: left;
  font-size: var(--fs-2xl);
  margin-bottom: 20px;
}

.blog-perex {
  margin-bottom: 30px;
}

/* --- Hlavní obrázek článku --- */
.blog-hero-img {
  margin: 0 0 40px;
}

.blog-hero-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

/* --- Obsah článku (kotvy) --- */
.toc-box {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-gold);
  padding: 20px 25px;
  margin-bottom: 40px;
}

.toc-box .toc-title {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.toc-box ol {
  margin: 0;
  padding-left: 20px;
}

.toc-box li {
  margin-bottom: 6px;
}

.toc-box a {
  color: var(--color-primary);
  text-decoration: none;
}

.toc-box a:hover {
  text-decoration: underline;
}

/* --- Tělo článku --- */
.blog-body h2 {
  text-align: left;
  font-size: var(--fs-xl);
  padding-bottom: 0;
  margin: 50px 0 20px;
}

.blog-body h3 {
  color: var(--color-text-dark);
  text-shadow: none;
  font-size: var(--fs-lg);
  margin: 30px 0 15px;
}

.blog-body p {
  margin-bottom: 18px;
}

.blog-list {
  margin: 15px 0 20px;
  padding-left: 22px;
}

.blog-list li {
  margin-bottom: 8px;
}

.blog-content-img {
  margin: 30px 0;
}

.blog-content-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

.blog-content-img figcaption {
  font-size: var(--fs-2xs);
  color: #999;
  text-align: center;
  margin-top: 8px;
}

/* --- Tip-box (praktická rada) --- */
.tip-box {
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.55);
  border-left: 4px solid var(--color-gold);
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
  padding: 20px 25px;
  margin: 30px 0;
}

.tip-box-label {
  display: block;
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tip-box p {
  margin: 0;
}

/* --- Box autorky --- */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.55);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
  padding: 20px 25px;
  margin: 40px 0;
}

.author-box img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box-name {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 5px;
}

.author-box-text {
  font-size: var(--fs-base);
  margin: 0;
}

.author-box-text a {
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}

.author-box-text a:hover {
  text-decoration: underline;
}

/* --- Nejnovější článek (velká karta na přehledu) --- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.55);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.blog-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

.blog-featured-img {
  min-height: 280px;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 35px 40px;
}

.blog-featured-body h2 {
  text-align: left;
  font-size: var(--fs-xl);
  padding-bottom: 0;
  margin-bottom: 12px;
}

/* --- Filtr kategorií --- */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-chip {
  background: #ffffff;
  border: 1px solid #ddd;
  color: #666;
  font-family: inherit;
  font-size: var(--fs-sm);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* --- Mřížka karet článků (přehled + související) --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(228, 184, 89, 0.55);
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  flex-grow: 1;
}

.blog-card-body h3 {
  color: var(--color-text-dark);
  text-shadow: none;
  font-size: var(--fs-md);
  line-height: 1.4;
  margin: 0;
}

.blog-card-date {
  font-size: var(--fs-2xs);
  color: #999;
}

.blog-card-perex {
  font-size: var(--fs-base);
  color: #666;
  margin: 0;
}

.blog-card-more {
  color: var(--color-primary);
  font-weight: 500;
  font-size: var(--fs-sm);
  margin-top: auto;
}

/* --- Responzivita blogu --- */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-img {
    min-height: 200px;
    max-height: 260px;
  }

  .blog-featured-body {
    padding: 25px;
  }
}

/* --- PARALLAX PÁS (obrázek na celou šířku, posouvá se pomaleji než stránka) --- */
.parallax-band {
  height: 25vh;
  min-height: 180px;
  max-height: 320px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 900px) {
  .parallax-band {
    background-attachment: scroll;
    height: 22vh;
    min-height: 160px;
  }
}

