:root {
    --bg: #ffffff;
    --paper: #ffffff;
    --muted: #6b7280;
    --text: #24262b;
    --soft: #f5f6f8;
    --line: #e8ebef;
    --shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    --danger: #c5122b;
    --danger-2: #f44345;
    --success: #10b953;
    --success-2: #05a84f;
    --focus: #3b82f6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    padding-bottom: 106px;
}

a {
    color: #2f6f8f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.menu-toggle {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.container {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.site-header {
    min-height: 86px;
    border-bottom: 1px solid #eef1f4;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 600;
    color: #1f2933;
    font-size: 18px;
}

.desktop-nav a {
    color: #3f6170;
    font-size: 14px;
    padding: 10px 4px;
}

.menu-open {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: #f7f8fa;
    border: 1px solid #eef1f4;
}

.menu-open span {
    width: 20px;
    height: 2px;
    background: #24262b;
    border-radius: 99px;
}

.mobile-menu {
    display: none;
}

.mobile-menu-panel {
    background: #fff;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.mobile-menu-head strong {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.menu-close {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    color: #24262b;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-link {
    display: block;
    margin-top: 48px;
    padding: 24px 34px;
    background: #f8f9fb;
    color: #2f6f8f;
    font-size: 24px;
    line-height: 1.2;
}

.hero-section {
    padding: 74px 0 64px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.intro-card {
    max-width: 1040px;
}

.intro-card h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 400;
    margin: 0 0 34px;
}

.intro-text {
    max-width: 980px;
    padding: 26px 30px 26px 34px;
    border-left: 4px solid #f0f2f5;
    color: #2e3035;
    font-style: italic;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.intro-contact {
    font-weight: 700;
    font-style: italic;
    margin: 34px 0 0;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.45;
}

.comments-section {
    padding: 70px 0 78px;
}

.visually-soft {
    font-size: 20px;
    font-weight: 500;
    color: #38404a;
    margin: 0 0 24px;
}

.comment-list {
    display: grid;
    gap: 56px;
}

.comment-item h3 {
    font-size: 21px;
    font-weight: 500;
    margin: 0 0 24px;
    color: #24262b;
}

.comment-box {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 34px 40px 30px;
    box-shadow: 0 3px 24px rgba(15, 23, 42, 0.025);
}

.comment-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
}

.reply-link {
    display: inline-flex;
    margin-top: 26px;
    font-size: 15px;
    text-decoration: underline;
}

.empty-comments {
    border: 1px solid var(--line);
    background: #fafafa;
    padding: 28px 32px;
    margin-bottom: 54px;
}

.empty-comments h2 {
    margin: 0 0 6px;
    font-weight: 500;
}

.empty-comments p {
    margin: 0;
    color: var(--muted);
}

.comment-form-card {
    margin-top: 74px;
}

.comment-form-card h2 {
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 400;
    margin: 0 0 28px;
}

.field-label,
.form-grid label span {
    display: block;
    color: #6a6f7a;
    margin-bottom: 8px;
}

textarea,
input {
    width: 100%;
    border: 1px solid #e5e8ed;
    background: #f7f8fa;
    border-radius: 0;
    padding: 19px 20px;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

textarea {
    min-height: 260px;
    resize: vertical;
}

textarea:focus,
input:focus {
    border-color: #a9bed3;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.primary-submit {
    border: 0;
    background: #555762;
    color: #fff;
    margin-top: 20px;
    padding: 17px 32px;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.primary-submit:hover {
    background: #3d3f49;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.notice {
    padding: 14px 16px;
    border-radius: 12px;
    margin: 0 0 18px;
    font-size: 15px;
}

.notice.success {
    background: #eaf8f0;
    border: 1px solid #c9eed8;
    color: #166534;
}

.notice.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.site-footer {
    border-top: 1px solid #eef1f4;
    padding: 28px 0;
    color: #6b7280;
    background: #fff;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-inner p {
    margin: 0;
}

.floating-contact {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 18px;
    width: min(760px, calc(100% - 44px));
    z-index: 100;
    pointer-events: none;
}

.contact-btn {
    pointer-events: auto;
    min-height: 74px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .01em;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
    text-decoration: none;
}

.call-btn {
    background: linear-gradient(135deg, var(--danger-2), var(--danger));
}

.whatsapp-btn {
    background: linear-gradient(135deg, #20df70, var(--success-2));
}

.btn-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 21px;
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 36px, 680px);
    }

    .site-header,
    .header-inner {
        min-height: 72px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-open {
        display: inline-flex;
    }

    .mobile-menu {
        position: fixed;
        inset: 72px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid #eef1f4;
        box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
        padding: 34px 0 42px;
        z-index: 60;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .mobile-menu-panel {
        width: min(100% - 56px, 680px);
        margin: 0 auto;
    }

    .menu-toggle:checked ~ .mobile-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero-section {
        padding: 48px 0 50px;
    }

    .intro-text {
        padding: 18px 20px 18px 22px;
        font-size: 20px;
        line-height: 1.72;
    }

    .comments-section {
        padding: 48px 0 62px;
    }

    .comment-list {
        gap: 42px;
    }

    .comment-box {
        padding: 26px 26px 24px;
    }

    .comment-box p {
        font-size: 17px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .floating-contact {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: calc(100% - 24px);
    }

    .contact-btn {
        min-height: 64px;
        font-size: 16px;
        gap: 10px;
    }

    .btn-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 430px) {
    body {
        padding-bottom: 100px;
    }

    .container {
        width: min(100% - 30px, 680px);
    }

    .brand {
        font-size: 16px;
    }

    .mobile-menu-panel {
        width: min(100% - 36px, 680px);
    }

    .mobile-menu-link {
        margin-top: 46px;
        padding: 22px 34px;
        font-size: 22px;
    }

    .desktop-nav a {
        font-size: 13px;
    }

    .intro-card h1 {
        font-size: 32px;
    }

    .intro-text {
        font-size: 18px;
        line-height: 1.78;
    }

    .intro-contact {
        font-size: 22px;
    }

    textarea {
        min-height: 220px;
    }

    .floating-contact {
        grid-template-columns: 1fr 1fr;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .contact-btn {
        min-height: 58px;
        font-size: 15px;
    }

    .btn-icon {
        display: none;
    }
}

@media (min-width: 1180px) {
    .intro-card h1,
    .comment-form-card h2 {
        font-size: 48px;
    }
}
