/* =============================================
   Tourvisor Hero Section
   ============================================= */

.tv-hero {
    position: relative;
    background: url('/images/hero-bg.jpg') center center / cover no-repeat;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 50px;
}

.tv-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,20,60,0.35) 0%, rgba(0,40,90,0.25) 100%);
    z-index: 1;
}

.tv-hero > * { position: relative; z-index: 2; }

/* Country tabs */
.tv-country-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    padding: 14px 25px;
    background: rgba(0, 15, 50, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    margin: 30px auto 0;
}

.tv-country-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tv-country-tabs a:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
}

/* Hero title */
.tv-hero-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 30px 0 30px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Search form */
.tv-hero .tv-search-wrap {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
}

.tv-search-form iframe,
.tv-search-form > div {
    border-radius: 16px !important;
    overflow: hidden;
}

/* =============================================
   Sections
   ============================================= */

.tv-section {
    padding: 70px 0;
}

.tv-section:nth-child(even) {
    background: #f8f9fb;
}

.tv-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: left;
    margin: 0 0 30px;
}

/* =============================================
   Callback / Lead Section
   ============================================= */

.tv-callback-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #eef1fb 100%);
}

.tv-callback {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.tv-callback-left {
    flex: 1;
}

.tv-callback-avatars {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.tv-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tv-avatar:first-child { margin-left: 0; }

.tv-online-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-left: 12px;
}

.tv-callback-left h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 12px;
}

.tv-callback-left p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px;
}

.tv-callback-contacts {
    display: flex;
    gap: 20px;
    align-items: center;
}

.tv-callback-contacts a {
    font-size: 15px;
    font-weight: 600;
    color: #0D09C3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tv-callback-contacts a:hover { text-decoration: underline; }

.tv-callback-contacts .fa-whatsapp {
    color: #25d366;
    font-size: 18px;
}

/* Callback form */
.tv-callback-right {
    flex: 0 0 380px;
}

.tv-callback-form {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 30px;
}

.tv-callback-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8eaf0;
    border-radius: 12px;
    font-size: 16px;
    color: #1a1a2e;
    background: #fff;
    margin-bottom: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.tv-input:focus {
    outline: none;
    border-color: #0D09C3;
}

.tv-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tv-btn:hover {
    opacity: 0.9;
}

.tv-form-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin: 12px 0 0;
}

/* =============================================
   Stats / Why Us
   ============================================= */

.tv-stats-section {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.tv-stats-section .tv-section-title--center {
    text-align: center;
    color: #fff;
}

.tv-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tv-stat {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.tv-stat:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}

.tv-stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-stat-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tv-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.tv-stat-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
}

.tv-stat p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   Reviews
   ============================================= */

.tv-reviews-section {
    background: #f8f9fb;
}

/* Reviews slider */
.tv-reviews-section > .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.tv-reviews-section .tv-section-title {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.tv-reviews-slider {
    position: relative;
    overflow: hidden;
    padding: 10px 60px 20px;
    cursor: grab;
}

.tv-reviews-slider:active {
    cursor: grabbing;
}

.tv-reviews-slider.dragging .tv-review-card {
    pointer-events: none;
}

.tv-reviews-section .tv-reviews-link {
    padding: 0 60px;
}

.tv-reviews {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.tv-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    min-width: 320px;
    flex: 1;
    flex-shrink: 0;
}

/* Slider buttons */
.tv-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: box-shadow 0.2s, transform 0.2s;
    color: #1a1a2e;
    font-size: 20px;
}

.tv-slider-btn:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.08);
}

.tv-slider-prev { left: 5px; }
.tv-slider-next { right: 5px; }

.tv-reviews-link {
    text-align: center;
    margin-top: 20px;
}

.tv-reviews-link a {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 12px;
    transition: opacity 0.2s, transform 0.2s;
}

.tv-reviews-link a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.tv-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e8fce8;
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.tv-review-badge::before {
    content: '\f058';
    font-family: FontAwesome;
    font-size: 14px;
}

.tv-review-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 18px;
}

.tv-review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.tv-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tv-review-avatar--default {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-review-avatar--default i {
    color: #fff;
    font-size: 16px;
}

.tv-review-author {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

/* =============================================
   Map + Contacts
   ============================================= */

.tv-map-section {
    background: #f8f9fb;
    padding-bottom: 70px !important;
}

.tv-map-contacts {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tv-map-info {
    flex: 0 0 380px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.tv-office-card {
    padding: 0;
}

.tv-office-card + .tv-office-card {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.tv-office-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-office-card h3 i {
    color: #0D09C3;
    font-size: 16px;
}

.tv-office-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 3px;
}

.tv-office-card a {
    color: #0D09C3;
    text-decoration: none;
    font-weight: 600;
}

.tv-office-card a:hover { text-decoration: underline; }

.tv-map-embed {
    flex: 1;
    min-height: 420px;
}

.tv-map-embed iframe,
.tv-map-embed > ymaps,
.tv-map-embed > div {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px;
}

/* =============================================
   Footer override
   ============================================= */

footer,
footer *,
#footerBlockWrapper,
#footerBlockWrapper * {
    border-top: none !important;
}

#footerBlockWrapper {
    background: #f4f5f7 !important;
    color: #444 !important;
}

#footerBlockWrapper .footerMenu a,
#footerBlockWrapper .footerCopyright,
#footerBlockWrapper .footerCopyright p,
#footerBlockWrapper .footerCopyright a {
    color: #555 !important;
}

#footerBlockWrapper .footerMenu a:hover {
    color: #22c55e !important;
}

#footerBlockWrapper a,
.footerCopyright a {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Social icons in footer */
.tv-social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.tv-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tv-social-icons a:hover {
    background: #16a34a;
}

.tv-social-icons a i {
    color: #fff;
    font-size: 20px;
}

#footerCreatedBlockWrapper {
    background: #ecedf0 !important;
    color: #888 !important;
}

#footerCreatedBlockWrapper a {
    color: #666 !important;
}

/* =============================================
   SEO Text Block
   ============================================= */

.tv-seo-section {
    border-top: none;
}

/* Remove stray borders from containers */
.tv-section,
.tv-section .container,
#wrapper > div {
    border: none !important;
}

.tv-seo-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
}

.tv-seo-text {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.tv-seo-text p {
    margin: 0 0 14px;
}

.tv-seo-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0 12px;
}

.tv-seo-text ul {
    padding-left: 20px;
    margin: 0 0 14px;
}

.tv-seo-text li {
    margin-bottom: 6px;
}

/* =============================================
   Country Page
   ============================================= */

.tv-country-hero {
    background: linear-gradient(135deg, #0D09C3 0%, #2d1b69 100%);
    padding: 30px 0 40px;
}

.tv-country-hero .Crumbs,
.tv-country-hero .Crumbs a,
.tv-country-hero .breadcrumb,
.tv-country-hero .breadcrumb a {
    color: rgba(255,255,255,0.6) !important;
    background: none !important;
    padding: 0;
    margin: 0 0 10px;
}

.tv-country-hero .breadcrumb a:hover {
    color: #fff !important;
}

.tv-country-title {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.tv-country-content {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.tv-country-content h2,
.tv-country-content h3,
.tv-country-content h4 {
    color: #1a1a2e;
    margin-top: 30px;
}

.tv-country-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
}

.tv-articles {
    display: grid;
    gap: 20px;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 991px) {
    .tv-stats,
    .tv-reviews { grid-template-columns: repeat(2, 1fr); }

    .tv-callback { flex-direction: column; padding: 30px; }
    .tv-callback-right { flex: none; width: 100%; }

    .tv-map-contacts { flex-direction: column; }
    .tv-map-info { flex: none; width: 100%; flex-direction: row; flex-wrap: wrap; }
    .tv-office-card { flex: 1; min-width: 250px; }
}

@media (max-width: 768px) {
    .tv-hero { min-height: 400px; padding: 0 0 30px; }
    .tv-hero-title { font-size: 22px; margin: 20px 10px; }
    .tv-country-tabs { gap: 6px; padding: 10px; border-radius: 20px; }
    .tv-country-tabs a { padding: 7px 14px; font-size: 13px; }
    .tv-section { padding: 50px 0; }
    .tv-section-title { font-size: 24px; }
}

@media (max-width: 576px) {
    .tv-stats,
    .tv-reviews { grid-template-columns: 1fr; }
    .tv-map-info { flex-direction: column; }
    .tv-office-card { min-width: auto; }
}
