/* ==========================================================================
   DESIGN SYSTEM – Oči nejsou stroj | Michala Svobodová
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */

:root {
  /* --- Colors (Matching the eye logo turquoise palette) --- */
  --color-primary: #00A896; /* Elegant true eye-logo turquoise */
  --color-primary-light: #00D4BE; /* Radiant turquoise for accents & highlights */
  --color-primary-dark: #007D70; /* Deep rich teal-turquoise for hover states */
  --color-secondary: #00B8A9; /* Harmonious eye-logo turquoise */
  --color-secondary-light: #5CE8D8; /* Soft luminous mint-turquoise */
  --color-secondary-dark: #008B7D;
  --color-accent: #00B8A9; /* Vibrant turquoise for CTA buttons */
  --color-accent-light: #00D4BE;
  --color-accent-dark: #008B7D;
  --color-background: #FAF6EE; /* Warm, soft cream background - extremely gentle on the eyes */
  --color-background-alt: #F0E7DA; /* Muted warm sand/beige for alternative sections */
  --color-background-dark: #332B25; /* Warm espresso brown dark background */
  --color-text: #332B25; /* Soft, warm espresso brown - high readability, zero glare */
  --color-text-muted: #594E46; /* Medium warm cocoa brown */
  --color-text-light: #7A6E64; /* Light warm wood-gray */
  --color-white: #FCFAF6; /* Soft milky off-white for cards, reducing visual edge glare */
  --color-border: #E3DDD3; /* Soft warm borders */
  --color-border-light: #EFECE6;
  --color-success: #00A896;
  --color-error: #B57962;
  --color-pencil: #00C4B4;

  /* --- Spacing (8px grid) --- */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* --- Typography --- */
  --font-family: 'Montserrat', sans-serif;
  --font-family-heading: 'Cormorant Garamond', serif;
  --font-size-base: 1.15rem;       /* 18.4px - scaled up for visual comfort */
  --font-size-sm: 1.05rem;         /* 16.8px - scaled up */
  --font-size-xs: 0.95rem;         /* 15.2px - scaled up */
  --font-size-lg: 1.3rem;          /* 20.8px - scaled up */
  --font-size-xl: 1.45rem;         /* 23.2px - scaled up */
  --line-height-base: 1.8;         /* Increased line height for visual comfort */
  --line-height-heading: 1.3;      /* Increased line height for visual comfort */
  --line-height-tight: 1.5;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Heading sizes with clamp() - scaled up for better legibility */
  --font-size-h1: clamp(2.4rem, 4.5vw + 1rem, 4rem);
  --font-size-h2: clamp(1.9rem, 3.2vw + 0.5rem, 2.9rem);
  --font-size-h3: clamp(1.5rem, 2.2vw + 0.5rem, 2.05rem);
  --font-size-h4: clamp(1.25rem, 1.6vw + 0.5rem, 1.65rem);
  --font-size-h5: clamp(1.1rem, 1.1vw + 0.5rem, 1.35rem);
  --font-size-h6: clamp(1rem, 0.9vw + 0.5rem, 1.2rem);

  /* --- Layout --- */
  --container-width: 100%;
  --container-max-width: 1400px;
  --content-max-width: 70ch;
  --border-radius-sm: 0px;
  --border-radius-md: 0px;
  --border-radius-lg: 0px;
  --border-radius-xl: 0px;
  --border-radius-full: 0px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 4px 12px rgba(45, 42, 38, 0.08);
  --shadow-lg: 0 8px 30px rgba(45, 42, 38, 0.1);
  --shadow-xl: 0 16px 50px rgba(45, 42, 38, 0.12);
  --shadow-card: 0 2px 16px rgba(45, 42, 38, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(45, 42, 38, 0.12);

  /* --- Glass --- */
  --glass-bg: rgba(252, 250, 246, 0.65);
  --glass-border: rgba(252, 250, 246, 0.3);
  --glass-blur: 16px;

  /* --- Transitions --- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Z-index --- */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-navbar: 500;
}

/* --------------------------------------------------------------------------
   2. CSS RESET
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--color-primary-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 500; /* Medium weight for Cormorant Garamond uppercase */
  line-height: var(--line-height-heading);
  color: var(--color-text);
  text-wrap: balance;
  letter-spacing: 0.1em; /* Elegant spacing for uppercase letters */
  text-transform: uppercase; /* Force uppercase on all headings */
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

/* Legal & policy pages numbered headings */
.legal-page h2,
.legal-page h3,
.legal-content h2,
.legal-content h3 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  letter-spacing: normal;
  text-transform: none;
}

h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
  font-style: normal;
  font-weight: inherit;
  font-family: inherit;
}

h1 { font-size: var(--font-size-h1); margin-bottom: var(--space-6); }
h2 { font-size: var(--font-size-h2); margin-bottom: var(--space-6); }
h3 { font-size: var(--font-size-h3); margin-bottom: var(--space-4); }
h4 { font-size: var(--font-size-h4); margin-bottom: var(--space-4); }
h5 { font-size: var(--font-size-h5); margin-bottom: var(--space-3); }
h6 { font-size: var(--font-size-h6); margin-bottom: var(--space-3); }

p {
  margin-bottom: var(--space-4);
  max-width: var(--content-max-width);
}

.text-muted {
  color: var(--color-text-muted);
}

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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-base);
  color: var(--color-text-muted);
}

.subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  line-height: var(--line-height-tight);
}

strong {
  font-weight: var(--font-weight-semibold);
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero__content .section-label {
  color: var(--color-secondary-light); /* Lighter warm terracotta for excellent contrast against dark hero bg */
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */

.container {
  width: var(--container-width);
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

.section--alt {
  background-color: var(--color-background-alt);
}

.section--dark {
  background-color: var(--color-background-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark .text-muted,
.section--dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-12);
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

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

/* Bento Grid */
.bento-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

/* Flex utilities */
.flex {
  display: flex;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Two-column content layout */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.content-split img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary,
.btn-gold,
.btn-accent {
  background: linear-gradient(135deg, #00D4BE 0%, #00A896 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.3) !important;
}

.btn-primary:hover,
.btn-gold:hover,
.btn-accent:hover,
.btn-primary:focus,
.btn-gold:focus,
.btn-accent:focus {
  background: linear-gradient(135deg, #38EBD4 0%, #007D70 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 168, 150, 0.45) !important;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-background-alt);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--space-6) var(--space-12);
  font-size: var(--font-size-lg);
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.btn-group .btn {
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. NAVBAR
   -------------------------------------------------------------------------- */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
  background-color: transparent;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3) 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-family-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-base);
  z-index: calc(var(--z-navbar) + 1);
}

.navbar__logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-primary-light);
  transition: color var(--transition-base);
}

.navbar__logo span {
  color: var(--color-primary-light);
  transition: color var(--transition-base);
}

/* Scrolled logo colors */
.navbar.scrolled .navbar__logo {
  color: var(--color-text);
}

.navbar.scrolled .navbar__logo span {
  color: var(--color-primary);
}

.navbar.scrolled .navbar__logo-icon {
  color: var(--color-primary);
}

.navbar__menu {
  display: none;
  list-style: none;
}

.navbar__menu a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  text-decoration: none;
}

.navbar__menu a:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
}

.navbar__menu a.active {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Scrolled menu colors */
.navbar.scrolled .navbar__menu a {
  color: var(--color-text);
}

.navbar.scrolled .navbar__menu a:hover,
.navbar.scrolled .navbar__menu a.active {
  color: var(--color-primary);
  background-color: rgba(184, 134, 11, 0.08);
}

.navbar__cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: calc(var(--z-navbar) + 1);
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Scrolled hamburger color */
.navbar.scrolled .hamburger span {
  background-color: var(--color-text);
}

/* Active hamburger color (mobile menu open) */
.hamburger.active span {
  background-color: var(--color-text) !important;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-overlay);
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  padding: var(--space-3) var(--space-6);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--color-primary);
}

.mobile-menu .btn {
  margin-top: var(--space-6);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
}

.hero--short {
  min-height: 60vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(51, 43, 37, 0.4) 0%, rgba(51, 43, 37, 0) 70px),
    linear-gradient(to right, rgba(51, 43, 37, 0.98) 0%, rgba(51, 43, 37, 0.9) 35%, rgba(51, 43, 37, 0.4) 50%, rgba(51, 43, 37, 0) 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--color-white);
}

.hero__content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero__content .lead {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-8);
  font-size: var(--font-size-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero__content .section-label {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero__content .btn-group {
  margin-top: var(--space-8);
}

/* Decorative turquoise line */
.hero__content::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  margin-bottom: var(--space-6);
  border-radius: 0;
}

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.1);
  border-color: var(--color-primary-light);
}

.card--dark {
  background: var(--color-text); /* Espresso brown background */
  border-color: var(--color-text);
  color: var(--color-white);
}

.card--dark h3,
.card--dark p,
.card--dark strong {
  color: var(--color-white) !important;
}

.card--dark .card-icon,
.card--dark .card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-primary-light) !important;
}

.card--dark .card__link {
  color: var(--color-primary-light) !important;
}

.card--dark .card__link:hover {
  color: var(--color-secondary-light) !important;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  background: var(--color-background-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--color-primary);
  font-size: 1.5rem;
}

.card__icon svg {
  width: 34px;
  height: 34px;
  color: var(--color-pencil);
  filter: url(#pencil-sketch);
  transition: all var(--transition-base);
}

.card:hover .card__icon svg {
  color: var(--color-primary);
  transform: scale(1.1) rotate(-3deg);
}

.card__title {
  font-size: var(--font-size-h4);
  margin-bottom: var(--space-4);
}

.card__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  transition: gap var(--transition-fast);
  margin-top: auto;
}

.card__link:hover {
  gap: var(--space-3);
  color: var(--color-primary-dark);
}

.card__image {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.03);
}

/* Pricing card */
.card--pricing {
  text-align: center;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.card--pricing.featured {
  border-color: var(--color-primary);
  background: var(--color-background-alt);
}

.card--pricing .price {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.card--pricing .price-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   9. SYMPTOM / FEATURE LIST
   -------------------------------------------------------------------------- */

.symptom-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

@media (min-width: 480px) {
  .symptom-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .symptom-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .symptom-list {
    grid-template-columns: 1fr 1fr;
  }
}

.symptom-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.symptom-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.symptom-item i {
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.symptom-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-pencil);
  filter: url(#pencil-sketch);
  transition: all var(--transition-base);
}

.symptom-item:hover .symptom-icon {
  color: var(--color-primary);
  transform: scale(1.05) rotate(-2deg);
}

.feature-list {
  list-style: none;
  margin: var(--space-6) 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
}

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

.feature-list li i {
  color: var(--color-secondary);
  margin-top: 0.25em;
  flex-shrink: 0;
}

/* Check list */
.check-list {
  list-style: none;
  margin: var(--space-6) 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* --------------------------------------------------------------------------
   10. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */

.accordion-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.accordion-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--color-primary);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  cursor: pointer;
  gap: var(--space-4);
  width: 100%;
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  background: none;
  border: none;
  font-family: inherit;
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.accordion-body__inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
}

/* --------------------------------------------------------------------------
   11. FORMS
   -------------------------------------------------------------------------- */

.form {
  max-width: 640px;
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(118, 132, 120, 0.15);
}

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

/* Honeypot field – must be hidden visually but accessible */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   12. ABOUT / PROFILE SECTION
   -------------------------------------------------------------------------- */

.profile-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.profile-image {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.profile-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.profile-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   13. PRICING TABLE
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
  content: 'Nejoblíbenější';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* --------------------------------------------------------------------------
   14. STEPS / PROCESS
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: var(--space-16);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.25);
}

.step h3 {
  margin-bottom: var(--space-3);
}

.step p {
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   15. CTA SECTION
   -------------------------------------------------------------------------- */

.cta-section {
  background: linear-gradient(135deg, var(--color-background-dark) 0%, #3D3A36 100%);
  padding: var(--space-20) 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 132, 120, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--color-white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */

.footer {
  background-color: var(--color-background-dark);
  color: rgba(255, 255, 255, 0.95); /* High-contrast white text for dark background */
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand-name {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer__brand-name-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-primary-light);
}

.footer__brand-name span {
  color: var(--color-primary-light);
}

.footer__brand p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  color: rgba(255, 255, 255, 0.85); /* High contrast */
}

.footer__heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.9); /* High contrast */
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
}

.footer__contact-item i {
  color: var(--color-primary);
  width: 16px;
  text-align: center;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.9); /* High contrast */
  text-decoration: none;
}

.footer__contact-item a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.75); /* High contrast */
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.75); /* High contrast */
}

.footer__bottom a:hover {
  color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   17. 404 PAGE
   -------------------------------------------------------------------------- */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
}

.error-page__icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   18. SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   19. MODULES LIST (for Online Programs)
   -------------------------------------------------------------------------- */

.module-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.module-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.module-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.module-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-background-alt);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-content h4 {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-base);
}

.module-content p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   20. E-BOOK SECTION
   -------------------------------------------------------------------------- */

.ebook-section {
  background: var(--color-background-alt);
  border-radius: 0;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .ebook-section {
    padding: var(--space-12);
  }
}

/* --------------------------------------------------------------------------
   21. MISC UTILITIES
   -------------------------------------------------------------------------- */

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

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  border-radius: 0;
  margin-bottom: var(--space-6);
}

.text-center .gold-divider {
  margin-left: auto;
  margin-right: auto;
}

.img-rounded {
  border-radius: 0;
}

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

/* Badge */
.badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  background: rgba(0, 184, 169, 0.12);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE BREAKPOINTS (mobile-first)
   -------------------------------------------------------------------------- */

/* Tablet (≥ 480px) */
@media (min-width: 480px) {
  .btn-group {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }

  .btn-group .btn {
    width: auto;
  }

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

/* Tablet landscape (≥ 768px) */
@media (min-width: 768px) {
  :root {
    --container-width: 90%;
  }

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

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

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

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

  .content-split {
    grid-template-columns: 1fr 1fr;
  }

  .profile-section {
    grid-template-columns: 300px 1fr;
  }

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

  .accordion-container--two-col {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

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

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

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  :root {
    --container-width: 85%;
  }

  .navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .navbar__cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }

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

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

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

  .profile-section {
    grid-template-columns: 380px 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .hero__content {
    max-width: 600px;
  }

  .hero__overlay {
    background: 
      linear-gradient(to bottom, rgba(51, 43, 37, 0.4) 0%, rgba(51, 43, 37, 0) 70px),
      linear-gradient(to right, rgba(51, 43, 37, 0.98) 0%, rgba(51, 43, 37, 0.9) 35%, rgba(51, 43, 37, 0.4) 50%, rgba(51, 43, 37, 0) 60%);
  }
}

/* Large desktop (≥ 1440px) */
@media (min-width: 1440px) {
  :root {
    --font-size-base: 1.0625rem; /* 17px */
  }

  .container {
    max-width: 1400px;
  }
}

/* 4K screens (≥ 2560px) */
@media (min-width: 2560px) {
  :root {
    --font-size-base: 1.125rem; /* 18px */
  }

  .container {
    max-width: 1800px;
  }

  .hero {
    min-height: 80vh;
  }
}

/* --------------------------------------------------------------------------
   22. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 99;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0; /* Sharp corners */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), background-color var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
}

.back-to-top:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   22. GALLERY GRID
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

/* --------------------------------------------------------------------------
   22.5 SOCIAL MEDIA BUTTONS
   -------------------------------------------------------------------------- */
.footer__socials a {
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.footer__socials a:hover {
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-link-btn:hover {
  color: var(--color-primary-light) !important;
  transform: translateY(-2px);
}

.navbar__logo img,
.footer__brand-name img {
  transition: transform var(--transition-fast) ease, filter var(--transition-fast) ease;
}
.navbar__logo:hover img,
.footer__brand-name:hover img {
  transform: scale(1.05);
}

/* SmartEmailing Embedded Webform */
#download-form {
  width: 100%;
}
#download-form .card {
  width: 100%;
}
#download-form iframe,
#download-form form,
#download-form div[id^="se-"] {
  width: 100% !important;
  max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   24. COMPACT AUTHOR CARD & CTA ENHANCEMENTS
   -------------------------------------------------------------------------- */

.author-compact-card {
  background: var(--color-white);
  border: 1px solid rgba(118, 132, 120, 0.2);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--border-radius-xl);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 5vw, 3.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.author-compact-card .section-label {
  margin-bottom: var(--space-2);
}

.author-compact-card h2 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-4);
}

.author-compact-card p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  max-width: 65ch;
  margin: 0 auto var(--space-6);
  color: var(--color-text);
}

.cta-phone-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: var(--space-6) auto 0;
  text-align: center;
}

.cta-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-white);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
  margin-top: var(--space-3);
}

.cta-phone-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   23. PRINT STYLES
   -------------------------------------------------------------------------- */

@media print {
  .navbar,
  .hamburger,
  .mobile-menu,
  .footer,
  .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
