/* ===========================================
   STUDIMO V4 — O Studimu page
   Fonts: Marcellus + Montserrat
   =========================================== */

/* ── Reset pro content stránku ── */
.studimo-page-about .p-content {
  padding: 0 !important;
  max-width: none !important;
}

/* ── Hero sekce ── */
section.sp-hero {
  background: linear-gradient(135deg, #F3CDC4 0%, #F0D8C8 30%, #E8D5C4 60%, #FFF8F0 100%) !important;
  background-color: transparent !important;
  padding: 80px 0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.sp-hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-hero__content {
  flex: 1;
}

.sp-hero__title {
  font-family: 'Marcellus', serif !important;
  font-size: 42px;
  font-weight: 400;
  color: #5C4A3A;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.sp-hero__subtitle {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 15px;
  font-weight: 300;
  color: rgba(61,46,31,0.65);
  line-height: 1.8;
  max-width: 480px;
  margin: 0;
}

.sp-hero__image {
  flex: 0 0 420px;
  height: 480px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E8D5C4, #D4B8A0);
  overflow: hidden;
}

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

.sp-hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(61,46,31,0.3);
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
}

/* ── Motto ── */
section.sp-motto {
  padding: 64px 0 !important;
  background: #FFF8F0 !important;
  background-color: #FFF8F0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  text-align: center;
}

.sp-motto__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-motto__text {
  font-family: 'Marcellus', serif !important;
  font-size: 28px;
  font-weight: 400;
  color: #9A7236;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.sp-motto__line {
  width: 50px;
  height: 1px;
  background: #9A7236;
  opacity: 0.3;
  margin: 24px auto 0;
}

/* ── Text + fotka sekce ── */
section.sp-section {
  padding: 64px 0 !important;
  background: #FFF8F0 !important;
  background-color: #FFF8F0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

section.sp-section--alt {
  background: rgba(248,242,236,0.6) !important;
  background-color: rgba(248,242,236,0.6) !important;
}

.sp-section__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-section--reverse .sp-section__inner {
  flex-direction: row-reverse;
}

.sp-section__content {
  flex: 1;
}

.sp-section__title {
  font-family: 'Marcellus', serif !important;
  font-size: 28px;
  font-weight: 400;
  color: #5C4A3A;
  margin: 0 0 16px 0;
}

.sp-section__text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  font-weight: 300;
  color: rgba(61,46,31,0.7);
  line-height: 1.8;
  margin: 0 0 12px 0;
}

.sp-section__image {
  flex: 0 0 440px;
  height: 320px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E8D5C4, #D4B8A0);
  overflow: hidden;
}

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

.sp-section__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(61,46,31,0.3);
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
}

/* ── Hodnoty — 3 karty ── */
section.sp-values {
  padding: 72px 0 !important;
  background: linear-gradient(135deg, #F3CDC4 0%, #E8D5C4 50%, #DFD290 100%) !important;
  background-color: transparent !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.sp-values__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-values__title {
  font-family: 'Marcellus', serif !important;
  font-size: 32px;
  font-weight: 400;
  color: #5C4A3A;
  text-align: center;
  margin: 0 0 48px 0;
}

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

.sp-values__card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,248,240,0.6);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(154,114,54,0.1);
}

.sp-values__icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.sp-values__card-title {
  font-family: 'Marcellus', serif !important;
  font-size: 20px;
  font-weight: 400;
  color: #5C4A3A;
  margin: 0 0 10px 0;
}

.sp-values__card-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px;
  font-weight: 300;
  color: rgba(61,46,31,0.6);
  line-height: 1.7;
  margin: 0;
}

/* ── Studio / mapa ── */
section.sp-studio {
  padding: 64px 0 !important;
  background: #FFF8F0 !important;
  background-color: #FFF8F0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.sp-studio__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-studio__content {
  flex: 1;
}

.sp-studio__title {
  font-family: 'Marcellus', serif !important;
  font-size: 28px;
  color: #5C4A3A;
  margin: 0 0 16px 0;
}

.sp-studio__text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  font-weight: 300;
  color: rgba(61,46,31,0.7);
  line-height: 1.8;
  margin: 0 0 8px 0;
}

.sp-studio__detail {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  color: #9A7236;
  margin-top: 16px;
}

.sp-studio__map {
  flex: 0 0 440px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #E8D5C4;
}

.sp-studio__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── CTA ── */
section.sp-cta {
  padding: 72px 0 !important;
  background: linear-gradient(135deg, #F3CDC4 0%, #E8D5C4 100%) !important;
  background-color: transparent !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  text-align: center;
}

.sp-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-cta__title {
  font-family: 'Marcellus', serif !important;
  font-size: 32px;
  color: #5C4A3A;
  margin: 0 0 12px 0;
}

.sp-cta__text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px;
  color: rgba(61,46,31,0.6);
  margin: 0 0 28px 0;
}

.sp-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.sp-cta__btn {
  padding: 14px 32px;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  display: inline-block;
}

.sp-cta__btn--primary {
  background: #9A7236;
  color: #fff !important;
}

.sp-cta__btn--primary:hover {
  background: #5C4A3A;
  color: #fff !important;
}

.sp-cta__btn--secondary {
  background: rgba(255,248,240,0.7);
  color: #5C4A3A !important;
  border: 1px solid rgba(154,114,54,0.2);
}

.sp-cta__btn--secondary:hover {
  background: rgba(255,255,255,0.9);
  color: #5C4A3A !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  section.sp-hero {
    padding: 48px 0 !important;
  }
  .sp-hero__inner {
    flex-direction: column;
    gap: 32px;
  }
  .sp-hero__title {
    font-size: 28px;
  }
  .sp-hero__image {
    flex: none;
    width: 100%;
    height: 300px;
  }

  .sp-motto__text {
    font-size: 22px;
  }

  .sp-section__inner {
    flex-direction: column !important;
    gap: 24px;
  }
  .sp-section--reverse .sp-section__inner {
    flex-direction: column !important;
  }
  .sp-section__image {
    flex: none;
    width: 100%;
    height: 240px;
  }

  .sp-values__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sp-values__title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .sp-studio__inner {
    flex-direction: column;
    gap: 24px;
  }
  .sp-studio__map {
    flex: none;
    width: 100%;
  }

  .sp-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  .sp-cta__title {
    font-size: 26px;
  }
}
