/* =========================================================
   ДОБРОНИК — обновлённый дизайн
   Текстовый контент сайта не изменён.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --ink: #26332d;
    --ink-soft: #56635d;
    --cream: #f5f1e9;
    --cream-2: #fbf9f5;
    --sage: #dfe7df;
    --sage-dark: #708276;
    --accent: #b77a58;
    --accent-dark: #956044;
    --white: #ffffff;
    --line: rgba(38, 51, 45, .12);
    --shadow: 0 20px 55px rgba(38, 51, 45, .10);
    --radius: 22px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.75;
    color: var(--ink);
    background: var(--cream-2);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .35;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(183,122,88,.08) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(112,130,118,.08) 0 1px, transparent 1px);
    background-size: 34px 34px, 46px 46px;
}

::selection {
    background: rgba(183,122,88,.25);
}

a {
    color: inherit;
}

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

/* ---------------- ШАПКА ---------------- */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 17px 0;
    background: rgba(251,249,245,.88);
    border-bottom: 1px solid rgba(38,51,45,.08);
    box-shadow: 0 8px 30px rgba(38,51,45,.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    position: relative;
    flex: 0 0 auto;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
    text-decoration: none;
}

.logo::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 7px;
    background: var(--accent);
    border-radius: 99px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu li {
    margin-left: 0;
}

.nav-menu a {
    display: block;
    padding: 9px 13px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--ink);
    background: var(--sage);
    outline: none;
}

/* ---------------- ОБЩИЕ СЕКЦИИ ---------------- */

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

.section:nth-of-type(even) {
    background: var(--cream);
}

.section-title {
    max-width: 850px;
    margin: 0 auto 58px;
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 4.4vw, 58px);
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 600;
    color: var(--ink);
}

.section-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin: 22px auto 0;
    background: var(--accent);
}

/* ---------------- ГЛАВНЫЙ ЭКРАН ---------------- */

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 105px 0 125px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 30%, rgba(183,122,88,.18) 0 90px, transparent 91px),
        radial-gradient(circle at 88% 65%, rgba(112,130,118,.18) 0 170px, transparent 171px),
        linear-gradient(120deg, #f5f1e9 0%, #f7f4ee 54%, #e8eee8 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    right: -180px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(38,51,45,.10);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255,255,255,.18),
        0 0 0 90px rgba(255,255,255,.10);
}

.hero::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    left: -80px;
    bottom: -85px;
    border-radius: 50%;
    background: rgba(183,122,88,.10);
}

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

.hero-title {
    max-width: 930px;
    margin-bottom: 34px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 600;
    color: var(--ink);
}

.hero-text {
    max-width: 690px;
    margin-bottom: 24px;
    font-size: 18px;
    color: var(--ink-soft);
}

.hero-text p {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--ink);
}

.hero-text ul {
    list-style: none;
    padding-left: 0;
}

.hero-text li {
    position: relative;
    padding-left: 26px;
    margin: 4px 0;
}

.hero-text li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--accent);
    font-size: 22px;
    line-height: 1.5;
}

.hero-subtitle {
    max-width: 760px;
    margin: 28px 0 34px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(38,51,45,.16);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(38,51,45,.20);
    outline: none;
}

/* ---------------- О ЦЕНТРЕ ---------------- */

.about {
    background: var(--cream-2) !important;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--ink-soft);
}

.about-content p {
    margin-bottom: 24px;
}

.about-content p:first-child::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 56px;
    float: left;
    line-height: .85;
    margin: 8px 10px 0 0;
    color: var(--accent);
}

/* ---------------- ПРЕИМУЩЕСТВА ---------------- */

.advantages-intro,
.services-intro,
.team-intro,
.booking-intro {
    max-width: 800px;
    margin: -25px auto 50px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 16px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-item {
    position: relative;
    min-height: 245px;
    padding: 34px 32px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(38,51,45,.05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.advantage-item:nth-child(4),
.advantage-item:nth-child(5) {
    grid-column: span 1;
}

.advantage-item:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(183,122,88,.28);
}

.advantage-item::before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 25px;
    background: var(--accent);
    border-radius: 99px;
}

.advantage-item h3,
.service-item h3,
.team-item h3,
.faq-item h3 {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
}

.advantage-item h3 {
    margin-bottom: 14px;
    font-size: 24px;
}

.advantage-item p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------------- УСЛУГИ ---------------- */

.services {
    background: var(--cream) !important;
}

.services-list {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-item {
    position: relative;
    margin-bottom: 0;
    padding: 34px 34px 36px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(38,51,45,.045);
    transition: transform .28s ease, box-shadow .28s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-item h3 {
    margin-bottom: 14px;
    padding-right: 25px;
    font-size: 23px;
}

.service-item h3::before {
    content: "01";
    display: block;
    margin-bottom: 17px;
    color: var(--accent);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.service-item:nth-child(2) h3::before { content: "02"; }
.service-item:nth-child(3) h3::before { content: "03"; }
.service-item:nth-child(4) h3::before { content: "04"; }
.service-item:nth-child(5) h3::before { content: "05"; }
.service-item:nth-child(6) h3::before { content: "06"; }
.service-item:nth-child(7) h3::before { content: "07"; }
.service-item:nth-child(8) h3::before { content: "08"; }
.service-item:nth-child(9) h3::before { content: "09"; }
.service-item:nth-child(10) h3::before { content: "10"; }
.service-item:nth-child(11) h3::before { content: "11"; }
.service-item:nth-child(12) h3::before { content: "12"; }

.service-item p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.75;
}

/* ---------------- КОМАНДА ---------------- */

.team {
    background: var(--cream-2) !important;
}

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

.team-item {
    position: relative;
    padding: 42px 30px 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 32px rgba(38,51,45,.06);
}

.team-item::before {
    content: "";
    display: flex;
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(183,122,88,.35);
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.8), transparent 38%),
        linear-gradient(145deg, var(--sage), #eee7dc);
    box-shadow: inset 0 0 0 7px rgba(255,255,255,.55);
}

.team-item h3 {
    margin-bottom: 7px;
    font-size: 25px;
}

.team-role {
    margin-bottom: 15px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-item > p:last-child {
    color: var(--ink-soft);
    font-size: 14px;
}

/* ---------------- ЗАПИСЬ ---------------- */

.booking {
    background:
        linear-gradient(135deg, rgba(223,231,223,.78), rgba(245,241,233,.92)) !important;
}

.booking-form {
    max-width: 690px;
    margin: 0 auto;
    padding: 42px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(38,51,45,.10);
    border-radius: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(38,51,45,.16);
    border-radius: 13px;
    background: rgba(255,255,255,.85);
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(183,122,88,.65);
    box-shadow: 0 0 0 4px rgba(183,122,88,.10);
    outline: none;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.booking-form .btn {
    width: 100%;
    margin-top: 6px;
}

/* ---------------- FAQ ---------------- */

.faq {
    background: var(--cream-2) !important;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    padding: 25px 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: 0 5px 18px rgba(38,51,45,.04);
}

.faq-item h3 {
    position: relative;
    margin-bottom: 9px;
    padding-right: 30px;
    font-size: 21px;
}

.faq-item h3::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -3px;
    color: var(--accent);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
}

.faq-item p {
    color: var(--ink-soft);
    font-size: 14px;
}

/* ---------------- ОТЗЫВЫ ---------------- */

.reviews {
    background: var(--cream) !important;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.review-item {
    position: relative;
    min-height: 230px;
    padding: 35px 35px 32px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: left;
    box-shadow: 0 8px 24px rgba(38,51,45,.05);
}

.review-item::before {
    content: "“";
    position: absolute;
    top: 10px;
    right: 25px;
    color: rgba(183,122,88,.22);
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
}

.review-text {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin-bottom: 25px;
    color: var(--ink-soft);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
    font-style: normal;
}

.review-author {
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.review-service {
    color: var(--accent-dark);
    font-size: 12px;
}

/* ---------------- ФУТЕР ---------------- */

.footer {
    position: relative;
    padding: 70px 0 32px;
    background: var(--ink);
    color: rgba(255,255,255,.78);
    text-align: center;
}

.footer::before {
    content: "«Доброник»";
    display: block;
    margin-bottom: 34px;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 600;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.footer-contacts p {
    margin-bottom: 0;
    font-size: 14px;
}

.footer-contacts strong {
    color: rgba(255,255,255,.98);
}

.footer-copy {
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.48);
    font-size: 12px;
}

/* ---------------- АДАПТИВНОСТЬ ---------------- */

@media (max-width: 980px) {
    .hero {
        min-height: auto;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .services-list {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 30px, 620px);
    }

    .header {
        position: relative;
        padding: 16px 0;
    }

    .nav {
        flex-direction: column;
        gap: 14px;
    }

    .nav-menu {
        justify-content: center;
        gap: 2px;
    }

    .nav-menu a {
        padding: 7px 9px;
        font-size: 12px;
    }

    .hero {
        padding: 75px 0 85px;
    }

    .hero::before {
        width: 360px;
        height: 360px;
        right: -210px;
    }

    .hero-title {
        font-size: clamp(40px, 11vw, 58px);
    }

    .hero-text {
        font-size: 16px;
    }

    .section {
        padding: 78px 0;
    }

    .section-title {
        margin-bottom: 42px;
        font-size: 40px;
    }

    .advantages-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        min-height: auto;
    }

    .booking-form {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 27px;
    }

    .nav-menu {
        width: 100%;
    }

    .nav-menu li {
        flex: 0 0 auto;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-title {
        font-size: 39px;
    }

    .section-title {
        font-size: 35px;
    }

    .service-item,
    .advantage-item,
    .review-item {
        padding: 27px 23px;
        border-radius: 18px;
    }

    .team-item {
        padding: 34px 23px 28px;
    }
}

/* Плавное появление элементов без JS */
@media (prefers-reduced-motion: no-preference) {
    .hero-title,
    .hero-text,
    .hero-subtitle,
    .hero .btn {
        animation: rise-in .7s ease both;
    }

    .hero-text { animation-delay: .08s; }
    .hero-subtitle { animation-delay: .16s; }
    .hero .btn { animation-delay: .24s; }

    @keyframes rise-in {
        from {
            opacity: 0;
            transform: translateY(18px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
