@charset "UTF-8";

:root {
    --primary-color: #2d5a27;
    --primary-hover: #1e3d1a;
    --accent-color: #c9844a;
    --bg-light: #f4f7f2;
    --card-bg: #ffffff;
    --text-main: #243028;
    --text-muted: #66756b;
    --border-color: #dbe6d8;
    --radius-lg: 24px;
    --radius-sm: 12px;
    --shadow-sm: 0 8px 24px rgba(45, 90, 39, 0.08);
    --shadow-md: 0 18px 50px rgba(45, 90, 39, 0.16);
    --nav-height: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% -10%, #e7f0e2 0, transparent 42%),
        radial-gradient(circle at 100% 18%, #f3eadc 0, transparent 32%),
        var(--bg-light);
    color: var(--text-main);
    font-family: Manrope, Inter, system-ui, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

h1, h2, h3, .site-logo {
    font-family: "Cormorant Garamond", Georgia, serif;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--nav-height);
    background: rgba(244, 247, 242, 0.86);
    border-bottom: 1px solid rgba(219, 230, 216, 0.8);
    backdrop-filter: blur(16px);
}

.site-nav-inner {
    max-width: 1180px;
    min-height: var(--nav-height);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.site-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
}

.site-nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav-links a:hover,
.site-nav-links a:focus-visible {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--primary-color);
    content: "";
}

.nav-toggle span {
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.el-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.el-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    background:
        linear-gradient(135deg, rgba(45, 90, 39, 0.08), transparent 40%),
        linear-gradient(180deg, #eaf3e6 0%, #f8faf6 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-sm);
}

.el-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border: 18px solid rgba(45, 90, 39, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.el-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 520px) 1fr;
    gap: 48px;
    align-items: center;
}

.photo-frame {
    position: relative;
}

.photo-frame::before {
    content: "";
    position: absolute;
    inset: 18px -16px -16px 18px;
    border-radius: 28px;
    background: #d7e6d0;
    z-index: 0;
}

.el-hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.el-hero-badge {
    display: inline-block;
    background-color: #d8e6d8;
    color: var(--primary-color);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.el-hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 12px;
    line-height: 0.95;
}

.el-hero p.subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin: 0 0 28px;
    max-width: 54ch;
}

.el-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 15px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(45, 90, 39, 0.22);
}

.el-cta-button:hover,
.el-cta-button:focus-visible {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.el-cta-subtext {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}

.el-section {
    padding: 18px 0 34px;
}

.el-section-title {
    text-align: center;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 28px;
}

.el-about-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.el-about-card h3 {
    color: var(--primary-color);
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 600;
}

.el-about-card h4 {
    margin: 24px 0 0;
    color: var(--primary-color);
}

.el-standards-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.el-standards-list li {
    position: relative;
    padding: 12px 14px 12px 42px;
    font-size: 15px;
    background: #f6faf4;
    border-radius: 12px;
}

.el-standards-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    color: var(--primary-color);
    font-weight: bold;
}

.edu-panel {
    background:
        linear-gradient(180deg, rgba(45, 90, 39, 0.05), transparent 28%),
        #eef5eb;
    padding: 42px 22px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
}

.edu-hint {
    text-align: center;
    color: var(--text-muted);
    margin: -8px 0 18px;
}

.edu-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 22px;
}

.edu-filters button {
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-main);
    border-radius: 999px;
    padding: 8px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.edu-filters button.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.el-edu-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.el-edu-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.el-edu-item.is-open {
    box-shadow: var(--shadow-md);
    border-color: #bdd2b6;
}

.el-edu-header {
    width: 100%;
    padding: 16px 20px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 16px;
    background-color: #ffffff;
    border: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: background-color 0.2s;
}

.el-edu-header:hover,
.el-edu-header:focus-visible {
    background-color: #f4f8f3;
}

.edu-thumb {
    width: 72px;
    height: 92px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 16px rgba(36, 48, 40, 0.12);
    background: #fff;
}

.el-edu-info .year {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.el-edu-info h3 {
    font-family: Manrope, sans-serif;
    font-size: 16px;
    color: var(--text-main);
    margin: 0 0 4px;
}

.el-edu-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.el-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf3e6;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.el-edu-item.is-open .el-toggle-icon {
    transform: rotate(180deg);
}

.el-edu-content {
    display: none;
    background-color: #fbfcf9;
}

.el-edu-item.is-open .el-edu-content {
    display: block;
    border-top: 1px solid var(--border-color);
}

.doc-viewer {
    padding: 16px 12px 18px;
    background: #f4f8f2;
}

.doc-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.doc-toolbar button,
.doc-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.doc-toolbar button:disabled,
.doc-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.doc-zoom-label,
.doc-counter {
    min-width: 52px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
}

.doc-viewrow {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
}

.doc-viewrow.is-multi {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
}

.doc-viewrow:not(.is-multi) .doc-arrow {
    display: none;
}

.doc-stage {
    position: relative;
    overflow: auto;
    max-height: 78vh;
    min-height: 220px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #e6eee3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
}

.doc-stage.is-portrait {
    width: 100%;
}

.doc-stage.is-zoomed {
    cursor: grab;
}

.doc-stage.is-dragging {
    cursor: grabbing;
}

.doc-frame {
    position: relative;
    flex: 0 0 auto;
    margin: auto;
}

.doc-page {
    display: none;
    position: absolute;
    max-width: none;
    user-select: none;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.doc-page.is-active {
    display: block;
}

.el-services-grid,
.el-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.el-price-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 26px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.el-price-card:hover {
    transform: translateY(-4px);
}

.el-price-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.el-price-card.featured::before {
    content: "Популярный формат";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.el-price-card h3 {
    font-size: 28px;
    margin: 0 0 8px;
}

.el-price-card .amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.card-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px;
    margin-bottom: 16px;
}

.card-photo-online {
    object-position: center 42%;
}

.card-photo-group {
    object-position: center 18%;
}

.card-photo-personal {
    object-position: center 12%;
}

.el-gallery-img-single {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.el-trust-box {
    background-color: #eaf2ea;
    padding: 32px;
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--primary-color);
    margin-top: 36px;
}

.el-trust-box h3 {
    color: var(--primary-color);
    margin: 0 0 12px;
    font-size: 28px;
}

.el-trust-box blockquote {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-style: italic;
    margin: 16px 0 0;
    color: var(--text-main);
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}

.el-telegram-banner {
    background: linear-gradient(135deg, #1f94cf, #24a1de);
    color: white;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    margin: 18px 0 8px;
    box-shadow: 0 18px 40px rgba(36, 161, 222, 0.25);
}

.el-telegram-banner h3 {
    font-size: 32px;
    margin: 0 0 10px;
    color: white;
}

.el-telegram-banner p {
    margin: 0 0 18px;
}

.el-telegram-btn {
    background-color: white;
    color: #1f94cf !important;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
}

.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-telegram {
    background-color: #24a1de;
    box-shadow: 0 12px 24px rgba(36, 161, 222, 0.28);
}

.site-footer {
    padding: 24px 20px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(18, 28, 20, 0.86);
}

.lightbox.is-open {
    display: grid;
}

.lightbox-image {
    max-width: min(920px, 100%);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 860px) {
    .el-hero {
        padding: 28px 20px;
    }

    .el-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .photo-frame::before {
        inset: 14px -10px -10px 14px;
    }

    .el-hero-photo {
        margin: 0 auto;
    }

    .el-cta-subtext {
        max-width: 36ch;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .site-nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 12px;
        right: 12px;
        padding: 16px;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 16px;
        box-shadow: var(--shadow-md);
    }

    .site-nav-links.is-open {
        display: flex;
    }

    .el-edu-header {
        grid-template-columns: 56px 1fr auto;
        padding: 12px;
        gap: 10px;
    }

    .edu-thumb {
        width: 56px;
        height: 72px;
    }
}

.el-edu-item[hidden] {
    display: none !important;
}

.video-frame {
    position: relative;
    margin-top: 18px;
    border-radius: 16px;
    overflow: hidden;
    background: #122016;
    aspect-ratio: 9 / 16;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-card {
    text-align: center;
}

.contact-card h2 {
    color: var(--primary-color);
    margin: 0 0 12px;
}

.contact-lead {
    color: var(--text-muted);
    margin: 0 0 18px;
}

.contact-direct {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-bottom: 18px;
}

.contact-direct-link {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
}

.contact-direct-link:hover {
    text-decoration: underline;
}

.msg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.msg-mail { background: var(--primary-color); gap: 8px; }
.msg-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.msg-tg { background: #24a1de; }
.msg-wa { background: #1faa59; }
.msg-max { background: #4b3fd4; }

.max-note,
.policy-inline {
    margin: 16px auto 0;
    max-width: 640px;
    color: var(--text-muted);
    font-size: 14px;
}

.policy-inline a,
.site-footer a,
.policy-page a {
    color: var(--primary-color);
}

.calm-player {
    position: fixed;
    z-index: 40;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

#calm-toggle {
    border: 0;
    background: var(--primary-color);
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

#calm-toggle[aria-pressed="true"] {
    background: #8c4b32;
}

.calm-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.calm-volume input {
    width: 92px;
}

.policy-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 18px;
    font-size: 15px;
}

.policy-page th,
.policy-page td {
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.policy-page th {
    background: #eef5eb;
    color: var(--primary-color);
}

.policy-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.policy-page h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--primary-color);
    font-size: 42px;
    margin: 12px 0 8px;
}

.policy-page h2 {
    font-size: 20px;
    margin: 28px 0 8px;
}

.policy-page p,
.policy-page li {
    color: var(--text-main);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .calm-player {
        left: 10px;
        right: 10px;
        justify-content: space-between;
    }
}

.tech-site .el-section-title::before {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 0 auto 12px;
    background: linear-gradient(90deg, transparent, #c9844a, transparent);
}

.tech-site .el-about-card,
.tech-site .edu-panel {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(45, 90, 39, 0.12);
    box-shadow: 0 18px 40px rgba(28, 48, 24, 0.08);
    backdrop-filter: blur(8px);
}

.tech-site .video-frame {
    aspect-ratio: 16 / 9;
    max-width: none;
    border: 1px solid rgba(16, 32, 22, 0.35);
    box-shadow: 0 22px 48px rgba(16, 32, 22, 0.22);
}

.tech-site .video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #102016;
}

.tech-site .calm-player {
    gap: 14px;
    border: 1px solid rgba(232, 196, 154, 0.35);
    background: rgba(14, 24, 16, 0.92);
    color: #f6f1e8;
}

.tech-site #calm-toggle {
    background: #f3e6d4;
    color: #1c3318;
}

.tech-site #calm-toggle[aria-pressed="true"] {
    background: #c9844a;
    color: #fff;
}

.tech-site .calm-volume {
    color: rgba(246, 241, 232, 0.75);
}

.piano-keys {
    display: flex;
    align-items: flex-end;
    height: 28px;
    gap: 3px;
}

.piano-keys span {
    width: 8px;
    height: 18px;
    border-radius: 2px 2px 3px 3px;
    background: #f4f1ea;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    transition: height 0.12s ease, background 0.12s ease;
}

.piano-keys span:nth-child(2),
.piano-keys span:nth-child(4),
.piano-keys span:nth-child(7) {
    height: 12px;
    margin: 0 -5px 0;
    background: #1b1b1b;
    position: relative;
    z-index: 1;
}

.piano-keys span.is-lit {
    background: #e8c49a;
    height: 22px;
}

@media (max-width: 720px) {
    .tech-site .piano-keys {
        display: none;
    }
}
