/*
Theme Name: Мимоза из Абхазии
Theme URI: 
Author: 
Description: Одностраничная тема для сайта о мимозе из Абхазии. Мягкая жёлто-зелёная палитра. Адаптивная вёрстка.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mimosa-abkhazia
*/

/* ===== ШРИФТЫ ===== */
@font-face {
    font-family: 'Ramona';
    src: url('fonts/Ramona-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nauryz';
    src: url('fonts/NAURYZREDKEDS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Serif';
    src: url('fonts/IBMPlexSerif-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES — палитра мимоза (жёлтый, зелёный, мягкая) ===== */
:root {
    --color-cream: #f5f0e0;
    --color-light: #faf8f3;
    --color-gold: #c9a227;
    --color-sage: #e5ebdc;
    --color-amber: #d4a84b;
    --color-white: #FFFFFF;
    --color-olive: #6b8e5a;
    --color-mint: #c5d9b8;
    --color-green: #5a7c4a;
    --color-black: #2d2a26;
    --color-soft-yellow: #e8d9a0;
    --color-footer-green: #7a9e6a;

    --font-primary: 'Montserrat', sans-serif;

    --header-height: 70px;
    --section-padding: 60px 24px;
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    background-color: var(--color-light);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== ВЕТКИ ПО САЙТУ (не фиксированы — прокручиваются со страницей, разные размеры) ===== */
.site-branch-wrapper {
    position: relative;
    min-height: 100%;
}

.site-branch-overlay {
    position: absolute;
    top: 0;
    height: 35vh;
    min-height: 180px;
    max-height: 420px;
    z-index: 9999;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
}

.site-branch-left {
    left: 0;
    background-position: left center;
}

.site-branch-right {
    right: 0;
    left: auto;
    background-position: right center;
}

/* Размеры: большие, средние, маленькие */
.site-branch-overlay.branch-lg {
    width: min(280px, 22vw);
    max-width: 320px;
}

.site-branch-overlay.branch-md {
    width: min(200px, 18vw);
    max-width: 240px;
}

.site-branch-overlay.branch-sm {
    width: min(120px, 12vw);
    max-width: 160px;
}

@media (max-width: 768px) {
    .site-branch-overlay {
        height: 28vh;
        min-height: 140px;
        max-height: 280px;
        min-width: 60px; /* чтобы ветки не исчезали на узких экранах */
    }
    .site-branch-overlay.branch-lg { width: min(160px, 28vw); min-width: 80px; }
    .site-branch-overlay.branch-md { width: min(120px, 22vw); min-width: 70px; }
    .site-branch-overlay.branch-sm { width: min(80px, 16vw); min-width: 50px; }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(45, 42, 38, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: var(--header-height);
    flex-wrap: wrap;
    gap: 12px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.header-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-olive);
}

.header-brand:hover .site-title {
    color: var(--color-green);
}

.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-green);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.header-phone-btn:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

.header-phone-btn:focus {
    outline: 2px solid var(--color-amber);
    outline-offset: 2px;
}

/* ===== MAIN ===== */
.site-main {
    padding-top: var(--header-height);
    min-height: 100vh;
}

.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sage) 50%, var(--color-mint) 100%);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 520px;
    text-align: left;
}

.hero h1 {
    font-family: 'Ramona', var(--font-primary);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    font-style: normal;
    color: var(--color-black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-black);
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-cta {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-olive);
    color: var(--color-white);
    transition: background var(--transition), transform var(--transition);
    overflow: hidden;
}

.hero-social-link:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

/* Фиксированный размер иконок — не даём им растягиваться на мобильных */
.hero-social-link img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    min-width: 24px;
    min-height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-image-wrap {
    position: relative;
    flex-shrink: 0;
    width: min(460px, 52vw);
    max-width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 24px;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px rgba(45, 42, 38, 0.1);
    display: block;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Жёлтая пыль: частицы появляются, летят, исчезают */
.hero-particles .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.9);
    animation: particle-dust 5s ease-in-out infinite;
    opacity: 0;
}

.hero-particles .particle:nth-child(1)  { width: 3px; height: 3px; left: 8%;  top: 15%; animation-duration: 5s;  animation-delay: 0s;    }
.hero-particles .particle:nth-child(2)  { width: 4px; height: 4px; left: 22%; top: 55%; animation-duration: 6s;  animation-delay: -0.8s; background: rgba(255, 235, 59, 0.85); }
.hero-particles .particle:nth-child(3)  { width: 2px; height: 2px; left: 48%; top: 25%; animation-duration: 4.5s; animation-delay: -1.5s; background: rgba(255, 193, 7, 0.9); }
.hero-particles .particle:nth-child(4)  { width: 4px; height: 4px; left: 65%; top: 65%; animation-duration: 5.5s; animation-delay: -2s;   }
.hero-particles .particle:nth-child(5)  { width: 3px; height: 3px; left: 78%; top: 35%; animation-duration: 6s;  animation-delay: -0.3s; background: rgba(255, 248, 200, 0.9); }
.hero-particles .particle:nth-child(6)  { width: 5px; height: 5px; left: 88%; top: 60%; animation-duration: 4s;  animation-delay: -1s;   background: rgba(255, 223, 0, 0.85); }
.hero-particles .particle:nth-child(7)  { width: 2px; height: 2px; left: 12%; top: 72%; animation-duration: 6.5s; animation-delay: -2.5s; }
.hero-particles .particle:nth-child(8)  { width: 4px; height: 4px; left: 38%; top: 42%; animation-duration: 5s;  animation-delay: -3s;   background: rgba(255, 235, 59, 0.85); }
.hero-particles .particle:nth-child(9)  { width: 3px; height: 3px; left: 52%; top: 82%; animation-duration: 5.8s; animation-delay: -0.5s; }
.hero-particles .particle:nth-child(10) { width: 2px; height: 2px; left: 92%; top: 18%; animation-duration: 4.8s; animation-delay: -1.8s; background: rgba(255, 248, 200, 0.9); }
.hero-particles .particle:nth-child(11) { width: 4px; height: 4px; left: 3%;  top: 48%; animation-duration: 5.2s; animation-delay: -2.2s; }
.hero-particles .particle:nth-child(12) { width: 3px; height: 3px; left: 72%; top: 8%;  animation-duration: 6.2s; animation-delay: -0.6s; background: rgba(255, 193, 7, 0.85); }

@keyframes particle-dust {
    0%   { opacity: 0;   transform: translate(0, 0) scale(0.6); }
    15%  { opacity: 0.7; transform: translate(12px, -18px) scale(1); }
    40%  { opacity: 1;   transform: translate(35px, -45px) scale(1.1); }
    70%  { opacity: 0.5; transform: translate(55px, -70px) scale(1); }
    100% { opacity: 0;   transform: translate(80px, -95px) scale(0.8); }
}

.hero-cta .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--color-olive);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    text-decoration: none;
}

.hero-cta .phone-btn:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.intro-section {
    padding: 50px 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.section-flower {
    position: absolute;
    width: 56px;
    height: 56px;
    object-fit: contain;
    pointer-events: none;
    will-change: transform;
}
.section-flower-intro {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    opacity: 0.85;
}
@media (min-width: 769px) {
    .section-flower { display: none !important; }
}
@media (max-width: 768px) {
    .section-flower-intro {
        top: 20px;
        right: 12px;
        transform: translateY(0);
        width: 52px;
        height: 52px;
    }
}

.intro-section p {
    font-size: 1.1rem;
    color: var(--color-black);
    line-height: 1.8;
}

/* ===== ПРЕДЗАКАЗ НА 8 МАРТА ===== */
.promo-march-section {
    background: var(--color-footer-green);
    padding: 32px 24px 48px;
    position: relative;
    overflow: hidden;
}

.promo-march-section .promo-march-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 280px;
    max-height: 240px;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    opacity: 0.9;
    pointer-events: none;
}

@media (min-width: 769px) {
    .promo-march-section .promo-march-image {
        animation: flower-sway 4s ease-in-out infinite;
        transform-origin: 70% 100%;
    }
}

@keyframes flower-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.promo-march-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.promo-march-text {
    font-family: 'Ramona', var(--font-primary);
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #2d4a1f;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    padding: 0 4px;
}

.promo-march-sub {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin: 6px 0 0;
    position: relative;
    z-index: 1;
}

/* ===== ГАЛЕРЕЯ (мимоза) ===== */
.tulips-gallery-section {
    padding: 56px 24px 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.tulips-gallery-title {
    font-family: 'Nauryz', var(--font-primary);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    font-style: normal;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 32px;
}

.tulips-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tulips-gallery-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    border: 2px solid var(--color-sage);
    box-shadow: 0 6px 20px rgba(45, 42, 38, 0.06);
    padding: 10px;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.tulips-gallery-item:hover {
    box-shadow: 0 12px 28px rgba(45, 42, 38, 0.1);
    border-color: var(--color-soft-yellow);
    transform: translateY(-4px);
}

.tulips-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-section {
    padding: 56px 24px 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-title {
    font-family: 'Nauryz', var(--font-primary);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    font-style: normal;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 32px;
}

.reviews-wrap {
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.reviews-track.reviews-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.reviews-track:active {
    cursor: grabbing;
}

.reviews-track::-webkit-scrollbar {
    height: 6px;
}

.reviews-track::-webkit-scrollbar-track {
    background: var(--color-sage);
    border-radius: 3px;
}

.reviews-track::-webkit-scrollbar-thumb {
    background: var(--color-soft-yellow);
    border-radius: 3px;
}

.review-card {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: center;
    background: var(--color-white);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(45, 42, 38, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-sage);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    font-size: 0.95rem;
    color: var(--color-black);
    line-height: 1.6;
    margin: 0 0 16px;
}

.review-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-olive);
    margin: 0;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-sage);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.reviews-dot:hover {
    background: var(--color-soft-yellow);
}

.reviews-dot.active {
    background: var(--color-olive);
    transform: scale(1.2);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 56px 24px 72px;
    max-width: 720px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Nauryz', var(--font-primary);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    font-style: normal;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(45, 42, 38, 0.06);
}

.faq-answer-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-black);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-primary);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background var(--transition);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-olive);
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-question:hover {
    background: var(--color-light);
}

.faq-answer {
    padding: 8px 24px 20px;
}

.faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: var(--color-black);
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-section {
    padding: 64px 24px 72px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-title {
    font-family: 'Nauryz', var(--font-primary);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    font-style: normal;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(45, 42, 38, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(45, 42, 38, 0.1);
}

.advantage-card-image-wrap {
    aspect-ratio: 16/9;
    background: var(--color-sage);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.advantage-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.25);
}

.advantage-card-content {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advantage-card-title {
    font-family: 'Ramona', var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.advantage-card-text {
    font-size: 0.9rem;
    color: var(--color-black);
    opacity: 0.85;
    line-height: 1.5;
    margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-footer-green);
    color: var(--color-white);
    padding: 40px 24px 32px;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-phone {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.footer-phone a {
    color: var(--color-white);
}

.footer-phone a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background var(--transition), transform var(--transition);
    overflow: hidden;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.footer-social-link img {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    min-width: 22px;
    min-height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-unp {
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--color-white);
    opacity: 0.98;
}

.footer-unp p {
    margin-bottom: 10px;
}

.footer-unp p:last-child {
    margin-bottom: 0;
}

.footer-copy {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    color: var(--color-white);
    font-weight: 500;
}

/* ===== КНОПКА «НАВЕРХ» ===== */
.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--color-green);
    color: var(--color-white);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    box-shadow: 0 4px 16px rgba(45, 42, 38, 0.2);
}

.scroll-to-top:hover {
    background: var(--color-gold);
}

.scroll-to-top.scroll-to-top-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header-inner {
        padding: 12px 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        flex-wrap: nowrap;
    }

    .header-brand {
        min-width: 0;
        flex: 1;
    }

    .site-title {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 55vw;
    }

    .header-logo {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .header-phone-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .hero-inner {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        max-width: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px 50px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-image-wrap {
        width: min(320px, 88vw);
        order: -1;
    }

    .hero-cta {
        gap: 12px;
    }

    .hero-social-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .hero-social-link img {
        width: 22px;
        height: 22px;
        max-width: 22px;
        max-height: 22px;
        min-width: 22px;
        min-height: 22px;
    }

    .hero-cta .phone-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .advantages-section {
        padding: 48px 20px 56px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        flex-direction: row;
        align-items: stretch;
        text-align: left;
        border-radius: 16px;
        overflow: hidden;
    }

    .advantage-card-image-wrap {
        aspect-ratio: 1;
        width: 220px;
        min-width: 220px;
        min-height: 220px;
        flex-shrink: 0;
        border-radius: 16px 0 0 16px;
        padding: 12px;
    }

    .advantage-card-image {
        transform: scale(1.35);
    }

    .advantage-card-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .advantage-card-title {
        font-size: 1rem;
    }

    .advantage-card-text {
        font-size: 0.85rem;
    }

    .intro-section {
        padding: 40px 20px;
    }

    .intro-section p {
        font-size: 1rem;
    }

    .promo-march-section {
        padding: 12px 16px 14px;
        margin: 0 16px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(45, 42, 38, 0.08);
        max-width: min(320px, 100% - 32px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .promo-march-inner {
        min-height: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .promo-march-text {
        font-size: 0.9rem;
        font-weight: 700;
        color: #2d4a1f;
        line-height: 1.25;
        box-sizing: border-box;
    }

    .promo-march-sub {
        font-size: 0.75rem;
        color: #ffffff;
        margin-top: 2px;
    }

    .promo-march-image {
        display: none !important;
    }

    .tulips-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tulips-gallery-item {
        border-radius: 14px;
        padding: 8px;
    }

    .tulips-gallery-item img {
        border-radius: 10px;
    }

    .site-footer {
        padding: 32px 20px 24px;
    }

    .footer-unp {
        font-size: 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tulips-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
