:root {
    --bg: #0f172a;
    --text: #0b1020;
    --muted: #58627a;
    --brand: #e91e8c;
    --brand-2: #d4a017;
    --surface: #ffffff;
    --surface-2: #fff8f9
}

:root {
    --gold-start: #d4a017;
    --gold-mid: #f0c040;
    --gold-end: #b8860b
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #fdf2f4
}

body::before {
    content: "";
    position: fixed;
    inset: -60px;
    z-index: -1;
    background: radial-gradient(900px circle at -5% -10%, #fdf2f4 0%, transparent 60%), radial-gradient(900px circle at 105% 20%, #fff0f3 0%, transparent 58%), repeating-linear-gradient(90deg, rgba(180, 80, 120, .025) 0 2px, transparent 2px 24px), linear-gradient(180deg, #fff8f9 0%, #fdf2f4 100%)
}

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

.navbar {
    position: sticky;
    top: 0;
    background: var(--surface);
    border-bottom: 1px solid #fce4ec;
    z-index: 50
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.brand {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px
}

.logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-start), var(--gold-mid), var(--gold-end));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(212, 160, 23, .25)
}

.logo .psi {
    font-weight: 800;
    color: #fff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25))
}

#nav {
    display: flex;
    gap: 18px;
    align-items: center
}

#nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500
}

#nav a.cta {
    color: #fff;
    background: var(--brand);
    padding: 8px 14px;
    border-radius: 10px
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 24px
}

.interactive-text {
    cursor: pointer;
    position: relative
}

.interactive-text.active {
    color: var(--brand)
}

.interactive-text::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #e91e8c, #d4a017);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s
}

.interactive-text.active::after {
    transform: scaleX(1)
}

.signature {
    color: #0b1020
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff0f3 0%, #fff 100%);
    padding: 80px 0
}

.hero .container {
    position: relative;
    z-index: 2
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none
}

.blob {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 40% 60% 50% 70%;
    filter: blur(22px);
    opacity: .28
}

.blob-a {
    background: linear-gradient(135deg, #e91e8c, #f48fb1);
    top: -40px;
    left: -40px;
    animation: floatA 9s ease-in-out infinite
}

.blob-b {
    background: linear-gradient(135deg, #d4a017, #f0c040);
    bottom: -60px;
    right: -20px;
    animation: floatB 11s ease-in-out infinite
}

.blob-c {
    background: linear-gradient(135deg, #f48fb1, #d4a017);
    top: 30%;
    left: 60%;
    animation: floatC 13s ease-in-out infinite
}

.glass {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 340px;
    height: 160px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .35);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 24px;
    backdrop-filter: blur(12px)
}

@keyframes floatA {
    0% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(30px, 20px)
    }

    100% {
        transform: translate(0, 0)
    }
}

@keyframes floatB {
    0% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-20px, -30px)
    }

    100% {
        transform: translate(0, 0)
    }
}

@keyframes floatC {
    0% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(25px, -20px)
    }

    100% {
        transform: translate(0, 0)
    }
}

.hero h1 {
    font-size: 42px;
    margin: 0 0 12px;
    color: var(--bg)
}

.hero p {
    max-width: 800px;
    font-size: 18px;
    color: var(--muted)
}

.actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: var(--brand);
    border: 1px solid var(--brand);
    transition: transform .08s ease
}

.button:hover {
    transform: translateY(-1px)
}

.button.primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand)
}

.button.large {
    padding: 16px 22px;
    font-size: 18px
}

.section {
    padding: 64px 0
}

.section.alt {
    background: #fff0f3
}

.grid {
    display: grid;
    gap: 24px
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.area-grid {
    margin-top: 12px
}

.area-card {
    border: 1px solid #fce4ec;
    transition: box-shadow .2s, border-color .2s
}

.area-card:hover {
    border-color: #f8bbd0;
    box-shadow: 0 10px 24px rgba(180, 80, 120, .08)
}

.badges {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.badges li {
    background: #fff0f3;
    color: var(--bg);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px
}

.profile img {
    width: 100%;
    max-width: 360px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(180, 80, 120, .12)
}

.card {
    background: #fff;
    border: 1px solid #fce4ec;
    border-radius: 16px;
    padding: 20px
}

.card.wide {
    padding: 24px
}

.pill {
    display: inline-block;
    margin: 6px 8px 0 0;
    background: #fff;
    border: 1px solid #fce4ec;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 999px
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid #fce4ec
}

.img-soft {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 14px;
    border: 1px solid #fce4ec;
    box-shadow: 0 10px 24px rgba(180, 80, 120, .08)
}

.card.wide img {
    max-width: 360px
}

.contact-form {
    margin-top: 16px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #f8bbd0;
    border-radius: 10px;
    font-size: 15px
}

.contact-form textarea {
    resize: vertical
}

.form-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.map {
    margin-top: 24px;
    border: 1px solid #fce4ec;
    border-radius: 16px;
    overflow: hidden
}

.map iframe {
    width: 100%;
    height: 320px;
    border: 0
}

.contacts {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    gap: 8px
}

.contacts a {
    text-decoration: none;
    color: var(--brand);
    font-weight: 600
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.footer {
    padding: 28px 0;
    background: var(--surface);
    border-top: 1px solid #fce4ec;
    color: var(--muted)
}

#nav a:focus-visible,
.button:focus-visible {
    outline: 3px solid #e91e8c;
    outline-offset: 3px;
    border-radius: 10px
}

.menu-toggle:focus-visible {
    outline: 3px solid #e91e8c;
    outline-offset: 3px
}

@media (max-width:900px) {
    .grid.two {
        grid-template-columns: 1fr
    }

    .grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .cta-box {
        justify-content: flex-start
    }

    .card.wide .grid.two {
        grid-template-columns: 1fr
    }

    .profile img {
        max-width: 280px
    }
}

@media (max-width:700px) {
    #nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #fce4ec;
        padding: 12px 20px
    }

    #nav a {
        padding: 12px 8px
    }

    .menu-toggle {
        display: block
    }

    .hero h1 {
        font-size: 34px
    }

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

    .profile img {
        max-width: 240px
    }
}

body[data-theme="dark"] {
    --bg: #1a0a12;
    --text: #e5e7eb;
    --muted: #9aa3b2;
    --brand: #f48fb1;
    --brand-2: #d4a017;
    --surface: #1c0e15;
    --surface-2: #1a0a12
}

body[data-theme="dark"]::before {
    background: radial-gradient(900px circle at -5% -10%, #2a101a 0%, transparent 60%), radial-gradient(900px circle at 105% 20%, #2a1520 0%, transparent 58%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 24px), linear-gradient(180deg, #1a0a12 0%, #150810 100%)
}

body[data-theme="dark"] .navbar {
    background: var(--surface);
    border-bottom-color: #3a1520
}

body[data-theme="dark"] .theme-toggle {
    border-color: #3a1520;
    background: linear-gradient(180deg, #1a0a12, #1c0e15);
    color: #e5e7eb
}

.theme-toggle {
    margin-left: 8px;
    border: 1px solid #f8bbd0;
    background: linear-gradient(180deg, #fff8f9, #fdf2f4);
    color: #0b1020;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer
}

body[data-theme="dark"] .signature {
    color: #e5e7eb
}

body[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #2a101a 0%, #1a0a12 100%)
}

body[data-theme="dark"] .glass {
    background: rgba(26, 10, 18, .35);
    border-color: rgba(255, 255, 255, .2)
}

body[data-theme="dark"] .hero h1 {
    color: #e5e7eb
}

body[data-theme="dark"] .button {
    color: #f48fb1;
    border-color: #f48fb1
}

body[data-theme="dark"] .button.primary {
    background: #c2185b;
    border-color: #c2185b
}

body[data-theme="dark"] .section.alt {
    background: #1a0a12
}

body[data-theme="dark"] .area-card {
    border-color: #3a1520;
    background: #1c0e15
}

body[data-theme="dark"] .area-card:hover {
    border-color: #4a2030;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35)
}

body[data-theme="dark"] .badges li {
    background: #1a0a12;
    color: #e5e7eb;
    border: 1px solid #3a1520
}

body[data-theme="dark"] .card {
    background: #1c0e15;
    border-color: #3a1520
}

body[data-theme="dark"] .pill {
    background: #1a0a12;
    border-color: #3a1520;
    color: #e5e7eb
}

body[data-theme="dark"] .gallery img {
    border-color: #3a1520
}

body[data-theme="dark"] .img-soft {
    border-color: #3a1520;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35)
}

body[data-theme="dark"] .contacts a {
    color: #f48fb1
}

body[data-theme="dark"] .footer {
    background: #1a0a12;
    border-top-color: #3a1520;
    color: #9aa3b2
}