/* Общие стили */
* {
    scroll-padding-top: 60px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: auto !important;
    background-color: #fef5e7;
    color: #000831;
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    padding-top: 60px;
    /* только отступ, без display */
}

.main {
    flex: 1 0 auto;
    width: 100%;
}

p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 15px;
    font-weight: 400;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    opacity: 0.9;
}

h3,
h2,
h1 {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #000831;
    opacity: 0.9;
    margin-top: 15px;
    margin-bottom: 15px;
}

a {
    color: #000831;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

li {
    color: #000831;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    font-weight: normal;
    opacity: 0.9;
}

ul {
    list-style: disc inside;
    /* Маркеры + внутреннее позиционирование */
    margin: 0;
    padding: 0 0 15px 20px;
    /* Отступ только слева для маркеров, и снизу между абзацами */
}

/* Для вложенных списков — если есть */
ul ul {
    margin-top: 10px;
    padding-left: 20px;
}

.container {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    padding: 10px;
    box-sizing: border-box;
}

/* Секции */

.hero-bg {
    background-image: url('/img/IMG_1498_2.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;

}

.hero-content {
    min-height: 98vh;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.hero-text-block {
    font-family: "Vollkorn SC", serif;
    font-size: 16pt;
    background-color: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    padding: 0 10px;
    transform: translateX(0) translateY(0);
    /* Добавляем тень */
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6); /* мягкая белая тень */
    background-color: transparent;
}

.hero-text-block h1 {
    margin: 0;
}

.vollkorn-sc-regular {
    font-family: "Vollkorn SC", serif;
    font-weight: 400;
    font-style: normal;
}

.stylist-name {
    font-family: "Vollkorn SC", serif;
    font-size: 68px;
    margin: 0;
    line-height: 1.2;
}

.page,
.page-about,
.page-about-blog {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: flex-start;
    width: 100%;
    max-width: 1120px;
    margin: 15px auto;
    border-radius: 15px;
    box-sizing: border-box;
}

.page {
    padding: 20px;
    background-color: #fff;
}

.page-about-blog,
.page-about {
    justify-content: space-between;
    align-items: center;
}

.image-section-1 {
    flex: 0 0 355px;
    min-height: 600px;
    background-size: cover;
    background-position: center top;
    border-radius: 15px;
    transition: transform 0.3s ease;
    overflow: hidden;
    /* Скрываем лишнее изображение */
}

.about-section {
    padding: 50px 0;
    overflow: visible;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 110px;
    flex-wrap: wrap;
}

.image-column,
.text-section {
    flex: 1 1 auto;
    /* Гибкое сжатие */
    min-width: 0;
    /* Разрешаем сжатие */
}

.image-column img {
    max-width: 80%;
    height: auto;
    /* Сохраняем пропорции */
    border-radius: 10px;
}

.image-column-blog img {
    max-width: 100%;
    height: auto;
    /* Сохраняем пропорции */
    border-radius: 10px;
}

.text-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    /* Уменьшили отступы */
    padding: 0 10px;
    width: 100%;
}

.highlight-button {
    background: #000831;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 1s;
    text-decoration: none;
    color: #eee;
}

.highlight-button:hover {
    background: #8F1E28;
    text-decoration: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 998;
    display: none;
}

.hr {
    color: #333;
}

/* строка */
.scroll-marquee {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.marquee-container {
    position: relative;
    width: 100%;
    min-height: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
    font-family: 'Monrope', normal;
    font-size: 16px;
    color: #8F1E28;
    letter-spacing: 3px;
    transition: transform 0.1s ease;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    width: 250px;
    background-color: rgba(51, 51, 51, 0.9);
    /* Полупрозрачный темный фон */
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 100;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    transition: opacity 0.3s ease;
    font-size: 14px;
    backdrop-filter: blur(2px);
    /* эффект размытия фона */
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: transparent rgba(51, 51, 51, 0.9) transparent transparent;
}

.attention-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Футер */
.footer {
    background-color: #e7ddce;
    padding: 40px 20px;
    box-shadow: inset 0 10px 15px -5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin-top: auto
}

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

.footer-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contacts-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-left {
    flex: 0 0 auto;
}

.form-container {
    width: 100%;
    max-width: 600px;
    min-width: 500px;
    min-height: 410px;
    padding: 20px;
    background-color: white;
    border-radius: 7px;
    box-sizing: border-box;
}

.form-container iframe {
    width: 100%;
    height: 100%;
    min-height: 370px;
    max-height: 800px;
    border: none;
    border-radius: 7px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Дополнительные стили для социальных иконок */
.socials {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.socials a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.socials p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    margin-left: 5px;
}

.socials svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.qr-container {
    text-align: left;
}

.qr-code {
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
}

/* Cookie-баннер — светлая, дружелюбная версия */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff; /* белый фон */
  color: #333333; /* тёмно-серый текст */
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* лёгкая тень */
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid #eaeaea; /* тонкая рамка для изящности */
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

/* Иконка 🍪 */
.cookie-icon {
  font-size: 20px;
  margin-right: 10px;
  line-height: 1;
}

.cookie-banner__text {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0; /* для корректного переноса текста */
}

.cookie-banner p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
}

.cookie-banner a {
  color: #2979ff; /* приятный синий */
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-banner a:hover {
  color: #1e5fdb;
}

/* Кнопка — синяя, как в современных интерфейсах */
.cookie-banner__btn {
  background: #2979ff; /* яркий, но не агрессивный синий */
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(41, 121, 255, 0.2);
}

.cookie-banner__btn:hover {
  background: #1e69e6;
  box-shadow: 0 3px 8px rgba(41, 121, 255, 0.3);
}

.cookie-banner__btn:active {
  transform: scale(0.98);
}