/* Contacts final section (two-column card layout) */
.contacts-section {
    background: linear-gradient(180deg, #0f2747 0%, #0f2747 60%, transparent 60%);
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Room types list styling */
.room-types-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-type-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.room-type-item:last-child {
    margin-bottom: 0;
}

.room-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    margin-right: 10px;
    flex-shrink: 0;
}

.room-name {
    font-weight: 500;
    line-height: 1.4;
}

/* Hotel photo slider specific styles */
.hotel-photo-slider img[src*="hero_hotel"] {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Comfort list with dashes */
.comfort-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comfort-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.comfort-list li:last-child {
    margin-bottom: 0;
}

.comfort-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: #0ea5e9;
    font-weight: 500;
}

/* Small blue buttons without borders */
.btn-small-blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border: none;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-small-blue:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.centers-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.centers-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.centers-card--active {
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(180deg, #e0f5ff 0%, #ffffff 70%);
}

.centers-card--active .centers-card-number {
    color: #0ea5e9;
}

.centers-card--active .centers-card-title {
    color: #0f2647;
}

.centers-card--active .centers-card-link--toggle {
    color: #0ea5e9;
}

.centers-card-link--toggle {
    background: none;
    border: none;
    padding: 0;
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
}

.centers-card-link--toggle:hover {
    text-decoration: underline;
}

/* Детальный hero-блок отделов под карточками */
.centers-details {
    margin-top: 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0f2647, #111827);
    color: #e5edf9;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
    display: none;
}

.centers-details-inner {
    padding: 24px 22px 26px;
}

.centers-details-content {
    padding: 28px 26px 30px;
}

.centers-details-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    color: #93c5fd;
}

.centers-details-title {
    font-size: clamp(26px, 2.6vw, 32px);
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 12px;
}

.centers-details-text,
.centers-details-text-secondary {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.9);
}

.centers-details-text-secondary {
    margin-top: 8px;
}

.centers-details-media {
    position: relative;
    min-height: 260px;
}

.centers-details-slideshow {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
}

.centers-details--visible {
    display: block;
    animation: centersDetailsSlideDown 0.35s ease-out;
}

.centers-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.centers-details--centers .centers-details-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Слайдер отделов во выезжающем блоке — визуально как hero centers-hero */
.centers-details--departments {
    background: none;
    box-shadow: none;
}

.centers-details--departments .centers-details-inner {
    padding: 0;
}

.departments-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.departments-slide {
    display: none;
    position: relative;
    padding: 48px 40px 56px 80px;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(230, 248, 251, 0.2) 100%);
}

.departments-slide--active {
    display: block;
}

/* Подменяем картинку на фоне для каждого слайда, как в hero */
.departments-slide:nth-child(1) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(230, 248, 251, 0.2) 100%),
        url('../images/medical-center/hero_medical-center (1).jpg');
}

.departments-slide:nth-child(2) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(230, 248, 251, 0.2) 100%),
        url('../images/hospis/01.jpg');
}

.departments-slide:nth-child(3) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(230, 248, 251, 0.2) 100%),
        url('../images/hotel/hero_hotel (1).jpg');
}

/* Контент внутри — типографика как у centers-hero */
.departments-slide-media {
    display: none;
}

.departments-slide-content {
    position: relative;
    max-width: 560px;
}

.departments-slide-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.departments-slide-title {
    font-size: clamp(26px, 2.6vw, 32px);
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.departments-slide-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 520px;
}

.departments-slide-btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.departments-slide-btn:hover {
    background-color: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}

/* Слайдер социальных проектов во выезжающем блоке "Социальные проекты" */
.centers-details--social {
    background: none;
    box-shadow: none;
}

.centers-details--social .centers-details-inner {
    padding: 0;
}

.centers-social-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.centers-social-slide {
    display: none;
    position: relative;
    padding: 48px 40px 56px 80px;
    min-height: 260px;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%);
}

.centers-social-slide--active {
    display: block;
}

.centers-social-slide:nth-child(1) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/dining/hero_dining (1).jpg');
}

.centers-social-slide:nth-child(2) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/bathroom/01.jpg');
}

.centers-social-slide:nth-child(3) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/laundry/laundry (3).jpg');
}

.centers-social-slide:nth-child(4) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/transportation/01.jpg');
}

.centers-social-slide:nth-child(5) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/repairing/hero_reparing (1).jpg');
}

.centers-social-slide:nth-child(6) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/katofalka/01.jpg');
}

.centers-social-slide-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.centers-social-slide-title {
    font-size: clamp(26px, 2.6vw, 32px);
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.centers-social-slide-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 520px;
}

.centers-social-slide-btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.centers-social-slide-btn:hover {
    background-color: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}

.centers-social-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background-color: rgba(15, 23, 42, 0.6);
    color: #e5edf9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.centers-social-slider-arrow::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.centers-social-slider-arrow--prev {
    left: 18px;
}

.centers-social-slider-arrow--prev::before {
    transform: rotate(-135deg);
}

.centers-social-slider-arrow--next {
    right: 18px;
}

.centers-social-slider-arrow--next::before {
    transform: rotate(45deg);
}

.centers-social-slider-arrow:hover {
    background-color: rgba(15, 23, 42, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
    transform: translateY(-50%) translateY(-1px);
}

.centers-social-slider-arrow:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.departments-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background-color: rgba(15, 23, 42, 0.6);
    color: #e5edf9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.departments-slider-arrow::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.departments-slider-arrow--prev {
    left: 18px;
}

.departments-slider-arrow--prev::before {
    transform: rotate(-135deg);
}

.departments-slider-arrow--next {
    right: 18px;
}

.departments-slider-arrow--next::before {
    transform: rotate(45deg);
}

.departments-slider-arrow:hover {
    background-color: rgba(15, 23, 42, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
    transform: translateY(-50%) translateY(-1px);
}

.departments-slider-arrow:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

/* Слайдер центров во выезжающем блоке "Центр" — такой же стиль, как у отделов */
.centers-details--centers {
    background: none;
    box-shadow: none;
}

.centers-details--centers .centers-details-inner {
    padding: 0;
}

.centers-centers-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.centers-centers-slide {
    display: none;
    position: relative;
    padding: 48px 40px 56px 80px;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%);
}

.centers-centers-slide--active {
    display: block;
}

.centers-centers-slide:nth-child(1) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/narnia/narnia (1).jpg');
}

.centers-centers-slide:nth-child(2) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/valea_perjey/vp (1).JPG');
}

.centers-centers-slide:nth-child(3) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 28%, rgba(230, 248, 251, 0.0) 60%, rgba(230, 248, 251, 0.0) 100%),
        url('../images/pearl/pearl1.png');
}

.centers-centers-slide:nth-child(4) {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(230, 248, 251, 0.0) 65%, rgba(230, 248, 251, 0.0) 100%),
        url("../images/man's-center/hero_man's-center (1).jpg");
}

.centers-centers-slide-content {
    position: relative;
    max-width: 560px;
}

.centers-centers-slide-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.centers-centers-slide-title {
    font-size: clamp(26px, 2.6vw, 32px);
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.centers-centers-slide-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 520px;
}

.centers-centers-slide-btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.centers-centers-slide-btn:hover {
    background-color: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}

.centers-centers-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background-color: rgba(15, 23, 42, 0.6);
    color: #e5edf9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.centers-centers-slider-arrow::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.centers-centers-slider-arrow--prev {
    left: 18px;
}

.centers-centers-slider-arrow--prev::before {
    transform: rotate(-135deg);
}

.centers-centers-slider-arrow--next {
    right: 18px;
}

.centers-centers-slider-arrow--next::before {
    transform: rotate(45deg);
}

.centers-centers-slider-arrow:hover {
    background-color: rgba(15, 23, 42, 0.85);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
    transform: translateY(-50%) translateY(-1px);
}

.centers-centers-slider-arrow:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.department-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
}

.department-card-media img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.department-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}

.department-card-title {
    font-size: 16px;
    color: #111827;
}

.department-card-text {
    font-size: 13px;
    color: var(--color-text-muted);
}

.department-card-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background-color: #0f2647;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.department-card-btn:hover {
    background-color: #111827;
}

@keyframes centersDetailsSlideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Плитки социальных проектов в бургер-меню */
.centers-details--social .centers-details-inner {
    padding-top: 8px;
}

.social-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.social-project-tile {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    font-size: 14px;
    color: #111827;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.social-project-tile:hover {
    background-color: #0f2647;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: stretch;
}

/* Hero-заголовок на странице контактов */
.contacts-section .section-header {
    max-width: 640px;
    margin-bottom: 32px;
}

.contacts-section .section-header h1,
.contacts-section .section-header h2 {
    color: #ffffff;
    font-size: clamp(30px, 3.4vw, 40px);
}

.contacts-section .section-header p {
    color: rgba(226, 237, 249, 0.9);
}

.contact-hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.contact-hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(15, 23, 42, 0.7) 100%);
}

/* Более тёмный фон для карточки с картой на странице контактов */
.contact-hero-card--map .contact-hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.82) 45%, rgba(15, 23, 42, 0.7) 100%);
}

.contact-hero-card--map .contact-hero-content {
    color: #e5f3ff;
}

.contact-hero-card--map .contact-hero-content h3 {
    color: #ffffff;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    color: #e5f3ff;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-hero-content h3 {
    font-size: 26px;
}

.contact-hero-content p {
    font-size: 18px;
    line-height: 1.7;
}

.contact-hero-content strong {
    font-size: 20px;
}

.contact-info-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    padding: 22px 22px 24px;
}

/* Контактная форма */
.contact-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.contact-form-field label {
    font-weight: 500;
    color: var(--color-primary-dark);
}

.contact-form-field input,
.contact-form-field textarea {
    border-radius: 10px;
    border: 1px solid var(--color-border);
    padding: 9px 11px;
    font: inherit;
    resize: vertical;
    min-height: 40px;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(19, 197, 221, 0.3);
}

.contact-form-field textarea {
    min-height: 110px;
}

.contact-form .btn-primary {
    margin-top: 4px;
}

.contact-info-header h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.contact-info-header p {
    color: var(--color-text-muted);
}

.contact-info-body p + p {
    margin-top: 8px;
}

/* Крупнее текст в карточке контактов на странице отделов */
.contacts-section .contact-info-body p {
    font-size: 20px;
    line-height: 1.7;
}

/* Голубой, крупный и жирный текст только для первой фразы в заголовке карточки */
.contacts-section .contact-info-header p {
    color: var(--color-primary-dark);
    font-size: 20px;
    font-weight: 600;
}

/* Специальное оформление контактных карточек на странице отделов */
.contacts-section .contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contacts-section .contact-hero-card {
    background: linear-gradient(135deg, #0f2747 0%, #1e3b8a 40%, #1e40af 100%);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.4);
}

.contacts-section .contact-hero-content {
    color: #e5f3ff;
    padding: 22px 22px 20px;
    background: transparent;
    gap: 14px;
}

.contacts-section .contact-hero-card .contact-hero-content h3 {
    font-size: 24px;
    margin-bottom: 2px;
    color: #ffffff !important;
}

.contacts-section .contact-hero-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.contacts-section .contact-hero-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 14px;
    background-color: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
}

.contacts-section .contact-hero-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(3, 105, 161, 0.9);
    color: #ffffff;
}

.contacts-section .contact-hero-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(1) brightness(2);
}

.contacts-section .contact-hero-text p {
    margin: 0;
    font-size: 18px;
}

.contacts-section .contact-hero-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: 4px;
}

.contacts-section .contact-info-card {
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.contacts-section .contact-info-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.contacts-section .contact-info-body {
    margin-top: 4px;
}

.contacts-section .contact-info-body p {
    color: #0f2747;
}
/* Testimonials (Выездная служба паллиативной помощи) */
.testimonials-section {
    background-color: #0f2747;
    color: #e5edf9;
    padding: 60px 0;
}

.testimonials-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: center;
}

.testimonials-kicker {
    color: #63c7e8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    margin-bottom: 10px;
}

.testimonials-left h2 {
    font-size: 34px;
    line-height: 1.2;
}

.testimonials-avatars {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-person {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    align-items: center;
}

.testimonial-person img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.testimonial-person-meta strong {
    display: block;
    color: #ffffff;
}

.testimonial-person-meta span {
    display: block;
    font-size: 12px;
    color: #93a4c4;
}

.testimonials-right {
    position: relative;
}

.testimonials-quote blockquote {
    position: relative;
    margin: 0;
    padding-left: 56px;
    font-size: 32px;
    line-height: 1.6;
}

.testimonials-quote blockquote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.18);
}

.testimonials-bottom {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonials-rating strong {
    font-size: 34px;
    margin-right: 10px;
}

.testimonials-rating span {
    color: #93a4c4;
    font-size: 14px;
}

.link-like {
    background: none;
    border: none;
    color: #93a4c4;
    font-weight: 600;
    cursor: pointer;
}

.link-like:hover {
    color: #ffffff;
}
/* Базовая типографика и цвета (приближены к Medisch) */
:root {
    --color-bg: #f2f6fb;                 /* общий фон страницы */
    --color-surface: #ffffff;            /* фон карточек */
    --color-primary: #13c5dd;            /* основной акцентный голубой */
    --color-primary-dark: #263967;       /* тёмный акцент/для кнопок и заголовков */
    --color-accent: #ffc107;             /* тёплый дополнительный акцент */
    --color-text-main: #000000;          /* основной цвет заголовков/текста - черный */
    --color-text-muted: #111111;         /* вторичный текст - очень темно-серый */
    --color-border: #e6e8eb;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

/* Под-hero для секции "Отделы" */
.centers-hero {
    position: relative;
    margin-bottom: 32px;
    /* фон: фото + беловатый градиент, как было изначально */
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.78) 45%,
            rgba(230, 248, 251, 0.2) 100%
        ),
        url('../images/medical-center/hero_medical-center (1).jpg') center/cover no-repeat;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.centers-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 32px;
    padding: 80px 40px 90px;
    min-height: 360px;
}

.centers-hero-left {
    align-self: center;
}

.centers-hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.centers-hero-title {
    font-size: 26px;
    line-height: 1.3;
}

.centers-hero-right p {
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 1.9;
}

/* Усиливаем контраст текста именно в секции "Коллектив и волонтёры хосписа" */
.section .centers-hero.hospice-team-hero .centers-hero-right p {
    color: var(--color-text-main);
}

/* Крупнее подзаголовок и заголовок именно в секции "Коллектив и волонтёры хосписа" */
.section .centers-hero.hospice-team-hero .centers-hero-kicker {
    font-size: 14px;
}

.section .centers-hero.hospice-team-hero .centers-hero-title {
    font-size: 30px;
}

/* Голубоватая градиентная подложка под текст справа, только для секции хосписа */
.section .centers-hero.hospice-team-hero .centers-hero-right {
	background:
		linear-gradient(90deg,
			rgba(239, 246, 255, 0.55) 0%,  /* ещё более прозрачный слева */
			rgba(219, 234, 254, 0.85) 100% /* помягче справа */
		);
	border-radius: 16px;
	padding: 24px 28px;
}

/* Локальная светлая подложка под левый текстовый блок, чтобы заголовок не терялся на фото */
.section .centers-hero.hospice-team-hero .centers-hero-left {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    padding: 20px 24px;
}

/* Изменяем позиционирование фонового изображения для секции хосписа */
.centers-hero.hospice-team-hero {
    background-position: center 40% !important;
}

.centers-hero-list {
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
}

.centers-hero-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--color-text-main);
}

.centers-hero-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 13px;
    color: var(--color-primary);
}

/* Hospice feature section ("Наши будни") */
.hospice-feature {
    position: relative;
    background: radial-gradient(circle at top left, rgba(19, 197, 221, 0.16) 0%, transparent 55%),
                radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
                #ffffff;
}

.hospice-feature::before {
    content: "";
    position: absolute;
    inset: 18% 8% auto auto;
    max-width: 360px;
    height: 220px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(19, 197, 221, 0.16), rgba(37, 99, 235, 0.06));
    filter: blur(6px);
    z-index: 0;
}

.hospice-feature-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.hospice-feature-content {
    padding-left: 14px;
    border-left: 4px solid var(--color-primary);
}

.hospice-feature-content h2 {
    font-size: clamp(36px, 3.6vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.hospice-feature-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-text-muted);
    max-width: 640px;
}

.section[aria-labelledby="hotel-everyday-title"] .hospice-feature-content p {
    font-size: 22px;
}

.hospice-feature-media {
    display: flex;
    justify-content: flex-end;
}

.hospice-feature-card {
    margin: 0;
    border-radius: 34px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
    max-width: 420px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hospice-feature-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 40%;
}

.hospice-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 100px rgba(15, 23, 42, 0.24);
}

/* Единый hover-эффект для всех карточек фотогалереи социальной столовой */
.hospice-conditions-cards .hospice-condition-card .hospice-feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hospice-conditions-cards .hospice-condition-card:hover .hospice-feature-card {
    transform: translateY(-6px);
    box-shadow: 0 36px 100px rgba(15, 23, 42, 0.24);
}

/* Полностью одинаковый hover-эффект для всех карточек в фотогалерее социальной столовой */

/* Центрирование контейнеров с фото в карточках секции фотографий */
.section[aria-labelledby="canteen-photos-title"] .hospice-condition-card figure {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

 .section[aria-labelledby="house-repair-photos-title"] .hospice-condition-card figure {
     display: flex;
     justify-content: center;
     margin: 0 auto;
 }

 .section[aria-labelledby="house-repair-photos-title"] .hospice-condition-card h3 {
     margin-top: 20px;
 }

/* Стили для заголовков в карточках фотографий */
.section[aria-labelledby="canteen-photos-title"] .hospice-condition-card h3 {
    margin-top: 20px;
    color: #1e3b8a;
    font-weight: 600;
}
.hospice-conditions-cards[aria-label="Фотогалерея социальной столовой"] .hospice-condition-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.hospice-conditions-cards[aria-label="Фотогалерея социальной столовой"] .hospice-condition-card:hover {
    background-color: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

.hospice-conditions-cards[aria-label="Фотогалерея социальной столовой"] .hospice-condition-card:hover h3 {
    color: #0ea5e9;
}

.hospice-conditions-cards[aria-label="Фотогалерея социальной столовой"] .hospice-condition-card:hover::before {
    background-color: var(--color-primary);
}

/* Hope Center team section with cards */
.hospice-team {
    background-color: #0f2747;
    color: #e5f3ff;
    padding-bottom: 40px;
    margin-bottom: 0;
}

/* Specific for Hope Center team section */
.section.hospice-team[aria-labelledby="hope-team-title"] {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    margin: 0 !important;
}

.section.hospice-team[aria-labelledby="hope-team-title"] .container {
    margin-bottom: 0 !important;
}

.hospice-team-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 40px;
}

.hospice-team-photo {
    display: flex;
    justify-content: flex-start;
}

.hospice-team-card {
    margin: -80px 0 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.35);
    max-width: 420px;
    background-color: #ffffff;
}

.hospice-team-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

/* Фиксированный контейнер фото именно для секции хосписа */
.section.hospice-team[aria-labelledby="hospice-team-title"] .hospice-team-card {
    width: 520px;
    height: 360px;
}

.section.hospice-team[aria-labelledby="hospice-team-title"] .hospice-team-card img {
    height: 100%;
}

.hotel-photo-slider {
    position: relative;
    width: 500px;
    height: 600px;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .hospice-team-photo {
    height: 600px;
    overflow: visible;
}

.hospice-team-card .hotel-photo-slide {
    display: none;
}

.hospice-team-card .hotel-photo-slide.hotel-photo-slide--active {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .hospice-team-card {
    margin: 0;
}

/* Men center: align photo card vertically in "Какую помощь получают мужчины" section */
.section.hospice-team[aria-labelledby="men-center-support-title"] .hospice-team-card {
    margin: 0 !important;
    max-width: 800px !important;
    width: 800px !important;
    height: 550px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.section.hospice-team[aria-labelledby="men-center-support-title"] .hospice-team-card img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.men-center-support {
    position: relative;
    background-color: #0f2747;
    color: #e5f3ff;
    overflow: hidden;
}

.men-center-support::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 39, 71, 0.78) 0%, rgba(15, 39, 71, 0.86) 100%);
}

.men-center-support-collage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    z-index: 0;
    filter: saturate(1.05);
    transform: scale(1.3);
}

.men-center-support-collage img {
    height: 100%;
    width: auto;
    flex: 0 0 auto;
    object-fit: cover;
    display: block;
}

@supports not (height: 100dvh) {
    .men-center-support-collage img {
        max-width: none;
    }
}

.men-center-support-collage img:nth-child(1),
.men-center-support-collage img:nth-child(2),
.men-center-support-collage img:nth-child(3),
.men-center-support-collage img:nth-child(4) {
    min-width: 0;
}

.men-center-support .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.men-center-support-panel {
    width: 100%;
    max-width: 860px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.85) 0%, rgba(25, 55, 95, 0.75) 50%, rgba(35, 75, 125, 0.65) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    padding: 44px 46px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.men-center-support-panel h2 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 22px;
    color: #ffffff;
}

.men-center-support-panel .hospice-team-block {
    text-align: left;
    max-width: 720px;
    margin: 0 auto;
}

.men-center-support-panel .hospice-team-block h3 {
    color: #ffffff;
}

.men-center-support-panel .hospice-team-block p {
    color: rgba(226, 239, 255, 0.92);
}

@media (max-width: 768px) {
    .men-center-support-collage {
        flex-direction: column;
    }

    .men-center-support-collage img {
        width: 100%;
        height: auto;
        flex: 1 1 0;
        object-fit: cover;
    }

    .men-center-support-panel {
        padding: 34px 22px;
        border-radius: 22px;
    }
}

.hospice-team-content h2 {
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
    position: relative;
    padding-bottom: 16px;
}

.hospice-team-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
    overflow: hidden;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .hospice-team-content {
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.hospice-team-block + .hospice-team-block {
    margin-top: 14px;
}

.hospice-team-block h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #374151;
    font-weight: 600;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .room-types-list {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    display: grid;
    gap: 8px;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .room-type-item {
    padding: 20px 24px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .room-type-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.6) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .room-type-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .room-type-item:hover::before {
    transform: scaleY(1);
}

.section.hospice-team[aria-labelledby="hotel-team-title"] .room-name {
    font-size: 17px;
    color: #1f2937;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.hospice-team-block p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(226, 239, 255, 0.92);
}

/* Hope Center team section with cards */
.hospice-team-header {
    text-align: center;
    margin-bottom: 120px;
}

.hospice-team-header h2 {
    font-size: clamp(32px, 3.4vw, 40px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.hospice-team-header p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(226, 239, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.hospice-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.hospice-team-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hospice-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.hospice-team-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.hospice-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hospice-team-card:hover .hospice-team-photo img {
    transform: scale(1.05);
}

.hospice-team-info {
    padding: 20px 24px;
}

.hospice-team-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
}

.hospice-team-role {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.hospice-team-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* Hospice conditions & documents section */
.hospice-conditions {
    background-color: #f8fafc;
}

.hospice-conditions-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.hospice-conditions-top h2 {
    font-size: clamp(32px, 3.4vw, 40px);
    line-height: 1.25;
    font-weight: 800;
}

.hospice-conditions-text p {
    font-size: 15px;
    margin-bottom: 6px;
}

/* Увеличиваем текст для секции "Условия поступления и необходимые документы" хосписа */
.section[aria-labelledby="hospice-conditions-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.section[aria-labelledby="hospice-conditions-title"] .hospice-conditions-text ul {
    font-size: 17px;
    color: var(--color-text-main);
}

.section[aria-labelledby="hospice-conditions-title"] .hospice-conditions-text li {
    padding-left: 24px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.section[aria-labelledby="hospice-conditions-title"] .hospice-conditions-text li::before {
    font-size: 14px;
    top: 2px;
}

/* Increase text size for men-center spiritual section */
.section[aria-labelledby="men-center-spiritual-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Beautiful styling for spiritual section */
.section[aria-labelledby="men-center-spiritual-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 30%, #bbdefb 70%, #90caf9 100%);
    color: #1565c0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.section[aria-labelledby="men-center-spiritual-title"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(33, 150, 243, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(100, 181, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.section[aria-labelledby="men-center-spiritual-title"] .container {
    position: relative !important;
    z-index: 1;
    height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
}

.spiritual-center-wrapper {
    width: 100%;
    max-width: 1000px;
}

.section[aria-labelledby="men-center-spiritual-title"] .hospice-conditions-top {
    text-align: center;
    width: 100%;
}

.section[aria-labelledby="men-center-spiritual-title"] h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 30px;
    color: #1565c0;
    text-shadow: 0 2px 10px rgba(21, 101, 192, 0.1);
    position: relative;
}

.section[aria-labelledby="men-center-spiritual-title"] h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section[aria-labelledby="men-center-spiritual-title"] .hospice-conditions-text {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(144, 202, 249, 0.3);
    border-radius: 20px;
    padding: 35px 50px;
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.15);
}

.section[aria-labelledby="men-center-spiritual-title"] .hospice-conditions-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #1565c0;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Специальное оформление секции с адресом социальной прачечной */
.section[aria-labelledby="laundry-service-title"] .hospice-conditions-top {
    grid-template-columns: minmax(0, 1fr);
}

.section[aria-labelledby="laundry-service-title"] .hospice-conditions-text {
    margin-top: 16px;
    max-width: 480px;
    padding: 18px 24px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    font-size: 16px;
}

.section[aria-labelledby="laundry-service-title"] .hospice-conditions-text p {
    margin-bottom: 0;
}

.section[aria-labelledby="transport-about-title"] .hospice-feature-content p,
.section[aria-labelledby="transport-about-title"] .hospice-feature-content li {
    font-size: 18px;
    line-height: 1.9;
}

.section[aria-labelledby="transport-how-title"] .hospice-conditions-text p,
.section[aria-labelledby="transport-how-title"] .hospice-conditions-text li {
    font-size: 18px;
    line-height: 1.9;
}

.section[aria-labelledby="house-repair-how-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #f1f6ff 45%, #e3f2ff 100%);
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text {
    margin-top: 18px;
    width: 100%;
    max-width: none;
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(15, 23, 42, 0.78);
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text li {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 64, 175, 0.10);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(15, 23, 42, 0.78);
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text li {
    padding-left: 18px;
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text li::before {
    content: none;
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text li::first-letter {
    text-transform: uppercase;
}

.section[aria-labelledby="ritual-how-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #f5fbff 45%, #e7f3ff 100%);
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text {
    width: 100%;
    max-width: none;
    margin-top: 18px;
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(15, 23, 42, 0.78);
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text li {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 64, 175, 0.10);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(15, 23, 42, 0.78);
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text li {
    padding-left: 18px;
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text li::before {
    content: none;
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text li::first-letter {
    text-transform: uppercase;
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text .ritual-phone {
    margin: 26px auto 0;
    max-width: 520px;
    text-align: center;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(227, 242, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(30, 64, 175, 0.16);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    font-size: 20px;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.86);
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text .ritual-phone strong {
    color: rgba(30, 64, 175, 0.88);
}

.section[aria-labelledby="ritual-how-title"] .hospice-conditions-text li:hover {
    background: linear-gradient(135deg, rgba(227, 242, 255, 0.92) 0%, rgba(241, 247, 255, 0.92) 45%, rgba(255, 255, 255, 0.92) 100%);
    border-color: rgba(30, 64, 175, 0.22);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .section[aria-labelledby="ritual-how-title"] .hospice-conditions-text ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

.section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text li:hover {
    background: linear-gradient(135deg, rgba(227, 242, 255, 0.92) 0%, rgba(241, 247, 255, 0.92) 45%, rgba(255, 255, 255, 0.92) 100%);
    border-color: rgba(30, 64, 175, 0.22);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .section[aria-labelledby="house-repair-how-title"] .hospice-conditions-text ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hospice-conditions-text ul {
    margin: 0 0 10px 0;
    padding-left: 0;
    list-style: none;
    font-size: 14px;
    color: var(--color-text-muted);
}

.hospice-conditions-text li + li {
    margin-top: 4px;
}

.hospice-conditions-text li {
    position: relative;
    padding-left: 22px;
}

.hospice-conditions-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 13px;
    color: var(--color-primary);
}

.hospice-conditions-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 6px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    background-color: #ffffff;
}

.hospice-condition-card {
    padding: 28px 24px 26px;
    border-right: 1px solid #e5e7eb;
    background-color: #ffffff;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.2s ease, background-color 0.25s ease;
}

.hospice-condition-card:hover {
    background: linear-gradient(135deg, rgba(227, 242, 255, 0.92) 0%, rgba(241, 247, 255, 0.92) 45%, rgba(255, 255, 255, 0.92) 100%);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
    transform: translateY(-2px);
}

.hospice-condition-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
}

.hospice-condition-card p {
    font-size: 16px;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.5;
}

.hospice-conditions-text .large-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
}

.hospice-condition-card:last-child {
    border-right: none;
}

.hospice-condition-number {
    font-size: 20px;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 10px;
}

.hospice-condition-title-card {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 800;
    max-width: 220px;
}

.hospice-condition-note {
    margin-top: 8px;
    font-weight: 500;
    color: var(--color-primary-dark);
}

/* Секция комфорта и удобства отеля */
.hotel-comfort-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.hotel-comfort-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hotel-comfort-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.hotel-comfort-section .section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.hotel-comfort-section .section-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.hotel-comfort-content {
    display: grid;
    gap: 60px;
}

.comfort-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.comfort-feature {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comfort-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.comfort-feature h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.comfort-feature p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.comfort-additional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.comfort-text h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.comfort-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.comfort-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .comfort-additional {
        grid-template-columns: 1fr;
    }
    
    .comfort-features {
        grid-template-columns: 1fr;
    }
    
    .hotel-comfort-section {
        padding: 60px 0;
    }
}
.narnia-summer {
    padding-top: 64px;
}
.narnia-summer-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
    color: #e5f5ff;
}

.narnia-summer-col {
    padding: 24px 28px;
}

.narnia-summer-col:nth-child(2) {
    background-color: rgba(15, 23, 42, 0.04);
}

.narnia-summer-col:nth-child(3) {
    background-color: rgba(15, 23, 42, 0.10);
}

.narnia-summer-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.narnia-summer-intro,
.narnia-summer-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #e5f5ff;
}

.narnia-summer-subtitle {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.narnia-summer-list {
    margin: 0;
    padding-left: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #e5f5ff;
    list-style: none;
}

.narnia-summer-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

.narnia-summer-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f9fafb;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.25);
}

/* Narnia ExIt 17+ section */
.narnia-exit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.narnia-exit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-dots.svg') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.narnia-exit-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.narnia-exit-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.narnia-exit-text {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 32px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.narnia-exit-text p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-main);
    margin: 0 0 16px;
}

.narnia-exit-text p:last-child {
    margin-bottom: 0;
}

/* Narnia Mission section */
.narnia-mission {
    background: url('../images/narnia/narnia (1).jpg') 50% 30% no-repeat;
    background-size: cover;
    padding: 80px 0;
    position: relative;
}

.narnia-mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.narnia-mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.narnia-mission-title {
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--color-primary-dark);
    margin: 0 0 40px;
    position: relative;
    display: inline-block;
}

.narnia-mission-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.narnia-mission-text {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 48px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.narnia-mission-text::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.narnia-mission-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin: 0 0 20px;
    font-weight: 400;
}

.narnia-mission-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--color-primary-dark);
}

/* Hope Center section */
.hope-center {
    padding: 40px 0 60px;
}

.hope-center-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hope-center-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.hope-center-title {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.hope-center-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-main);
}

.hope-center-text + .hope-center-text {
    margin-top: 8px;
}

.hope-center-right {
    display: flex;
    justify-content: flex-end;
}

.hope-center-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 320px;
    max-width: 420px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
}

.hope-center-slideshow {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.6s ease-in-out;
}

.hope-center-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.08) 45%, rgba(15, 23, 42, 0) 100%);
}

@keyframes narniaWhatSlideshow {
    0%, 16% {
        background-image: url('../images/narnia/narnia (1).jpg');
    }
    16.01%, 32% {
        background-image: url('../images/narnia/narnia (2).jpg');
    }
    32.01%, 48% {
        background-image: url('../images/narnia/narnia (3).jpg');
    }
    48.01%, 64% {
        background-image: url('../images/narnia/narnia (4).JPG');
    }
    64.01%, 80% {
        background-image: url('../images/narnia/narnia (5).jpg');
    }
    80.01%, 100% {
        background-image: url('../images/narnia/narnia (6).jpg');
    }
}

.hospice-condition-card--hover::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.hospice-condition-card--hover:hover {
    background-color: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

.hospice-condition-card--hover:hover h3 {
    color: #0ea5e9;
}

.hospice-condition-card--hover:hover::before {
    background-color: var(--color-primary);
}

.hospice-condition-card:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.hospice-condition-card:not(:first-child):hover {
    background-color: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
}

.hospice-condition-card:not(:first-child):hover h3 {
    color: #0ea5e9;
}

.hospice-condition-card:not(:first-child):hover::before {
    background-color: var(--color-primary);
}

/* Hospice sponsors section: карта мира + текст */
.hospice-sponsors {
    background-color: #ffffff;
}

.hospice-sponsors-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 40px;
    align-items: center;
}

.hospice-sponsors-media {
    display: flex;
    justify-content: center;
}

.hospice-sponsors-map {
    display: block;
    width: 100%;
    max-width: 460px;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    border-radius: 32px;
    object-position: center 40%;
}

.hospice-sponsors-content h2 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
}

.hospice-sponsors-accent {
    width: 120px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #13c5dd 0%, #0ea5e9 60%, #38bdf8 100%);
    margin-bottom: 18px;
}

.hospice-sponsors-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-text-muted);
    max-width: 600px;
}

.hospice-sponsors-content p + p {
    margin-top: 8px;
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #eef7ff 45%, #d8eeff 100%);
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 24px;
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-content {
    width: 100%;
    max-width: 760px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(30, 64, 175, 0.10);
    border-radius: 28px;
    padding: 42px 44px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-content h2 {
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-content h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.85) 0%, rgba(56, 189, 248, 0.85) 100%);
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-content p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(15, 23, 42, 0.78);
}

.section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-content strong {
    color: rgba(15, 23, 42, 0.92);
}

.social-location {
    background: linear-gradient(135deg, #ffffff 0%, #eef7ff 45%, #d8eeff 100%);
}

.social-location .container {
    display: flex;
    justify-content: center;
}

.social-location-card {
    width: 100%;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(30, 64, 175, 0.10);
    border-radius: 28px;
    padding: 38px 40px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-location-card h2 {
    font-size: clamp(28px, 2.8vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--color-primary-dark);
}

.social-location-card h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.85) 0%, rgba(56, 189, 248, 0.85) 100%);
}

.social-location-card p {
    font-size: 18px;
    line-height: 1.9;
    margin: 0;
    color: rgba(15, 23, 42, 0.78);
}

@media (max-width: 768px) {
    .social-location-card {
        padding: 28px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 768px) {
    .section.hospice-sponsors[aria-labelledby="hotel-contact-title"] .hospice-sponsors-content {
        padding: 30px 22px;
        border-radius: 22px;
    }
}

/* Hospice training section */
.hospice-training {
    background-color: #f8fafc;
    padding: 80px 0;
}

.hospice-training-top {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hospice-training-top h2 {
    font-size: clamp(32px, 3.4vw, 40px);
    line-height: 1.25;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.hospice-training-text {
    background-color: #ffffff;
    padding: 32px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.hospice-training-text p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin: 0;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

main {
    padding-top: 120px;
    padding-bottom: 80px;
}


/* Хедер */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #ffffff;
    width: 100vw;
    min-width: 320px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.topbar {
    background-color: #0f2647;
    color: #e5edf9;
    font-size: 12px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    gap: 16px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.topbar-separator {
    opacity: 0.7;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-label {
    opacity: 0.8;
}

.topbar-lang {
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
}

.topbar-lang:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

/* Страница отделов: медицинский отдел — hero секция */

.medical-hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 90px;
    min-height: 70vh;
    background: url('../images/medical-center/hero_medical-center (1).jpg') center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

 /* Специальный фон для страницы ритуальных услуг */
 .medical-hero#ritual {
     background-image: url('../images/katofalka/01.jpg');
 }

 .medical-hero[data-hero="canteen"] {
     background-image: url('../images/dining/hero_dining(1).jpg');
 }

.medical-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.65) 42%, rgba(15, 23, 42, 0.2) 100%);
}

.medical-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 360px;
}

.medical-hero-left {
    max-width: 520px;
}

.medical-hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.84);
}

.medical-hero-title {
    font-size: clamp(34px, 3.4vw, 44px);
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 14px;
}

.medical-hero-text {
    font-size: 20px;
    max-width: 520px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.9);
}

.medical-hero .medical-hero-left p:not(.medical-hero-kicker):not(.medical-hero-text) {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.medical-hero#medical .medical-hero-text {
    font-size: 20px;
}

.medical-hero#hotel-hero .medical-hero-text {
    font-size: 20px;
    max-width: 600px;
    line-height: 1.6;
}

.medical-hero#hospice-hero .large-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.medical-hero#hospice-hero .medical-hero-text.large-text {
    font-size: 18px;
    max-width: 600px;
    line-height: 1.6;
}

.medical-hero#narnia-hero .medical-hero-text {
    font-size: 20px;
    max-width: 600px;
    line-height: 1.6;
}

.medical-hero#narnia-hero .medical-hero-left p:not(.medical-hero-text) {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

/* Pearl hero slideshow */
.pearl-hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.pearl-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.pearl-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.pearl-hero-slide.active {
    opacity: 1;
}

.medical-hero#pearl-hero {
    background: none;
}

.medical-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ffffff;
    color: var(--color-primary-dark);
}

.btn-primary:hover {
    background-color: #e5f5ff;
}

.medical-hero-play {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: rgba(15, 23, 42, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
}

.medical-hero-play-icon {
    margin-left: 2px;
}

.medical-hero-play:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.medical-hero-breadcrumbs {
    position: relative;
    z-index: 1;
    padding: 18px 0 8px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #ffffff;
}

.breadcrumbs a {
    color: #ffffff;
}

.breadcrumbs-separator {
    opacity: 0.8;
}

/* Карточки "Кому мы помогаем" в стиле Medisch */

.whom-section {
    background-color: #f2f6fb;
}

.whom-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.whom-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.whom-card-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(19, 197, 221, 0.18), rgba(255, 255, 255, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.whom-card-icon span {
    font-size: 30px;
}

.whom-card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.whom-card-text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.whom-card-list {
    margin: 0 0 14px;
    padding-left: 18px;
    font-size: 14px;
}

.whom-card-btn {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 2px solid var(--color-primary-dark);
    background-color: transparent;
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.whom-card-btn:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.whom-card-image {
    margin-top: auto;
    border-radius: 14px;
    overflow: hidden;
}

.whom-card-image img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: 18% center;
}

/* Секция "Кому мы помогаем" на главной странице */

.help-section {
    background-color: #f3f6fb;
}

.help-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: stretch;
}

.help-column {
    position: relative;
}

.help-column--text {
    max-width: 640px;
}

.help-column--text h2 {
    font-size: clamp(28px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 12px;
    position: relative;
}

.help-intro {
    margin-top: 8px;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.6;
    color: #374151;
    font-weight: 400;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--color-primary);
}

.help-intro::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-list li {
    font-size: 17px;
    line-height: 1.5;
    color: #374151;
    position: relative;
    padding-left: 32px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.help-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
    width: 24px;
    height: 24px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-list li:hover {
    transform: translateX(4px);
    color: var(--color-primary);
}

.help-outro {
    margin-top: 18px;
    font-weight: 500;
}

.help-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.help-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 13px;
}

.help-column--media {
    display: flex;
}

.help-media {
    position: relative;
    flex: 1 1 auto;
    border-radius: 24px;
    overflow: hidden;
    background-color: #020617;
    min-height: 260px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
}

.help-media-slider {
    position: relative;
    height: 100%;
}

.help-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.help-slide--active {
    opacity: 1;
}

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

.help-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.35) 55%, rgba(15, 23, 42, 0.0) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 22px 24px;
    color: #e5edf9;
}

.help-slide-overlay h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.help-slide-overlay p {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.5;
}

.help-media-dots {
    position: absolute;
    left: 22px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.help-media-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #e5edf9;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.help-media-dot.is-active {
    background-color: #e5edf9;
}

@media (max-width: 900px) {
    .help-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .help-column--media {
        order: -1;
    }
}

/* Двухколоночная секция medical-details в стиле Medisch */

.medical-details {
    background: radial-gradient(circle at top left, rgba(19, 197, 221, 0.16) 0%, transparent 52%),
                linear-gradient(135deg, #1d2a4d 0%, #111827 65%);
    color: #e5edf9;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 600px;
    overflow: hidden;
}

.medical-details-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: stretch;
}

.medical-details-left {
    padding-right: 10px;
}

.medical-details-header h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.medical-details-header p {
    max-width: 560px;
    color: rgba(226, 232, 240, 0.9);
}

.medical-details-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 24px;
    margin-top: 22px;
}

.medical-details-columns h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.medical-details-columns p {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.82);
    margin-bottom: 10px;
}

.medical-details-columns ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.medical-details-columns li {
    position: relative;
    padding-left: 22px;
    font-size: 20px;
    margin-bottom: 6px;
}

.medical-details-columns li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 13px;
    color: #13c5dd;
}

.medical-info-slider {
    position: relative;
}

.medical-info-slide {
    display: none;
}

.medical-info-slide--active {
    display: block;
}

.medical-info-dots {
    margin-top: 18px;
    display: flex;
    gap: 8px;
}

.medical-info-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #13c5dd;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.medical-info-dot.is-active {
    background-color: #13c5dd;
}

.medical-details-right {
    align-self: center;
    display: flex;
}

.medical-photo-slider {
    position: relative;
    height: 400px;
    flex: 1 1 auto;
    border-radius: 26px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.42);
    display: flex;
}

.medical-photo-slide {
    flex: 1 0 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.medical-photo-slide--active {
    opacity: 1;
}

.medical-photo-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стили для секции medical-structure */
.medical-structure {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    color: #1e293b;
}

.medical-structure h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1d2a4d;
    text-align: center;
}

.medical-structure ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
}

.medical-structure li {
    position: relative;
    padding: 12px 0 12px 35px;
    font-size: 18px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transition: all 0.3s ease;
}

.medical-structure li:last-child {
    border-bottom: none;
}

.medical-structure li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 14px;
    color: #13c5dd;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.medical-structure li:hover {
    background: rgba(19, 197, 221, 0.05);
    padding-left: 40px;
}

.medical-structure li:hover::before {
    transform: translateX(5px);
}

.logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
}

.nav-list > li > a,
.nav-link-with-sub {
    color: #1f2933;
    padding: 6px 0;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.nav-list > li > a:hover,
.nav-link-with-sub:hover {
    color: var(--color-primary);
}

/* Подчёркивание ссылок меню в стиле медицинского шаблона */
.nav-list > li > a::after,
.nav-link-with-sub::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transition: width 0.25s ease;
}

.nav-list > li > a:hover::after,
.nav-link-with-sub:hover::after {
    width: 100%;
}

.header-cta {
    background-color: var(--color-primary);
    color: #ffffff;
    padding-inline: 22px;
}

.header-cta:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

/* Hide mobile contact button on desktop */
.mobile-contact-btn {
    display: none;
}

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    padding: 8px 0;
    display: none;
}

.has-submenu:hover > .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--color-text-main);
}

.submenu li a:hover {
    background-color: var(--color-bg);
}

.submenu-title {
    padding: 8px 16px 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.submenu-divider {
    border-top: 1px solid var(--color-border);
    margin: 4px 0;
}

.burger {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 999px;
}

/* Hero */
.hero {
    position: relative;
    padding: 140px 0 120px;
    min-height: 80vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.hero[data-hero="hospice"] {
    padding: 90px 0 60px;
    min-height: 60vh;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* убираем тёмно-серый градиент поверх фоновых картинок hero */
    background: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    max-width: 580px;
    padding: 22px 24px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero h1 {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-lead {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-list {
    margin: 6px 0 0;
    padding-left: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
}

.hero-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.hero-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 26px;
    color: var(--color-primary);
}

.hero-directions {
    position: relative;
    margin-top: -60px;
    margin-bottom: 40px;
    z-index: 5;
}

.hero-directions-inner {
    background: linear-gradient(90deg,
            #13c5dd 0%,
            #13c5dd 3%,
            #283b6a 3%,
            #283b6a 97%,
            #13c5dd 97%,
            #13c5dd 100%);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.hero-direction-card {
    padding: 24px 22px 24px;
    color: #ffffff;
    background-color: #283b6a;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.hero-direction-card--accent {
    background-color: #283b6a;
}

.hero-direction-card:hover {
    transform: translateY(-2px);
    background-color: #1e4a86;
}

.hero-direction-icon {
    font-size: 30px;
    margin-bottom: 14px;
    color: #ffffff;
}

.hero-direction-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.hero-direction-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #d3e0ff;
}

.hero-direction-list {
    margin: 4px 0 0;
    padding-left: 0;
    list-style: none;
}

.hero-direction-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-direction-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.projects-slide-list li::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 1px;
    font-size: 12px;
    color: #ffffff;
}

/* Общие секции и грид */
.section {
    padding: 60px 0;
}

.section-grid {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.section-header p {
    max-width: 620px;
    color: var(--color-text-muted);
}

.about-description-light-blue {
    color: #13c5dd !important;
    font-weight: 500;
}

/* About section: тёмный градиентный блок в стиле Medisch */
.about-section {
    background: radial-gradient(circle at top left, rgba(19, 197, 221, 0.15) 0%, transparent 45%),
                linear-gradient(135deg, #1d2a4d 0%, #111827 70%);
    color: #e5edf9;
}

.about-container {
    position: relative;
    background-color: transparent;
    box-shadow: none;
    padding: 30px 0 10px;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 28px;
    margin-top: 12px;
}

.about-text p + p {
    margin-top: 10px;
}

.about-features {
    background-color: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    padding: 18px 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    transform: translateY(-80px);
}

.about-features h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-features ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.about-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.6;
}

.about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 13px;
    color: #13c5dd;
}

/* Отделы: карточки 01–04 в стиле Medisch */
.centers-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.centers-card {
    position: relative;
    background-color: #ffffff;
    padding: 26px 24px 24px;
    border-right: 1px solid #e5e7eb;
    border-top: 3px solid transparent;
    transition: box-shadow 0.25s ease, border-top-color 0.25s ease, transform 0.2s ease;
}

.centers-card:last-child {
    border-right: none;
}

.centers-card-number {
    font-size: 22px;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 24px;
}

.centers-card-icon {
    font-size: 30px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.centers-card-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.centers-card-text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.centers-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.centers-card-link::before {
    content: "—";
    margin-right: 6px;
}

.centers-card:hover {
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    border-top-color: var(--color-primary);
    transform: translateY(-3px);
}

.centers-card:hover .centers-card-icon,
.centers-card:hover .centers-card-link {
    color: var(--color-primary);
}

/* Doctors section */
.doctors-section {
    background-color: #ffffff;
    padding-top: 40px;
    padding-bottom: 40px;
}

.medical-details .section-header h2,
.medical-details .section-header p {
    color: #e5edf9;
}

.doctors-slider {
    padding: 0;
}

.doctors-slide {
    display: none;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
}

.doctors-slide--active {
    display: grid;
}

.doctors-slide-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 520px;
}

.doctors-slide-right {
    position: relative;
}

/* Slightly raise cropping for the second doctor image */
.doctors-slider .doctors-slide:nth-child(2) .doctors-slide-media img {
    object-position: center 35%;
}

/* Doctors grid with slider functionality */
.doctors-grid-container {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.doctors-grid {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.doctor-card {
    min-width: calc((100% - 48px) / 3); /* 3 карточки с учетом gap */
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.doctor-card-media {
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.doctor-card-media img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 25%;
}

/* Slightly raise cropping for the second doctor image */
.doctors-grid .doctor-card:nth-child(2) .doctor-card-media img {
    object-position: center 35%;
}

.doctor-card-body {
    padding: 18px 20px 22px;
}

.doctor-name {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--color-text-main);
}

.doctor-speciality {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

.doctor-description {
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.doctors-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.doctors-slider-arrow:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.doctors-slider-arrow--prev {
    left: 16px;
}

.doctors-slider-arrow--next {
    right: 16px;
}

.doctors-slider-arrow::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.doctors-slider-arrow--prev::before {
    border-width: 6px 10px 6px 0;
    border-color: transparent currentColor transparent transparent;
    margin-right: 2px;
}

.doctors-slider-arrow--next::before {
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 2px;
}

.doctors-slider-arrow:hover::before {
    border-color: transparent white transparent white;
}

.doctor-socials {
    display: inline-flex;
    gap: 10px;
}

.doctor-socials a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: var(--color-primary-dark);
    font-size: 13px;
}

.doctor-socials a:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.doctors-slider-dots {
    margin-top: 22px;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.doctors-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.doctors-slider-dot.is-active {
    background-color: var(--color-primary);
}

/* Слайдер "Социальные проекты" */
.projects-slider {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 24px 24px 26px;
}

.projects-slide {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: 26px;
    align-items: stretch;
}

.projects-slide--active {
    display: grid;
}

.projects-slide-left {
    position: relative;
}

.projects-slide-media {
    border-radius: 16px;
    overflow: hidden;
    height: 340px; /* фиксированная высота для всех фотографий */
}

.projects-slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* заполняет блок, аккуратно обрезая лишнее */
}

.projects-slide-label {
    position: absolute;
    right: 0;
    bottom: -10px;
    transform: translateY(50%);
    padding: 10px 18px;
    background-color: #0f2647;
    color: #ffffff;
    border-radius: 14px 14px 0 14px;
    font-size: 13px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.projects-slide-right h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.projects-slide-right p {
    color: var(--color-text-muted);
}

.projects-slide-list {
    margin: 12px 0 0;
    padding-left: 0;
    list-style: none;
}

.projects-slide-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}

.projects-slider-dots {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.projects-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.projects-slider-dot.is-active {
    background-color: var(--color-primary);
}

/* Детские центры: вертикальные карточки */
.kids-section {
    background-color: #f8fafc;
}

.kids-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.kids-card {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kids-card-media img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.kids-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
}

.kids-card-body h3 {
    font-size: 18px;
    color: var(--color-text-main);
}

.kids-card-body p {
    font-size: 14px;
    color: var(--color-text-muted);
}

.kids-card-list {
    margin: 4px 0 6px;
    padding-left: 0;
    list-style: none;
}

.kids-card-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-main);
}

.kids-card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 13px;
    color: var(--color-primary);
}

.kids-card-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 999px;
    border: 2px solid var(--color-primary-dark);
    background-color: #ffffff;
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.kids-card-btn:hover {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

/* Team section */
.team-section {
    background-color: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.team-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 26px 24px 22px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}

.team-name {
    font-size: 18px;
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.team-bio {
    font-size: 14px;
    color: var(--color-text-muted);
}

.section-highlight {
    background-color: #e9f6f4;
}

.help-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* Футер */
.site-footer {
    margin-top: 24px;
    background-color: #0f172a;
    color: #e5e7eb;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 24px;
    padding: 24px 16px 16px;
}

.footer-inner h3,
.footer-inner h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.footer-inner p,
.footer-nav a {
    font-size: 14px;
    color: #cbd5f5;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 10px 0;
    font-size: 13px;
    color: #9ca3af;
}

/* Centers news section styles */
.centers-news-slide-content {
    padding: 24px;
}

.centers-news-slide-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.centers-news-slide-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.centers-news-slide-text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.centers-news-slide-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.25s ease;
}

.centers-news-slide-btn:hover {
    background-color: var(--color-primary-dark);
}

/* Красивое оформление секции "Кому мы помогаем" на странице pearl */
.section[aria-labelledby="pearl-whom-title"] {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-whom-title"]::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-whom-title"]::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-whom-title"] .container {
    position: relative;
    z-index: 2;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-top {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    grid-template-columns: none;
    gap: 0;
}

.section[aria-labelledby="pearl-whom-title"] h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.section[aria-labelledby="pearl-whom-title"] h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, rgba(59, 130, 246, 0.3) 100%);
    border-radius: 2px;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 24px;
    text-align: left;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text p {
    font-size: 20px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 20px;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text p:first-of-type {
    font-size: 22px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 24px;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text li {
    font-size: 18px;
    line-height: 1.6;
    color: #374151;
    position: relative;
    padding: 16px 20px 16px 48px;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text li::before {
    content: "👥";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.section[aria-labelledby="pearl-whom-title"] .hospice-conditions-text p:last-of-type {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    font-weight: 500;
}

/* Красивое оформление секции "Основная программа" на странице pearl */
.section[aria-labelledby="pearl-program-title"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-program-title"]::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-program-title"]::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-program-title"] .container {
    position: relative;
    z-index: 2;
}

.section[aria-labelledby="pearl-program-title"] .hospice-conditions-top {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    grid-template-columns: none;
    gap: 0;
}

.section[aria-labelledby="pearl-program-title"] h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.section[aria-labelledby="pearl-program-title"] h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.section[aria-labelledby="pearl-program-title"] .hospice-conditions-text {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 18px 22px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    margin-top: 14px;
    text-align: center;
}

.section[aria-labelledby="pearl-program-title"] .hospice-conditions-text .large-text {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    line-height: 1.35;
}

.section[aria-labelledby="pearl-program-title"] .hospice-conditions-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.section[aria-labelledby="pearl-program-title"] .hospice-condition-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-program-title"] .hospice-condition-card::before {
    content: none;
}

.section[aria-labelledby="pearl-program-title"] .hospice-condition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.18);
}

.section[aria-labelledby="pearl-program-title"] .hospice-condition-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.section[aria-labelledby="pearl-program-title"] .hospice-condition-card h3::after {
    content: "✨";
    position: absolute;
    right: -8px;
    top: -4px;
    font-size: 18px;
}

.section[aria-labelledby="pearl-program-title"] .hospice-condition-card p {
    font-size: 16px;
    line-height: 1.55;
    color: #374151;
    text-align: center;
    margin: 0;
}

.section[aria-labelledby="pearl-summer-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-summer-title"]::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-top {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    display: block;
    grid-template-columns: none;
    gap: 0;
}

.section[aria-labelledby="pearl-summer-title"] h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.section[aria-labelledby="pearl-summer-title"] h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text {
    margin-top: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid rgba(37, 99, 235, 0.10);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    text-align: left;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text p {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 14px;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text ul {
    list-style: none;
    padding-left: 0;
    margin: 14px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text li {
    position: relative;
    padding: 14px 14px 14px 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.10);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    font-size: 16px;
    line-height: 1.55;
    color: #374151;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.10);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
}

.section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text p:last-of-type {
    margin-bottom: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border: 1px solid rgba(37, 99, 235, 0.10);
    font-weight: 500;
}

@media (max-width: 700px) {
    .section[aria-labelledby="pearl-summer-title"] .hospice-conditions-text ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Красивое оформление секции "Духовная основа проекта" на странице pearl */
.section[aria-labelledby="pearl-spiritual-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-spiritual-title"]::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-spiritual-title"]::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-spiritual-title"] .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-top {
    display: block;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.section[aria-labelledby="pearl-spiritual-title"] h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section[aria-labelledby="pearl-spiritual-title"] h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
    position: relative;
    margin-top: 32px;
    text-align: left;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text::before {
    content: "";
    position: absolute;
    top: -12px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text p:first-of-type {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: 16px;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 20px;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 0 0;
    counter-reset: spiritual-counter;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text li {
    position: relative;
    padding: 16px 20px 16px 56px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    font-size: 17px;
    line-height: 1.6;
    color: #374151;
    counter-increment: spiritual-counter;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text li:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text li::before {
    content: counter(spiritual-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 768px) {
    .section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-top {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .section[aria-labelledby="pearl-spiritual-title"] h2 {
        margin-bottom: 16px;
    }
    
    .section[aria-labelledby="pearl-spiritual-title"] h2::after {
        width: 60px;
        height: 3px;
    }
    
    .section[aria-labelledby="pearl-spiritual-title"] .hospice-conditions-text {
        margin-top: 24px;
        padding: 20px 24px;
    }
}

/* Красивое оформление секции "Поддержка семей" на странице pearl */
.section[aria-labelledby="pearl-family-title"] {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-family-title"]::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-family-title"]::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-family-title"] .container {
    position: relative;
    z-index: 2;
}

.section[aria-labelledby="pearl-family-title"] .hospice-conditions-top {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
    display: block;
}

.section[aria-labelledby="pearl-family-title"] h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section[aria-labelledby="pearl-family-title"] h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.section[aria-labelledby="pearl-family-title"] .hospice-conditions-text {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    position: relative;
    text-align: left;
}

.section[aria-labelledby="pearl-family-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

.section[aria-labelledby="pearl-family-title"] .hospice-conditions-text ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section[aria-labelledby="pearl-family-title"] .hospice-conditions-text li {
    position: relative;
    padding: 16px 20px 16px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    font-size: 17px;
    line-height: 1.6;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    list-style: none;
}

.section[aria-labelledby="pearl-family-title"] .hospice-conditions-text li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1e40af;
}

@media (max-width: 768px) {
    .section[aria-labelledby="pearl-family-title"] .hospice-conditions-top {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .section[aria-labelledby="pearl-family-title"] .hospice-conditions-text {
        padding: 20px 24px;
        margin-top: 20px;
    }
    
    .section[aria-labelledby="pearl-family-title"] .hospice-conditions-text li {
        font-size: 16px;
        padding: 14px 18px 14px 18px;
    }
}

/* Красивое оформление секции "Наш подход" на странице pearl */
.section[aria-labelledby="pearl-approach-title"] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.section[aria-labelledby="pearl-approach-title"]::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-approach-title"]::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.section[aria-labelledby="pearl-approach-title"] .container {
    position: relative;
    z-index: 2;
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-top {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    display: block;
}

.section[aria-labelledby="pearl-approach-title"] h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section[aria-labelledby="pearl-approach-title"] h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.3) 100%);
    border-radius: 2px;
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text {
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    position: relative;
    text-align: center;
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p:first-of-type {
    font-size: 20px;
    font-weight: 600;
    color: #1e40af;
    line-height: 1.7;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p:last-of-type {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 16px;
    padding: 20px 24px;
    font-weight: 600;
    color: #1e40af;
    font-size: 18px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p:last-of-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.25);
}

.section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p:last-of-type::before {
    content: "📍";
    font-size: 20px;
}

@media (max-width: 768px) {
    .section[aria-labelledby="pearl-approach-title"] .hospice-conditions-top {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text {
        padding: 24px 28px;
        margin-top: 24px;
    }
    
    .section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p:first-of-type {
        font-size: 18px;
        padding: 16px 20px;
    }
    
    .section[aria-labelledby="pearl-approach-title"] .hospice-conditions-text p:last-of-type {
        font-size: 16px;
        padding: 16px 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* News styles */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* News Cards Layout */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-header {
    margin-bottom: 15px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.news-card-date {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.news-card-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin: 0 0 20px 0;
    flex: 1;
}

.news-card-footer {
    margin-top: auto;
}

.news-card-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-card-more-btn:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0277bd 100%);
    transform: translateX(3px);
}

.more-arrow {
    transition: transform 0.3s ease;
}

.news-card-more-btn:hover .more-arrow {
    transform: translateX(3px);
}

/* Legacy News Item (for backward compatibility) */
.news-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.news-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.news-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.news-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 0 30px;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.news-content {
    padding: 20px 30px 30px;
}

.news-excerpt {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-style: italic;
}

.news-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.news-text p {
    margin-bottom: 15px;
}

.news-text p:last-child {
    margin-bottom: 0;
}

/* News Detail Page */
.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-navigation {
    margin-bottom: 30px;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-news:hover {
    color: #0284c7;
}

.back-arrow {
    font-size: 18px;
}

.news-detail {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.news-detail-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.news-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-detail-date {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.news-detail-actions {
    display: flex;
    gap: 12px;
}

.share-button,
.copy-link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover,
.copy-link-button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.share-icon,
.copy-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.news-detail-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 40px;
}

.news-detail-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.news-detail-content {
    padding: 0 40px 40px;
}

.news-detail-excerpt {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    font-style: italic;
    margin: 0 0 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #0ea5e9;
    border-radius: 0 8px 8px 0;
}

.news-detail-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.news-detail-text p {
    margin-bottom: 20px;
}

.news-detail-text p:last-child {
    margin-bottom: 0;
}

/* Social Share */
.social-share {
    padding: 30px 40px 40px;
    border-top: 1px solid #f0f0f0;
}

.social-share h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-button.facebook {
    background: #1877f2;
    color: white;
}

.social-button.facebook:hover {
    background: #166fe5;
}

.social-button.twitter {
    background: #1da1f2;
    color: white;
}

.social-button.twitter:hover {
    background: #1a91da;
}

.social-button.vkontakte {
    background: #0077ff;
    color: white;
}

.social-button.vkontakte:hover {
    background: #0066dd;
}

.social-button.telegram {
    background: #0088cc;
    color: white;
}

.social-button.telegram:hover {
    background: #0077bb;
}

.social-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.loading-news,
.no-news-message,
.news-error {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.loading-news p,
.no-news-message p,
.news-error p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.news-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
}

.news-error p {
    color: #c53030;
}

 .news-ticker-viewport {
     position: relative;
     overflow: hidden;
     border-radius: 16px;
     background: white;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
     padding: 18px;
 }

 .section.news-ticker {
     padding-top: 36px;
     padding-bottom: 36px;
 }

 .section.news-ticker .section-header {
     text-align: center;
     margin-bottom: 18px;
 }

 .news-ticker-track {
     display: flex;
     gap: 18px;
     align-items: stretch;
     width: max-content;
     will-change: transform;
 }

 .news-ticker--static .news-ticker-track {
     width: 100%;
     justify-content: center;
     transform: translateX(0) !important;
 }

 .news-ticker-card {
     position: relative;
     display: block;
     text-decoration: none;
     color: inherit;
     width: 260px;
     background: #ffffff;
     border-radius: 14px;
     overflow: hidden;
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
     flex-shrink: 0;
 }

 .news-ticker-card::after {
     content: '';
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0);
     transition: background 0.25s ease;
     pointer-events: none;
 }

 .news-ticker-card:hover::after {
     background: rgba(0, 0, 0, 0.22);
 }

 .news-ticker-image {
     width: 100%;
     height: 160px;
     object-fit: cover;
     display: block;
 }

 .news-ticker-card-title {
     padding: 14px 14px 16px;
     font-size: 14px;
     font-weight: 600;
     line-height: 1.35;
     color: #1a1a1a;
 }

/* Responsive */
@media (max-width: 768px) {
    .news-ticker-viewport {
        padding: 14px;
        border-radius: 14px;
    }

    .section.news-ticker {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .news-ticker-card {
        width: 220px;
    }

    .news-ticker-image {
        height: 140px;
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .news-card {
        margin-bottom: 0;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-card-title {
        font-size: 18px;
    }
    
    .news-detail-title {
        font-size: 24px;
    }
    
    .news-detail-header {
        padding: 30px 20px 15px;
    }
    
    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-detail-images {
        padding: 20px;
    }
    
    .news-detail-content {
        padding: 0 20px 30px;
    }
    
    .news-detail-excerpt {
        font-size: 16px;
        padding: 15px;
    }
    
    .social-share {
        padding: 20px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-button {
        justify-content: center;
    }
}
