/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B4E71;
    --primary-dark: #543B58;
    --primary-light: #8B6E91;
    --secondary-color: #C9A9A6;
    --secondary-dark: #B89592;
    --accent-color: #D4B5B0;
    --accent-light: #E8D5D0;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-light: #F8F6F4;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #F8F6F4 0%, #FFFFFF 50%, #F8F6F4 100%);
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(107, 78, 113, 0.2);
    --gradient-primary: linear-gradient(135deg, #6B4E71 0%, #8B6E91 100%);
    --gradient-soft: linear-gradient(135deg, rgba(107, 78, 113, 0.1) 0%, rgba(201, 169, 166, 0.1) 100%);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    background-image: var(--gradient-soft);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    max-width: 1400px;
} 

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}



@keyframes expandWidth2 {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(107, 78, 113, 0.1);
}

.header.scrolled {
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    transition: all var(--transition-normal);
}

.logo h1:hover {
    transform: scale(1.05);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-position: right center;
    animation: gradientMove 3s ease infinite;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 78, 113, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 166, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1.2rem 1.8rem;
    background: linear-gradient(135deg, rgba(107, 78, 113, 0.08) 0%, rgba(201, 169, 166, 0.08) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.hero-location:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.location-icon {
    font-size: 1.5rem;
}

.location-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 78, 113, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

.feature-item:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: numberPulse 2s ease-in-out infinite;
    position: relative;
}

.feature-item:hover .feature-number {
    animation: numberBounce 0.6s ease;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
        background-position: 0% 50%;
    }
    50% {
        transform: scale(1.05);
        background-position: 100% 50%;
    }
}

@keyframes numberBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.3s both;
}

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

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 78, 113, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* About Section */
.about {
    background: var(--bg-light);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text .intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-text .atmosphere-text {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(107, 78, 113, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Location Section */
.location {
    background: var(--bg-white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(107, 78, 113, 0.1);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    animation: gradientMove 3s ease infinite;
}

.location-card:hover::before {
    animation: gradientMove 1s ease infinite;
}

.location-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.location-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(107, 78, 113, 0.2));
}

.location-card:hover .location-icon-large {
    animation: iconFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(107, 78, 113, 0.4));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.address-main,
.metro-name,
.building-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.address-district,
.metro-distance,
.building-year {
    font-size: 1rem;
    color: var(--text-light);
}

.location-description {
    padding: 1rem;
}

.location-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: transform var(--transition-normal);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 78, 113, 0.1) 0%, transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Cabinet Section */
.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.cabinet-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(107, 78, 113, 0.1);
    position: relative;
}

.cabinet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    z-index: 1;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.cabinet-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-primary);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.cabinet-card:hover::after {
    opacity: 0.3;
}

.cabinet-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.cabinet-card:hover::before {
    transform: scaleX(1);
}

.cabinet-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.cabinet-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 78, 113, 0.2) 0%, transparent 50%, rgba(201, 169, 166, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.cabinet-card:hover .cabinet-image::after {
    opacity: 1;
    animation: gradientShift 3s ease infinite;
}

.cabinet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cabinet-card:hover .cabinet-image img {
    transform: scale(1.1);
}

.cabinet-info {
    padding: 1.5rem;
}

.cabinet-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cabinet-status {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cabinet-status.available {
    background: #E8F5E9;
    color: #2E7D32;
}

.cabinet-status.occupied {
    background: #FFF3E0;
    color: #E65100;
}

.cabinet-status.rented {
    background: #E3F2FD;
    color: #1976D2;
}

.cabinet-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(107, 78, 113, 0.08) 0%, rgba(201, 169, 166, 0.08) 100%);
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(107, 78, 113, 0.2);
    position: relative;
    overflow: hidden;
}

.cabinet-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s;
}

.cabinet-card:hover .cabinet-price::before {
    left: 100%;
    animation: shimmerPrice 2s ease-in-out infinite;
}

@keyframes shimmerPrice {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.cabinet-price::after {
    content: '₽/мес.';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.5;
    animation: pricePulse 2s ease-in-out infinite;
    pointer-events: none;
}

.cabinet-price.first::after {
    content: '₽/день';
}

@keyframes pricePulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.1);
    }
}

.cabinet-price-info {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    margin: 1rem 0;
    padding: 0.5rem;
    text-align: center;
    font-style: italic;
}

.cabinet-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
}

.cabinet-common-features {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.cabinet-common-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
}

.common-features-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.common-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 500;
    color: var(--text-dark);
}

.common-feature-item .feature-icon {
    font-size: 1.5rem;
}

.cabinet-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.cabinet-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.cabinet-benefits {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.cabinet-benefits h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(107, 78, 113, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 12px rgba(107, 78, 113, 0.3));
    animation: iconBounce 0.8s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.3) rotate(-10deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Amenities Section */
.amenities {
    background: var(--bg-light);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.amenity-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(107, 78, 113, 0.1);
    position: relative;
    overflow: hidden;
}

.amenity-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 78, 113, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.amenity-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.amenity-card:hover::after {
    opacity: 1;
}

.amenity-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.amenity-card:hover .amenity-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 12px rgba(107, 78, 113, 0.3));
    animation: iconSpin 0.6s ease;
}

@keyframes iconSpin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
    100% {
        transform: scale(1.2) rotate(5deg);
    }
}

.amenity-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.amenity-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.amenities-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.amenity-detail-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.amenity-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.detail-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery {
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    height: 400px;
    border: 1px solid rgba(107, 78, 113, 0.1);
    transition: all var(--transition-normal);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 78, 113, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(107, 78, 113, 0.2);
    border-color: var(--primary-light);
}

.gallery-item:hover::before {
    opacity: 1;
    animation: gradientShift 3s ease infinite;
}

.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    opacity: 0;
    z-index: 2;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contacts Section */
.contacts-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #5a3f5f;
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.3rem;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(107, 78, 113, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(107, 78, 113, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.contact-form:focus-within::after {
    opacity: 1;
}

.whatsapp-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.whatsapp-contact h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.whatsapp-contact p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 32px;
    padding-right: 32px;
    font-size: 1.05rem;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.25) 45%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s var(--transition-smooth), opacity 0.6s var(--transition-smooth);
    pointer-events: none;
}

.btn-whatsapp::after {
    display: none;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #39e27c 0%, #18ab93 100%);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(18, 140, 126, 0.35);
}

.btn-whatsapp:hover::before {
    transform: scale(1.6);
    opacity: 1;
}

.btn-whatsapp .emoji {
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(107, 78, 113, 0.1), 0 4px 12px rgba(107, 78, 113, 0.15);
    transform: translateY(-2px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(248, 246, 244, 0.5));
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateX(5px);
    transition: all var(--transition-normal);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cabinet-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenities-details {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-features {
        justify-content: center;
    }

    .feature-number {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Loading Animation */
img {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
    will-change: opacity, transform;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image loading shimmer effect */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

img[loading="lazy"]:not([src=""]) {
    background: none;
    animation: fadeIn 0.8s ease-in forwards;
}

/* Scroll Progress Indicator */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--scroll-progress, 0%);
    height: 4px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 15px rgba(107, 78, 113, 0.6), 0 0 30px rgba(107, 78, 113, 0.3);
    animation: progressShimmer 2s ease infinite;
}

@keyframes progressShimmer {
    0% {
        background-position: 0% 0;
        box-shadow: 0 0 15px rgba(107, 78, 113, 0.6), 0 0 30px rgba(107, 78, 113, 0.3);
    }
    50% {
        background-position: 100% 0;
        box-shadow: 0 0 20px rgba(107, 78, 113, 0.8), 0 0 40px rgba(107, 78, 113, 0.5);
    }
    100% {
        background-position: 0% 0;
        box-shadow: 0 0 15px rgba(107, 78, 113, 0.6), 0 0 30px rgba(107, 78, 113, 0.3);
    }
}

/* Enhanced Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Decorative Elements */
.section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    top: 0;
    left: 0;
    opacity: 0.5;
}

/* Floating particles effect */
.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(107, 78, 113, 0.1), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(201, 169, 166, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(107, 78, 113, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(201, 169, 166, 0.1), transparent);
    background-size: 200% 200%;
    animation: particles 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particles {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 80%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 50% 50%, 20% 20%;
    }
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(107, 78, 113, 0.2);
}

/* Smooth page transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Selection styling */
::selection {
    background: rgba(107, 78, 113, 0.3);
    color: var(--text-dark);
}

::-moz-selection {
    background: rgba(107, 78, 113, 0.3);
    color: var(--text-dark);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
    transition: background var(--transition-normal);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading state */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

