@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
    --color-primary: #1E1E1E;
    --color-secondary: #333;
    --color-hover: #0b2660;
    --color-accent: #c49a6c;
    --bg-accent: #E3B8A0;
    --bg-light: #FBF6F2;
    --bg-footer: #F7EAE3;
    --font-title: 'Outfit', sans-serif;
    --font-subtitle: 'Inter', sans-serif;
    --font-text: 'Work Sans', sans-serif;
}

/*END HEADER*/
*{ box-sizing: border-box; line-height: 136%; } 
html{ width:100%; max-width:100%; overflow-x:hidden; scroll-behavior: smooth;}
body{background: #fff; overflow-x:hidden; max-width:100%; scroll-behavior: smooth; font-family: var(--font-text); width: 100%; }
@media (max-width: 991px) {
    body, html { width: 100vw; overflow-x: hidden; }
    * { max-width: 100%; }
}

/* Scroll margin for fixed header */
#home, #serveis, #tractaments, #tecnologia, #academia, #contacte, #qui-som {
    scroll-margin-top: 65px;
}
@media screen and (min-width: 992px) { #home, #serveis, #tractaments, #tecnologia, #academia, #contacte, #qui-som { scroll-margin-top: 145px; } }
p{ font-size: 18px; line-height: 160%; max-height: 999999px; font-family: var(--font-text); font-weight: 400; }
li{ font-size: 18px; line-height: 160%; max-height: 999999px; font-family: var(--font-text); font-weight: 400; }
.general{height: auto; margin: 0 auto; }
#menu{ margin: 0 auto; height: 113px; overflow: visible; position: relative; }
.header-main .nav-link, .footer-nav .list-inline-item a { font-size: 14px; letter-spacing: 1px; }
.seccion { height:auto; background:#fff; font-family: var(--font-text); }
.seccion .text_descripciones{font-size: 14px; color:#7b7070; }
.seccion .text-center{ text-align: center !important }
.seccion .text-left{ text-align: left !important }
.seccion .h100{ height: 100%;}
.noselect {-webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
table.table-middle tr, table.table-middle td{ vertical-align: middle !important; }
@media screen and (min-width: 992px){ .seccion .row-table{ display: table; } .seccion .row-table .col{ display: table-cell; float:none; vertical-align: middle; text-align: center; } }

.swal2-html-container{ height:auto; max-height: calc( 100vh - 150px); overflow: auto; }
.swal2-popup #swal2-content{ overflow: hidden;}
.swal2-html-container li,.swal2-html-container p{ font-size:17px; }
.swal2-popup.large{ width: 800px; }
.swal2-popup.legal #swal2-content{ text-align: left;}
.swal2-styled.swal2-confirm{ background-color:var(--color-primary) !important; color:#fff !important;}

.LSSI{height: auto; display: none; overflow: hidden; background: rgba(0,0,0,0.6); padding: 0 0 12px; position: fixed; bottom: 0; z-index:10; }
.LSSI .centered{min-height: 40px; margin: 0 auto; padding: 10px 0; width:auto; max-width: 1100px; }
.LSSI p{color:#fff; font-size:16px; margin: 10px; position: relative; font-family: var(--font-text); } 
.LSSI a{color:#fff; text-decoration: underline; cursor:pointer; }
.LSSI .text-link{color:#fff; text-decoration: underline; cursor:pointer; }
.LSSI .btn{background: #a98558; cursor: pointer; margin: 0 5px 5px 5px; padding: 5px 15px; text-align: center; width: auto; position: relative; border-radius: 5px; text-decoration: none; }
.LSSI .btn span{color: #FFFFFF; font-family: var(--font-text); font-size: 14px; }
	

.easing{transition: all 400ms cubic-bezier(0.250, 0.460, 0.450, 0.940); transition-timing-function: cubic-bezier(0.250, 0.460, 0.450, 0.940); }
.easingMedium{transition: all 700ms cubic-bezier(0.000, 0.090, 0.000, 0.995); transition-timing-function: cubic-bezier(0.000, 0.090, 0.000, 0.995); }
.easingMediumFast{transition: all 400ms cubic-bezier(0.000, 0.520, 0.000, 0.995); transition-timing-function: cubic-bezier(0.000, 0.520, 0.000, 0.995); }
.easingFast{transition: all 200ms cubic-bezier(0.250, 0.460, 0.450, 0.940); transition-timing-function: cubic-bezier(0.250, 0.460, 0.450, 0.940); }

img.responsive{ width:100%; height:auto; }
img.max-responsive{ max-width:100%; height:auto; }
img.max-responsive-centered{ max-width:100%; height:auto; margin:0 auto; display: block; }

.mt0{ margin-top: 0px !important; } .mt-10{ margin-top: -10px !important; } .mt-20{ margin-top: -20px !important; } .mt10{ margin-top: 10px !important; } .mt20{ margin-top: 20px !important; } .mt30{ margin-top: 30px !important; } .mt40{ margin-top: 40px !important; } .mt50{ margin-top: 50px !important; } .mt100{ margin-top: 100px !important; } .mb0{ margin-bottom: 0 !important; } .mb5{ margin-bottom: 5px !important; } .mb10{ margin-bottom: 10px !important; } .mb20{ margin-bottom: 20px !important; } .mb30{ margin-bottom: 30px !important; } .mb40{ margin-bottom: 40px !important; } .mb50{ margin-bottom: 50px !important; } .ml10{ margin-left: 10px !important; } .ml20{ margin-left: 20px !important; } .ml30{ margin-left: 30px !important; } .mr10{ margin-right: 10px !important;} .mr15{ margin-right: 15px !important;} .mr20{ margin-right: 20px !important;} .mr30{ margin-right: 30px !important;} .pt0{ padding-top: 0 !important;} .pt10{ padding-top: 10px !important;} .pt20{ padding-top: 20px !important;} .pt30{ padding-top: 30px !important;} .pt40{ padding-top: 40px !important;} .pt50{ padding-top: 50px !important;} .pb0{ padding-bottom: 0 !important;} .pb10{ padding-bottom: 10px !important;} .pb20{ padding-bottom: 20px !important;} .pb30{ padding-bottom: 30px !important;} .pb40{ padding-bottom: 40px !important;} .pb50{ padding-bottom: 50px !important;}
.pl20{ padding-left: 20px !important;} .pl40{ padding-left: 40px !important;} .pr20{ padding-right: 20px !important;} .pr40{ padding-right: 40px !important;}

.text-clamp2{ line-clamp: 2; -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;}
.text-clamp3{ line-clamp: 3; -webkit-line-clamp:3; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;}

ul{ padding-left: 0; list-style: outside none; }
.badge-success{ background: #00A93E; white-space: normal; }
.badge-info{ background: #57b0c9; white-space: normal; }
.badge-danger{ background: #D03A3A; white-space: normal; }
.badge-orange{ background: #E7C03A; white-space: normal; }
.badge-purple{ background: #B25EFD; white-space: normal; }
.badge-blue {color: white; background:#4A7AF5 ; }
.badge-light{ background: #FFFFFF; white-space: normal; color:#5E5E5E; border:1px solid rgba(0,0,0,0.1); }

.manage-admin-content.cke_editable{ outline: 1px dashed white; box-shadow: 0 0 1px #000; }
.manage-admin-content.cke_focus{ outline: 2px solid white; box-shadow: 0 0 3px #000; }

.btn{ border-radius: 8px; border:none; white-space: normal; padding:5px 20px;}
.btn-outline{ background: #fff; border: 1px solid var(--color-accent); color: var(--color-primary) !important; border-radius: 999px; padding: 10px 26px; font-size:16px; }
.btn-outline:hover{ background: #f8f2eb; border-color: #b48758; color: #b48758 !important; }
.btn-ghost{ background: rgba(255,255,255,0.16); border: 1px solid var(--bg-accent); color: #fff !important; border-radius: 999px; padding: 10px 26px; backdrop-filter: blur(2px); }
.btn-ghost:hover{ background: rgba(255,255,255,0.26); border-color: rgba(255,255,255,0.95); color: #fff !important; }


.contentSection h3{ font-weight: bold; }
.seccion{ font-family: var(--font-text),sans-serif; }
.seccion .slide-big{ position: relative; width: 100%; overflow: hidden;} 
.seccion .relative { position: relative; }
.seccion .absolute { position: absolute; }
.seccion .slide-big p.text-slide {position: absolute; font-family: var(--font-title); font-size: 50px; line-height: 42px; transform: translate(-50%); left: 50%; top: 50%; text-shadow:0 0 5px rgba(0,0,0,0.8) }
.seccion .slide-big img{ min-height:50vh; object-fit: cover; }
.seccion .text-white {color: white;}
.seccion .title { font-size: 40px; font-weight: 400; line-height: 1.2; font-family: var(--font-title); letter-spacing: -0.5px; }
.seccion .subtitle { font-size: 28px; font-weight: 300; line-height: 1.3; font-family: var(--font-subtitle); letter-spacing: 1px; }
.seccion .subtitle2 { font-size: 20px; font-weight: 500; font-family: var(--font-subtitle); letter-spacing: 1px; }
.seccion .subtitle3 { font-size: 18px; font-weight: 400; font-family: var(--font-subtitle); }
@media (max-width: 992px) { .seccion .title { font-size: 36px; } .seccion .subtitle { font-size: 26px; } .seccion .subtitle2 { font-size: 18px; } .seccion .subtitle3 { font-size: 16px; } }
.text-primary { color: var(--color-primary) !important; }
.text-black { color: #000 !important; }
.text-white { color: #fff !important; }
.text-outfit { font-family: var(--font-title); }
.text-accent { color: var(--color-accent) !important; }
.seccion .text-xl {font-size: 30px; font-family: var(--font-text); font-weight: 400; }
.seccion .text-lg {font-size: 25px; font-family: var(--font-text); font-weight: 400; }
.seccion .text-md {font-size: 18px; font-family: var(--font-text); font-weight: 400; }
.seccion .text {font-size: 18px; font-family: var(--font-text); font-weight: 400; }
hr {height: 1px; width: 100%;background-color: var(--bg-accent); opacity: 1; border: none;}
hr.w-300 {width: 300px;}
hr.w-600 {width: 600px;}
.seccion .checkbox label {font-size: 15px; font-family: var(--font-text);margin: 0 auto 10px auto; padding-left: 5px; display:block;}
.seccion .google-maps {margin-top: 20px; }
.seccion #map {width: 100%; height: auto; }
.seccion .checkbox {position: relative; }
.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {position: relative; float:left; width: 30px; height: 20px; margin-top: 0; }
.seccion .background-gray{background: rgb(233 233 233 / 90%); ; padding: 50px 0 20px 0;;}
.seccion ul.list.checked {padding-left: 15px; } 
.seccion ul.list li {font-size: 20px; font-family: var(--font-text); line-height: 32px; }
.seccion ul.list.checked li::before {content: "\f00c"; font-family: 'FontAwesome'; color: var(--color-primary); margin-right: 10px; margin-left: -30px; }
.seccion textarea{ resize:none; }
.seccion .w800{ max-width: 800px; display:table; margin:0 auto; }
.seccion .w1000{ max-width: 1000px; display:table; margin:0 auto; }
.row-parallax {position: relative; padding: 15px 15px; overflow: hidden; -webkit-transform-style: preserve-3d; transform-style: preserve-3d;} 
.row-parallax:before {content: ""; position: absolute; z-index: 1; top: 0; width: 100%; height: 58px; }
.parallax  {transform: translateY(-57.9271px) translateX(-50%); }
.row-parallax .container{ position:relative; z-index: 1;}
.row-parallax img.parallax {position: absolute; left: 50%; top: -20%; bottom: 20px; height: 150%; min-width:100%; z-index: 0; filter: brightness(0.5); }
.visible-sm{ display:none !important;} .visible-xs{ display:none !important;}
@media (max-width:992px){ .hidden-sm{ display:none !important} .visible-sm{ display:block !important} .hidden-sm{ display:none} }
@media (max-width:768px){ .hidden-xs{ display:none} .hidden-xs{ display:none !important} .visible-xs{ display:block !important} }

.swiper-pagination-bullets .swiper-pagination-bullet-active-main{ background:white; }

.seccion ul.special-links li{ font-size:16px; font-family: var(--font-title); margin-bottom: 10px; }
.seccion ul.special-links li a{ text-decoration: none; color:#00133A;}
.seccion ul.special-links li a:hover{ text-decoration: underline;}

.seccion .img-cover{ width: 100%; height:100%; object-fit: cover;}
@media (max-width:992px){ .seccion .img-cover{ width: 100%; height:auto; object-fit: unset;} }

img.products {width: 80%;}
.box-white-ul {background: white; padding: 30px 15px; box-shadow: 0 3px 50px 0 rgb(0 0 0 / 16%); }
.box-white-ul ul.list {padding-left: 25px; margin-top: 30px; }
i.fa { font-size: 20px;}
.nav-logotipos {padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-logotipos .logo.active {opacity: 1; }
.nav-logotipos .logo {width: 20%; padding: 0 15px; float: left; opacity: 0.5; transition: ease all 0.3s; outline: none; }
.portfolio .categorias {display: block;}
.portfolio .fusion-filters {display: none; overflow: hidden; list-style: none; margin-bottom: 55px; padding: 0; line-height: 34px; border-top: 1px solid #e7e6e6; border-bottom: 1px solid #e7e6e6; }
.portfolio .fusion-filters li{float: left; margin-right: 30px; line-height: 34px; font-size: 20px; font-family: regular;}
.portfolio .trabajos {margin: -10px; position: relative; }


@media screen and (max-width: 992px){ .seccion .slide-big p.text-slide {font-size: 35px; } .seccion h1{font-size: 50px;} .row-parallax::before{ left:0;} .row-parallax::after{ left:0;} .row-parallax img.parallax{position: absolute; left:50%; top:0; min-width: 100%; width:auto; height: 150%; } .seccion .row-galeria-1 .col .overlay .title{ font-size: 19px; } .seccion .galeria2 .featured-services a:hover .glyphicon { opacity: 1; font-size: 12px; padding: 0px;} }


/*MODAL center in middle*/
.modal {text-align: center; padding: 0!important; }
.modal:before {content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -4px; }
.modal-dialog {display: inline-block; text-align: left; vertical-align: middle; }

.swiper-container {margin-left: auto; margin-right: auto; position: relative; overflow: hidden; list-style: none; padding: 0; z-index: 1; }
.swiper-wrapper {position: relative; width: 100%; height: 100%; z-index: 1; display: flex; transition-property: transform; box-sizing: content-box; }
.swiper-slide {flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; }
.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {left: 50%; transform: translateX(-50%); white-space: nowrap; }
.swiper-container .swiper-notification {position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; z-index: -1000; }

@media screen and (max-width: 1200px){
	.row-table-price .box-content {padding: 12px;}

}
@media screen and (max-width: 992px){
	.row-table-price .box-content {padding: 40px;}
}

.row-white{ padding:40px 15px; }

/*SLIDER HOME*/
.seccion .slider-home .swiper-slide { height: 100vh; min-height: 600px; overflow: hidden; }
.seccion .slider-home .swiper-slide > div[contenteditable] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.seccion .slider-home .swiper-slide img.responsive { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.seccion .slider-home .carousel-caption { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; max-width: 1320px; margin: 0 auto; padding: 40vh 15px 0 15px; left: 0; right: 0; bottom: auto; margin-top: 40px; }

/* Ensure text visibility over images */
.seccion .slider-home .carousel-caption p, 
.seccion .slider-home .carousel-caption .text-black { font-size: 32px; margin-top: -10px; margin-bottom: 0; color: #fff !important; text-shadow: 0 2px 5px rgba(0,0,0,0.7); }

.seccion .slider-home .carousel-caption span.background {font-family: var(--font-title) !important; padding: 3px 15px 3px 15px; display: inline-block; line-height: 88%; }
.seccion .slider-home .carousel-caption .btn{ font-weight: 800; }
.seccion .slider-home .carousel-caption .title{font-size: 70px; margin-top: -10px; margin-bottom: 50px !important; color:var(--color-primary); line-height: 1; }
.seccion .slider-home .carousel-caption .title strong{font-size: 60px; margin-top: -10px; margin-bottom: 0; color:var(--color-pink); line-height: 1; }

.seccion .slider-home .carousel-caption.left { align-items: flex-start; text-align: left; }
.seccion .slider-home .carousel-caption.left p{text-align: left; }
.seccion .slider-home .carousel-caption.left .title{text-align: left; }

.seccion .slider-home .carousel-caption.right { align-items: flex-end; text-align: right; }
.seccion .slider-home .carousel-caption.right p{ text-align: right; }
.seccion .slider-home .carousel-caption.right .title{ text-align: right; }

.seccion .slider-home .carousel-caption.center{ align-items: center; text-align: center; }
.seccion .slider-home .carousel-caption.center p{ text-align: center; }
.seccion .slider-home .carousel-caption.center p.title{text-align: center;}
.seccion .slider-home .carousel-caption .subtitle2 { font-size: 25px; text-shadow: none; font-weight: 300; margin-bottom: 40px !important; }

@media screen and (max-width: 992px){ .seccion .slider-home .swiper-slide { height: 500px; } .seccion .slider-home .carousel-caption { justify-content: center !important; padding: 15px !important; } }
@media (max-width:768px){ .seccion .slider-home .carousel-caption .title{ font-size:9vw; } .seccion .slider-home .carousel-caption .title strong{ font-size:9vw; } }
/*END SLIDER HOME*/

/*HOME*/
.seccion-home .gallery-slider .swiper-slide{ width:28%; position:relative; }
.seccion-home .gallery-slider .swiper-slide img{ transition:ease filter .3s; }
.seccion-home .gallery-slider .swiper-button-next {color: white!important; text-shadow:0 0 5px rgba(0,0,0,0.3),0 0 10px black,0 0 15px black;}
.seccion-home .gallery-slider .swiper-button-prev{color: white!important;opacity: 1.35; text-shadow:0 0 5px rgba(0,0,0,0.3),0 0 10px black,0 0 15px black;}
.seccion-home .text-carousel{position: absolute; display:none; left:5%; top:0; width: 90%; height: 100%; padding:15px;}
.seccion-home .text-carousel p{position: absolute; top:50%; transform: translateY(-50%); color: white; margin: auto 0; line-height: 1.3;}
.seccion-home .swiper-slide:hover .text-carousel{ display:block; }
/*END HOME*/


/*footer*/
#pie{position: relative; height:auto; padding-top: 5px; color:#ddd; background: var(--bg-footer); }
#pie h4,#pie h3,#pie h5{ font-family:var(--font-title) }
#pie .logo{ width: 100%; max-width: 90px; }
#pie ul.text-white li a{ color:white; font-family:var(--font-text); font-size:15px; }
#pie ul.text-white li{ float:left; width: 50%; max-width: 300px; margin-bottom:12px }
#pie .copyright {background-color: #252525; padding: 20px 0; }
#pie hr{ border-top: 1px solid var(--color-accent); opacity:1; }
#pie span.glyphicon{ color:#000; }
#pie a{ color:white; }
#pie a:hover{ color:#008cd0; }
#pie a.link{ color:#000; }
#pie .btn{font-size: 16px; }

.container-pils{ padding: 5px 25px; border-bottom: 1px solid #F5F5F5;  }
.container-pils .nav-pills{ border-radius: 0; }
.container-pils .nav-pills > li.active > a{ background-color: #008cd0; }
.container-pils .nav-pills > li a{ border-radius: 0; }

/* HOME PREMIUM STYLES */

.treatments-section { background: url('/images/backgrounds/bg-tractaments.png') center/cover no-repeat; min-height: 600px; }

.qui-som-section { background-image: url('/images/backgrounds/bg-qui-som.png'); background-size: cover; background-position: center; }

.bg-navy { background-color: #00133A; }
.text-accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.ls-2 { letter-spacing: 2px; }
.max-w-800 { max-width: 800px; }

.separator-small { width: 60px; height: 3px; border-radius: 2px; }

.service-card { transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05); }

.service-card:hover { transform: translateY(-10px); box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important; }

.icon-circle { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }


.custom-list li i { font-size: 14px; }

.academy-img-container { position: relative; }

.academy-img-container::before { content: ''; position: absolute; top: 20px; right: 20px; width: 100%; height: 100%; border: 2px solid var(--color-primary); z-index: -1; border-radius: 1.5rem; }

.testimonial-card { border-top: 4px solid var(--color-accent); }

.quote-icon { opacity: 0.2; }



/* FOOTER UPDATES */
.footer-menu a { color: #bbb; text-decoration: none; font-size: 14px; transition: color 0.3s ease; }

.footer-menu a:hover { color: white; }

.social-icons a { font-size: 20px; color: #bbb; transition: color 0.3s ease; }

.social-icons a:hover { color: var(--color-accent); }

@media (max-width: 992px) { .hero-section { height: 60vh; } .display-3 { font-size: 2.5rem; } }

/* ADVANCED EDITING PANEL STYLES */
.advanced-editing-panel { padding: 30px 15px !important; margin: 40px auto !important; max-width: 1200px !important; }
.advanced-editing-panel .panel { margin-bottom: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid #ddd; }
.advanced-editing-panel .panel-heading { background: #f5f5f5; border-bottom: 1px solid #ddd; padding: 15px 20px; }
.advanced-editing-panel .panel-title { font-weight: 700; color: #333; font-size: 16px; }
.advanced-editing-panel .panel-body { padding: 25px; background: #fff; }
.advanced-editing-panel .form-group { margin-bottom: 20px; }
.advanced-editing-panel .form-group:last-child { margin-bottom: 0; }
.advanced-editing-panel label { font-weight: 600; font-size: 13px; color: #333; display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.advanced-editing-panel [contenteditable] {
    display: block; width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 4px;
    background: #ffffff; font-family: var(--font-text); font-size: 14px; line-height: 1.5;
    min-height: 45px; resize: none; transition: all 0.2s ease;
}
.advanced-editing-panel [contenteditable]:hover { border-color: #ff9800; background: #fffbf5; }
.advanced-editing-panel [contenteditable]:focus { outline: none; border-color: #ff9800; box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1); background: #fff; }
.advanced-editing-panel [contenteditable].cke_focus { border-color: #ff9800 !important; box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1) !important; }

/* HEADER & NAVBAR PREMIUM */
.header-main { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); transition: all 0.3s ease; }

.logo-header { max-height: 50px; width: auto; }

.header-main .nav-link { color: #333 !important; font-size: 14px; letter-spacing: 0.5px; transition: color 0.3s ease; }

.header-main .nav-link:hover { color: var(--color-accent) !important; }

/* FOOTER PREMIUM */
.footer-nav .list-inline-item a { font-size: 13px; letter-spacing: 1px; transition: opacity 0.3s ease; }

.footer-nav .list-inline-item a:hover { opacity: 0.7; }

.social-links-footer a { transition: transform 0.3s ease; }

.social-links-footer a:hover { transform: translateY(-5px); color: var(--color-primary) !important; }

@media (max-width: 991px) {
    .header-main .navbar-nav { padding: 20px 0; }
}

/* UPLINE HOME REDESIGN */
.hero{ position: relative; height: 100vh; display: flex; align-items: center; background: url('/images/sliders/slider.png') center/cover no-repeat; padding: 0; }
.hero::after{ content: ""; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.hero .container{ position: relative; z-index: 1; }


.hero-badges{margin-top: 10px;}
.hero-badge{background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); padding: 14px 18px; border-radius: 12px;}
.hero-number{display: block; font-size: 24px; font-weight: 700;}
.hero-label{font-size: 12px; letter-spacing: 1px;}

/* BUTTON SYSTEM - HOME */
.seccion-home .color-primary{color: var(--color-accent) !important;}
.seccion-home .bg-primary{background-color: var(--color-accent) !important;}
.seccion-home .border-primary{border-color: var(--color-accent) !important;}

.header-main{ background: transparent; backdrop-filter: none; padding: 14px 0; transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease; }
.header-main .nav-link{ color: #fff !important; font-size: 13px; letter-spacing: 2px; font-weight: 500; padding: 6px 8px; }

.header-main .navbar-nav{ row-gap: 6px; }

@media (min-width: 992px){ .header-main .navbar-nav{ gap: 28px; } }

@media (max-width: 991px){
    .header-main .navbar-collapse{ background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.75)); backdrop-filter: blur(10px); padding: 0 16px; width: 100%; margin-left: 0; margin-top: 12px; overflow: hidden; }
    .header-main .nav-link{ padding: 8px 0; color: #fff !important; }
    .header-main .container{ position: relative; justify-content: center; }
    .header-main .navbar-toggler{ position: absolute; right: 12px; top: 14px; }
}

@media (min-width: 992px){
    .header-main.fixed-top{ padding-left: 15px; padding-right: 15px; }
    .header-main.header-scrolled.fixed-top{ padding-left: 15px; padding-right: 15px; }
    .header-main .navbar{ flex-direction: column; align-items: center; }
    .header-main .container{ width: 100%; display: flex; justify-content: center; padding: 20px 15px; }
    .header-main .navbar-brand{ margin: 0; display: flex; justify-content: center; }
    .header-main .logo-img{ max-height: 120px; }
    .header-main .navbar-collapse{ width: 100%; }
}

.navbar-brand{padding: 0;}
.logo-img{max-height: 92px; width: auto; filter: brightness(0) invert(1); transition: max-height .3s ease, filter .3s ease;}
.navbar-dark .navbar-toggler{border-color: rgba(255,255,255,0.5);}
.hamburger {
display: flex;
flex-direction: column;
gap: 0.35em;
width: 1.5em;
height: 1.5em;
}
.hamburger-line {
display: block;
width: 100%;
height: 0.15em;
background: #fff;
transition: transform .3s ease, opacity .3s ease;
transform-origin: center;
}
.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
transform: translateY(0.5em) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
transform: translateY(-0.5em) rotate(-45deg);
}

.header-main.header-scrolled{ background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.08); padding: 12px 0 10px; }
.header-main.header-scrolled .nav-link{ color: #000 !important; }
.header-main.header-scrolled .logo-img{ max-height: 56px; filter: brightness(0) invert(0); }
.header-main.header-scrolled .navbar-toggler{ border-color: rgba(0,0,0,0.25); transform: translateY(-4px); }
.header-main.header-scrolled .navbar-toggler-icon{ filter: brightness(0) invert(0); }
.header-main.header-scrolled .hamburger-line{ background: #000; }
.header-main.header-scrolled .hamburger{ transform: translateY(-3px); }
@media (max-width: 991px){
    .header-main.header-scrolled .navbar-collapse{ background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); box-shadow: none; }
    .header-main.header-scrolled .nav-link{ color: #000 !important; }
    .logo-img{ max-height: 76px; }
    .header-main.header-scrolled .logo-img{ max-height: 46px; }
}

.intro{background: #fff url('../images/backgrounds/bg-1.png') no-repeat center center; padding: 70px 0; position: relative;}
.curve-top::before{content: ""; position: absolute; top: -40px; left: 0; right: 0; height: 80px; background: #fff; border-radius: 0 0 80px 80px;}
.intro-content{max-width: 960px; margin: 0 auto; padding: 0 15px;}

.row-buttons { display: flex; justify-content: center; gap: 100px; flex-wrap: wrap; }
@media (max-width: 768px) { .row-buttons { gap: 20px; } }

.section-dark{background: #cfcfcf; padding: 90px 0; position: relative; overflow: hidden;}
.section-dark::after{display: none;}
.section-title{font-size: 36px; font-weight: 700; color: #fff; text-transform: none;}
.section-text{font-size: 18px; color: rgba(255,255,255,0.8);}

.pill-list{display: flex; flex-wrap: wrap; gap: 10px;}
.pill{background: rgba(196,154,108,0.2); color: #f3d8b6; border: 1px solid rgba(196,154,108,0.5); border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: 1px;}

.about-highlight{background: url('/images/backgrounds/bg-qui-som.png') center/cover no-repeat; padding: 120px 0 100px; position: relative; color: #fff;}
.about-content{position:relative; z-index:1; max-width: 860px; margin:0 auto; padding: 0 15px;}

.about-description{font-size:16px; line-height:1.7; color: rgba(255,255,255,0.9); margin-bottom:18px;}


.services{background: #fff; position: relative; padding: 60px 0;}
.services-highlight::before{content:""; position:absolute; inset:0; background: radial-gradient(circle at 10% 20%, rgba(196,154,108,0.08), transparent 40%), radial-gradient(circle at 90% 30%, rgba(196,154,108,0.08), transparent 50%); pointer-events:none;}
.services-header{text-align:center; max-width:820px; margin:0 auto 40px; position:relative; z-index:1;}

.services-description{font-size:16px; color: rgba(0,0,0,0.7); line-height:1.7;}
.services-grid{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:22px; position:relative; z-index:1;}
.service-card{background:var(--bg-light); border-radius:28px; padding:30px 24px 26px; min-height:220px; text-align:center; box-shadow:none;}
.service-icon{width:60px; height:60px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center;}
.service-icon img{width:50px; max-width:50px; max-height:50px; filter:none;}
.service-card h3{font-size:24px; font-weight:500; margin-bottom:14px; color:#2b2b2b; line-height:1.2;}
.service-card h3::after{content:""; display:block; width:120px; max-width:85%; height:1px; margin:10px auto 0; background:var(--bg-accent);}
.service-card p{font-size:18px; color:var(--color-primary); line-height:1.6; letter-spacing:0.02em;}
@media (max-width: 1199px){
    .services-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media (max-width: 767px){
    .services-grid{grid-template-columns:1fr;}
}

.treatments{background: url('/images/backgrounds/bg-tractaments.png') center/cover no-repeat; position: relative; color: #fff;}
.treatments-highlight{padding: 60px 0 60px; overflow: hidden;}
.treatments-header{max-width: 960px; position: relative; z-index: 1;}

.treatments-description{font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.7;}
.swiper-treatments { padding-left: 24px !important; }
.swiper-treatments .swiper-slide { height: auto; padding: 20px 0; }
.treatment-card{background: rgba(255,255,255,0.14); border-radius: 32px; padding: 32px; width: 100%; min-height: 200px; text-align:left; box-shadow: 0 20px 40px rgba(0,0,0,0.06); backdrop-filter: blur(10px); display: flex; flex-direction: column; transition: transform 0.3s ease; height: 100%; }
.treatment-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.22); }
.treatment-card h3{font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #fff;}
.treatment-card p{font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 0;}
.treatments-highlight .btn-academy{margin-top: 20px;}

.technology-highlight{background: #fff url('/images/backgrounds/bg-2.png') right bottom/cover no-repeat; padding: 60px 0 60px; position: relative; overflow: hidden;}
.technology-highlight::before{ content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(196,154,108,0.08), transparent 40%), radial-gradient(circle at 80% 70%, rgba(196,154,108,0.08), transparent 45%); pointer-events: none; }
.technology-content{position: relative; max-width: 860px; margin: 0 auto; padding: 0 15px;}

.technology-description{font-size: 18px; color:var(--color-secondary); line-height: 1.7; margin: 20px auto 40px; max-width: 1000px;}

.academy{background: url('/images/backgrounds/bg-academia.png') center/cover no-repeat; position: relative; color: #fff; padding: 80px 0;}
@media (max-width:992px){
   .academy{ background-position: 80% center; }
}
.academy-formation{min-height: 560px;}

.academy-title{font-size: 44px; font-weight: 600; color: #fff; max-width: 640px;}
.academy-description{max-width: 660px; color: rgba(255,255,255,0.92); font-size: 16px; line-height: 1.6;}
.academy-menu{display:flex; flex-direction:column; gap: 16px; max-width: 640px; margin-bottom: 20px;}
.academy-menu span{display:block; border: 1px solid var(--bg-accent); border-radius: 999px; padding: 12px 24px; font-size: 19px; font-family:var(--font-subtitle); font-weight:300; color: #fff; transition: all 0.3s ease;}

.testimonial img{ max-width: 80px; }
.testimonial-edit-group img{ max-width: 80px; }

.testimonials{background: #fff; padding: 50px 0;}
.testimonials-lead{max-width: 1000px; margin: 0 auto; color:var(--color-secondary); font-size: 18px; line-height: 1.6; font-weight: 400;}
.testimonial{position: relative; padding-top: 44px; height: 100%;}
.testimonial-avatar{position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #fff; z-index: 2;}
.testimonial-avatar img{width: 100%; height: 100%; object-fit: cover;}
.testimonial-card{ background: #fff; border-radius: 26px; padding: 62px 26px 26px; border: 1px solid rgba(196,154,108,0.55); box-shadow: none; text-align: center; height: 100%; }
.testimonial-name{font-size: 18px; font-weight: 500; color:#222; text-transform: none; letter-spacing: 0;}
.testimonial-role{margin-top: 2px; font-size: 12px; color:#444; opacity: 0.9; text-transform: none; letter-spacing: 0;}
.testimonial-quotes{margin: 14px auto 10px; display: inline-flex; gap: 10px; color: rgba(196,154,108,0.85); line-height: 0.5; font-family: var(--font-title); font-size:90px; }
.testimonial-text{font-size: 16px; color:#333; line-height: 1.7;}
.testimonials .swiper-slide{height: auto;}
.testimonials .swiper-pagination{position: relative; margin-top: 28px;}
.testimonials .swiper-pagination-bullet{background: #c4c4c4; opacity: 1;}
.testimonials .swiper-pagination-bullet-active{background: var(--color-accent);}

.cta{background: #fff url('/images/backgrounds/bg-3.png') center/cover no-repeat; padding: 50px 0;}

.contact-strip { background: var(--bg-light); padding: 70px 0; }
.contact-strip__info { padding-right: 40px; padding-bottom: 40px; }
.contact-strip__address { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
.contact-strip__icon { color: var(--color-accent); font-size: 22px; margin-top: 3px; flex-shrink: 0; }
.contact-strip__address p { margin: 0; }
.contact-strip__form-col { padding-top: 10px; }
.contact-strip__input { border: 1px solid #ddd; border-radius: 8px; padding: 12px 16px; font-family: var(--font-text); font-size: 16px; color: var(--color-primary); background: #fff; width: 100%; transition: border-color 0.2s; }
.contact-strip__input:focus { border-color: var(--color-accent); outline: none; box-shadow: none; }
.contact-strip__textarea { resize: vertical; min-height: 130px; }
.contact-strip__checks { margin: 16px 0; }
.contact-strip__checks .checkbox { margin-bottom: 8px; }
.contact-strip__checks .checkbox label { font-size: 15px; font-family: var(--font-text); color: var(--color-secondary); }
.contact-strip__link { color: var(--color-accent); text-decoration: underline; }
.contact-strip__altcha { margin: 20px 0 16px; }
.contact-strip__submit { margin-top: 8px; }
.contact-strip__row2 { display: flex; gap: 10px; }
.contact-strip__row2 .contact-strip__input { flex: 1; min-width: 0; }
.contact-strip .text-primary a{ color: var(--color-primary); text-decoration: none; }
.contact-strip .text-primary a:hover{ text-decoration: underline; }
@media (max-width: 767px) { .contact-strip__row2 { flex-direction: column; gap: 0; } .contact-strip__row2 .contact-strip__input:first-child { margin-bottom: 10px; } }
@media (max-width: 991px) { .contact-strip__info { padding-right: 0; } }

.error-hero { position: relative; height: 250px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .error-hero { height: 150px; } }
.error-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.error-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 2; }
.error-hero h1 { position: relative; z-index: 3; color: #fff; text-align: center; font-size: 48px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.error-page { padding: 80px 0; background: #fff; }
.error-content { max-width: 700px; margin: 0 auto; }
.error-code { font-size: 120px; font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: 30px; opacity: 0.3; }

.lead{font-size: 18px; color: var(--color-secondary); max-width: 1000px;}
.seccion-home .title{color: #000;}

@media (max-width: 992px){ .hero{padding-top: 120px;} }
@media (max-width: 768px){ .hero{min-height: 70vh;} .curve-top::before{border-radius: 0 0 40px 40px;} }
.academy-menu span{letter-spacing: 0.2px;}
@media (max-width: 992px){ .academy-description{font-size: 14px;} .academy-menu span{font-size: 14px; padding: 10px 18px;} }
