/* ==========================================
   MEDIN - Responsive CSS
   Breakpoints idénticos a Meden ThemeWolfs
   ========================================== */

/* ==========================================
   Extra Large Devices (1400px and below)
   ========================================== */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 54px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .opening-hours-card {
        left: -40px;
    }
}

/* ==========================================
   Large Devices (1200px and below)
   ========================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    /* Header */
    .nav-menu .primary-menu {
        gap: 25px;
    }
    
    .nav-menu .primary-menu li a {
        font-size: 14px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 48px;
    }
    
    .hero-grid {
        gap: 50px;
    }
    
    .opening-hours-card {
        left: 0;
        min-width: 260px;
    }
    
    .video-play-btn {
        right: 40px;
    }
    
    /* Stats */
    .stats-grid {
        gap: 25px;
    }
    
    .stat-item {
        padding: 0 20px;
        gap: 20px;
    }
    
    /* About */
    .about-grid {
        gap: 60px;
    }
    
    .experience-badge {
        left: -20px;
    }
    
    .about-image-secondary {
        right: -20px;
    }
    
    /* Services */
    .services-grid {
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .team-card-image {
        height: 280px;
    }
    
    /* Medical Team (New) */
    .med-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(24px, 3vw, 40px);
    }
    
    .med-card__image {
        aspect-ratio: 4/5;
    }
    
    /* Testimonials V2 */
    .testimonials-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .satisfaction-card {
        min-width: 280px;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 40px 30px;
    }
    
    .plan-price .amount {
        font-size: 52px;
    }
    
    /* Footer */
    .footer-contact-row {
        gap: 30px;
    }
}
/* ==========================================
   Medium Devices (992px and below)
   ========================================== */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Header */
    .header-top {
        display: none;
    }
    
    .nav-menu,
    .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .site-header {
        background: transparent;
        box-shadow: none;
    }
    
    .site-logo .logo-name {
        color: #fff;
    }
    
    .site-logo .site-logo-text {
        font-size: 18px;
        background: linear-gradient(135deg, #c8a45a 0%, #e6c97a 50%, #c8a45a 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .mobile-menu-toggle span {
        background: #fff;
    }
    
    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image-wrapper {
        order: 0;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-bottom-row {
        justify-content: center;
    }
    
    .hero-help-box {
        display: inline-flex;
        margin: 0 auto;
    }
    
    .hero-tag {
        justify-content: center;
    }
    
    .opening-hours-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 30px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .video-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
    
    /* Stats */
    .hero-stats {
        margin-top: 50px;
        padding: 35px 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-item {
        padding: 25px;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        justify-content: center;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-badge {
        top: 20px;
        left: 20px;
        padding: 20px;
    }
    
    .experience-badge .number {
        font-size: 42px;
    }
    
    .about-image-secondary {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 25px;
    }
    
    .about-image-secondary img {
        height: 250px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* How It Works */
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .how-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .consultation-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 25px;
        max-width: 100%;
    }
    
    /* Team - New Design */
    .team-header {
        margin-bottom: 50px;
    }
    
    .team-title {
        font-size: 32px;
    }
    
    .team-card-image {
        height: 260px;
    }
    
    .team-card-content {
        padding: 24px;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-features ul {
        grid-template-columns: 1fr;
    }
    
    /* Discount */
    .discount-section {
        padding-top: 80px;
    }
    
    .discount-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .discount-content {
        padding-bottom: 50px;
    }
    
    .discount-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .discount-image img {
        max-height: 450px;
    }
    
    .discount-buttons {
        justify-content: center;
    }
    
    /* Testimonials V2 */
    .testimonials-header-row {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-header-content {
        max-width: 100%;
    }
    
    .satisfaction-card {
        min-width: 280px;
        margin: 0 auto;
    }
    
    .testimonials-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 60px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testi-stat:nth-child(3) {
        border-right: none;
    }
    
    .testi-stat:nth-child(4),
    .testi-stat:nth-child(5) {
        border-top: 2px solid var(--border-color);
        padding-top: 25px;
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .faq-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Appointment */
    .appointment-bg {
        width: 100%;
        clip-path: none;
    }
    
    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .appointment-content {
        text-align: center;
    }
    
    .appointment-content .section-tag {
        justify-content: center;
    }
    
    .appointment-content .section-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feedback-note {
        display: inline-flex;
    }
    
    .call-banner {
        margin: 40px auto 0;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-contact-row {
        gap: 25px;
    }

    .footer-location-grid {
        gap: 30px;
    }
}

/* ==========================================
   Small Devices (768px and below)
   ========================================== */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Hero - Simplificar para tablets pequeñas */
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
        background: var(--dark-color);
    }
    
    .hero-image-wrapper {
        display: none;
    }
    
    .hero-bg {
        opacity: 0.2;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, 
            rgba(10, 22, 40, 0.95) 0%, 
            rgba(10, 22, 40, 0.9) 100%);
    }
    
    .opening-hours-card {
        display: none;
    }
    
    .video-play-btn:not(.inline) {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 0;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-help-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .help-content .help-phone {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-desc,
    .section-subtitle {
        font-size: 15px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    /* Steps */
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-eyebrow::before,
    .team-eyebrow::after {
        display: none;
    }
    
    .team-card-image {
        height: 300px;
    }
    
    .team-card-name {
        font-size: 20px;
    }
    
    /* Medical Team (New) */
    .med-team__grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .med-team__eyebrow::before,
    .med-team__eyebrow::after {
        display: none;
    }
    
    .med-card__name {
        font-size: 1.15rem;
    }
    
    .med-card__image {
        aspect-ratio: 3/4;
    }
    
    /* Discount Stats */
    .discount-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    /* Testimonials Stats */
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
        gap: 20px;
    }
    
    .testi-stat {
        padding: 15px 10px;
        border-right: none;
    }
    
    .testi-stat:nth-child(odd) {
        border-right: 2px solid var(--border-color);
    }
    
    .testi-stat:nth-child(3),
    .testi-stat:nth-child(4) {
        border-top: 2px solid var(--border-color);
        padding-top: 20px;
    }
    
    .testi-stat:last-child {
        grid-column: span 2;
        border-right: none;
    }
    
    .testi-stat .stat-num {
        font-size: 32px;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Appointment Form */
    .appointment-form-wrapper {
        padding: 30px 20px;
    }
    
    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-contact-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-map {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-info-block h4 {
        justify-content: center;
    }

    .footer-hours-list {
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-bottom-inner {
        flex-direction: row;
        gap: 15px;
        text-align: left;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .footer-bottom-links {
        gap: 20px;
    }
    
    /* Mobile Menu */
    .mobile-menu {
        width: 100%;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================
   Extra Small Devices (576px and below)
   ========================================== */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero - Versión móvil limpia */
    .hero-section {
        padding: 110px 0 50px;
        min-height: auto;
    }
    
    /* Ocultar imagen del hero y elementos flotantes en móvil */
    .hero-image-wrapper {
        display: none;
    }
    
    .hero-bg {
        opacity: 0.15;
    }
    
    .opening-hours-card {
        display: none;
    }
    
    .hero-bottom-row {
        display: none;
    }
    
    .hero-help-box {
        display: none;
    }
    
    .video-play-btn:not(.inline) {
        display: none;
    }
    
    .hero-bg-shapes {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content {
        order: 0;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-tag {
        margin-bottom: 15px;
    }
    
    .hero-tag span {
        font-size: 12px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero Stats - Compacto */
    .hero-stats {
        margin-top: 40px;
    }
    
    .stat-item .stat-desc {
        display: none;
    }
    
    /* Opening Hours - ya oculta arriba */
    .opening-hours-card {
        padding: 20px;
    }
    
    .opening-hours-card h4 {
        font-size: 17px;
    }
    
    .opening-hours-card ul li {
        font-size: 13px;
        padding: 10px 0;
    }
    
    /* Buttons */
    .btn {
        padding: 14px 28px;
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 14px;
    }
    
    /* Sections */
    .about-section,
    .services-section,
    .how-it-works-section,
    .team-section,
    .pricing-section,
    .testimonials-section,
    .faq-section,
    .appointment-section,
    .blog-section {
        padding: 80px 0;
    }
    
    .discount-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    /* Stats */
    .hero-stats {
        padding: 25px 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-circle {
        width: 80px;
        height: 80px;
    }
    
    .stat-circle .stat-number {
        font-size: 22px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* About */
    .experience-badge {
        padding: 15px;
    }
    
    .experience-badge .number {
        font-size: 36px;
    }
    
    .experience-badge .text {
        font-size: 12px;
    }
    
    .about-image-main img {
        height: 350px;
    }
    
    .featured-doctor {
        flex-direction: column;
        text-align: center;
    }
    
    /* Service */
    .service-card {
        padding: 30px 20px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    /* Team */
    .team-section {
        padding: 80px 0 100px;
    }
    
    .team-header {
        margin-bottom: 40px;
    }
    
    .team-title {
        font-size: 26px;
    }
    
    .team-subtitle {
        font-size: 15px;
    }
    
    .team-card-image {
        height: 260px;
    }
    
    .team-card-content {
        padding: 20px;
    }
    
    .team-card-name {
        font-size: 18px;
    }
    
    .team-card-role {
        font-size: 10px;
    }
    
    .team-card-bio {
        font-size: 13px;
    }
    
    /* Medical Team (New) */
    .med-team {
        padding: 60px 0 80px;
    }
    
    .med-team__header {
        margin-bottom: 40px;
    }
    
    .med-team__title {
        font-size: 1.75rem;
    }
    
    .med-team__subtitle {
        font-size: 0.95rem;
    }
    
    .med-card__info {
        padding: 16px 8px;
    }
    
    .med-card__name {
        font-size: 1rem;
    }
    
    .med-card__role {
        font-size: 0.65rem;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 30px 20px;
    }
    
    .plan-price .amount {
        font-size: 42px;
    }
    
    .plan-price .currency {
        font-size: 22px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-rating {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .testimonial-image {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-quote {
        font-size: 50px;
        right: 20px;
        bottom: 15px;
    }
    
    .testimonials-stats {
        grid-template-columns: 1fr;
        padding: 25px 15px;
    }
    
    .testi-stat {
        border-right: none !important;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 20px !important;
    }
    
    .testi-stat:last-child {
        grid-column: 1;
        border-bottom: none;
    }
    
    /* FAQ */
    .accordion-header {
        padding: 18px 20px;
    }
    
    .accordion-header h4 {
        font-size: 15px;
    }
    
    .accordion-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    /* Blog */
    .blog-image img {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 18px;
    }
    
    /* Support Banner */
    .support-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    /* Call Banner */
    .call-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
        border-left: none;
        border-top: 5px solid var(--primary-color);
    }
    
    .call-content a {
        font-size: 20px;
    }
    
    /* Footer */
    .footer-main {
        padding: 40px 0 20px;
    }
    
    /* Video Modal */
    .video-modal-close {
        top: -50px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ==========================================
   Prefers Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-image img,
    .experience-badge,
    .discount-image img {
        animation: none;
    }
    
    .loader-inner,
    .loader-inner::before,
    .loader-inner::after,
    .loader-pulse {
        animation: none;
    }
    
    .video-play-btn .play-ripple,
    .video-play-btn .play-ripple::before {
        animation: none;
    }
    
    .service-icon::before,
    .featured-doctor .doctor-image::before {
        animation: none;
    }
}

/* ==========================================
   Comments Responsive
   ========================================== */
@media (max-width: 991px) {
    .comments-area {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .comments-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .comment-list .children {
        padding-left: 30px;
    }
    
    .comment-body {
        padding: 25px;
    }
    
    .comment-respond {
        padding: 30px;
    }
    
    .comment-reply-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .comments-area {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .comments-title {
        font-size: 22px;
    }
    
    .comment-list .children {
        padding-left: 20px;
        margin-top: 20px;
    }
    
    .comment-body {
        padding: 20px;
    }
    
    .comment-author .avatar {
        width: 50px;
        height: 50px;
    }
    
    .comment-author .fn {
        font-size: 16px;
    }
    
    .comment-respond {
        padding: 25px 20px;
    }
    
    .comment-reply-title {
        font-size: 20px;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .form-submit .submit {
        width: 100%;
        padding: 14px 25px;
    }
}

@media (max-width: 576px) {
    .comment-list .children {
        padding-left: 15px;
        border-left-width: 2px;
    }
    
    .comment-body {
        padding: 15px;
    }
    
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comment-author .avatar {
        width: 45px;
        height: 45px;
    }
    
    .comment-respond {
        padding: 20px 15px;
    }
    
    .comment-form-cookies-consent {
        flex-direction: column;
        gap: 8px;
    }
    
    .comment-form-cookies-consent input[type="checkbox"] {
        align-self: flex-start;
    }
}

/* ==========================================
   High Contrast Mode
   ========================================== */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0088cc;
        --secondary-color: #00aa88;
        --dark-color: #000000;
        --text-color: #333333;
    }
    
    .btn {
        border-width: 3px;
    }
    
    .accordion-item {
        border-width: 3px;
    }
}

/* ==========================================
   Mobile Fixes - Horizontal Scroll & Layout
   ========================================== */

/* Prevent horizontal scroll on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix marquee ribbons causing horizontal overflow */
@media (max-width: 992px) {
    .marquee-ribbons-section {
        overflow: hidden;
        max-width: 100vw;
    }
    
    .marquee-ribbon {
        left: 0;
        width: 100%;
    }
    
    .ribbon-dark {
        left: -2%;
        width: 104%;
    }
}

@media (max-width: 768px) {
    .marquee-ribbons-section {
        height: 100px;
        margin: -25px 0 -25px;
        overflow: hidden;
    }
    
    .marquee-ribbon {
        left: 0;
        width: 100%;
    }
    
    .ribbon-dark {
        left: -2%;
        width: 104%;
        transform: rotate(2deg);
    }
    
    .ribbon-cyan {
        top: 25px;
        padding: 14px 0;
    }
    
    .marquee-text {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .marquee-item {
        padding: 0 15px;
        gap: 8px;
    }
    
    .marquee-icon {
        font-size: 10px;
    }
}

/* Hero images on mobile - show images, hide description */
@media (max-width: 768px) {
    .hero-carousel-section {
        overflow: hidden;
        max-width: 100vw;
    }
    
    /* Show description on non-services slides, hide on services slide */
    .hero-carousel-section .slide-desc {
        display: block;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .hero-carousel-section .slide-services-layout .slide-desc,
    .hero-carousel-section .slide-services-layout .slide-desc-italic {
        display: none !important;
    }
    .hero-carousel-section .slide-services-layout .service-item-desc {
        display: none !important;
    }
    
    /* Show hero images on mobile */
    .hero-carousel-section .slide-image {
        display: block !important;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-carousel-section .slide-image .image-wrapper {
        max-width: 280px;
        margin: 0 auto 20px;
    }
    
    .hero-carousel-section .slide-image .image-wrapper img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }
    
    /* Stack content vertically on mobile */
    .hero-carousel-section .slide-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 15px;
        padding: 0 15px;
    }
    
    .hero-carousel-section .slide-content.image-left,
    .hero-carousel-section .slide-content.image-right,
    .hero-carousel-section .slide-content.image-center {
        flex-direction: column !important;
    }
    
    .hero-carousel-section .slide-text {
        order: 2;
        width: 100%;
        text-align: center;
    }
    
    .hero-carousel-section .slide-image {
        order: 1;
        width: 100%;
    }
    
    /* Services slide on mobile - image below, show descriptions */
    .hero-carousel-section .slide-services-layout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
    }

    .hero-carousel-section .slide-services-layout .slide-services-text {
        order: 1;
        text-align: center;
    }

    .hero-carousel-section .slide-services-layout .slide-image {
        order: 2;
    }

    .hero-carousel-section .slide-services-text .services-list {
        text-align: left;
    }
    
    /* Reduce hero title on mobile */
    .hero-carousel-section .slide-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    
    /* Slide buttons */
    .hero-carousel-section .slide-buttons,
    .hero-carousel-section .slide-buttons-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Floating elements - hide on mobile to prevent overflow */
    .hero-floating-elements,
    .hero-floating-cells,
    .hero-floating-pills {
        display: none;
    }
    
    /* 3D Model canvas */
    .hero-carousel-section .slide-3d-model {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Before/After slide */
    .hero-carousel-section .slide-ba-layout {
        flex-direction: column !important;
        gap: 20px;
    }
    
    .hero-carousel-section .slide-ba-text-area {
        text-align: center;
    }
    
    .hero-carousel-section .slide-ba-image-area {
        max-width: 100%;
    }
}

/* Our Mission banner fix on mobile */
@media (max-width: 768px) {
    .dq-mission-banner-wrapper {
        overflow: hidden;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    .dq-mission-banner-wrapper .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .dq-mission-banner {
        padding: 16px 20px;
        width: 100%;
        text-align: center !important;
    }
    
    .dq-mission-label {
        font-size: 16px;
        letter-spacing: 3px;
        display: block;
        text-align: center !important;
        width: 100%;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .site-header,
    .back-to-top,
    .video-modal,
    .mobile-menu,
    .mobile-menu-overlay,
    .video-play-btn,
    #preloader {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-overlay {
        background: transparent;
    }
    
    .hero-content,
    .section-title,
    .service-title,
    .team-card-name {
        color: #000 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
    
    .btn {
        background: transparent !important;
        color: #000 !important;
        border: 2px solid #000 !important;
    }
}
