/* =============================================
   Homepage Sections — Psycholog Warszawa
   Применяются через CSS ID в Elementor:
   Edit Section → Advanced → CSS ID
   ============================================= */

/* ─────────────────────────────────────────────
   ГЕРОЙ  #psych-hero
───────────────────────────────────────────── */
#psych-hero {
  background: #f0f6fb;
  min-height: 500px;
}
#psych-hero .elementor-container {
  align-items: stretch;
}
#psych-hero .elementor-column:first-child .elementor-column-wrap,
#psych-hero .elementor-column:first-child .elementor-widget-wrap {
  padding: 60px 40px 60px 20px;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
#psych-hero h1,
#psych-hero .elementor-heading-title {
  font-family: 'Times New Roman', Times, serif;
  color: #1a2c3e;
  font-size: 2.7rem;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: bold;
}
#psych-hero h1 strong,
#psych-hero .elementor-heading-title strong {
  color: #2c6ea6;
}
#psych-hero .elementor-widget-text-editor p {
  font-size: 1.1rem;
  color: #4a6880;
  line-height: 1.75;
  margin-bottom: 32px;
  font-family: 'Times New Roman', Times, serif;
}
#psych-hero .elementor-button {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}
#psych-hero .elementor-button:hover {
  transform: translateY(-1px);
}
/* Первая кнопка — основная CTA (синяя) */
#psych-hero .elementor-widget-button:first-of-type .elementor-button {
  background: #5ba3d9;
  color: #ffffff;
}
#psych-hero .elementor-widget-button:first-of-type .elementor-button:hover {
  background: #2c6ea6;
  color: #ffffff;
}
/* Вторая кнопка — тёмная */
#psych-hero .elementor-widget-button:last-of-type .elementor-button {
  background: #1a2c3e;
  color: #ffffff;
}
#psych-hero .elementor-widget-button:last-of-type .elementor-button:hover {
  background: #2c6ea6;
  color: #ffffff;
}
/* Правая колонка — фото */
#psych-hero .elementor-column:last-child .elementor-column-wrap {
  padding: 0;
  overflow: hidden;
}
#psych-hero .elementor-column:last-child img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Placeholder если нет фото */
#psych-hero .psych-hero-placeholder {
  width: 100%;
  min-height: 460px;
  background: linear-gradient(150deg, #cce7f7 0%, #9ec8e8 50%, #5ba3d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
}

/* ─────────────────────────────────────────────
   СИНЯЯ ИНФО-ПОЛОСКА  #psych-info-strip
───────────────────────────────────────────── */
#psych-info-strip {
  background: #2c6ea6;
  padding: 28px 0;
}
#psych-info-strip,
#psych-info-strip *,
#psych-info-strip .elementor-widget-text-editor,
#psych-info-strip .elementor-widget-text-editor * {
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
}
#psych-info-strip p {
  font-size: 1rem;
  line-height: 1.65;
  margin: 3px 0;
}
#psych-info-strip strong { font-size: 1.1rem; font-weight: bold; }
#psych-info-strip a { color: #cce7f7; text-decoration: underline; }
#psych-info-strip a:hover { color: #ffffff; }
#psych-info-strip .elementor-column:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.25);
}

/* ─────────────────────────────────────────────
   СЕКЦИЯ УСЛУГ  #psych-services
───────────────────────────────────────────── */
#psych-services {
  background: #ffffff;
  padding: 72px 0;
}
#psych-services .elementor-heading-title {
  font-family: 'Times New Roman', Times, serif;
  color: #2c6ea6;
  font-size: 2rem;
  text-align: center;
}

/* ─────────────────────────────────────────────
   СЕКЦИЯ КОМАНДЫ  #psych-team
───────────────────────────────────────────── */
#psych-team {
  background: #edf6fd;
  padding: 72px 0;
}
#psych-team .elementor-heading-title {
  font-family: 'Times New Roman', Times, serif;
  color: #2c6ea6;
  font-size: 2rem;
  text-align: center;
}

/* ─────────────────────────────────────────────
   СЕКЦИЯ ЗАПИСИ  #psych-booking
───────────────────────────────────────────── */
#psych-booking {
  background: #ffffff;
  padding: 72px 0;
}
#psych-booking .elementor-heading-title {
  font-family: 'Times New Roman', Times, serif;
  color: #2c6ea6;
  font-size: 2rem;
  text-align: center;
}

/* ─────────────────────────────────────────────
   АДАПТИВНОСТЬ
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  #psych-hero h1,
  #psych-hero .elementor-heading-title { font-size: 2.2rem; }
}
@media (max-width: 768px) {
  #psych-hero .elementor-column:first-child .elementor-column-wrap,
  #psych-hero .elementor-column:first-child .elementor-widget-wrap {
    padding: 40px 20px 32px;
  }
  #psych-hero h1,
  #psych-hero .elementor-heading-title { font-size: 1.85rem; }
  #psych-hero .psych-hero-placeholder { min-height: 240px; font-size: 4.5rem; }
  #psych-hero .elementor-column:last-child img { min-height: 240px; }
  #psych-info-strip { padding: 20px 0; }
  #psych-info-strip .elementor-column:not(:first-child) {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 16px;
    margin-top: 12px;
  }
  #psych-services,
  #psych-team,
  #psych-booking { padding: 44px 0; }
}
