:root {
    --revival-gold: #bfa07d;
    --revival-gold-light: #c4ae94;
    --revival-beige: #f5f1ed;
    --tabby-teal: #00ffbc;
    --transition-main: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background-color: white;
    color: #1a1a1a;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-main);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-hero-logo { animation: scaleIn 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.animate-hero-text { animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s forwards; opacity: 0; }
.animate-hero-cta { animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.9s forwards; opacity: 0; }

/* --- Components --- */
.whatsapp-btn {
    background-color: var(--revival-gold-light);
    color: white;
    transition: var(--transition-main);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 2px;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.whatsapp-btn:hover {
    background-color: #b39b7e;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(196, 174, 148, 0.3);
}

/* --- Modal (WhatsApp popup) --- */
.rc-modal[hidden] { display: none; }

.rc-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.rc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.rc-modal__dialog {
    position: relative;
    width: min(560px, calc(100% - 32px));
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 22px 20px 18px;
}

.rc-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
}

.rc-modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 30px 8px 0;
    color: #1a1a1a;
    font-size: 28px;
}

.rc-modal__text {
    margin: 0 0 16px 0;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.rc-modal__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.rc-modal__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rc-modal__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.65);
}

.rc-modal__input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 14px 14px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-main);
}

.rc-modal__input:focus {
    border-color: rgba(191, 160, 125, 0.8);
    box-shadow: 0 0 0 4px rgba(191, 160, 125, 0.18);
}

.rc-modal__primary {
    box-shadow: none;
}

.rc-modal__secondary {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    color: rgba(0, 0, 0, 0.75);
    padding: 14px 20px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-main);
}

.rc-modal__secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.rc-modal-open {
    overflow: hidden;
}

.treatment-card-img {
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
    filter: grayscale(10%);
}

.treatment-card:hover .treatment-card-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.glass-panel {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.expert-card {
    background: white;
    border: 1px solid #f0f0f0;
    transition: var(--transition-main);
}

.tabby-pill {
    background-color: var(--tabby-teal);
    color: black;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: lowercase;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}
.play-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.h-screen {
	height: 100vh;
}

.aspect-video {
    aspect-ratio: 1 / 1!important;
}

.transition-transform {
    transition-property: none!important;
}

.group:hover .group-hover\:scale-105 {
    transform: none!important;
}

.brightness-\[0\.25\] {
    --tw-brightness: brightness(0.45)!important;
}	

.parallax {
  /* Изображение фона */
  background-image: url('../img/hero-bg.jpg');
  --tw-brightness: brightness(0.85);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  
  /* Фиксация фона */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  
  /* Высота блока */
  height: 165vh;
}

.parallax-reservation {
  /* Изображение фона */
  background-image: url('../img/Reservation.jpg');
  --tw-brightness: brightness(0.45);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  
  /* Фиксация фона */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  
  /* Высота блока */
  height: 100vh;
}

@media (max-width: 600px) {
	
	/* Modal tweaks for small screens */
	.rc-modal__dialog {
		width: 90vw;
	}

	/* Prevent iOS Safari zoom-on-focus (requires >= 16px) */
	.rc-modal__input {
		font-size: 16px;
	}
	
	.parallax {
		background-attachment: unset;
	}
	
	.parallax-reservation {
		background-attachment: unset;
	}
	
}