:root {
  --rose:       #9d1e39;
  --rose-light: #cd9c8f;
  --rose-pale:  #ddbbb2;
  --rose-wash:  #f7eeeb;
  --cream:      #fdf9f8;
  --warm:       #f5eeeb;
  --dark:       #333333;
  --mid:        #6b5c5c;
  --light:      #aa9494;
  --white:      #ffffff;
  --r: 0.6rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }


/* ─── HANDDRAWN UNDERLINE ────────────────────── */
.u {
  position: relative;
  display: inline;
}
.u::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: -0.08em;
  height: 0.55em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 18'%3E%3Cpath d='M2 13 C25 5, 55 16, 90 9 C120 3, 155 15, 175 8 C185 5, 194 11, 198 8' stroke='%239d1e39' stroke-width='3.5' fill='none' stroke-linecap='round' opacity='0.5'/%3E%3Cpath d='M5 16 C35 10, 75 17, 115 12 C148 8, 178 16, 197 12' stroke='%23ddbbb2' stroke-width='2' fill='none' stroke-linecap='round' opacity='0.65'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.75s cubic-bezier(0.3, 0, 0.2, 1);
}
.u.drawn::after { clip-path: inset(0 0% 0 0); }
.u2 {
  position: relative;
  display: inline;
}
.u2::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: -0.1em;
  height: 0.6em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 220 20'%3E%3Cpath d='M3 14 C50 4, 110 18, 165 7 C185 3, 205 13, 217 9' stroke='%239d1e39' stroke-width='4' fill='none' stroke-linecap='round' opacity='0.45'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.85s cubic-bezier(0.3, 0, 0.2, 1);
}
.u2.drawn::after { clip-path: inset(0 0% 0 0); }
.enc {
  position: relative;
  display: inline;
  padding: 0 0.1em;
}
.enc::after {
  content: '';
  position: absolute;
  inset: -0.3em -0.4em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 120 44'%3E%3Cellipse cx='60' cy='22' rx='55' ry='18' stroke='%239d1e39' stroke-width='2.5' fill='none' opacity='0.4' transform='rotate(-1.8 60 22)'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.3, 0, 0.2, 1);
}
.enc.drawn::after { clip-path: inset(0 0% 0 0); }

.italic { font-style: italic; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.8rem;
}

/* ─── NAV ────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(157,30,57,0.12);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo img {
  height: 2.4rem;
  width: auto;
  display: block;
}
.nav-logo span { color: var(--rose); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

.nav-cta {
  background: var(--rose);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.82rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #7a1228 !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: 0.3s;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: 0.03em;
}
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: #7a1228; }
.btn-outline { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); }
.btn-outline:hover { background: var(--rose); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--rose-light); }

/* ─── LAYOUT HELPERS ─────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 5vw; }
.section { padding: 80px 0; }

.section-about-bg {
  background:
    linear-gradient(rgba(253,249,248,0.80), rgba(247,238,235,0.88)),
    url('fotky web studio 2/background_daddy.png') center/cover no-repeat;
}

.section-sm { padding: 50px 0; }

/* Kurzy page — photo background with gradient */
.kurzy-bg-section {
  position: relative;
  overflow: hidden;
  background-image: url('fotky web studio 2/backgroud_babyfoot.png');
  background-size: cover;
  background-position: center center;
}
.kurzy-bg-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(253,249,248,0.3) 35%,
    rgba(253,249,248,0.88) 56%,
    #fdf9f8 72%,
    #fdf9f8 100%);
  pointer-events: none;
  z-index: 0;
}
.kurzy-bg-section > * { position: relative; z-index: 1; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

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

/* ─── CARDS ──────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2.2rem;
  border: 1px solid rgba(157,30,57,0.1);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(157,30,57,0.15);
  transform: translateY(-3px);
}

/* ─── HERO ─────────────────────────── HOME ─── */
.hero-section {
  position: relative;
  overflow: hidden;
  background-image: url('studio web images/hero-bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #fdf9f8 0%,
    #fdf9f8 28%,
    rgba(253,249,248,0.82) 42%,
    rgba(253,249,248,0.25) 62%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.hero {
  min-height: calc(100vh - 68px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 5vw;
  max-width: 1200px; margin: 0 auto;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-text .tag { margin-bottom: 1.2rem; }
.hero-text h1 { margin-bottom: 1.4rem; }
.hero-text h1 em {
  font-style: italic;
  color: var(--rose);
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex; justify-content: center;
}

.hero-blob {
  width: min(420px, 90%);
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 60%, #f0d4cc 0%, var(--rose-wash) 60%, transparent 80%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  display: flex; align-items: center; justify-content: center;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
  66% { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
}

.hero-blob picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85%;
  aspect-ratio: 1;
}

.hero-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* floating cards */
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-size: 0.82rem;
  font-weight: 500;
  border-left: 3px solid var(--rose);
  color: var(--dark);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.hero-card:nth-child(2) { top: 12%; right: -5%; animation-delay: -2s; }
.hero-card:nth-child(3) { bottom: 18%; left: -8%; animation-delay: -4s; border-left-color: var(--rose); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── HOME: BENEFITS STRIP ─────────────────── */
.benefits-strip {
  background: var(--rose-wash);
  padding: 48px 5vw;
}
.benefits-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.benefit-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; }
.benefit-icon {
  width: 64px; height: 64px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(157,30,57,0.15);
  padding: 10px;
  overflow: hidden;
}
.benefit-icon img {
  width: 100%; height: 100%; object-fit: contain;
}
.benefit-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500; }
.benefit-item p { font-size: 0.82rem; color: var(--mid); }

/* ─── HOME: SERVICES PREVIEW ──────────────── */
.service-card {
  background: var(--white);
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(157,30,57,0.1);
  transition: all 0.3s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(157,30,57,0.18); transform: translateY(-4px); }

.service-card-top {
  background: linear-gradient(135deg, var(--rose-wash), var(--warm));
  padding: 2rem;
  text-align: center;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
}
.service-card-icon {
  width: 72px; height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(157,30,57,0.15);
  padding: 12px;
  overflow: hidden;
}
.service-card-icon picture,
.benefit-icon picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-card-body { padding: 1.8rem; }
.service-card-body h3 { margin-bottom: 0.6rem; }
.service-card-body p { font-size: 0.9rem; color: var(--mid); margin-bottom: 0.8rem; }
.service-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.service-list li { font-size: 0.9rem; color: var(--mid); padding: 0.25rem 0 0.25rem 1.2rem; position: relative; }
.service-list li::before { content: "–"; position: absolute; left: 0; color: var(--rose); }
.price-tag {
  display: inline-block;
  background: var(--rose-wash);
  color: var(--rose);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

/* ─── HOME: APPROACH ───────────────────────── */
.approach-section {
  position: relative;
  overflow: hidden;
  background-color: var(--rose);
  background-image: url('muj_pristup_studio.webp');
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: 110% center;
  color: var(--white);
  padding: 30px 5vw;
}
.approach-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #9d1e39 0%,
    #9d1e39 30%,
    rgba(157,30,57,0.9) 50%,
    rgba(157,30,57,0.5) 65%,
    rgba(157,30,57,0.0) 82%);
  pointer-events: none;
  z-index: 0;
}
.approach-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center;
}
.approach-section .tag { color: var(--rose-pale); }
.approach-section h2 { color: var(--white); margin-bottom: 1.4rem; }
.approach-section p { color: rgba(255,255,255,0.7); margin-bottom: 1.6rem; font-size: 0.95rem; }
.approach-points { display: flex; flex-direction: column; gap: 1.2rem; }
.approach-point {
  display: flex; gap: 1rem; align-items: flex-start;
}
.ap-dot {
  width: 8px; height: 8px; min-width: 8px;
  background: var(--rose-pale);
  border-radius: 50%;
  margin-top: 0.5rem;
}
.approach-point p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }
.approach-point strong { color: var(--white); display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }

.approach-quote {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.4rem;
  padding: 3rem;
  position: relative;
}
.approach-quote::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--rose-pale);
  position: absolute;
  top: -1.5rem; left: 2rem;
  line-height: 1;
  opacity: 0.5;
}
.approach-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--white) !important;
  line-height: 1.5;
  margin: 0;
}
.approach-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--rose-pale) !important;
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ─── TESTIMONIALS PREVIEW ─────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2rem;
  border: 1px solid rgba(157,30,57,0.1);
}
.stars { color: var(--rose); font-size: 0.9rem; margin-bottom: 0.8rem; }
.testimonial-card p { font-size: 0.9rem; color: var(--mid); margin-bottom: 1rem; font-style: italic; }
.testimonial-name { font-size: 0.82rem; font-weight: 500; color: var(--dark); }

/* ─── CTA BANNER ───────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--rose) 0%, #7a1228 100%);
  padding: 70px 5vw;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { opacity: 0.85; margin-bottom: 2rem; font-size: 1rem; }
.btn-white { background: var(--white); color: var(--rose); }
.btn-white:hover { background: var(--cream); }

/* ─── FOOTER ───────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 50px 5vw 30px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
footer h4 { color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
footer a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; cursor: pointer; }
footer a:hover { color: var(--rose-pale); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  display: flex; justify-content: space-between;
}

/* ─── PAGE HEADER ──────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--rose-wash) 0%, #f0ddd8 100%);
  padding: 70px 5vw;
  text-align: center;
}
.page-header .tag { margin-bottom: 0.8rem; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.page-header p { color: var(--mid); max-width: 520px; margin: 0 auto; }

/* ─── COURSES PAGE ─────────────────────────── */
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.course-detail { display: none; }
.course-detail.open { display: block; }
.course-full-card {
  background: var(--white);
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(157,30,57,0.1);
  margin-top: 3rem;
}
.course-full-header {
  background: linear-gradient(135deg, var(--rose) 0%, #7a1228 100%);
  padding: 3rem;
  color: var(--white);
}
.course-full-header h2 { color: var(--white); margin-bottom: 0.6rem; }
.course-full-header p { opacity: 0.85; }
.course-full-body { padding: 3rem; }
.course-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 1.5rem 0; }
.course-includes li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.88rem; list-style: none;
  color: var(--mid);
}
.course-includes li::before { content: '✓'; color: var(--rose); font-weight: 500; min-width: 16px; margin-top: 2px; }
.course-meta-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--rose-wash);
  border-radius: 0.8rem;
}
.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--light); }
.meta-value { font-size: 0.95rem; font-weight: 500; color: var(--dark); }

/* ─── ABOUT PAGE ───────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start;
}
.about-portrait {
  position: sticky; top: 90px;
}
.portrait-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--rose-wash) 0%, #f0ddd8 100%);
  border-radius: 2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  overflow: hidden;
  position: relative;
}
.portrait-frame img { display: block; }

.portrait-overlay {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.2rem;
}
.portrait-overlay h4 { font-size: 1.1rem; }
.portrait-overlay p { font-size: 0.82rem; color: var(--mid); }

.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { color: var(--mid); margin-bottom: 1.2rem; font-size: 0.95rem; }

/* Příběh section — photo background */
.about-story-wrap {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  padding: 3rem;
}
.about-story-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('o_mne_image.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.about-story-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(253,249,248,0.6) 35%,
    rgba(253,249,248,0.93) 58%,
    #fdf9f8 100%);
  z-index: 1;
}
.about-story-wrap > * { position: relative; z-index: 2; }
.edu-item {
  border-left: 2px solid var(--rose-pale);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.edu-item::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--rose);
  border-radius: 50%;
  position: absolute;
  left: -6px; top: 5px;
}
.edu-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; }
.edu-item p { font-size: 0.85rem; color: var(--light); margin: 0; }

/* ─── BABY CAROUSEL ────────────────────────── */
.baby-carousel-wrap {
  overflow: hidden;
  margin-bottom: 4rem;
  position: relative;
}
.baby-carousel {
  display: flex;
  gap: 1.2rem;
  animation: babyScroll 18s linear infinite;
  width: max-content;
}
.baby-carousel img {
  width: clamp(110px, 16vw, 155px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--rose-pale);
  flex-shrink: 0;
}
@keyframes babyScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.baby-carousel-wrap:hover .baby-carousel { animation-play-state: paused; }

/* ─── REFERENCES PAGE ──────────────────────── */
.references-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  margin-top: 3rem;
}
.ref-card {
  background: var(--white);
  border-radius: 1.2rem;
  padding: 2.2rem;
  border: 1px solid rgba(157,30,57,0.1);
  position: relative;
}
.ref-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--rose-pale);
  position: absolute;
  top: 0.5rem; right: 1.5rem;
  line-height: 1;
}
.ref-card p { font-size: 0.92rem; color: var(--mid); line-height: 1.7; margin-bottom: 1.2rem; }
.ref-author { display: flex; align-items: center; gap: 0.8rem; }
.ref-avatar {
  width: 40px; height: 40px;
  background: var(--rose-wash);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rose);
}
.ref-author-info strong { display: block; font-size: 0.88rem; }
.ref-author-info span { font-size: 0.78rem; color: var(--light); }

/* ─── BLOG PAGE ────────────────────────────── */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(157,30,57,0.1);
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  align-items: stretch;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(157,30,57,0.14); transform: translateY(-2px); }
.blog-img {
  width: 220px;
  min-width: 220px;
  background: linear-gradient(135deg, var(--rose-wash), var(--warm));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-img img {
  width: 220px;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-body { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.blog-meta { font-size: 0.78rem; color: var(--light); margin-bottom: 0.4rem; }
.blog-body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; line-height: 1.3; color: var(--rose); font-weight: 700; }
.blog-body p { font-size: 0.88rem; color: var(--mid); margin: 0; }
.blog-tag-pill {
  display: inline-block;
  background: var(--rose-wash);
  color: var(--rose);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

/* ─── BLOG DETAIL ──────────────────────────── */
.blog-detail-hero {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 0.8rem;
}
.blog-detail-header {
  background: linear-gradient(135deg, var(--rose-wash) 0%, #f0ddd8 100%);
  padding: 50px 5vw 36px;
  text-align: left;
}
.blog-detail-header .blog-meta { font-size: 0.85rem; color: var(--mid); margin-bottom: 0.8rem; }
.blog-detail-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: 0.5rem; text-align: left; }
.blog-detail-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 5vw;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
.blog-detail-body-img { position: sticky; top: 88px; }
.blog-detail-content {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  text-align: left;
}
@media (max-width: 760px) {
  .blog-detail-body { grid-template-columns: 1fr; }
  .blog-detail-body-img { position: static; }
  .blog-detail-hero { min-height: 220px; }
}
.blog-detail-content h2,
.blog-detail-content h3 { color: var(--dark); margin: 2rem 0 0.8rem; font-family: 'Cormorant Garamond', serif; }
.blog-detail-content p { margin-bottom: 1.2rem; }
.blog-detail-content img { max-width: 100%; border-radius: 0.8rem; margin: 1rem 0; }
.blog-detail-content a { color: var(--rose); }
.blog-detail-content ul, .blog-detail-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-detail-content li { margin-bottom: 0.4rem; }
.blog-loading { text-align: center; padding: 5rem 1rem; color: var(--mid); }

.blog-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  gap: 1.2rem;
  color: var(--mid);
  font-size: 0.9rem;
}
.blog-spinner__ring {
  width: 44px;
  height: 44px;
  border: 3px solid var(--rose-wash);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.blog-count { color: var(--mid); font-size: 0.85rem; margin-bottom: 1rem; }

/* ─── CONTACT PAGE ─────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--rose-wash);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-item strong { display: block; font-size: 0.85rem; color: var(--light); margin-bottom: 0.2rem; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-item p { font-size: 0.95rem; color: var(--dark); }

.contact-form { background: var(--white); border-radius: 1.4rem; padding: 2.5rem; border: 1px solid rgba(157,30,57,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--mid); letter-spacing: 0.03em; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(157,30,57,0.2);
  border-radius: 0.6rem;
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--rose); background: var(--white); }
.form-group textarea { height: 140px; resize: vertical; }

/* ─── ANIMATIONS ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ─── MOBILE NAV ────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 99;
  padding: 2rem 5vw;
  flex-direction: column; gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  color: var(--dark);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(157,30,57,0.12);
  cursor: pointer;
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .hero-section {
    background-size: auto 103%;
    background-position: 100% 0%;
  }
  .hero-section::after {
    background: linear-gradient(to right,
      #fdf9f8 0%,
      rgba(253,249,248,0.95) 28%,
      rgba(253,249,248,0.68) 48%,
      rgba(253,249,248,0.18) 72%,
      transparent 100%);
  }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 50px 5vw; }
  .hero-text p { color: #000000; }
  .hero-visual { display: none; }
  .grid-2, .grid-3, .grid-4, .courses-grid, .references-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .kurzy-bg-section {
    background-image: url('kurzy_tablet_mobil.webp');
    background-position: center top;
  }
  .kurzy-bg-section::after {
    background: linear-gradient(to bottom,
      rgba(253,249,248,0.3) 0%,
      rgba(253,249,248,0.78) 30%,
      #fdf9f8 62%,
      #fdf9f8 100%);
  }
  .blog-img { width: 140px; min-width: 140px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-inner { grid-template-columns: 1fr; gap: 3rem; }
  .approach-section {
    padding: 50px 5vw;
    background-image: url('home_page_muj_pristup_tablet.webp');
    background-size: cover;
    background-position: center top;
  }
  .approach-section::after {
    background: linear-gradient(to bottom,
      rgba(157,30,57,0.48) 0%,
      rgba(157,30,57,0.82) 40%,
      #9d1e39 100%);
  }
  .approach-quote { padding: 1.8rem; }
  .approach-quote p { font-size: 1.25rem; }
  .course-includes { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .about-portrait {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero-section {
    background-image: url('home_page_hero_sekce_mobil.webp');
    background-size: auto 106%;
    background-position: 100% 0%;
  }
  .hero-section::after {
    background: linear-gradient(to right,
      #fdf9f8 0%,
      rgba(253,249,248,0.94) 34%,
      rgba(253,249,248,0.58) 56%,
      rgba(253,249,248,0.14) 76%,
      transparent 100%);
  }
  .hero-text p { color: #000000; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .blog-card { flex-direction: column; }
  .blog-img { width: 100%; min-width: 0; height: auto; }
  .blog-img img { width: 100%; height: auto; object-fit: contain; }
  .approach-section {
    background-image: url('home_page_muj_pristup_mobil.webp');
    background-position: center top;
  }
}

/* ─── FAQ ─────────────────────────────────── */
.spk-faq {
  background: #ffffff;
  padding: 88px 24px;
  font-family: inherit;
  box-sizing: border-box;
}
.spk-faq *, .spk-faq *::before, .spk-faq *::after { box-sizing: inherit; }
.spk-faq__inner { max-width: 760px; margin: 0 auto; }
.spk-faq__header { text-align: center; margin-bottom: 60px; }
.spk-faq__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9d1e39;
  margin-bottom: 16px;
}
.spk-faq__title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: #333333;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.spk-faq__title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: #9d1e39;
  margin: 18px auto 0;
  border-radius: 2px;
}
.spk-faq__subtitle { font-size: 16px; color: #7a6060; margin: 0; line-height: 1.65; }
.spk-faq__list { border-top: 1px solid #ddbbb2; }
.spk-faq__item { border-bottom: 1px solid #ddbbb2; }
.spk-faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  line-height: 1.45;
  transition: color 0.2s ease;
  font-family: inherit;
}
.spk-faq__q:hover { color: #9d1e39; }
.spk-faq__q[aria-expanded="true"] { color: #9d1e39; }
.spk-faq__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid #cd9c8f;
  border-radius: 50%;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s ease;
}
.spk-faq__icon::before,
.spk-faq__icon::after {
  content: '';
  position: absolute;
  background: #9d1e39;
  border-radius: 2px;
  top: 50%; left: 50%;
  transition: background 0.25s ease;
}
.spk-faq__icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.spk-faq__icon::after  { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.spk-faq__q[aria-expanded="true"] .spk-faq__icon {
  background: #9d1e39;
  border-color: #9d1e39;
  transform: rotate(45deg);
}
.spk-faq__q[aria-expanded="true"] .spk-faq__icon::before,
.spk-faq__q[aria-expanded="true"] .spk-faq__icon::after { background: #ffffff; }
.spk-faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease, padding-bottom 0.25s ease;
  padding-bottom: 0;
}
.spk-faq__a.is-open { max-height: 500px; padding-bottom: 26px; }
.spk-faq__a p { font-size: 15px; line-height: 1.8; color: #5a4a4a; margin: 0 0 12px; }
.spk-faq__a p:last-child { margin-bottom: 0; }
.spk-faq__a a { color: #9d1e39; text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease; }
.spk-faq__a a:hover { color: #7a1730; }
.spk-faq__a strong { color: #333333; font-weight: 600; }
.spk-faq__cta {
  text-align: center;
  margin-top: 56px;
  padding: 40px 36px;
  background: #ddbbb2;
  border-radius: 3px;
}
.spk-faq__cta p { font-size: 15px; color: #3d1c1c; margin: 0 0 22px; line-height: 1.65; }
.spk-faq__cta-btn {
  display: inline-block;
  background: #9d1e39;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  padding: 14px 34px;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.spk-faq__cta-btn:hover { background: #7a1730; transform: translateY(-1px); }
@media (max-width: 600px) {
  .spk-faq { padding: 60px 20px; }
  .spk-faq__q { font-size: 15px; padding: 18px 0; }
  .spk-faq__cta { padding: 30px 20px; }
  .service-card-top { padding: 1.2rem; }
  .page-header { padding: 36px 5vw; }
  .section { padding: 44px 0; }
  .section-sm { padding: 28px 0; }
  .courses-grid { margin-top: 1.2rem; }
}

/* Disable lift-on-tap for touch-only devices */
@media (hover: none) {
  .card:hover, .service-card:hover { transform: none; box-shadow: none; }
}
