/* Все стили остаются без изменений */
:root {
    --tiffany-blue: #81d8d0;
    --tiffany-dark: #0abab5;
    --tiffany-light: #b9e6e2;
    --tiffany-very-light: #e0f2f1;
    --tiffany-shadow: #4aaaa5;
    --tiffany-darkest: #008080;
    --ivory-white: #fffff0;
    --pearl-white: #f8f8ff;
    --platinum: #e5e4e2;
    --silver: #c0c0c0;
    --dark-charcoal: #2c2c2c;
    --soft-black: #1a1a1a;
    --accent-gold: #d4af37;
    --light-gold: #f5e8aa;
    --rose-gold: #b76e79;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--ivory-white);
    color: var(--dark-charcoal);
    line-height: 1.7;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(129, 216, 208, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 10%, rgba(129, 216, 208, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 90%, rgba(129, 216, 208, 0.04) 0%, transparent 20%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230abab5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

/* Декоративные кристаллы Тиффани */
.tiffany-crystal {
    position: fixed;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, var(--tiffany-light) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

.crystal-1 {
    top: 15%;
    left: 5%;
    width: 150px;
    height: 150px;
}

.crystal-2 {
    top: 10%;
    right: 10%;
}

.crystal-3 {
    bottom: 20%;
    left: 15%;
    width: 120px;
    height: 120px;
}

.crystal-4 {
    bottom: 10%;
    right: 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Элегантный орнамент */
.elegant-border {
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='40' viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 Q150,5 300,20 T600,20 T900,20 T1200,20' stroke='%230abab5' stroke-width='1.5' fill='none' opacity='0.5'/%3E%3Cpath d='M0,25 Q150,10 300,25 T600,25 T900,25 T1200,25' stroke='%2381d8d0' stroke-width='1' fill='none' opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    margin: 30px 0;
}

/* Шапка с логотипом в стиле Тиффани */
header {
    padding: 40px 0 30px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    position: relative;
    border-bottom: 2px solid var(--tiffany-light);
    box-shadow: 0 5px 20px rgba(129, 216, 208, 0.1);
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='tiffanyPattern' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='2' fill='%2381d8d0' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='url(%23tiffanyPattern)'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.logo-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 50px 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 2px solid var(--tiffany-blue);
    box-shadow: 
        0 10px 30px rgba(129, 216, 208, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.logo-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,20 Q70,40 50,60 Q30,80 50,100' stroke='%230abab5' stroke-width='2' fill='none' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.decoration-tl { top: 15px; left: 15px; }
.decoration-tr { top: 15px; right: 15px; transform: rotate(90deg); }
.decoration-bl { bottom: 15px; left: 15px; transform: rotate(270deg); }
.decoration-br { bottom: 15px; right: 15px; transform: rotate(180deg); }

.logo {
    position: relative;
    z-index: 2;
}

.logo h1 {
    font-family: 'Marcellus', serif;
    font-size: 3.8rem;
    color: var(--tiffany-darkest);
    text-shadow: 1px 1px 3px rgba(0, 128, 128, 0.1);
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    font-weight: 400;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tiffany-blue), transparent);
}

.logo p {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--tiffany-dark);
    font-style: normal;
    letter-spacing: 1px;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(10, 186, 181, 0.1);
}

.logo-subtitle {
    font-family: 'Petit Formal Script', cursive;
    font-size: 1.6rem;
    color: var(--silver);
    margin-top: 15px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Навигация с иконками */
nav {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 1000px;
    border: 1px solid var(--tiffany-light);
    box-shadow: 0 8px 25px rgba(129, 216, 208, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(129, 216, 208, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    position: relative;
    z-index: 2;
}

.nav-menu li {
    margin: 0;
    flex: 1;
    min-width: 150px;
    text-align: center;
    border-right: 1px solid rgba(129, 216, 208, 0.3);
    position: relative;
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    color: var(--tiffany-darkest);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(129, 216, 208, 0.05) 100%);
}

.nav-menu a i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--tiffany-blue);
    transition: all 0.3s ease;
}

.nav-menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tiffany-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.nav-menu a:hover {
    background: linear-gradient(to bottom, rgba(129, 216, 208, 0.1) 0%, rgba(129, 216, 208, 0.2) 100%);
    color: var(--tiffany-dark);
}

.nav-menu a:hover i {
    color: var(--tiffany-dark);
    transform: translateY(-3px);
}

.nav-menu a:hover::before {
    transform: translateX(0);
}

.nav-menu a.active {
    background: linear-gradient(to bottom, rgba(129, 216, 208, 0.15) 0%, rgba(129, 216, 208, 0.25) 100%);
    color: var(--tiffany-dark);
    font-weight: 600;
}

.nav-menu a.active i {
    color: var(--tiffany-dark);
}

.nav-menu a.active::before {
    transform: translateX(0);
    background: linear-gradient(90deg, transparent, var(--tiffany-dark), var(--tiffany-blue), var(--tiffany-dark), transparent);
    height: 3px;
}

/* Основной контент */
main {
    padding: 40px 0 60px;
    min-height: 70vh;
    position: relative;
}

.section {
    display: none;
    padding: 50px 45px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 
        0 15px 40px rgba(129, 216, 208, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    border: 1px solid var(--tiffany-light);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='sectionPattern' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='40' cy='40' r='1' fill='%2381d8d0' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='url(%23sectionPattern)'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.section-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' stroke='%2381d8d0' stroke-width='1' fill='none' opacity='0.3'/%3E%3Ccircle cx='50' cy='50' r='30' stroke='%230abab5' stroke-width='0.5' fill='none' opacity='0.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}

.section-decoration-tl { top: 20px; left: 20px; }
.section-decoration-tr { top: 20px; right: 20px; }
.section-decoration-bl { bottom: 20px; left: 20px; }
.section-decoration-br { bottom: 20px; right: 20px; }

.section.active {
    display: block;
}

.section h2 {
    color: var(--tiffany-darkest);
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tiffany-blue);
    letter-spacing: 1.2px;
    font-weight: 500;
    position: relative;
    text-align: center;
}

.section h2::before, .section h2::after {
    content: "❖";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tiffany-blue);
    font-size: 1.5rem;
    opacity: 0.6;
}

.section h2::before {
    left: 0;
}

.section h2::after {
    right: 0;
}

.section h3 {
    color: var(--tiffany-dark);
    margin: 35px 0 22px;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    border-left: 3px solid var(--tiffany-blue);
    padding-left: 20px;
    position: relative;
}

.section h3 i {
    margin-right: 10px;
    color: var(--tiffany-blue);
}

.section h3::before {
    content: "●";
    position: absolute;
    left: -10px;
    top: 0;
    color: var(--tiffany-blue);
    font-size: 1.2rem;
}

.section p {
    margin-bottom: 22px;
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--dark-charcoal);
}

.section ul, .section ol {
    margin-left: 30px;
    margin-bottom: 30px;
}

.section li {
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    padding-left: 10px;
    color: var(--dark-charcoal);
}

.section li i {
    color: var(--tiffany-blue);
    margin-right: 8px;
}

.section li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--tiffany-blue);
    font-size: 1.5rem;
}

.highlight {
    background-color: rgba(129, 216, 208, 0.08);
    border-left: 4px solid var(--tiffany-blue);
    padding: 28px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.3rem;
    position: relative;
    box-shadow: inset 0 0 10px rgba(129, 216, 208, 0.1);
    color: var(--tiffany-darkest);
}

.highlight::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--tiffany-blue);
    font-size: 3.5rem;
    font-family: 'Times New Roman', serif;
    opacity: 0.3;
}

/* Карты метафорические - интерактивные */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 1100px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

.card-set {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 35px;
    border: 2px solid var(--tiffany-blue);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(129, 216, 208, 0.15);
    transition: all 0.4s ease;
}

.card-set:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(129, 216, 208, 0.25);
}

.card-set-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--tiffany-light);
}

.card-set-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(129, 216, 208, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border: 2px solid var(--tiffany-blue);
    transition: all 0.3s ease;
}

.card-set-icon i {
    font-size: 2.5rem;
    color: var(--tiffany-dark);
    transition: all 0.3s ease;
}

.card-set-title {
    flex: 1;
}

.card-set-title h3 {
    color: var(--tiffany-darkest);
    font-family: 'Cinzel', serif;
    font-size: 1.9rem;
    margin-bottom: 5px;
    border: none;
    padding: 0;
}

.card-set-title h3::before {
    display: none;
}

.card-set-subtitle {
    color: var(--tiffany-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
}

.card-set-content {
    margin-top: 20px;
}

.card-features {
    margin-top: 20px;
}

.card-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card-feature i {
    color: var(--tiffany-blue);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1.1rem;
}

/* Интерактивные карты - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.interactive-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.interactive-card {
    width: 120px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.6s, box-shadow 0.3s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.interactive-card:hover {
    transform: translateY(-15px) rotateY(10deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    text-align: center;
}

.card-front {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.card-back {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 15px;
    font-size: 0.9rem;
}

.interactive-card:nth-child(1) .card-front {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}

.interactive-card:nth-child(1) .card-back {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

.interactive-card:nth-child(2) .card-front {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.interactive-card:nth-child(2) .card-back {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.interactive-card:nth-child(3) .card-front {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.interactive-card:nth-child(3) .card-back {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

.interactive-card:nth-child(4) .card-front {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.interactive-card:nth-child(4) .card-back {
    background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
}

.interactive-card:nth-child(5) .card-front {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.interactive-card:nth-child(5) .card-back {
    background: linear-gradient(135deg, #fee140 0%, #fa709a 100%);
}

.card-front::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 7px;
}

.card-symbol {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-name {
    font-size: 1rem;
    font-weight: 600;
}

.card-description {
    font-size: 0.85rem;
    margin-top: 10px;
    line-height: 1.4;
}

/* Иконки в разделах */
.icon-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(129, 216, 208, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 2px solid var(--tiffany-blue);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: rgba(129, 216, 208, 0.25);
}

.icon-circle i {
    font-size: 2.2rem;
    color: var(--tiffany-dark);
}

.icon-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--tiffany-darkest);
    font-weight: 500;
}

/* Профиль Лидии Суриной */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
}

.profile-photo {
    flex: 0 0 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(129, 216, 208, 0.2);
    border: 2px solid var(--tiffany-blue);
    position: relative;
}

.profile-photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

.profile-photo-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(129, 216, 208, 0.1) 100%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

/* Курсы и мероприятия с иконками */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.course-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.4s ease;
    border: 1px solid var(--tiffany-light);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(129, 216, 208, 0.1);
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(129, 216, 208, 0.05) 100%);
    z-index: 0;
}

.course-card-content {
    position: relative;
    z-index: 1;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--tiffany-blue);
    box-shadow: 0 15px 35px rgba(129, 216, 208, 0.25);
}

.course-card h4 {
    color: var(--tiffany-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-card h4 i {
    color: var(--tiffany-blue);
}

/* Карта */
.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(129, 216, 208, 0.15);
    height: 400px;
    background-color: var(--tiffany-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tiffany-light);
    position: relative;
}

.map-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 95%, rgba(129, 216, 208, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Контактная информация с иконками */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--tiffany-light);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(129, 216, 208, 0.1);
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--tiffany-blue), var(--tiffany-dark));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.contact-card:hover {
    border-color: var(--tiffany-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(129, 216, 208, 0.2);
}

.contact-card:hover::before {
    transform: translateX(0);
}

.contact-card h4 {
    color: var(--tiffany-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card h4 i {
    color: var(--tiffany-blue);
}

/* Изящные разделители */
.tiffany-divider {
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='20' viewBox='0 0 1200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,10 Q200,0 400,10 T800,10 T1200,10' stroke='%2381d8d0' stroke-width='1' fill='none'/%3E%3Cpath d='M0,15 Q200,5 400,15 T800,15 T1200,15' stroke='%230abab5' stroke-width='0.5' fill='none' opacity='0.7'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    margin: 40px 0;
}

/* Подвал с иконками */
footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 50px 0 40px;
    text-align: center;
    border-top: 2px solid var(--tiffany-light);
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='footerPattern' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='40' cy='40' r='2' fill='%230abab5' opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='url(%23footerPattern)'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

footer p {
    color: var(--tiffany-darkest);
    margin-bottom: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    color: var(--tiffany-dark);
    margin-bottom: 25px;
    letter-spacing: 1.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.social-links a {
    color: var(--tiffany-dark);
    font-size: 1.8rem;
    transition: all 0.4s ease;
    background-color: rgba(129, 216, 208, 0.1);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(129, 216, 208, 0.3);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(129, 216, 208, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.4s ease;
}

.social-links a:hover {
    color: var(--tiffany-dark);
    background-color: rgba(129, 216, 208, 0.2);
    transform: translateY(-5px);
    border-color: var(--tiffany-blue);
    box-shadow: 0 10px 20px rgba(129, 216, 208, 0.2);
}

.social-links a:hover::before {
    transform: scale(1);
}

.copyright {
    margin-top: 35px;
    font-size: 1rem;
    color: var(--silver);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .tiffany-crystal {
        display: none;
    }
}

@media (max-width: 992px) {
    .logo h1 {
        font-size: 3rem;
    }
    
    .logo p {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu li {
        border-right: none;
        border-bottom: 1px solid rgba(129, 216, 208, 0.3);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .section {
        padding: 40px 30px;
    }
    
    .profile-container {
        flex-direction: column;
    }
    
    .profile-photo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .logo p {
        font-size: 1.8rem;
    }
    
    .logo-subtitle {
        font-size: 1.4rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .section h2::before, .section h2::after {
        display: none;
    }
    
    .courses-grid, .contact-info {
        grid-template-columns: 1fr;
    }
    
    .section p {
        font-size: 1.2rem;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .card-set-header {
        flex-direction: column;
        text-align: center;
    }
    
    .card-set-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .interactive-card {
        width: 100px;
        height: 150px;
    }
}

/* Ювелирная тень для текста */
.jewel-text-shadow {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 
                 0 2px 5px rgba(129, 216, 208, 0.2);
}

/* Анимация для карты */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}