/* =========================================================
   Основы духовной кулинарии — тема 2026
   Bootstrap 5.3 override + кастомные компоненты
   ========================================================= */

:root {
    --brand: #ff871c;
    --brand-2: #ffb347;
    --brand-3: #f0ad4e;
    --brand-dark: #c96a0d;
    --accent: #7c3aed;
    --ink: #1c1b1b;
    --ink-2: #4a4a4a;
    --muted: #7a7a7a;
    --line: #ececec;
    --bg: #fffaf4;
    --bg-2: #f7f2ea;
    --card: #ffffff;
    --shadow-sm: 0 2px 8px rgba(28, 27, 27, .06);
    --shadow: 0 12px 40px -12px rgba(255, 135, 28, .25);
    --shadow-lg: 0 30px 80px -30px rgba(255, 135, 28, .45);
    --radius: 20px;
    --radius-lg: 28px;
    --grad-brand: linear-gradient(135deg, #ff871c 0%, #ffb347 55%, #f5c95a 100%);
    --grad-warm: linear-gradient(180deg, #fffaf4 0%, #fff4e3 100%);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

a { text-decoration: none; color: var(--brand-dark); }
a:hover { color: var(--brand); }

img { max-width: 100%; height: auto; }

.text-gradient {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-border-radius: 100px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:focus { box-shadow: none; }

.btn-brand {
    background: var(--grad-brand);
    color: #fff;
    border: none;
    padding: 12px 26px;
    box-shadow: 0 10px 28px -10px rgba(255, 135, 28, .7);
}
.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -12px rgba(255, 135, 28, .8);
}
.btn-brand.btn-lg { padding: 15px 34px; font-size: 1rem; }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
    padding: 12px 26px;
}
.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    background: #fff;
    transform: translateY(-2px);
}
.btn-ghost.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    padding: 14px 0;
    transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 6px 30px -12px rgba(0,0,0,.12);
    padding: 8px 0;
}

.navbar-brand { padding: 0; }
.brand-icon {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 20px -8px rgba(255, 135, 28, .8);
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    gap: 2px;
}
.brand-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    transition: color .3s;
}
.brand-sub {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    transition: color .3s;
}
.site-header.scrolled .brand-title { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--muted); }

.navbar-nav .nav-link {
    color: rgba(255,255,255,.9);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px !important;
    border-radius: 100px;
    transition: color .25s, background .25s;
}
.navbar-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-header.scrolled .nav-link { color: var(--ink-2); }
.site-header.scrolled .nav-link:hover { color: var(--brand-dark); background: rgba(255,135,28,.1); }

.navbar-toggler {
    border: none;
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.site-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(28,27,27,0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 12px;
        background: rgba(20, 12, 4, .95);
        backdrop-filter: blur(12px);
        border-radius: 18px;
        padding: 16px;
    }
    .site-header.scrolled .navbar-collapse { background: #fff; box-shadow: var(--shadow); }
    .navbar-nav .nav-link { color: #fff !important; }
    .site-header.scrolled .nav-link { color: var(--ink) !important; }
    .site-header.scrolled .nav-link:hover { color: var(--brand-dark) !important; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #2a1408 0%, #5c2e08 45%, #b35a10 100%);
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(1200px 600px at 85% 20%, rgba(255, 179, 71, .35), transparent 60%),
        radial-gradient(900px 500px at 15% 85%, rgba(255, 87, 34, .28), transparent 60%);
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    pointer-events: none;
    animation: floatY 14s ease-in-out infinite;
}
.hero-glow-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #ffb347 0%, transparent 70%);
    top: -120px; right: -80px;
}
.hero-glow-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #ff6b1c 0%, transparent 70%);
    bottom: -140px; left: -100px;
    animation-delay: -6s;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-30px) scale(1.06); }
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    color: #ffd9a8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-lead {
    color: rgba(255,255,255,.82);
    font-size: 1.075rem;
    max-width: 540px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.hero-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    color: rgba(255,255,255,.85);
    font-size: 14.5px;
}
.hero-meta i { color: var(--brand-2); margin-right: 6px; }

.hero-book {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
}
.hero-book-img {
    position: relative;
    max-height: 520px;
    width: auto;
    border-radius: 8px;
    box-shadow:
        0 40px 80px -30px rgba(0,0,0,.7),
        0 0 0 1px rgba(255,255,255,.05),
        0 0 90px -10px rgba(255, 179, 71, .55);
    transform: rotateY(-8deg) rotateX(3deg);
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
    z-index: 1;
}
.hero-book:hover .hero-book-img {
    transform: rotateY(0) rotateX(0) translateY(-6px);
}
.hero-book-glow {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 179, 71, .55), transparent 65%);
    filter: blur(50px);
    animation: floatY 10s ease-in-out infinite;
}
.hero-badge {
    position: absolute;
    top: 8px; right: 8%;
    background: #fff;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 100px;
    box-shadow: var(--shadow);
    z-index: 2;
}
.hero-badge i { color: var(--brand); }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    animation: bounce 2.2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

@media (max-width: 991.98px) {
    .hero { padding: 120px 0 80px; min-height: auto; text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-meta { justify-content: center; }
    .hero-book { margin-bottom: 20px; }
    .hero-book-img { max-height: 380px; transform: none; }
}

/* ---------- Section base ---------- */
.section { padding: 100px 0; position: relative; }
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 14px;
    position: relative;
    padding: 0 40px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28px;
    height: 1.5px;
    background: var(--grad-brand);
    border-radius: 2px;
}
.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }

.section-title {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-sub {
    color: var(--ink-2);
    font-size: 1.05rem;
    margin: 0 auto;
}

/* ---------- Counters ---------- */
.counters {
    padding: 0;
    margin-top: -70px;
    position: relative;
    z-index: 5;
}
.counter-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 38px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    height: 100%;
    transition: transform .35s, box-shadow .35s;
}
.counter-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(255,135,28,.35);
}
.counter-icon {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 12px 24px -10px rgba(255, 135, 28, .8);
}
.counter-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.counter-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ---------- Gallery ---------- */
.gallery-section { background: var(--grad-warm); }

/* Контейнер слайдера */
.bookSwiper { padding-bottom: 60px; }

.bookSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

/* Карточка галереи */
.gallery-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide-active .gallery-item {
    box-shadow: var(--shadow);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

/* Ссылка-обертка */
.gallery-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 0;
    cursor: zoom-in;
}

.gallery-link img {
    display: block;
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity .25s;
}

.gallery-link:hover img {
    opacity: .9;
}

/* Swiper controls — общий стиль */
.swiper-button-prev, .swiper-button-next {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
    transition: background .25s, color .25s, transform .25s;
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; font-weight: 900; }
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: var(--grad-brand);
    color: #fff;
    transform: scale(1.06);
}
.swiper-pagination-bullet {
    background: var(--brand);
    opacity: .35;
}
.swiper-pagination-bullet-active { opacity: 1; }

/* ---------- Chapters ---------- */
.about-section { background: #fff; }
.chapter-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 26px;
    height: 100%;
    text-align: center;
    transition: transform .35s, box-shadow .35s, border-color .35s;
    position: relative;
    overflow: hidden;
}
.chapter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-warm);
    opacity: 0;
    transition: opacity .35s;
}
.chapter-card > * { position: relative; z-index: 1; }
.chapter-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(255,135,28,.35);
}
.chapter-card:hover::before { opacity: 1; }
.chapter-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 20px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 12px 24px -12px rgba(255, 135, 28, .8);
}
.chapter-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.chapter-text {
    color: var(--ink-2);
    font-size: .95rem;
    margin: 0;
}

/* ---------- Author ---------- */
.author-section { background: var(--grad-warm); }
.author-photo {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}
.author-photo img {
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.author-photo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 40px;
    background: var(--grad-brand);
    opacity: .18;
    filter: blur(30px);
}
.author-text p {
    color: var(--ink-2);
    margin-bottom: 14px;
}
.author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- Buy ---------- */
.buy-section { background: #fff; }
.shop-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 26px 30px;
    text-align: center;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
    height: 100%;
}
.shop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-brand);
    opacity: 0;
    transition: opacity .35s;
}
.shop-card > * { position: relative; z-index: 1; }
.shop-card:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.shop-card:hover::before { opacity: 1; }
.shop-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 20px;
    background: rgba(255,135,28,.12);
    color: var(--brand-dark);
    font-size: 26px;
    transition: background .3s, color .3s;
}
.shop-card:hover .shop-icon {
    background: rgba(255,255,255,.22);
    color: #fff;
}
.shop-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.shop-note {
    font-size: .88rem;
    color: var(--muted);
    transition: color .3s;
}
.shop-card:hover .shop-note { color: rgba(255,255,255,.85); }
.shop-arrow {
    display: inline-flex;
    align-items: center; justify-content: center;
    margin-top: 18px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    transition: transform .3s, background .3s;
}
.shop-card:hover .shop-arrow {
    background: #fff;
    color: var(--brand-dark);
    transform: translateX(4px);
}

.wholesale {
    margin: 50px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    justify-content: center;
    background: var(--grad-warm);
    border: 1px dashed rgba(255,135,28,.4);
    border-radius: 100px;
    padding: 16px 28px;
    max-width: fit-content;
    color: var(--ink-2);
    font-size: 1rem;
}
.wholesale i { color: var(--brand); font-size: 1.2rem; }
.wholesale a { font-weight: 700; color: var(--brand-dark); }

/* ---------- Reviews ---------- */
.reviews-section {
    background: linear-gradient(180deg, #2a1408 0%, #3d1c07 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.reviews-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 90% 10%, rgba(255,179,71,.22), transparent 60%),
        radial-gradient(700px 400px at 10% 90%, rgba(255,107,28,.18), transparent 60%);
    pointer-events: none;
}
.reviews-section .container { position: relative; z-index: 1; }
.reviews-section .section-title { color: #fff; }
.reviews-section .section-eyebrow { color: var(--brand-2); }
.reviews-section .section-eyebrow::before,
.reviews-section .section-eyebrow::after { background: var(--brand-2); }

.reviewsSwiper { padding-bottom: 70px; }

/* Слайды одинаковой высоты */
.reviewsSwiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.review-card {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 44px 40px 34px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .3s, background .3s;
}
.review-card:hover { border-color: rgba(255,179,71,.4); }

.review-quote {
    position: absolute;
    top: 24px; right: 32px;
    font-size: 46px;
    color: rgba(255,179,71,.25);
    line-height: 1;
}

/* Ограничиваем текст в карточке, чтобы карточки были равными */
.review-text {
    color: rgba(255,255,255,.86);
    font-size: 1rem;
    position: relative;
    flex-grow: 1;
    margin-bottom: 20px;
}
.review-text p {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Показываем только 6 строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.review-toggle {
    align-self: flex-start;
    background: none;
    border: 1.5px solid rgba(255,179,71,.55);
    color: var(--brand-2);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: .88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .25s, color .25s;
    margin-bottom: 24px;
}
.review-toggle:hover { background: var(--grad-brand); color: #fff; border-color: transparent; }
.review-toggle i { transition: transform .3s; }
.review-toggle:hover i { transform: translateX(4px); }

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto; /* Прижимаем автора к низу */
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.review-author img {
    width: 62px; height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,179,71,.5);
}
.review-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}
.review-role {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    line-height: 1.4;
}

/* --- Стили для модалок --- */
.modal-backdrop.show { opacity: 0.8; } /* Чуть темнее фон */

.review-modal .modal-content {
    background: var(--bg);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}
.review-modal .modal-header {
    border-bottom: 1px solid var(--line);
    padding: 24px 32px;
}
.review-modal .modal-body {
    padding: 32px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-2);
}
.review-modal .modal-body p { margin-bottom: 16px; }
.review-modal .modal-body p:last-child { margin-bottom: 0; }

.review-modal-quote {
    position: absolute;
    top: 10px; right: 30px;
    font-size: 80px;
    color: rgba(255,135,28,.1);
    line-height: 1;
    pointer-events: none;
}

.review-modal-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.review-modal-author img {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-2);
}
.review-modal .modal-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}
.review-modal-role {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.3;
}
.review-modal .btn-close {
    align-self: flex-start;
    margin-top: 8px;
}

/* ---------- Contacts ---------- */
.contacts-section { background: #fff; }
.contact-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    color: var(--ink);
    transition: transform .35s, box-shadow .35s, border-color .35s;
    height: 100%;
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(255,135,28,.35);
    color: var(--ink);
}
.contact-icon {
    width: 68px; height: 68px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 22px;
    background: color-mix(in srgb, var(--c) 12%, #fff);
    color: var(--c);
    font-size: 28px;
    transition: background .3s, color .3s, transform .3s;
}
.contact-card:hover .contact-icon {
    background: var(--c);
    color: #fff;
    transform: scale(1.05) rotate(-4deg);
}
.contact-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.contact-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    word-break: break-word;
}

/* ---------- Map ---------- */
.map-section { line-height: 0; }
.map-section iframe { display: block; filter: saturate(.9); }

/* ---------- Footer ---------- */
.site-footer {
    background: #1a0f06;
    color: rgba(255,255,255,.7);
    padding: 34px 0;
    font-size: .92rem;
}
.footer-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}
.footer-brand i { color: var(--brand); }
.footer-copy { font-size: .85rem; margin-top: 4px; }
.social-btn {
    display: inline-flex;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #fff;
    margin-left: 8px;
    font-size: 16px;
    transition: background .3s, transform .3s;
}
.social-btn:hover {
    background: var(--grad-brand);
    color: #fff;
    transform: translateY(-3px);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-glow, .hero-book-glow, .hero-scroll { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767.98px) {
    .section { padding: 70px 0; }
    .section-head { margin-bottom: 44px; }
    .counter-card { padding: 30px 20px; }
    .counter-value { font-size: 2.4rem; }
    .review-card { padding: 34px 26px 26px; }
    .review-quote { font-size: 36px; top: 18px; right: 22px; }
    .wholesale { border-radius: 22px; padding: 14px 20px; text-align: center; }
    .hero-title { font-size: 2rem; }
    .gallery-link img { height: 280px; }
}
