/* ==========================================================================
   INJOE DENTAL - TURISMO DENTAL (DENTAL TOURISM) PREMIUM REBUILD
   Scoped CSS strictly for the turismo.html page.
   ========================================================================== */

:root {
    --td-gold: #c5a059;
    --td-gold-dark: #a68549;
    --td-bg-white: #ffffff;
    --td-bg-light: #f9f9f9;
    --td-text-dark: #111111;
    --td-text-muted: #555555;
    --td-padding: clamp(60px, 8vw, 120px) 10%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.td-animate-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}

.td-delay-1 { animation-delay: 0.2s; }
.td-delay-2 { animation-delay: 0.4s; }
.td-delay-3 { animation-delay: 0.6s; }

/* 1. Hero Section (Video Background) */
.td-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #BDBDBD;
}

.td-hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8; /* Subtle transparency */
}

.td-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(100,100,100,0.3) 0%, rgba(100,100,100,0.6) 100%);
    z-index: 2;
}

.td-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.td-hero-tag {
    display: inline-block;
    color: var(--td-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.td-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 25px;
}

.td-hero-title span {
    color: var(--td-gold);
    font-weight: 300;
}

.td-hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #e0e0e0;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* 2. Itinerary Timeline */
.td-itinerary {
    padding: var(--td-padding);
    background-color: var(--td-bg-white);
}

.td-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.td-section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--td-text-dark);
}

.td-timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.td-timeline-item:last-child {
    margin-bottom: 0;
}

.td-timeline-item.reverse .td-timeline-img {
    order: 2;
}

.td-timeline-item.reverse .td-timeline-content {
    order: 1;
}

.td-timeline-img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(100,100,100,0.08);
}

.td-timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.6s ease;
    display: block;
}

.td-timeline-item:hover .td-timeline-img img {
    transform: scale(1.03);
}

.td-day-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--td-gold);
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 2;
}

.td-timeline-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--td-text-dark);
    margin-bottom: 20px;
}

.td-timeline-content p {
    font-size: 1.05rem;
    color: var(--td-text-muted);
    line-height: 1.8;
}

/* 3. FAQ Section */
.td-faq {
    padding: var(--td-padding);
    background-color: var(--td-bg-light);
}

.td-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.td-accordion-item {
    background: #fff;
    border: 1px solid rgba(100,100,100,0.05);
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(100,100,100,0.02);
    transition: box-shadow 0.3s ease;
}

.td-accordion-item:hover {
    box-shadow: 0 10px 25px rgba(100,100,100,0.06);
}

.td-accordion-header {
    width: 100%;
    text-align: left;
    padding: 25px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--td-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.td-accordion-header:hover {
    color: var(--td-gold);
}

.td-accordion-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.td-accordion-icon::before,
.td-accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--td-gold);
    transition: transform 0.3s ease;
}

.td-accordion-icon::before {
    top: 9px; left: 0; width: 20px; height: 2px;
}

.td-accordion-icon::after {
    top: 0; left: 9px; width: 2px; height: 20px;
}

.td-accordion-item.active .td-accordion-icon::after {
    transform: rotate(90deg);
}

.td-accordion-item.active .td-accordion-header {
    color: var(--td-gold);
    padding-bottom: 10px;
}

.td-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.td-accordion-content p {
    padding: 0 30px 25px;
    color: var(--td-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* 4. Conversion CTA Section */
.td-cta {
    position: relative;
    padding: 120px 10%;
    background: #BDBDBD;
    text-align: center;
    overflow: hidden;
}

.td-cta-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('MATERIAL/0H3A0323.jpg') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
}

.td-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.td-cta-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.td-cta-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* Buttons */
.td-btn {
    display: inline-block;
    background: var(--td-gold);
    color: #fff;
    padding: 18px 45px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.td-btn:hover {
    background: var(--td-gold-dark);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .td-timeline-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .td-timeline-item.reverse .td-timeline-img {
        order: 0;
    }
    .td-timeline-item.reverse .td-timeline-content {
        order: 0;
    }
}
