:root {
    --header-height: 74px;
    --bg: #e8d6dc;
    --surface: #f8f3f0;
    --surface-soft: #f3ebea;
    --text: #2f2522;
    --muted: #6f605d;
    --primary: #3a2a24;
    --line: rgba(102, 76, 69, 0.2);
    --shadow: 0 22px 52px rgba(61, 39, 33, 0.16);
    --radius-lg: 48px;
    --radius-md: 36px;
    --radius-diagonal-lg: var(--radius-lg) 0 var(--radius-lg) 0;
    --radius-diagonal-md: var(--radius-md) 0 var(--radius-md) 0;
    --container: min(1120px, 92vw);
    --footer-map-media-height: 240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 14px);
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 14px);
}

#top-anchor {
    scroll-margin-top: 0;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 16% 10%, #f2e5e8 0%, #e8d6dc 45%, #e0ccd3 100%);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    line-height: 1.1;
    margin: 0 0 0.6rem;
    letter-spacing: 0.01em;
}

p {
    margin: 0 0 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.section {
    padding: clamp(1rem, 2.2vw, 1.8rem) 0;
}

.section-title {
    font-size: 25px;
    margin-bottom: 1.5rem;
}

.bg-glow {
    display: none;
}

.bg-glow-top {
    width: 440px;
    height: 440px;
    background: rgba(255, 255, 255, 0.45);
    top: 18%;
    left: 10%;
}

.bg-glow-bottom {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.35);
    bottom: 16%;
    right: 8%;
}

.site-shell {
    width: min(1200px, 100vw);
    margin: 0 auto;
    background: linear-gradient(180deg, #fbf8f6 0%, #f6f0ed 100%);
    border-radius: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 84px;
}

.header {
    position: fixed;
    top: 0;
    z-index: 40;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 100vw);
    margin: 0;
    background: rgba(251, 246, 243, 0.9);
    backdrop-filter: blur(8px);
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 26px rgba(62, 42, 35, 0.12);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    gap: 1rem;
}

.header .container {
    width: 100%;
    padding-inline: 0.9rem;
    padding-top: 25px;
    padding-bottom: 25px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #7a2f42;
    
}

.logo-image {
    width: 34px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.nav {
    display: flex;
    gap: 0.55rem;
    font-weight: 500;
    font-size: 0.83rem;
    color: #7a2f42;
}

.nav a {
    color: #7a2f42;
}

.nav a {
    padding: 0.3rem 0.5rem;
    border-radius: 12px 0 12px 0;
    border: 1px solid transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.22s ease;
}

.nav a:hover {
    color: #612233;
    background: rgba(129, 92, 84, 0.14);
    border-color: var(--line);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-weight: 700;
}

.hero {
    position: relative;
    font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
    color: #f8f1ee;
    overflow: hidden;
    border-bottom: 1px solid rgba(112, 79, 71, 0.2);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("hero2.jpg") center center / cover no-repeat;
    transform: scale(1.03);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(18 14 13 / 82%), rgb(30 26 25 / 72%))
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    justify-items: center;
    min-height: 300px;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 1000px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    color: #f1d2d9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    bottom: 20px;
}

h1 {
    font-size: clamp(1.26rem, 3.36vw, 2.24rem);
    margin-bottom: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.subtitle {
    margin-bottom: 1.5rem;
}

.small-note {
    font-size: 0.95rem;
    margin-top: 0.9rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 12px 0;
    border: 1px solid rgba(86, 60, 53, 0.36);
    font-weight: 700;
    padding: 0.34rem 1.3rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.2s ease, color 0.2s ease;
    background: var(--primary);
    color: #f8f1ee;
}

.btn:hover {
    transform: translateY(-2px);
    background: #5c2233;
    color: #f8f1ee;
}

.btn-primary {
    background: var(--primary);
    color: #f8f1ee;
    box-shadow: none;
}

.btn-primary:hover {
    background: #5c2233;
}

.hero .btn-primary {
    background: #7a2f42;
    border-color: rgba(78, 25, 40, 0.62);
    color: #fff2f6;
}

.hero .btn-primary:hover {
    background: #9c3d55;
    color: #fff2f6;
}

.btn-secondary {
    color: var(--text);
    background: #f6ece8;
}

.feature-list,
.delivery-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.feature-list li {
    padding: 25px;
    background: linear-gradient(90deg, #f9eeef 0%, #ebd8de 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-md);
    box-shadow: 6px 8px 12px rgba(122, 47, 66, 0.14);
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    min-height: 76px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

#why .feature-list li,
#reviews .review-item,
#photo-bouquet .photo-bouquet-box {
    background: linear-gradient(90deg, #7a2f42 0%, #8a3a4f 100%);
    border-color: rgba(78, 25, 40, 0.45);
    color: #f9edf0;
    box-shadow: inset 0 2px 18px rgba(30, 8, 15, 0.28);
}

#why .feature-list li {
    background: linear-gradient(90deg, #f3dfe4 0%, #efd3da 100%);
    border-color: rgba(125, 74, 89, 0.28);
    color: #2f2522;
    box-shadow: 6px 8px 12px rgba(122, 47, 66, 0.14);
}

#why .feature-list li .bi {
    color: #3a2a24;
}

#reviews .review-text,
#reviews .review-meta {
    color: rgba(249, 237, 240, 0.86);
}

#reviews .review-author {
    color: #ffffff;
}

#photo-bouquet .photo-bouquet-box p {
    color: rgba(249, 237, 240, 0.9);
}

.feature-list li:hover {
    transform: translateY(-4px);
    box-shadow: 6px 10px 16px rgba(122, 47, 66, 0.28);
    border-color: rgba(122, 47, 66, 0.3);
}

.feature-list li .bi {
    flex: 0 0 22px;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--primary);
}

.feature-list li span {
    display: block;
}

.photo-bouquet-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-lg);
    height: 200px;
    display: grid;
    grid-template-columns: 2fr 0.9fr;
    gap: 0;
    overflow: hidden;
}

.photo-bouquet-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.photo-bouquet-box p {
    margin: 0;
    color: var(--muted);
}

.photo-bouquet-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-bouquet-media img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: linear-gradient(90deg, #f8efed 0%, #eadbdd 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-md);
    overflow: hidden;
    box-shadow: 6px 8px 12px rgba(122, 47, 66, 0.14);
    padding-bottom: 0;
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 0;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 0.65rem;
}

.steps li {
    counter-increment: step;
    padding: 0.5rem 0 0.5rem 2.2rem;
    position: relative;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #f8f1ee;
    font-size: 0.86rem;
    background: var(--primary);
}

.order-box,
.delivery-box,
.cta-inner,
.footer-grid {
    background: linear-gradient(90deg, #f8efed 0%, #e9d6dc 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-lg);
    box-shadow: 6px 8px 12px rgba(122, 47, 66, 0.14);
}

.feature-list li,
.card,
.order-box,
.delivery-box,
.cta-inner,
.footer-grid,
.review-item {
    position: relative;
}

.order-box {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr;
    gap: 0;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
    min-height: 300px;
    background: linear-gradient(90deg, #f8efed 0%, #e9d6dc 100%);
}

.order-content {
    padding: 50px;
    background: linear-gradient(90deg, #f6e4e9 0%, #e2becb 100%);
}

.order-media img {
    width: 100%;
    height: 101%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    border: 0;
}

.delivery-box {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr;
    gap: 0;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
    min-height: 300px;
}

.delivery-content {
    padding: 50px;
    background: linear-gradient(90deg, #f5e3e8 0%, #dfbac8 100%);
}

.delivery-list {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.95rem;
}

.delivery-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    border: 0;
}

.delivery-price {
    color: var(--text);
    font-weight: 700;
}

.reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
}

.review-item {
    margin: 0;
    padding: 1rem 1rem 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-md);
    background: linear-gradient(90deg, #f7f0ed 0%, #f2e8e4 100%);
    box-shadow: 6px 8px 12px rgba(122, 47, 66, 0.14);
}

.review-text {
    margin: 0 0 0.4rem;
    font-style: italic;
    color: var(--muted);
}

.review-author {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.review-meta {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.cta {
    padding-top: 2.8rem;
}

.cta-inner {
    text-align: center;
    padding: clamp(1.7rem, 4vw, 2.8rem);
    background: linear-gradient(90deg, #f3dfe4 0%, #efd3da 100%);
    color: #342522;
    border-color: rgba(125, 74, 89, 0.32);
}

.cta-inner p {
    color: rgba(52, 37, 34, 0.82);
}

#cta .btn-primary {
    background: #7a2f42;
    border-color: rgba(78, 25, 40, 0.62);
    color: #fff2f6;
}

#cta .btn-primary:hover {
    background: #9c3d55;
    color: #fff2f6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.footer {
    padding-top: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    align-items: start;
}

.footer-title {
    grid-column: 1 / -1;
    margin-bottom: 0.2rem;
}

.footer-grid p {
    margin: 0;
}

.contact-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-messengers {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-item .bi {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1;
}

.footer-address {
    grid-column: 1 / -1;
    font-weight: 600;
}

.footer-map-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
    margin-top: 0.4rem;
}

.footer-map {
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-md);
    overflow: hidden;
    background: #f2e8e6;
    min-height: var(--footer-map-media-height);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    display: block;
}

.footer-place-photo {
    border: 1px solid var(--line);
    border-radius: var(--radius-diagonal-md);
    overflow: hidden;
    background: #f2e8e6;
    min-height: var(--footer-map-media-height);
}

.footer-place-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 930px) {
    .feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-box,
    .delivery-box,
    .hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-map-row {
        grid-template-columns: 1fr;
    }

    #contacts .footer-grid {
        padding-top: 30px;
    }

    .photo-bouquet-box {
        height: auto;
        grid-template-columns: 1fr;
    }

    .photo-bouquet-content {
        padding: 38px 34px 22px;
    }

    .photo-bouquet-content .section-title {
        margin-bottom: 1rem;
    }

    .photo-bouquet-media {
        min-height: 170px;
        padding: 8px 0 18px;
    }

    .photo-bouquet-media img {
        max-width: 74%;
        max-height: 74%;
    }

    .order-media {
        order: 2;
    }

    .delivery-media {
        order: 2;
    }

    .order-box,
    .delivery-box {
        min-height: auto;
    }

}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 60px;
        right: 4vw;
        left: 4vw;
        padding: 0.7rem;
        border-radius: var(--radius-diagonal-md);
        background: #f8f0ed;
        border: 1px solid var(--line);
        display: none;
        flex-direction: column;
        box-shadow: 0 12px 28px rgba(68, 45, 39, 0.14);
    }

    .nav.open {
        display: flex;
    }

    h1 {
        font-size: clamp(0.84rem, 4.2vw, 0.98rem);
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .photo-bouquet-content {
        padding: 34px 28px 20px;
    }

    .photo-bouquet-media {
        min-height: 150px;
        padding: 6px 0 14px;
    }

    .photo-bouquet-media img {
        max-width: 78%;
        max-height: 78%;
    }
}

@media (max-width: 1240px) {
    .site-shell {
        width: 100%;
    }

    .container {
        width: min(100%, 94vw);
    }
}

#contacts .footer-grid {
    background: linear-gradient(90deg, #7a2f42 0%, #8a3a4f 100%);
    border-color: rgba(78, 25, 40, 0.72);
    color: #f9edf0;
    box-shadow: inset 0 2px 18px rgba(30, 8, 15, 0.28);
}

#contacts .contact-item a,
#contacts .footer-address {
    color: #f9edf0;
}

#contacts .contact-item .bi {
    color: #ffdfe8;
}

#contacts .footer-map,
#contacts .footer-place-photo {
    background: #efd8df;
    border-color: rgba(78, 25, 40, 0.4);
}

.feature-list li,
.photo-bouquet-box,
.card,
.order-box,
.delivery-box,
.review-item,
.cta-inner,
.footer-grid,
.footer-map,
.footer-place-photo {
    border: none;
}