/* ============================================================
   ЛАД — Пансионат для пожилых. Общий CSS-файл для Тильды.
   Вставьте этот код ОДИН РАЗ в первый HTML-блок страницы
   (например, в блок "00_ЛАД_шапка"), а во все остальные блоки
   вставляйте только их HTML — без повторного .
   Все селекторы ограничены классом .lad-wrap, поэтому стили
   не затронут остальные блоки вашей страницы в Тильде.
============================================================ */

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

.lad-wrap {
  --terra: #5C7A5E;
  --terra-dark: #46614A;
  --terra-light: rgba(92,122,94,0.10);
  --sage: #A68A64;
  --sage-light: rgba(166,138,100,0.12);
  --cream: #FAF7F2;
  --warm: #F3EDE3;
  --text: #2D2A26;
  --text-secondary: #6B6560;
  --text-muted: #A8A29C;
  --border: #E8E2D8;
  --white: #FFFFFF;
  --gold: #C99A3E;
  --gold-light: rgba(201,154,62,0.14);
}

.lad-wrap {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lad-wrap h1, .lad-wrap h2, .lad-wrap h3, .lad-wrap h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lad-wrap .t-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== ШАПКА ===== */
.lad-wrap .t-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.lad-wrap .t-header-left { display: flex; align-items: center; gap: 14px; }
.lad-wrap .t-logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--terra);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lad-wrap .t-header-right { display: flex; align-items: center; gap: 28px; }
.lad-wrap .t-header-phone {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.lad-wrap .t-btn-header {
  background: var(--terra);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
}
.lad-wrap .t-btn-header:hover { background: var(--terra-dark); transform: translateY(-2px); }

/* ===== БЛОКИ (общий контейнер секции) ===== */
.lad-wrap .t-block {
  border-radius: 24px;
  padding: 80px 60px;
  margin-bottom: 24px;
}
.lad-wrap .t-block-cream { background: var(--cream); border: 1px solid var(--border); }
.lad-wrap .t-block-white { background: var(--white); border: 1px solid var(--border); }
.lad-wrap .t-block-terra { background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 55%, #33452F 100%); color: #fff; }
.lad-wrap .t-block-warm { background: var(--warm); }

/* Модификатор "компактный блок" — вешайте вторым/третьим классом
   на конкретный блок (например, на "Акцию"), НЕ трогает .t-block целиком */
.lad-wrap .t-block-compact { padding: 44px 40px; border-radius: 20px; margin-bottom: 20px; }

.lad-wrap .t-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lad-wrap .t-label::before {
  content: '';
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
  display: inline-block;
}

/* ===== HERO ===== */
.lad-wrap .t-hero-grid { display: flex; gap: 48px; align-items: center; }
.lad-wrap .t-hero-content { flex: 1; min-width: 0; }
.lad-wrap .t-hero-photo {
  width: 400px;
  height: 460px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 24px;
}
.lad-wrap .t-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lad-wrap .t-hero-tag {
  display: inline-block;
  background: var(--terra-light);
  color: var(--terra);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.lad-wrap .t-hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--text);
  letter-spacing: -0.03em;
}
.lad-wrap .t-hero-title .accent { color: var(--terra); }
.lad-wrap .t-hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}
.lad-wrap .t-hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.lad-wrap .t-btn-primary {
  background: var(--terra);
  color: #fff;
  border: none;
  padding: 20px 40px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(92,122,94,0.3);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
}
.lad-wrap .t-btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(92,122,94,0.4);
}
.lad-wrap .t-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border);
  padding: 20px 40px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.lad-wrap .t-btn-ghost:hover { background: var(--warm); border-color: #D5CFC5; transform: translateY(-2px); }
.lad-wrap .t-trust { margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap; font-size: 15px; color: var(--text-muted); font-weight: 500; }
.lad-wrap .t-trust span { display: flex; align-items: center; gap: 10px; }
.lad-wrap .t-check { color: var(--sage); font-weight: 700; font-size: 20px; line-height: 1; }

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.lad-wrap .t-section-title { font-size: 40px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.lad-wrap .t-section-sub { font-size: 18px; color: var(--text-secondary); line-height: 1.6; font-weight: 400; max-width: 700px; margin-top: 8px; }

/* ===== НАПРАВЛЕНИЯ ===== */
.lad-wrap .t-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.lad-wrap .t-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 36px; transition: all 0.3s; }
.lad-wrap .t-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(45,42,38,0.08); border-color: #DDD7CD; }
.lad-wrap .t-card h3 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 12px; letter-spacing: -0.01em; }
.lad-wrap .t-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; font-weight: 400; }
.lad-wrap .t-icon-box { width: 56px; height: 56px; border-radius: 16px; background: var(--terra-light); color: var(--terra); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 26px; }
.lad-wrap .t-icon-box.sage { background: var(--sage-light); color: var(--sage); }
.lad-wrap .t-icon-box.gold { background: var(--gold-light); color: var(--gold); }

.lad-wrap .t-banner-photo { width: 100%; height: 280px; border-radius: 20px; margin-top: 36px; object-fit: cover; display: block; }

/* ===== НОМЕРА ===== */
.lad-wrap .t-grid-3-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.lad-wrap .t-room {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.lad-wrap .t-room.featured { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-light); }
.lad-wrap .t-room-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; letter-spacing: 0.04em; z-index: 2;
}
.lad-wrap .t-room:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(45,42,38,0.12); }
.lad-wrap .t-room-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #E7E5DD 0%, #D9DACE 100%);
}
.lad-wrap .t-room-body { padding: 32px; display: flex; flex-direction: column; flex-grow: 1; }
.lad-wrap .t-room-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.lad-wrap .t-room-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; font-weight: 400; flex-grow: 1; }
.lad-wrap .t-room-price { font-size: 32px; font-weight: 700; color: var(--terra); margin-bottom: 20px; letter-spacing: -0.02em; margin-top: auto; }
.lad-wrap .t-room-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 2px solid var(--terra);
  background: transparent;
  color: var(--terra);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.lad-wrap .t-room-btn:hover { background: var(--terra); color: #fff; transform: translateY(-2px); }

/* ===== АКЦИЯ (базовые стили; для компактной версии добавьте класс t-block-compact на сам блок) ===== */
.lad-wrap .t-promo-badge {
  display: inline-block; background: rgba(255,255,255,0.2); color: #fff;
  padding: 10px 20px; border-radius: 100px; font-size: 13px; font-weight: 700;
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.12em;
}
.lad-wrap .t-promo-title { font-size: 48px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.lad-wrap .t-promo-sub { font-size: 20px; opacity: 0.9; margin-bottom: 16px; font-weight: 400; line-height: 1.6; }
.lad-wrap .t-promo-value { font-size: 72px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.03em; }
.lad-wrap .t-promo-value-label { font-size: 17px; opacity: 0.85; margin-bottom: 40px; font-weight: 400; }

/* Уменьшённые размеры промо-текста — работают только внутри .t-block-compact */
.lad-wrap .t-block-compact .t-promo-badge { padding: 7px 16px; font-size: 11px; margin-bottom: 14px; letter-spacing: .08em; }
.lad-wrap .t-block-compact .t-promo-title { font-size: 34px; line-height: 1.2; margin-bottom: 12px; }
.lad-wrap .t-block-compact .t-promo-sub { font-size: 16px; margin-bottom: 12px; }
.lad-wrap .t-block-compact .t-promo-value { font-size: 26px !important; line-height: 1.1; margin-bottom: 10px; }
.lad-wrap .t-block-compact .t-promo-value-label { font-size: 12px; margin-bottom: 24px; }

/* ===== УСЛУГИ ("Что входит") ===== */
.lad-wrap .t-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.lad-wrap .t-feature { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 40px; display: flex; gap: 24px; align-items: flex-start; transition: all 0.25s; }
.lad-wrap .t-feature:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(45,42,38,0.06); }
.lad-wrap .t-feature h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.lad-wrap .t-feature p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; font-weight: 400; }
.lad-wrap .t-feature-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.lad-wrap .t-feature-icon.terra { background: var(--terra-light); color: var(--terra); }
.lad-wrap .t-feature-icon.sage { background: var(--sage-light); color: var(--sage); }
.lad-wrap .t-feature-icon.gold { background: var(--gold-light); color: var(--gold); }

/* ===== РЕЖИМ ДНЯ ===== */
.lad-wrap .t-schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.lad-wrap .t-schedule-item { padding: 24px; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--border); border-radius: 16px; transition: all 0.2s; }
.lad-wrap .t-schedule-item.terra { border-top-color: var(--terra); }
.lad-wrap .t-schedule-item.sage { border-top-color: var(--sage); }
.lad-wrap .t-schedule-item.gold { border-top-color: var(--gold); }
.lad-wrap .t-schedule-item:hover { border-color: #D5CFC5; background: #FDFCFA; }
.lad-wrap .t-schedule-time { font-size: 14px; font-weight: 700; color: var(--terra); margin-bottom: 10px; letter-spacing: 0.04em; }
.lad-wrap .t-schedule-text { font-size: 16px; color: var(--text); font-weight: 500; line-height: 1.4; }

/* ===== ОСНОВАТЕЛИ ===== */
.lad-wrap .t-founders { display: flex; gap: 48px; align-items: center; }
.lad-wrap .t-founder-photo {
  width: 320px; height: 400px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #E7E5DD 0%, #D9DACE 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px; flex-shrink: 0;
  flex-direction: column; gap: 10px; font-weight: 500;
}
.lad-wrap .t-founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lad-wrap .t-founder-text { flex: 1; }
.lad-wrap .t-founder-text p { font-size: 22px; color: var(--text); line-height: 1.8; margin-bottom: 32px; font-weight: 400; font-style: italic; }
.lad-wrap .t-founder-name { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.lad-wrap .t-founder-role { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px; font-weight: 700; }

/* ===== ФОРМА ===== */
.lad-wrap .t-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0; }
.lad-wrap .t-input {
  padding: 20px 28px; border-radius: 16px; border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 17px;
  font-family: 'Montserrat', sans-serif; min-width: 260px; outline: none;
  transition: all 0.25s; font-weight: 500;
}
.lad-wrap .t-input:focus { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.16); }
.lad-wrap .t-input::placeholder { color: rgba(255,255,255,0.5); font-weight: 400; }
.lad-wrap .t-input.t-input-error { border-color: #E8B4A6; background: rgba(255,90,60,0.12); }
.lad-wrap .t-btn-white {
  background: #fff; color: var(--terra); border: none; padding: 20px 36px; border-radius: 16px;
  font-size: 17px; font-weight: 700; cursor: pointer; font-family: 'Montserrat', sans-serif;
  transition: all 0.25s; box-shadow: 0 6px 24px rgba(0,0,0,0.18); letter-spacing: 0.02em;
}
.lad-wrap .t-btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.25); }
.lad-wrap .t-form-success {
  display: none; background: rgba(255,255,255,0.14); border: 2px solid rgba(255,255,255,0.35);
  border-radius: 16px; padding: 20px 28px; font-size: 17px; font-weight: 600;
}
.lad-wrap .t-form.is-sent .t-form-fields { display: none; }
.lad-wrap .t-form.is-sent .t-form-success { display: block; }

/* Компактная форма акции */
.lad-wrap .t-block-compact .t-input { min-width: 220px; padding: 15px 20px; border-radius: 12px; font-size: 15px; }
.lad-wrap .t-block-compact .t-btn-white { padding: 15px 28px; border-radius: 12px; font-size: 15px; }
.lad-wrap .t-block-compact .t-form-success { padding: 16px 20px; font-size: 15px; }

/* ===== КОНТАКТЫ ===== */
.lad-wrap .t-contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; margin-top: 32px; }
.lad-wrap .t-contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.lad-wrap .t-contact h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 10px; font-weight: 700; }
.lad-wrap .t-contact p, .lad-wrap .t-contact a { font-size: 18px; color: var(--text); text-decoration: none; font-weight: 600; }
.lad-wrap .t-contact a:hover { color: var(--terra); }
.lad-wrap .t-map-slot { height: 100%; min-height: 260px; border-radius: 20px; font-size: 15px; }
.lad-wrap .t-photo-icon { font-size: 28px; }

/* ===== ФУТЕР ===== */
.lad-wrap .t-footer { text-align: center; padding: 48px 40px; font-size: 14px; color: var(--text-muted); font-weight: 500; border-top: 1px solid var(--border); margin-top: 8px; }
.lad-wrap .t-footer-photo { height: 200px; border-radius: 20px; margin-bottom: 32px; font-size: 15px; }

/* ===== УНИВЕРСАЛЬНОЕ МЕСТО ПОД ФОТО (пока нет реального фото) ===== */
.lad-wrap .t-photo-slot {
  background: linear-gradient(135deg, #E7E5DD 0%, #D9DACE 100%);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-weight: 500; flex-direction: column; gap: 8px;
  text-align: center; font-size: 15px;
}
.lad-wrap .t-logo-photo { width: 48px; height: 48px; border-radius: 14px; font-size: 18px; flex-shrink: 0; }

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .lad-wrap .t-grid-3, .lad-wrap .t-grid-3-rooms { grid-template-columns: repeat(2, 1fr); }
  .lad-wrap .t-schedule { grid-template-columns: repeat(2, 1fr); }
  .lad-wrap .t-contacts { grid-template-columns: repeat(2, 1fr); }
  .lad-wrap .t-founders { flex-direction: column; }
  .lad-wrap .t-founder-photo { width: 100%; height: 300px; }
  .lad-wrap .t-hero-grid { flex-direction: column; }
  .lad-wrap .t-hero-photo { width: 100%; height: 320px; }
  .lad-wrap .t-contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lad-wrap .t-container { padding: 0 20px; }
  .lad-wrap .t-block { padding: 48px 28px; border-radius: 20px; }
  .lad-wrap .t-block-compact { padding: 32px 24px; }
  .lad-wrap .t-hero-title { font-size: 40px; }
  .lad-wrap .t-section-title { font-size: 28px; }
  .lad-wrap .t-promo-title { font-size: 32px; }
  .lad-wrap .t-promo-value { font-size: 48px; }
  .lad-wrap .t-block-compact .t-promo-title { font-size: 28px; }
  .lad-wrap .t-block-compact .t-promo-value { font-size: 20px; }
  .lad-wrap .t-block-compact .t-promo-value-label { font-size: 11px; margin-bottom: 18px; }
  .lad-wrap .t-header { padding: 16px 20px; }
  .lad-wrap .t-header-phone { display: none; }
  .lad-wrap .t-grid-3, .lad-wrap .t-grid-3-rooms, .lad-wrap .t-grid-2, .lad-wrap .t-schedule, .lad-wrap .t-contacts {
    grid-template-columns: 1fr;
  }
  .lad-wrap .t-feature { flex-direction: column; gap: 16px; }
  .lad-wrap .t-founder-photo { height: 240px; }
  .lad-wrap .t-form { flex-direction: column; }
  .lad-wrap .t-input, .lad-wrap .t-btn-white { width: 100%; }
  .lad-wrap .t-banner-photo { height: 200px; margin-top: 24px; }
  .lad-wrap .t-footer-photo { height: 160px; margin-bottom: 24px; }
}