/* SECCIÓN 1: HERO CATEGORÍA */
.category-hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.2);
    z-index: 1;
}

.category-hero-section .hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px;
}

.category-hero-section .hero-content {
    text-align: left;
    color: white;
}

.category-hero-section .hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-underline {
    width: 60px;
    height: 3px;
    background: #D13138;
    margin: 0 0 20px 0;
}

.category-hero-section .hero-price {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: white;
}

.category-hero-section .hero-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .category-hero-section {
        min-height: 50vh;
    }
    
    .category-hero-section .hero-content-wrapper {
        padding: 40px 20px;
    }
    
    .category-hero-section .hero-title {
        font-size: 32px;
    }
    
    .category-hero-section .hero-price {
        font-size: 18px;
    }
}

.hero-price .price-highlight {
    color: #D13138;
    font-weight: 700;
    -webkit-text-stroke: 4px white;
    paint-order: stroke fill;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.3);
}

/* SECCIÓN 2: EXPLORA */
.category-explore-section {
    background: #fff;
    padding: 60px 20px;
}

.explore-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.explore-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.explore-title-underline {
    width: 60px;
    height: 3px;
    background: #D13138;
    margin: 0 auto 25px;
}

.explore-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 900px;
    margin: 0 auto 40px;
}

.explore-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.explore-badges img {
    max-width: 80px;
    height: auto;
}

@media (max-width: 768px) {
    .explore-badges {
        gap: 20px;
    }
    
    .explore-badges img {
        max-width: 60px;
    }
}

/* SECCIÓN 3: TOUR DESTACADO */
.featured-tour-section {
    background-size: cover;
    background-position: center;
    background-color: #D13138;
    padding: 60px 20px;
    color: white;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0 0 15px 0;
    text-align: center;
}

.featured-title-underline {
    width: 60px;
    height: 3px;
    background: white;
    margin: 0 auto 25px;
}

.featured-concept {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.featured-icons-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.featured-icon-item {
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.featured-icon-item .icon-image {
    width: 60px;
    height: 60px;
}

.featured-icon-item .icon-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.featured-icon-item .icon-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.featured-icon-item .icon-subtitle {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.featured-two-columns {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 40px;
    align-items: start;
}

.featured-left {
    padding-right: 20px;
}

.featured-left-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.featured-price-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.featured-price-box .price-label {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.featured-price-box .price-value {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.featured-button {
    display: inline-block;
    background: white;
    color: #D13138;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.featured-right {
    position: relative;
}

.featured-main-image {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.featured-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-small-buttons {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 0;
}

.small-hero-btn {
    width: 60px;
    height: 60px;
    border: none;
    background-color: rgba(209, 49, 56, 0.7);
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.small-hero-btn:hover {
    opacity: 0.9;
}

.small-btn-1 {
    border-radius: 10px 0 0 0;
}

.small-btn-2 {
    border-radius: 0;
}

.small-btn-3 {
    background-color: rgba(210, 164, 77, 0.7);
    border-radius: 0 10px 0 0;
}

.small-hero-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    filter: brightness(0) invert(1);
}

@media (max-width: 968px) {
    .featured-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .featured-icons-grid {
        grid-template-columns: 1fr;
    }
    
    .small-hero-btn {
        width: 50px;
        height: 50px;
    }
}

/* SECCIÓN 4: GRID DE TOURS */
.category-tours-grid {
    background: #f9f9f9;
    padding: 60px 70px;
}

.tours-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tour-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    display: grid;
    grid-template-columns: 0.85fr 0.85fr 0.85fr 0.85fr 1.4fr;
    gap: 15px;
    min-height: 420px;
    transition: transform 0.3s ease;
}

.tour-card.reversed {
    grid-template-columns: 1.4fr 0.85fr 0.85fr 0.85fr 0.85fr;
}

.tour-card:hover {
    transform: translateY(-3px);
}

.tour-card-gallery {
    grid-column: span 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    order: 1;
}

.tour-card.reversed .tour-card-gallery {
    order: 2;
}

.tour-gallery-item {
    overflow: hidden;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tour-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.tour-card:hover .tour-gallery-item img {
    transform: scale(1.05);
}

.tour-card-info {
    grid-column: span 1;
    padding: 25px 25px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    order: 2;
}

.tour-card.reversed .tour-card-info {
    order: 1;
}

.tour-card:hover .tour-card-info {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tour-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.tour-card-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #D13138;
    margin-top: 10px;
}

.tour-card-cities {
    font-size: 13px;
    color: #666;
    margin: 0 0 5px 0;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tour-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

.tour-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
}

.tour-card-concept {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 5px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tour-card-concept p {
    display: inline;
    margin: 0;
    padding: 0;
}

.tour-card-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
}

.tour-card-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.tour-card-details span::before {
    font-size: 14px;
    opacity: 0.8;
}

.tour-card-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 5px;
    border-top: 2px solid #f0f0f0;
    margin-top: auto;
}

.tour-card-price {
    font-size: 22px;
    font-weight: 700;
    color: #D13138;
    margin: 0;
}

.tour-card-button {
    background: #D2A44D;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.tour-card-button:hover {
    background: #c49440;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .tour-card,
    .tour-card.reversed {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .tour-card-gallery {
        grid-column: span 1;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tour-card-info {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .tour-card,
    .tour-card.reversed {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tour-card-gallery {
        grid-column: span 1;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
        height: 300px;
        order: 1 !important;
    }
    
    .tour-card-info {
        grid-column: span 1;
        order: 2 !important;
        padding: 20px;
    }
    
    .tour-card-title {
        font-size: 20px;
    }
    
    .tour-card-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .tour-card-gallery {
        height: 250px;
    }
    
    .tour-card-info {
        padding: 15px;
    }
}

/* SECCIÓN 5: BARRA NEGRA */
.category-footer-bar {
    background: #000;
    padding: 40px 20px;
}

.footer-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-bar-logo img {
    max-width: 200px;
    height: auto;
}

.footer-bar-icons {
    display: flex;
    gap: 60px;
    align-items: center;
}

.footer-icon-item {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.footer-icon-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.footer-icon-item p {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-bar-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bar-icons {
        gap: 30px;
    }
    
    .footer-icon-item {
        display: block;
        text-align: center;
    }
}

/* SECCIÓN 6: FORMULARIO */
.category-contact-section {
    background: #f5f5f5;
    padding: 60px 20px;
}

.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-left {
    background: #000;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
}

.contact-title-underline {
    width: 60px;
    height: 3px;
    background: #D13138;
    margin: 0;
}

.contact-right {
    padding: 40px;
    background: white;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-left {
        padding: 40px 20px;
    }
}

/* SECCIÓN 7: SLIDER CATEGORÍAS */
.slider-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.slider-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.slider-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 56px;
    padding: 0 16px;
    max-width: 720px;
}

.slider-header-bar {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 24px;
}

.slider-header-bar span {
    width: 120px;
    height: 4px;
    border-radius: 9999px;
    background: #D13138;
}

.slider-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0px;
}

.slider-header p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.slider-container {
    position: relative;
    z-index: 10;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow {
    position: absolute;
    z-index: 20;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    padding: 8px;
}

.slider-arrow:hover {
    color: #fff;
}

.slider-arrow.disabled {
    opacity: 0.4;
    cursor: default;
}

.slider-arrow-left  { left: -4%; }
.slider-arrow-right { right: -4%; }

.slider-arrow svg {
    width: 40px;
    height: 40px;
}

.slider-cards {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
}

.slider-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transition:
        transform 1s cubic-bezier(0.22, 0.61, 0.36, 1),
        width     1s cubic-bezier(0.22, 0.61, 0.36, 1),
        height    1s cubic-bezier(0.22, 0.61, 0.36, 1),
        z-index   0s;
}

.slider-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    transition: box-shadow 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.slider-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2) 50%, transparent);
}

.slider-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 48px;
    padding-left: 16px;
    padding-right: 16px;
}

.slider-card-content h3 {
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slider-card-content h3.center-title { font-size: 1.65rem; }
.slider-card-content h3.side-title   { font-size: 1.25rem; }

.slider-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #D13138;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 20px;
    border-radius: 10px;
    transition: background 0.3s;
}

.slider-card-btn:hover {
    background: #a8242a;
    color: #fff;
    text-decoration: none;
}

.slider-card-ring {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.slider-dots {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.slider-dot {
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot-active {
    width: 32px;
    height: 8px;
    background: #D13138;
}

.slider-dot-inactive {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.35);
}

.slider-dot-inactive:hover {
    background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1023px) {
    .slider-header h2     { font-size: 2rem; }
    .slider-cards          { height: 460px; }
    .slider-arrow svg      { width: 36px; height: 36px; }
    .slider-card-content  { padding-bottom: 40px; }
    .slider-card-content h3.center-title { font-size: 1.5rem; }
    .slider-card-content h3.side-title   { font-size: 1.15rem; }
}

@media (max-width: 767px) {
    .slider-section        { padding: 60px 0; }
    .slider-header h2     { font-size: 1.75rem; }
    .slider-header p      { font-size: 0.875rem; }
    .slider-cards          { height: 400px; }
    .slider-arrow svg      { width: 28px; height: 28px; }
    .slider-card-content  { padding-bottom: 32px; }
    .slider-card-content h3.center-title { font-size: 1.25rem; }
    .slider-card-content h3.side-title   { font-size: 1rem; }
    .slider-card-btn      { font-size: 9px; padding: 5px 16px; }
}

/* SECCIÓN 8: FAQs */
.category-faqs-section {
    background: #f9f9f9;
    padding: 60px 20px;
}

.faqs-container {
    max-width: 900px;
    margin: 0 auto;
}

.faqs-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.faqs-title-underline {
    width: 60px;
    height: 3px;
    background: #D13138;
    margin: 0 auto 40px;
}

.faqs-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.faq-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    background: #fafafa;
    user-select: none;
    list-style: none;
    transition: background 0.3s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    background: #f0f0f0;
}

.faq-item[open] .faq-summary {
    background: #D13138;
    color: white;
}

.faq-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.faq-question {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.expand-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item[open] .expand-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 20px;
    background: white;
    border-top: 2px solid #D13138;
}

.faq-content p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.hero-video-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999999 !important;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s ease;
}

.hero-video-modal.active {
    display: flex !important;
}

.hero-map-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999999 !important;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s ease;
}

.hero-map-modal.active {
    display: flex !important;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-content {
    position: relative;
    width: 85%;
    max-width: 1100px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.9);
    z-index: 999999999;
    margin: 40px;
}

.video-modal-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-modal-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999999999;
    line-height: 1;
    padding: 8px 12px;
    width: auto;
    height: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    color: #fff;
    background: #D13138;
    transform: scale(1.1);
}

.map-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    z-index: 999999999;
}

.map-modal-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.map-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 40px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 999999999;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.map-modal-close:hover {
    color: #D13138;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 92%;
        margin: 20px;
        max-width: none;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        padding: 6px 10px;
    }
    
    .map-modal-close {
        top: -40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .video-modal-close {
        top: 8px;
        right: 8px;
        font-size: 24px;
        padding: 5px 8px;
    }
}

body.modal-open {
    overflow: hidden !important;
}

.contact-right .kb-form {
    padding: 0;
}

.contact-right .kb-form .kb-field {
    margin-bottom: 20px;
}

.contact-right .kb-form input[type="text"],
.contact-right .kb-form input[type="email"],
.contact-right .kb-form input[type="tel"],
.contact-right .kb-form input[type="date"],
.contact-right .kb-form input[type="number"],
.contact-right .kb-form select,
.contact-right .kb-form textarea,
.contact-right .wpcf7-form input[type="text"],
.contact-right .wpcf7-form input[type="email"],
.contact-right .wpcf7-form input[type="tel"],
.contact-right .wpcf7-form input[type="date"],
.contact-right .wpcf7-form select,
.contact-right .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.contact-right .kb-form input:focus,
.contact-right .kb-form select:focus,
.contact-right .kb-form textarea:focus,
.contact-right .wpcf7-form input:focus,
.contact-right .wpcf7-form select:focus,
.contact-right .wpcf7-form textarea:focus {
    border-color: #D13138;
    outline: none;
    box-shadow: 0 0 0 3px rgba(209, 49, 56, 0.1);
}

.contact-right .kb-form button[type="submit"],
.contact-right .kb-form .kb-forms-submit,
.contact-right .wpcf7-form input[type="submit"],
.contact-right .wpcf7-form button[type="submit"] {
    background: #D13138 !important;
    color: white !important;
    padding: 14px 35px;
    border: none !important;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: inline-block;
    font-size: 16px;
}

.contact-right .kb-form button[type="submit"]:hover,
.contact-right .wpcf7-form input[type="submit"]:hover {
    background: #b02831 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 49, 56, 0.3);
}

.contact-right .kb-form label,
.contact-right .wpcf7-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-right .wpcf7-not-valid-tip {
    color: #D13138;
    font-size: 13px;
    margin-top: 5px;
}

.contact-right .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .contact-right .kb-form button[type="submit"],
    .contact-right .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 14px 20px;
    }
}

.contact-form-wrapper {
    width: 100%;
}

.custom-contact-form {
    width: 100%;
}

.custom-contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.custom-contact-form .form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-contact-form .form-field.half {
    flex: 1;
}

.custom-contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form input[type="number"],
.custom-contact-form input[type="date"],
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    border-color: #D13138;
    outline: none;
    box-shadow: 0 0 0 3px rgba(209, 49, 56, 0.1);
}

.custom-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-submit-btn {
    background: #D13138;
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.contact-submit-btn:hover {
    background: #b02831;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 49, 56, 0.3);
}

.form-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .custom-contact-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-submit-btn {
        width: 100%;
    }
}

.slider-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.slider-item {
    cursor: pointer;
}

a.slider-item:hover {
    text-decoration: none;
}