/* =========================================
   Šikula - Hlavní CSS styl
   ========================================= */

:root {
  /* Firemní barvy z loga */
  --c-green: #14A268;
  --c-green-light: #e7f6f0;
  --c-orange: #FF632A;
  --c-orange-light: #fff0eb;
  --c-blue: #3351FA;
  --c-blue-light: #ebedff;
  --c-pink: #FFA0E4;
  --c-pink-light: #fff0fa;
  --c-yellow: #FFD900;

  /* Neutrální tóny */
  --c-bg: #FDFBF7;
  --c-bg-alt: #F3EFE9;
  --c-text-main: #301C00;
  --c-text-muted: #66503c;
  --c-white: #ffffff;

  /* Typografie */
  --font-head: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;

  /* Zaoblení a stíny */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --shadow-soft: 0 10px 40px -10px rgba(48, 28, 0, 0.08);
  --shadow-hover: 0 16px 48px -12px rgba(48, 28, 0, 0.12);

  /* Animace */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-text-main);
  background-color: var(--c-bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text-main);
}

p {
  margin-bottom: 1rem;
  color: var(--c-text-muted);
}

a {
  color: var(--c-text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
}

/* =========================================
   Tlačítka
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s ease, background-color 0.2s ease;
  border: none;
  text-align: center;
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn:active {
  transform: translateY(2px) scale(0.98);
}

.btn-primary {
  background-color: var(--c-green);
  color: var(--c-white);
  box-shadow: 0 8px 24px rgba(20, 162, 104, 0.3);
}

.btn-primary:hover {
  background-color: #118c5a;
  color: var(--c-white);
  box-shadow: 0 12px 32px rgba(20, 162, 104, 0.4);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.25rem;
}

.btn-full {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.25rem;
}

.btn-text {
  color: var(--c-green);
  background: transparent;
  padding: 12px 24px;
}

.btn-text:hover {
  color: var(--c-green);
  background: var(--c-green-light);
  box-shadow: none;
}

/* =========================================
   Hlavička a Navigace
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(48, 28, 0, 0.05);
  transition: padding 0.3s ease, background 0.3s ease;
  padding: 16px 0;
}

.header.scrolled {
  padding: 8px 0;
  background: rgba(253, 251, 247, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

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

.logo {
  height: 52px;
  width: auto;
  transition: transform 0.3s var(--bounce);
}

.logo:hover {
  transform: scale(1.05) rotate(-5deg);
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background-color: var(--c-orange);
  transition: width 0.3s var(--bounce);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--c-text-main);
  border-radius: 3px;
  transition: 0.3s ease;
}

/* =========================================
   Hero Sekce
   ========================================= */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .background-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
}

.hero .shape-1 {
  width: 400px;
  height: 400px;
  background: var(--c-pink-light);
  top: -100px;
  left: -100px;
}

.hero .shape-2 {
  width: 500px;
  height: 500px;
  background: var(--c-green-light);
  bottom: -100px;
  right: -100px;
}

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

.hero-authors {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text-main);
  margin-bottom: 8px;
  opacity: 0.8;
}

.badge {
  display: inline-block;
  background-color: var(--c-orange-light);
  color: var(--c-orange);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-tagline {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 20px;
  max-width: 540px;
  font-weight: 700;
  color: var(--c-text-main);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 580px;
  color: var(--c-text-muted);
}

.highlight {
  color: var(--c-green);
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--c-yellow);
  z-index: -1;
  border-radius: 6px;
  transform: rotate(-1deg);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-reviews .avatars {
  display: flex;
}

.hero-reviews img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--c-bg);
  object-fit: cover;
  margin-left: -16px;
}

.hero-reviews img:first-child {
  margin-left: 0;
}

.hero-reviews p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text-main);
}

.hero-visual {
  position: relative;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 110%;
  /* Aspect ratio hack */
}

.organic-blob {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: flow 8s ease-in-out infinite alternate;
}

.organic-blob.color-green {
  background: var(--c-green-light);
  transform: rotate(15deg);
}

.organic-blob.color-blue {
  background: var(--c-blue-light);
  transform: rotate(-15deg);
  top: 20%;
  left: 5%;
  width: 70%;
  height: 85%;
  animation-delay: -3s;
}

@keyframes flow {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 40% 60% 50% 50% / 40% 40% 60% 50%;
  }
}

.hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  object-fit: cover;
  border-radius: 40px 100px 40px 100px;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: var(--c-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 5s ease-in-out infinite alternate;
  width: max-content;
}

.floating-card .icon-wrap {
  font-size: 1.5rem;
  background: var(--c-pink-light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-card .text-wrap strong {
  display: block;
  font-size: 1rem;
  font-family: var(--font-head);
  color: var(--c-text-main);
  line-height: 1.2;
}

.floating-card .text-wrap span {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.hero-mascot {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: var(--c-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 5s ease-in-out infinite alternate;
  width: max-content;
}

.card-2 {
  top: calc(18% - 25px);
  left: -80px;
  animation-duration: 7s;
}

.popup-delay {
  animation-delay: 0.4s;
}

.floating-card .icon-wrap {
  font-size: 1.5rem;
  background: var(--c-pink-light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.card-2 .icon-wrap {
  background: var(--c-green-light);
}

.card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-orange);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  line-height: 1.2;
}

.floating-card .text-wrap strong {
  display: block;
  font-size: 1rem;
  font-family: var(--font-head);
  color: var(--c-text-main);
  line-height: 1.2;
}

.floating-card .text-wrap span {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* =========================================
   Benefity
   ========================================= */
.benefits {
  padding: 100px 0;
  background-color: var(--c-bg-alt);
  position: relative;
  border-radius: 60px;
  margin: 0 16px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.benefit-card {
  background: var(--c-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s ease;
  cursor: default;
}

.benefit-card:hover {
  transform: translateY(-16px) scale(1.03) !important;
  /* Override tilt on hover */
  box-shadow: var(--shadow-hover);
  z-index: 10;
}

.tilt-left {
  transform: rotate(-3deg);
}

.tilt-right {
  transform: rotate(3deg);
}

.offset-up {
  margin-top: -30px;
}

.offset-down {
  margin-top: 30px;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transform: rotate(-5deg);
  transition: transform 0.3s var(--bounce);
}

.benefit-card:hover .benefit-icon {
  transform: rotate(10deg) scale(1.1);
}

.bg-orange {
  background: var(--c-orange-light);
}

.bg-blue {
  background: var(--c-blue-light);
}

.bg-green {
  background: var(--c-green-light);
}

.bg-pink {
  background: var(--c-pink-light);
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 1rem;
  margin: 0;
}

/* =========================================
   Služby
   ========================================= */
.services {
  padding: 120px 0;
  position: relative;
}

.wave-top,
.wave-bottom {
  position: absolute;
  width: 100%;
  height: 120px;
  left: 0;
  z-index: 10;
  pointer-events: none;
}

.wave-top {
  top: -1px;
}

.wave-bottom {
  bottom: -1px;
}

.services-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--bounce), box-shadow 0.4s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card.expandable {
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.service-card.is-expanded {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-image-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 40px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image {
  transform: scale(1.08);
}

.service-content {
  padding: 32px 32px 48px;
  position: relative;
}



.service-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.service-desc {
  margin: 0;
  font-size: 1.05rem;
}

/* Interaktivní detaily služby */
.service-details {
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  padding: 0 32px;
}

.service-card.is-expanded .service-details {
  max-height: 1500px;
  opacity: 1;
  padding: 16px 32px 48px;
}

.details-section {
  margin-top: 32px;
  border-top: 2px dashed var(--c-bg-alt);
  padding-top: 24px;
}

.details-section h4 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--c-text-main);
  font-family: var(--font-head);
}

.details-section ul {
  list-style: none;
  padding: 0;
}

.details-section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--c-text-muted);
}

.details-section ul li::before {
  content: '♥';
  position: absolute;
  left: 0;
  color: var(--c-orange);
  font-size: 0.9rem;
}

.expand-indicator {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--c-white);
  color: var(--c-green);
  border-radius: 50%;
  border: 2px solid var(--c-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--bounce);
  z-index: 10;
}

.service-card:hover .expand-indicator {
  transform: scale(1.1);
  background-color: var(--c-green);
  color: var(--c-white);
  border-color: var(--c-green);
}

.service-card.is-expanded .expand-indicator {
  transform: rotate(45deg);
  background-color: var(--c-orange);
  color: var(--c-white);
  border-color: var(--c-orange);
}

/* =========================================
   O nás
   ========================================= */
.about {
  padding: 100px 0;
  background-color: var(--c-green-light);
  border-radius: 60px;
  margin: 0 16px;
  overflow: hidden;
}

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

.about-images {
  position: relative;
  height: 600px;
}

.about-img-1,
.about-img-2 {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  z-index: 2;
  transition: transform 0.5s ease;
}

.about-img-1 {
  width: 65%;
  height: 70%;
  top: 0;
  left: 0;
  border-radius: 40px 100px 40px 100px;
}

.about-img-2 {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  border-radius: 100px 40px 100px 40px;
}

.about-images:hover .about-img-1 {
  transform: translate(-10px, -10px) rotate(-2deg);
}

.about-images:hover .about-img-2 {
  transform: translate(10px, 10px) rotate(2deg);
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.about-shape.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--c-orange-light);
  top: -50px;
  right: 20px;
}

.about-shape.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--c-white);
  bottom: 50px;
  left: -40px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px dashed rgba(20, 162, 104, 0.2);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  font-weight: 700;
  color: var(--c-text-main);
}

/* =========================================
   Tým - Mini sekce karet
   ========================================= */
.team-mini {
  padding: 60px 0 100px;
  margin-top: -80px;
  /* Overlap slightly for dynamic effect */
  position: relative;
  z-index: 10;
}

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

.team-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--bounce);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.team-card:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: var(--shadow-hover);
}

.team-card:nth-child(even):hover {
  transform: translateY(-12px) rotate(-1deg);
}

.team-blob-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.team-blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: flow 10s ease-in-out infinite alternate;
  z-index: 1;
}

.team-blob.bg-green {
  background: var(--c-green-light);
}

.team-blob.bg-orange {
  background: var(--c-orange-light);
}

.team-blob-wrap img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s var(--bounce);
}

.team-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.team-info h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
  color: var(--c-text-main);
  line-height: 1.2;
}

.team-tag {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-green);
  margin-bottom: 20px;
}

.card-orange .team-tag {
  color: var(--c-orange);
}

.team-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.team-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--c-bg-alt);
  border-radius: 50%;
  transition: all 0.3s var(--bounce);
}

.team-card:hover .team-link {
  color: var(--c-text-main);
}

.team-card:hover .team-link span {
  transform: translateX(4px);
  background: var(--c-green-light);
  color: var(--c-green);
}

.team-card.card-orange:hover .team-link span {
  background: var(--c-orange-light);
  color: var(--c-orange);
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  .team-mini {
    margin-top: -40px;
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .team-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .team-blob-wrap {
    width: 120px;
    height: 120px;
  }
}

/* =========================================
   Kontakt
   ========================================= */

.contact {
  padding: 120px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.contact-item .icon {
  width: 56px;
  height: 56px;
  background: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--c-text-main);
  margin-bottom: 4px;
}

.contact-item p {
  margin: 0;
}

.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background: var(--c-white);
  padding: 48px;
  border-radius: 40px;
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.contact-mascot {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 140px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--c-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text-main);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-green);
  background: var(--c-white);
  box-shadow: 0 0 0 4px var(--c-green-light);
}

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

.form-note {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--c-green);
}

.form-consent label {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-weight: 400;
  line-height: 1.4;
}

.form-consent a {
  color: var(--c-green);
  text-decoration: underline;
}

.footer-legal {
  display: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-top: 8px;
  line-height: 1.6;
}

/* =========================================
   Právní stránky (GDPR)
   ========================================= */
.legal-hero {
  padding: 160px 0 20px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 120px;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content strong {
  color: var(--c-text-main);
}

.legal-updated {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* =========================================
   Patička
   ========================================= */
.footer {
  background: var(--c-text-main);
  color: var(--c-white);
  padding: 80px 0 32px;
  border-radius: 60px 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 64px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

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

.link-group h4 {
  color: var(--c-white);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.link-group a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.link-group a:hover {
  color: var(--c-yellow);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* =========================================
   Ceník
   ========================================= */
.pricing {
  padding: 120px 0;
  background: var(--c-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--c-bg);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all 0.4s var(--bounce);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-12px);
  background: var(--c-white);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-green-light);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, var(--c-green-light) 100%);
  opacity: 0.3;
  border-radius: 0 var(--radius-lg) 0 100%;
  pointer-events: none;
}

.pricing-card.featured {
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--c-green);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-12px);
}

.pricing-card.featured::before {
  background: linear-gradient(135deg, transparent 50%, var(--c-yellow) 100%);
  opacity: 0.5;
}

.pricing-header {
  margin-bottom: 32px;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  min-height: 3.6rem;
  /* Ensures alignment if titles wrap */
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 4.5rem;
  /* Ensures alignment */
}

.price {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--c-green);
  font-weight: 800;
}

.price span {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

.pricing-time {
  font-weight: 700;
  color: var(--c-text-main);
  margin-top: 12px;
  font-size: 1rem;
}

.pricing-list {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
}

.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 900;
}

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

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-12px);
  }
}

/* =========================================
   Responzivita (Media Queries)
   ========================================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-container {
    gap: 40px;
  }

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

  .benefits {
    padding: 80px 0;
  }

  .offset-up,
  .offset-down {
    margin-top: 0;
  }

  /* Reset offsets for grid */

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

  .about-container {
    gap: 40px;
  }

  .about-images {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s var(--bounce);
    z-index: 1000;
  }

  .main-nav.active {
    transform: translateY(0);
  }

  .main-nav .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .main-nav a {
    font-size: 2rem;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .floating-card {
    display: none;
  }

  /* Hide on small mobile to clear clutter */

  .benefits-grid,
  .services-track,
  .about-container,
  .contact-container,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .about-images {
    height: 400px;
    margin-bottom: 40px;
  }

  .about-img-1 {
    width: 80%;
    height: 80%;
    border-radius: 30px;
  }

  .about-img-2 {
    width: 50%;
    height: 50%;
    border-radius: 20px;
  }

  .contact-form-wrapper {
    margin-top: 60px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .benefits {
    margin: 0 8px;
    border-radius: 30px;
  }

  .about {
    margin: 0 8px;
    border-radius: 30px;
  }

  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .benefit-card {
    padding: 24px;
  }

  .contact-mascot {
    display: none;
  }

  .stat strong {
    font-size: 2rem;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* =========================================
   Profilové stránky (Detail)
   ========================================= */

.profile-hero {
  padding: 180px 0 100px;
  background: linear-gradient(to bottom, var(--c-bg), var(--c-white));
  position: relative;
  overflow: hidden;
}

.profile-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.profile-visual {
  position: relative;
}

.profile-blob-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.profile-main-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 2;
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--c-white);
  animation: flow 15s ease-in-out infinite alternate;
}

.profile-hero .organic-blob {
  z-index: 1;
  opacity: 0.4;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
}

.profile-content .badge {
  margin-bottom: 16px;
}

.profile-title {
  font-size: 3.5rem;
  margin-bottom: 8px;
}

.profile-tagline {
  font-size: 1.5rem;
  color: var(--c-green);
  font-weight: 700;
  margin-bottom: 32px;
  font-family: var(--font-head);
}

.card-orange+.profile-tagline {
  color: var(--c-orange);
}

.profile-quick-info {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.info-item {
  background: var(--c-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s var(--bounce);
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-item .icon {
  font-size: 1.5rem;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--c-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item .text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

.info-item .text span {
  font-weight: 700;
  font-size: 1rem;
}

/* Sekce BIO */
.profile-section {
  padding: 100px 0;
}

.profile-bio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.profile-bio-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.specialization-list {
  list-style: none;
}

.specialization-list li {
  padding: 16px 0;
  border-bottom: 2px dashed rgba(48, 28, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.specialization-list li strong {
  width: 180px;
  flex-shrink: 0;
  color: var(--c-text-main);
}

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

.specialization-list li::before {
  content: '✨';
}

.practice-card {
  background: var(--c-green-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  transform: rotate(1deg);
  transition: transform 0.3s var(--bounce);
}

.practice-card:hover {
  transform: rotate(0deg) translateY(-5px);
}

.practice-card::after {
  content: '✨';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.practice-card.orange {
  background: var(--c-orange-light);
}

.practice-card.blue {
  background: var(--c-blue-light);
}

.practice-card .sidebar-title {
  margin-top: 0;
  display: block;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

/* Certifikáty */
.certificates {
  background-color: var(--c-bg-alt);
  border-radius: 60px;
  margin: 0 16px 100px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.cert-card {
  background: var(--c-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--bounce);
  position: relative;
  overflow: hidden;
}

.cert-card::after {
  content: '📜';
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 4rem;
  opacity: 0.05;
  transform: rotate(-15deg);
}

.cert-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--shadow-hover);
}

.cert-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--c-text-main);
}

.cert-card .cert-year {
  display: inline-block;
  background: var(--c-blue-light);
  color: var(--c-blue);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cert-card p {
  font-size: 0.95rem;
  margin: 0;
}

.cert-major {
  display: inline-block;
  margin-top: 16px !important;
  padding: 6px 16px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-sm);
  font-weight: 800;
  color: var(--c-green);
  font-family: var(--font-head);
  position: relative;
  z-index: 1;
}

.profile-sidebar.bg-blue ~ .certificates .cert-major,
.practice-card.blue ~ .certificates .cert-major,
.blue-theme .cert-major {
  color: var(--c-blue);
}

.cert-major::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  opacity: 0.1;
  border-radius: inherit;
  z-index: -1;
}

.cert-card.small {
  padding: 20px 24px;
}

.cert-card.small h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cert-card.small .cert-year {
  margin-bottom: 10px;
}

.profile-education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responzivita pro profil */
@media (max-width: 1024px) {

  .profile-container,
  .profile-bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-visual {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .profile-sidebar {
    position: static;
  }

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

@media (max-width: 768px) {
  .profile-title {
    font-size: 2.5rem;
  }

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

  .profile-quick-info {
    grid-template-columns: 1fr;
  }

  .specialization-list li {
    flex-direction: column;
    gap: 4px;
  }

  .specialization-list li strong {
    width: auto;
  }
}

/* =========================================
   Decentní indikátor scrollování (Prvek pro UX)
   ========================================= */

.scroll-explore {
  position: absolute;
  bottom: 50px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.scroll-explore.hidden {
  opacity: 0;
}

.explore-text {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  margin-bottom: 4px;
}

.explore-line {
  width: 2px;
  height: 48px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.explore-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--c-green);
  border-radius: inherit;
  animation: exploreSlide 2.5s infinite var(--bounce);
}

@keyframes exploreSlide {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(120%);
  }

  100% {
    transform: translateY(250%);
  }
}

@media (max-width: 1024px) {
  .scroll-explore {
    right: 32px;
  }
}

@media (max-width: 768px) {
  .scroll-explore {
    display: none;
  }
}