/* ════════════════════════════════════════════════════════
   ROYAL-TOUR — Main Stylesheet
   ════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', sans-serif;
    background-color: #fdfdfc;
    color: #1a1a1a;
    line-height: 1.5;
}


.btn-primary {
    background-color: #2D3E40;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    display: inline-block;
    text-align: center;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45,62,64,.2);
}

/* ─── NAV ──────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 16px;
}

.nav-logo {
    font-weight: 800;
    font-size: 24px;
    color: #2D3E40;
    cursor: pointer;
    letter-spacing: -1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo img {
    max-height: 50px;
}

/* Desktop menu */
.nav-menu {
    display: none;
    list-style: none;
    align-items: center;
    gap: 20px;
    flex: 1;
    margin: 0;
    justify-content: center;
}
.nav-menu li { list-style: none; }
.nav-menu li a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
    color: #2D3E40;
    border-bottom-color: #2D3E40;
}

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Burger — hidden by default on desktop, shown on mobile */
.nav-burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1;
}

/* Mobile dropdown */
.nav-mobile {
    display: none;
    background: #fff;
    border-top: 1px solid #f9fafb;
    padding: 16px 20px;
}
.nav-mobile--open { display: block; }
.nav-mobile-list,
.nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nav-mobile li { list-style: none; }
.nav-mobile li a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    text-decoration: none;
    display: block;
    padding: 4px 0;
}
.nav-mobile li a:hover { color: #2D3E40; }

/* Bootstrap d-lg-none handles burger visibility.
   We still enforce nav-menu show/hide: */
@media (min-width: 992px) {
    .nav-menu { display: flex !important; }
}
@media (max-width: 991px) {
    .nav-menu { display: none !important; }
}

/* ─── FOOTER ───────────────────────────────────────── */
.site-footer {
    padding: 80px 0 40px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    margin-top: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-weight: 800;
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 14px;
}
.footer-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #1a1a1a;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    font-size: 14px;
    color: #999;
    line-height: 2;
    margin-bottom: 1rem;
}
.footer-links p {   
    margin-bottom: 0rem;
}
.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.footer-links p a:hover { color: #1a1a1a; }

/* ─── WordPress Menu Classes ──────────────────────── */
.footer-widget .menu {
    list-style: none;
    font-size: 14px;
    color: #999;
    line-height: 2;
}
.footer-widget .menu li a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.footer-widget .menu li a:hover { color: #1a1a1a; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #f9f9f9;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #ccc;
}

/* ─── Footer Social Icons ──────────────────────── */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #2D3E40;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.footer-social-icon:hover {
    background-color: #2D3E40;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(45,62,64,.2);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ─── MODAL ────────────────────────────────────────── */
#modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-box {
    background: #fff;
    padding: 50px;
    border-radius: 50px;
    width: 90%;
    max-width: 500px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 25px; right: 25px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    opacity: .3;
    transition: opacity .2s;
}
.modal-close:hover { opacity: 1; }

.modal-title {
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    text-align: center;
    margin-bottom: 24px;
}

.input-style {
    width: 100%;
    padding: 16px 20px;
    background: #f8f8f6;
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: inherit;
    font-size: .95rem;
    outline: none;
    transition: background .2s, border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.input-style:focus {
    background: #fff;
    border-color: #2D3E40;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.btn-submit {
    padding: 18px;
    width: 100%;
}


/* ══════════════════════════════════════════════════════
   PAYMENT PAGE
   ══════════════════════════════════════════════════════ */

.payment-page {
    padding: 80px 0;
    min-height: calc(100vh - 80px);
}

.payment-page__title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    font-style: italic;
    text-align: center;
    margin-bottom: 48px;
}

/* ─── grid: 2 cols on desktop ── */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .payment-grid { grid-template-columns: 1fr; }
}

/* ─── box ── */
.payment-box {
    padding: 40px;
    border-radius: 40px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.payment-box--dark {
    background: #2D3E40;
    border-color: #2D3E40;
    color: #fff;
}

.payment-box__title {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 16px;
}

.payment-box__desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 2;
    margin-bottom: 0;
}

.payment-box--dark .payment-box__desc { color: rgba(255,255,255,.7); }

/* ─── providers (PayMe / Click) ── */
.payment-providers {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.payment-provider {
    flex: 1;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .05em;
    color: #1a1a1a;
}

/* ─── divider between instruction + create-order ── */
.payment-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 32px 0;
}

/* ─── forms inside payment ── */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* dark-box input override */
.input-style--dark {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.15);
}
.input-style--dark::placeholder { color: rgba(255,255,255,.45); }
.input-style--dark:focus {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
}

.btn-full { width: 100%; padding: 18px; }

/* white button on dark bg */
.btn-inverted {
    background: #fff !important;
    color: #2D3E40 !important;
}
.btn-inverted:hover {
    background: #f4f6f5 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

/* ─── order result card ── */
.order-result {
    margin-top: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-result__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.order-result__label { color: rgba(255,255,255,.6); }

.order-result__value {
    font-weight: 800;
    color: #fff;
}

.order-result__notice {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    text-align: center;
}


/* ══════════════════════════════════════════════════════════
   HERO BANNER & RESPONSIVE HELPERS
   ══════════════════════════════════════════════════════════ */

.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 3rem 3rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(to top, rgba(253,253,252,1), rgba(253,253,252,0));
}

.hero-banner-inner {
    position: relative;
    z-index: 10;
}

/* ─── responsive utilities ──────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-6 { gap: 1.5rem; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }

/* ─── section styling ───────────────────────────────────── */
.section-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
}

/* ─── cards ─────────────────────────────────────────── */
.card-shadow {
    box-shadow: 0 14px 50px rgba(0,0,0,.05);
}

.soft-shadow {
    box-shadow: 0 8px 30px rgba(45,62,64,.08);
}

.stat-card {
    background: linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
    border: 1px solid #edf0ee;
    border-radius: 2rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(45,62,64,.08);
}

.testimonial-card {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fcfcfb 100%);
    border: 1px solid #edf0ee;
    border-radius: 2rem;
    padding: 2rem;
    transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(45,62,64,.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.2rem;
    font-size: 3rem;
    line-height: 1;
    color: #d1d5db;
    font-weight: 800;
}

.testimonial-card.pt-12 { padding-top: 3rem; }

.country-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(180deg, #f7f8f7 0%, #f1f3f2 100%);
    border: 1px solid #ebeef0;
    padding: .8rem 1rem;
    border-radius: 1rem;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* ─── text utilities ───────────────────────────────────── */
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }

/* ════════════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════════════ */

.form-input {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: #d1d5db;
}

/* ════════════════════════════════════════════════════════
   MEDIA GALLERY
   ════════════════════════════════════════════════════════ */

.media-card {
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.media-card img {
    transition: transform .4s ease, filter .3s ease;
}

.media-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.media-card .absolute {
    position: absolute;
}

.media-card [class*="inset-"] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.filter-btn {
    background: linear-gradient(180deg, #f7f8f7 0%, #f1f3f2 100%);
    border: 1.5px solid #e5e7eb;
    color: #374151;
    padding: .75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: #fff;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════
   SPACING & SIZING
   ════════════════════════════════════════════════════════ */

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.pt-4 { padding-top: 1rem; }
.pt-12 { padding-top: 3rem; }
.m-0 { margin: 0; }

/* ════════════════════════════════════════════════════════
   TRANSITIONS & EFFECTS
   ════════════════════════════════════════════════════════ */

.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease { animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* ════════════════════════════════════════════════════════
   BACKGROUND UTILITIES
   ════════════════════════════════════════════════════════ */

.object-cover { object-fit: cover; }

/* ════════════════════════════════════════════════════════
   LANG SWITCHER
   ════════════════════════════════════════════════════════ */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #f4f6f5;
    border-radius: 10px;
    padding: 3px;
}

.lang-switcher__item {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    text-decoration: none;
    padding: 5px 9px;
    border-radius: 8px;
    transition: background .2s, color .2s;
    line-height: 1;
}

.lang-switcher__item:hover {
    color: #2D3E40;
}

.lang-switcher__item--active {
    background: #2D3E40;
    color: #fff !important;
}

/* мобильный вариант */
.lang-switcher--mobile {
    margin-top: 12px;
    display: inline-flex;
}

/* заглушка — чуть приглушена */
.lang-switcher--stub .lang-switcher__item:not(.lang-switcher__item--active) {
    opacity: .55;
    cursor: default;
}


/* ══════════════════════════════════════════════════════
   CF7 ВНУТРИ МОДАЛКИ — сброс дефолтных стилей CF7
   ══════════════════════════════════════════════════════ */

.modal-cf7 .wpcf7 { margin: 0; }

/* все инпуты CF7 — наш стиль */
.modal-cf7 input[type="text"],
.modal-cf7 input[type="tel"],
.modal-cf7 input[type="email"],
.modal-cf7 input[type="number"],
.modal-cf7 textarea,
.modal-cf7 select {
    width: 100%;
    padding: 16px 20px;
    background: #f8f8f6;
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: background .2s, border-color .2s;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 12px;
    display: block;
}

.modal-cf7 input:focus,
.modal-cf7 textarea:focus,
.modal-cf7 select:focus {
    background: #fff;
    border-color: #2D3E40;
}

.modal-cf7 textarea {
    min-height: 100px;
    resize: vertical;
}

/* кнопка отправки CF7 */
.modal-cf7 input[type="submit"],
.modal-cf7 .wpcf7-submit {
    width: 100%;
    background: #2D3E40;
    color: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    border: none;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    margin-top: 4px;
}

.modal-cf7 input[type="submit"]:hover,
.modal-cf7 .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45,62,64,.2);
}

/* сообщения валидации */
.modal-cf7 .wpcf7-not-valid-tip {
    font-size: 11px;
    color: #ef4444;
    margin-top: -8px;
    margin-bottom: 8px;
    display: block;
}

.modal-cf7 .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: none !important;
    text-align: center;
}

/* успех */
.modal-cf7 .wpcf7-mail-sent-ok {
    background: #ecfdf5;
    color: #059669;
}

/* ошибка */
.modal-cf7 .wpcf7-mail-sent-ng,
.modal-cf7 .wpcf7-aborted {
    background: #fef2f2;
    color: #dc2626;
}

/* спам */
.modal-cf7 .wpcf7-spam-blocked {
    background: #fffbeb;
    color: #d97706;
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE STYLES
   ══════════════════════════════════════════════════════ */

.about-container {
    padding: 0 24px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}

.about-content h2 {
    margin-bottom: 32px;
}

.about-text {
    margin-bottom: 32px;
    color: #6b7280;
    line-height: 1.5;
    font-size: 18px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    color: #059669;
    font-size: 24px;
    flex-shrink: 0;
}

.about-feature-text {
    font-weight: 800;
    font-size: 14px;
    margin: 0;
}

.about-image {
    border-radius: 48px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-stat-value {
    font-size: 30px;
    font-weight: 800;
    color: #2D3E40;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   CONTACTS PAGE STYLES
   ══════════════════════════════════════════════════════ */

.contacts-container {
    padding: 0 24px;
    margin: 0 auto;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contacts-info h2 {
    margin-bottom: 40px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacts-item-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 8px;
}

.contacts-item-value {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.contacts-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contacts-two-col-value {
    font-weight: 800;
    margin: 0;
}

.contacts-socials {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contacts-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f8f8f6;
    padding: 14px 20px;
    border-radius: 32px;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
    color: #2D3E40;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contacts-social-chip:hover {
    background-color: #2D3E40;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45,62,64,.15);
}

.contacts-social-chip i {
    font-size: 24px;
}

.contacts-form-box {
    background: white;
    padding: 40px;
    border-radius: 48px;
    box-shadow: 0 14px 50px rgba(0,0,0,.05);
    border: 1px solid #f0f0f0;
}

.contacts-form-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 32px;
    font-style: italic;
}

/* ─── CF7 внутри контактной формы ──────────────── */
.contacts-form-box .wpcf7 {
    margin: 0;
}

.contacts-form-box .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Убираем дефолтные обёртки CF7 */
.contacts-form-box .wpcf7-form p {
    margin: 0 0 16px 0;
    padding: 0;
}

.contacts-form-box .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}

.contacts-form-box .wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 8px;
}

.contacts-form-box .wpcf7-form label br {
    display: none;
}

.contacts-form-box input[type="text"],
.contacts-form-box input[type="tel"],
.contacts-form-box input[type="email"],
.contacts-form-box input[type="number"],
.contacts-form-box textarea,
.contacts-form-box select {
    width: 100%;
    padding: 16px 20px;
    background: #f8f8f6;
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: background .2s, border-color .2s;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
}

.contacts-form-box input:focus,
.contacts-form-box textarea:focus,
.contacts-form-box select:focus {
    background: #fff;
    border-color: #2D3E40;
}

.contacts-form-box textarea {
    min-height: 128px;
    resize: vertical;
}

/* Убираем обёртку span CF7 */
.contacts-form-box .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Кнопка отправки */
.contacts-form-box input[type="submit"],
.contacts-form-box .wpcf7-submit {
    width: 100%;
    background: #2D3E40;
    color: #fff;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    margin-top: 8px;
}

.contacts-form-box input[type="submit"]:hover,
.contacts-form-box .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(45,62,64,.2);
}

/* Убираем спиннер */
.contacts-form-box .wpcf7-spinner {
    display: none;
}

/* Сообщения валидации и результата */
.contacts-form-box .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: none !important;
    text-align: center;
}

.contacts-form-box .wpcf7-mail-sent-ok {
    background: #ecfdf5;
    color: #059669;
}

.contacts-form-box .wpcf7-mail-sent-ng,
.contacts-form-box .wpcf7-aborted {
    background: #fef2f2;
    color: #dc2626;
}

.contacts-form-box .wpcf7-not-valid-tip {
    font-size: 11px;
    color: #ef4444;
    margin-top: -8px;
    margin-bottom: 8px;
    display: block;
}

/* Скрываем ненужные элементы */
.contacts-form-box .screen-reader-response {
    display: none;
}

/* ══════════════════════════════════════════════════════
   TOURS PAGE STYLES
   ══════════════════════════════════════════════════════ */

.tours-container {
    padding: 0 24px;
    max-width: 1280px;    margin: 0 auto;
}

.tours-header {
    margin-bottom: 48px;
}

.tours-header h2 {
    margin-bottom: 16px;
}

.tours-header-desc {
    color: #6b7280;
    max-width: 768px;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.tour-card {
    background: white;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 14px 50px rgba(0,0,0,.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.tour-card-image {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.tour-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.tour-card-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tour-card-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.tour-card-meta {
    margin-bottom: 32px;
}

.tour-card-meta-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #999999;
    margin-bottom: 4px;
}

.tour-card-meta-value {
    font-weight: 800;
    font-size: 14px;
    font-style: italic;
}

.tour-card-button {
    width: 100%;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .about-grid,
    .contacts-grid,
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contacts-two-col {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 320px;
    }

    .tour-card-image {
        height: 200px;
    }
}