*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Open Sans',sans-serif;background:#fff}
#tapa1 {width: 100%; height: 100%; background: url('img/clinica/img_trans.png'); position: absolute; display: block; z-index: 20;}

.pdf-download-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #ededed;
            color: #2d6f52;
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            width: 300px;
            justify-content: center;
			border: 2px solid #2d6f52; 
        }

        .pdf-download-btn:hover {
            background: #2d6f52;
			color: #fff;
            transform: translateY(-2px);
			border: 2px solid #2d6f52; 
        }

        .pdf-icon {
            width: 24px;
            height: 24px;
        }
		
.logo img{height:72px}


.inf_t {color: #606060; font-weight: bold; font-size: 17px; border-left:5px solid #2d6f52; padding-left: 10px; margin-bottom: 10px;}
.accessory-row {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            align-items: center;
			border-bottom:2px dotted #7f7f7f; 
        }
        
        .accessory-row img {
            width: 300px;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
        }
		
		

   .video-wrapper {
            width: 300px;
            aspect-ratio: 16 / 9;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
        }
        
        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 8px;
			
        }
        
        .accessory-row > div:last-child {
            flex: 1;
        }
        
        .accessory-row h3 {
            margin-top: 0;
            color: #2c3e50;
        }
        
        .accessory-row p {
            color: #555;
            line-height: 1.6;
        }

        .video-container {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            margin-bottom: 30px;
        }

        .video-container iframe {
            width: 100%;
            height: 400px;
            border-radius: 8px;
        }
		
nav{flex-grow:1;margin-left:50px}
        .slideshow {
            width: 100%;
            max-height: 550px;
            height: 350px;
            position: relative;
            overflow: hidden;
        }

        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
		        .slide.active {
            opacity: 1;
        }
header {
            background: #2d6f52;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
        }

        .logo {
            border-radius: 8px;
            text-decoration: none;
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
        }

        .logo:hover {
            transform: translateY(-2px);
        }

        nav {
            flex-grow: 1;
            margin-left: 50px;
        }

        .menu {
            list-style: none;
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
        }

        .menu > li {
            position: relative;
        }

        .menu > li > a {
            display: block;
            padding: 12px 12px;
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border-radius: 5px;
            font-size: 16px;
            font-family: 'Raleway', sans-serif;
        }

        .menu > li > a:hover {
            background-color: rgba(255,255,255,0.15);
        }

        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            list-style: none;
            min-width: 200px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            border-radius: 5px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            margin-top: 5px;
        }

        .menu > li:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .submenu li a {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            font-family: 'Raleway', sans-serif;
            font-weight: 500;
        }

        .submenu li a:hover {
            background-color: #3c946e;
            border-left-color: #2d6f52;
            padding-left: 25px;
            color: white;
        }

        .submenu li:first-child a {
            border-radius: 5px 5px 0 0;
        }

        .submenu li:last-child a {
            border-radius: 0 0 5px 5px;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 28px;
            cursor: pointer;
            padding: 5px;
        }
.section-title-wrapper{background:linear-gradient(90deg,#ff6b35 0%,#ff6b35 6px,#dadadb 6px,#dadadb 100%);position:sticky;top:102px;z-index:999}
.section-title{max-width:1200px;margin:0 auto;color:#2d6f52;padding:0 30px;font-size:18px;font-weight:700;font-family:'Raleway',sans-serif;height:44px;display:flex;align-items:center}
main{max-width:1200px;margin:40px auto;padding:0 30px}
.content-layout{display:flex;gap:30px}
.main-content{flex:1}
.sidebar{width:280px;flex-shrink:0}
.sidebar h3{color:#2d6f52;margin-bottom:10px;margin-left: 20px; font-family:'Raleway',sans-serif}
.product-section{background:white;padding-left:5px; padding-right:5px; padding-top:0px; margin-bottom:30px}
.product-section h1,.product-section h2,.product-section h3{color:#2d6f52;margin-bottom:10px;font-family:'Raleway',sans-serif}
.product-section img{max-width:100%;border-radius:8px;margin-bottom:20px}
.product-section p{line-height:1.8;color:#555;margin-bottom:15px}
.product-section ul{margin-left:20px;line-height:2;color:#555}
.sidebar-menu{background:#ededed;border-radius:12px;box-shadow:0 5px 20px rgba(0,0,0,0.08);overflow:hidden;top:160px;margin-bottom:20px}
.sidebar-header{background:#2d6f52;color:white;padding:15px 20px;font-weight:700;text-transform:uppercase;font-family:'Raleway',sans-serif}
.sidebar-menu ul{list-style:none}
.sidebar-menu li{border-bottom:1px solid #dedede}
.sidebar-menu a{display:block;padding:15px 20px;color:#555;text-decoration:none;transition:all 0.3s}
.sidebar-menu a:hover{background:#fff;color:#2d6f52;padding-left:30px}
.sidebar-menu a.active{background:#dbdedb;color:#2d6f52;font-weight:600;border-left:4px solid #2d6f52}

		.preview-image {
            position: fixed;
            width: 200px;
            height: 150px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 1000;
            display: none;
        }
        .preview-image.active {
            display: block;
            opacity: 1;
        }
		
		/* Imágenes para cada item */
        .sidebar-menu a[data-preview] {
            cursor: pointer;
        }
		
		.sidebar > img {
            border-radius: 8px;
            margin-top: 10px;
        }
		
.cta-button{background:#ff6b35;color:white;padding:15px 40px;border:none;border-radius:8px;font-size:18px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;font-family:'Raleway',sans-serif}
.cta-button:hover{background:#e55a25;transform:translateY(-2px)}

.pdf-button{background:#ff6b35;color:white;padding:15px 40px;border:none;border-radius:8px;font-size:18px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;font-family:'Raleway',sans-serif}
.cta-button:hover{background:#e55a25;transform:translateY(-2px)}

.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;padding-bottom:20px}
.gallery-item{position:relative;overflow:hidden;border-radius:8px;cursor:pointer;aspect-ratio:4/3}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s}
.gallery-item:hover img{transform:scale(1.1)}
.lightbox{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.95);z-index:10000;align-items:center;justify-content:center}
.lightbox.active{display:flex}
.lightbox img{max-width:90%;max-height:90vh;border-radius:8px}
.lightbox-close{position:absolute;top:20px;right:40px;color:white;font-size:50px;cursor:pointer}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);color:white;font-size:40px;cursor:pointer;background:rgba(0,0,0,0.5);width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.lightbox-prev{left:40px}
.lightbox-next{right:40px}
        footer {
            background: #2a2a2a;
            color: #b8b8b8;
            padding: 50px 0 30px;
            margin-top: 40px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .footer-section h3 {
            color: white;
            font-size: 18px;
            margin-bottom: 20px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 12px;
        }

        .footer-section ul li a {
            color: #b8b8b8;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .footer-section ul li a:hover {
            color: #395e3a;
            transform: translateX(5px);
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 30px auto 0;
            padding: 20px 30px 0;
            border-top: 1px solid #444;
            text-align: center;
            font-size: 14px;
        }

        .footer-bottom a {
            color: #395e3a;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            text-decoration: underline;
        }
		
		
.pagination {
    display: flex;
    gap: 10px;
	justify-content: center; 
}

.pagination .page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    text-decoration: none;
    font-weight: 600;
    color: #2e7d32;              /* verde texto */
    background: #ffffff;         /* blanco */
    border: 2px solid #2e7d32;   /* filete verde */
    border-radius: 4px;
    transition: all 0.25s ease;
}

.pagination .page:hover {
    background: #2d6f52;         /* verde */
    color: #ffffff;              /* blanco */
}

.pagination .page.active {
    background: #2d6f52;
    color: #ffffff;
}

	

@media (max-width: 968px) {
			

            .header-container {
                flex-wrap: wrap;
                position: relative;
            }
			.accessory-row {
                flex-direction: column;
                gap: 0;
                margin-bottom: 20px;
            }
            
            .accessory-row img {
                width: 100%;
                order: -1; /* Coloca la imagen arriba */
                border-radius: 8;
            }
			
			.accessory-row > div:last-child {
                order: 1; /* Coloca el texto abajo */
                padding: 0 10px;
            }
            
            .video-wrapper {
                width: 100%;
                aspect-ratio: 16 / 9;
                order: -1; /* Coloca el video arriba */
                border-radius: 8;
                margin-bottom: 15px;
            }
            
            .video-wrapper iframe {
                border-radius: 8;
            }
           
	
            .logo {
                order: 1;
            }

            .menu-toggle {
                display: block;
                order: 2;
            }

            nav {
                order: 3;
                width: 100%;
                margin-left: 0;
                margin-top: 15px;
                display: none;
            }

            nav.active {
                display: block;
            }

            .menu {
                flex-direction: column;
                gap: 0;
            }

            .menu > li > a {
                padding: 15px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .submenu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background-color: rgba(255,255,255,0.1);
                margin-top: 0;
                display: none;
            }

            .menu > li.active .submenu {
                display: block;
            }

            .submenu li a {
                color: white;
                padding-left: 40px;
            }

            .submenu li a:hover {
                background-color: rgba(255,255,255,0.1);
            }

            .content-layout {
                flex-direction: column;
            }



			.sidebar {
               visibility: hidden;
            }
			.sidebar {
               display: none;
            }


            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }

            .lightbox-close {
                top: 10px;
                right: 10px;
                width: 50px;
                height: 50px;
                font-size: 40px;
            }

            .lightbox-nav {
                width: 50px;
                height: 50px;
                font-size: 30px;
            }

            .lightbox-prev {
                left: 10px;
            }

            .lightbox-next {
                right: 10px;
            }
			            nav {
                order: 3;
                width: 100%;
                margin-left: 0;
                margin-top: 15px;
                display: none;
            }

            nav.active {
                display: block;
            }
        }