/* World Ocean Trip: косметика 26.10.2026. Подключается после responsive.css на обоих сайтах. */

/* Текст легче читается: мягкая тень вместо тяжелой черной */
#center h1, #center h2, #center h3, #center h4, #center p, #center li, #center td, #center th,
#center .el-content div, #left a, #right p, #right h4, #right h5 {
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

/* Кнопки вместо картинок «Подробнее» */
.el-content a.wot-btn, a.wot-btn, .wot-btn {
	display: inline-block;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: #f2a71b;
	color: #10324f;
	font: 700 15px/1.1 Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-indent: 0;
	text-shadow: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
	cursor: pointer;
}
.el-content a.wot-btn:hover, a.wot-btn:hover {
	background: #ffbf3f;
	color: #10324f;
	text-decoration: none;
	border-bottom: 0;
}
a.wot-btn:focus-visible, .wot-tile:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Плитки разделов на главной */
.wot-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 10px 0 18px;
}
.el-content a.wot-tile, a.wot-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	text-decoration: none;
}
.el-content .wot-tile img, .wot-tile img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	margin: 0 !important;
	border-radius: 0;
	box-shadow: none;
}
.wot-tile span {
	position: absolute;
	inset: auto 0 0 0;
	padding: 22px 12px 10px;
	background: linear-gradient(transparent, rgba(3, 25, 50, .85));
	color: #fff;
	font: 700 17px/1.2 Arial, Helvetica, sans-serif;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.el-content a.wot-tile:hover span { color: #ffd27a; }
.wot-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 16px;
	text-indent: 0 !important;
}

@media (max-width: 960px) {
	/* Текст на узких экранах по левому краю, без красной строки */
	.el-content p, .el-content div, .el-content li {
		text-align: left !important;
		text-indent: 0 !important;
	}
	.el-content p { line-height: 1.6; }
}

@media (max-width: 640px) {
	/* Таблицы цен: читаемый шрифт, широкие прокручиваются вбок */
	#el-content table { display: block; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
	#el-content th, #el-content td, #el-content th span, #el-content td span { font-size: 14px !important; }
	#el-content th, #el-content td { padding: 8px 6px; }
	#el-content td[width], #el-content th[width] { width: auto !important; }
	.wot-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }

	/* Шапка ниже, чтобы содержимое начиналось раньше */
	#header { height: 250px; background-size: auto 250px; background-position: center top; }
	#phones { margin-top: 125px; }
	#pbody { padding-top: 84px; }
}

/* 27.10.2026: кнопка «Связаться» внизу справа вместо чата Jivo и полосы со звонком: WhatsApp, Telegram, почта */
.wsc { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 9000; font-family: Arial, Helvetica, sans-serif; line-height: 1.2; text-indent: 0; text-align: left; }
.wsc__btn { position: relative; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border: 0; border-radius: 50%; padding: 0; cursor: pointer; color: #fff;
	background: linear-gradient(135deg, #1c6aa8, #0b3d66); box-shadow: 0 6px 18px rgba(4, 26, 52, .45), 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
.wsc__btn:hover { transform: scale(1.06); }
.wsc__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #f2a71b; }
.wsc__btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s ease, transform .25s ease; }
.wsc__btn .wsc__x { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
.wsc.is-open .wsc__chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.wsc.is-open .wsc__x { opacity: 1; transform: none; }
.wsc__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(242, 167, 27, .55); pointer-events: none; }
.wsc.is-wiggle .wsc__btn { animation: wsc-wiggle .9s ease-in-out; }
.wsc.is-wiggle .wsc__ring { animation: wsc-ring 1.4s ease-out; }
@keyframes wsc-wiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(12deg); } 45% { transform: rotate(-9deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
@keyframes wsc-ring { 0% { box-shadow: 0 0 0 0 rgba(242, 167, 27, .55); } 100% { box-shadow: 0 0 0 16px rgba(242, 167, 27, 0); } }
.wsc__bubble { position: absolute; right: 68px; bottom: 9px; width: max-content; max-width: min(240px, calc(100vw - 104px)); padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #fff; color: #10324f; font-size: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(6px) scale(.96); transform-origin: 100% 100%; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; white-space: normal; text-shadow: none; }
.wsc.is-hello .wsc__bubble { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wsc__dots { display: inline-flex; gap: 5px; padding: 3px 2px; }
.wsc__dots i { width: 7px; height: 7px; border-radius: 50%; background: #1c6aa8; animation: wsc-dot 1.1s infinite ease-in-out; }
.wsc__dots i:nth-child(2) { animation-delay: .15s; }
.wsc__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes wsc-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.wsc__text { display: none; }
.wsc.is-text .wsc__text { display: block; }
.wsc.is-text .wsc__dots { display: none; }
.wsc__panel { position: absolute; right: 0; bottom: 70px; width: max-content; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; visibility: hidden; pointer-events: none; transition: visibility 0s linear .3s; }
.wsc.is-open .wsc__panel { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.wsc__title { margin: 0 4px 2px 0; padding: 4px 10px; border-radius: 999px; background: rgba(4, 26, 52, .92); color: #fff; font-size: 13px; font-weight: 700; text-shadow: none; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.wsc__item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 18px 4px 4px; border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px) scale(.9); transform-origin: 100% 50%; transition: opacity .2s ease, transform .25s cubic-bezier(.2, .9, .3, 1.3), box-shadow .2s ease; transition-delay: calc(var(--i) * 40ms); }
/* цвет и фон отдельно и сильнее общих правил ссылок сайта */
.wsc a.wsc__item, .wsc a.wsc__item:link, .wsc a.wsc__item:visited, .wsc a.wsc__item:hover, .wsc a.wsc__item:focus { border: 0; background: #fff; color: #10324f; text-decoration: none; text-shadow: none; }
.wsc__item:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.wsc__item:focus-visible { outline: 3px solid #f2a71b; outline-offset: 2px; }
.wsc__ico { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #eef5fb; color: #1c6aa8; }
.wsc__ico svg { width: 26px; height: 26px; display: block; }
.wsc__ico .wsc__line { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wsc.is-open .wsc__title, .wsc.is-open .wsc__item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .wsc, .wsc * { animation: none !important; transition: none !important; } }
@media print { .wsc { display: none; } }
