/*
 * Theme Name: 
 * Theme URI: 
 * Author: Milan Savov, Nikola Kostov
 * Author URI/Mail: milan.savov@gmail.com, nikolakostov1991@gmail.com
 * Version: 1.0
 * */

/* Academia Enot Color Palette */
:root {
    --primary-purple: #8B5CF6;      /* Morado vibrante - color principal */
    --secondary-purple: #A855F7;    /* Lila - color secundario */
    --dark-purple: #6B46C1;         /* Morado oscuro - acentos */
    --light-purple: #C4B5FD;        /* Morado claro - fondos suaves */
    --text-dark: #1a1b20;           /* Gris muy oscuro - texto principal */
    --text-light: #3f444a;          /* Gris oscuro - texto secundario (mejor contraste) */
}

 /* TABLE OF CONTENT 
*
* - CUSTOM RESETS
    - Buttons
    - Forms
* - LAYOUT
* - HEADER 
    - Site Logo
    - Navigation
* - HERO (BANNER)
* - HOMEPAGE SECTIONS
    - Features 
    - Services
    - Map Feature 
    - Portfolio
    - Newsletter 
* - FOOTER
* - PAGES
    - PORTFOLIO
    - PORTFOLIO ITEM
    - BLOG
    - BLOG POST
    - CONTACT
*
*/


/* CUSTOM RESETS
================================================== */
a {
    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    cursor: pointer;
    color: var(--text-light);
}

a:focus,
a:hover {
    color: var(--primary-purple);
    outline: 0 none;
    text-decoration: none;
}

p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 22px;
}

h1 {
    font-size: 62px;
}

h2 {
    font-size: 42px;
}

h1,h2,h3,h4,h5 {
    color: #1a1b20;
}

p + p {
    margin-top: 40px;
}

/* Buttons */
.btn {
    line-height: 50px;
    min-width: 200px;
    font-size: 16px;
    font-weight: 300;
    border: 0;
    border-radius: 50px;
    color: #1a1b20;
    background-color: #fff;
    padding: 0;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

.btn-border {
    border: 1px solid #1a1b20;
}

.btn-fill {
    background-color: transparent;
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
}

.btn-gray {
    background-color: #f5f5f8;
    color: #1a1b20;
}

.btn-green {
    background-color: var(--primary-purple);
    color: #fff;  
}

.btn:hover,
button.btn:hover,
.btn:focus,
button.btn:focus {
    background-color: #1a1b20;
    color: #fff;
    border: #fff;
}

.btn-gray:hover,
.btn-gray:focus {
    background-color: var(--primary-purple);
    color: #fff;    
}

/* 
 * Forms 
 */
/* Input fields */
.form-group {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.form-control {
    border-radius: 25px;
    height: 50px;
    padding: 15px 20px;
    border-color: #f5f5f8;
}

.form-control + .form-control {
    margin-top: 10px;
}

.form-control:focus {
    background-color: #f5f5f8;
    border-color: #f5f5f8;
    box-shadow: none;
    outline: none;
}

.form-group .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    line-height: 40px;
    min-width: 60px;
    font-size: 16px;
    border-radius: 25px;
}

.form-control-comment {
    height: 100px;
    resize: none;
}

.search-form .form-group .form-control {
    padding-right: 80px;
}

/* ELEMENTS
================================================== */
/* Checkbox fields */
input[type=checkbox],
input[type=radio] {
    position: absolute;
    visibility: hidden;
    height: auto;
    margin-top: 0;
}

.checkbox {
    margin: 0;
} 

.checkbox + .checkbox,
.radio-btn + .radio-btn {
    margin-top: 15px;
}

.checkbox [type="checkbox"]:not(:checked) + label,
.checkbox [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.checkbox [type="checkbox"]:not(:checked) + label:before,
.checkbox [type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; 
    width: 20px; 
    height: 20px;
    background-color: #fff;
    border: 1px solid #f5f5f8;
    border-radius: 3px;
    box-shadow: none;
    transition: border-color .2s;
    -webkit-transition: border-color .2s;
    -ms-transition: border-color .2s;
    -o-transition: border-color .2s;
    -ms-transition: border-color .2s;
}

.checkbox [type="checkbox"]:not(:checked) + label:after,
.checkbox [type="checkbox"]:checked + label:after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    font-size: 15px;
    height: 20px;
    width: 20px;
    border-radius: 3px;
    color: #fff;
    background-color: var(--primary-purple);
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
      transition: opacity .2s;
    -webkit-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    -ms-transition: opacity .2s;
}

.checkbox [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
}

.checkbox [type="checkbox"]:checked + label:after {
    opacity: 1;
}

.checkbox [type="checkbox"]:disabled:not(:checked) + label:before,
.checkbox [type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

.checkbox [type="checkbox"]:disabled:checked + label:after {
    color: #999;
}
.checkbox [type="checkbox"]:disabled + label {
    color: #aaa;
}

.checkbox [type="checkbox"]:checked:focus + label:before,
.checkbox [type="checkbox"]:not(:checked):focus + label:before {
    border: 1px dotted var(--primary-purple);
}

.checkbox [type="checkbox"]:not(:checked) + label:hover:before,
.checkbox [type="checkbox"]:checked + label:hover:before {
    border: 1px solid var(--primary-purple);
}

/* Radiobutton fields */
.radio-btn label {
    font-weight: 400;
}

.radio-btn [type="radio"]:not(:checked) + label,
.radio-btn [type="radio"]:checked + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-btn [type="radio"]:not(:checked) + label:before,
.radio-btn [type="radio"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; 
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid #f5f5f8;
    border-radius: 50px;
    box-shadow: none;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: border-color .2s;
    -webkit-transition: border-color .2s;
    -ms-transition: border-color .2s;
    -o-transition: border-color .2s;
    -ms-transition: border-color .2s;
}

.radio-btn [type="radio"]:not(:checked) + label:after,
.radio-btn [type="radio"]:checked + label:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 4px;
    background-color: var(--primary-purple);
    border-radius: 50px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: opacity .2s;
    -webkit-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    -ms-transition: opacity .2s;
}

.radio-btn [type="radio"]:not(:checked) + label:after {
    opacity: 0;
}
.radio-btn [type="radio"]:checked + label:after {
    opacity: 1;
}

.radio-btn [type="radio"]:disabled:not(:checked) + label:before,
.radio-btn [type="radio"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

.radio-btn [type="radio"]:disabled:checked + label:after {
    color: #999;
}

.radio-btn [type="radio"]:disabled + label {
    color: #aaa;
}

.radio-btn [type="radio"]:checked:focus + label:before,
.radio-btn [type="radio"]:not(:checked):focus + label:before {
    border: 1px dotted var(--primary-purple);
}

.radio-btn [type="radio"]:checked + label:hover:before,
.radio-btn [type="radio"]:not(:checked) + label:hover:before {
    border: 1px solid var(--primary-purple);
}

/* Selectpicker */
select {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    display: block !important;
    width: .5px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
}

.bootstrap-select .btn {
    border: 1px solid #1a1b20;
    border-radius: 10px;
}

.bootstrap-select span.pull-left {
    padding-left: 10px;
}

.bootstrap-select.btn-group .dropdown-menu.inner {
    position: static;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bootstrap-select.open .dropdown-menu {
    display: block;
    border: 1px solid #1a1b20; 
    border-radius: 10px;
}

.bootstrap-select.btn-group .dropdown-menu {
    padding: 5px 0;
    min-width: 100%;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 9999;
}

.bootstrap-select .dropdown-menu {
    display: none;
    visibility: visible;
    opacity: 1;
    padding: 0;
}

.bootstrap-select .bs-caret {
    float: right;
    padding-right: 10px;
}

.bootstrap-select .bs-caret .caret {
    border-top: 6px dashed;
    border-top: 6px solid\9;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;   
}

.bootstrap-select .selected {
    color: var(--primary-purple);
}

.bootstrap-select .check-mark {
    display: none;
}

/*  Tabs  */
.tab-style {
    border-bottom: none;
}

.tab-style + .tab-content {
    padding: 15px;
    border: 1px solid #1a1b20;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.nav-tabs.tab-style > li.active > a,
.nav-tabs.tab-style > li > a:hover {
    border: 1px solid var(--primary-purple);
    background-color: var(--primary-purple);
    color: #fff;
}

.nav-tabs.tab-style > li > a {
    position: relative;
    color: #1a1b20;
    margin-right: 0;
    border: 1px solid #1a1b20;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.nav-tabs.tab-style > li + li {
    margin-left: 10px;
}

/* Accordion */
.accordion.panel-group {
    margin-bottom: 0;
}

.accordion.panel-group .panel + .panel {
    margin-top: 0;
}

.accordion .panel {
    border: 0;
    box-shadow: none;
    border: 1px solid #1a1b20;
    border-bottom: 0;
    border-radius: 0;
}

.accordion .panel:first-child,
.accordion .panel:first-child .panel-heading a {
    border-top-right-radius:10px;
    border-top-left-radius:10px;
}

.accordion .panel:last-child {
    border-bottom-right-radius:10px;
    border-bottom-left-radius:10px;
    border-bottom: 1px solid #1a1b20;
}

.accordion .panel:last-child .panel-heading a.collapsed {
    border-bottom-right-radius:10px;
    border-bottom-left-radius:10px;
}

.accordion .collapsed {
    height: auto;
}

.accordion .panel-heading {
    background-color: transparent;
    padding: 0;
}

.accordion .panel-heading a {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 10px 40px 10px 15px;
}

.accordion .panel-heading a.collapsed {
    background-color: transparent;
    color: #1a1b20;
}

.accordion .panel-heading a.collapsed:hover,
.accordion.accordion-gray .panel-heading a.collapsed:hover,
.accordion .panel-heading a {
    background-color: var(--primary-purple);   
    color: #fff; 
}

.accordion .panel-heading a.collapsed::after {
    content: "\f107";
}

.accordion .panel-heading a::after {
    font-family: "FontAwesome";
    content: "\f106";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.panel-group .panel-heading+.panel-collapse>.list-group, 
.panel-group .panel-heading+.panel-collapse>.panel-body {
    border: none;
}

/* Pagination */
.pagination {
  margin: 0;
  vertical-align: middle;
}

.pagination > li > a {
  border: none;
  color: #1a1b20;
  background-color: #f5f5f8;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 12px;
}

.pagination > li + li > a {
  margin-left: 5px;
}

.pagination > li.active > a,
.pagination > li > a:hover,
.pagination > li.active > a:hover {
  background-color: #6fc754;
  color: #fff;
}

.pagination > li:first-child > a {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.pagination > li:last-child > a {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.pagination > li.more > a {
  margin-left: 0;
  padding: 10px 5px;
  pointer-events: none;
  background-color: transparent;
}

.pagination > li.more + li > a {
  margin-left: 0;
}

/* LAYOUT
================================================== */
html, body {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #1a1b20;
}

html {
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 100%;
}

body {
    padding-top: 80px;
}

/* Ajuste para header sticky */
.site-header.sticky + * {
    margin-top: 0;
}

.img-res {
    display: block;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Background colors */
.gray-bg {
  background-color: #f5f5f8;
}

/* Margin and padding resets */
.mb-10 {margin-bottom: 10px;}
.mt-20 {margin-top: 20px;}
.mt-50 {margin-top: 50px;}

/* HEADER
================================================== */
.site-header {
    position: absolute;
    padding: 0;
    background-color: transparent;
    width: 100%;
    z-index: 3;
}

/* Site-logo */
.site-title {
    font-size: 18px;
    line-height: 26px;
    color: #1a1b20;
    display: flex;
    align-items: center;
}

/* Sticky header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    min-height: 80px;
}

.site-navigation {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.site-navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    min-height: 80px;
}

.navbar-header {
    display: flex;
    align-items: center;
    height: 80px;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    height: 80px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.navbar-nav > li {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

.site-header.sticky {
    min-height: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
}

.site-header.sticky .site-navigation {
    min-height: 60px;
}

.site-header.sticky .site-navigation .container {
    min-height: 60px;
}

.site-header.sticky .navbar-header {
    height: 60px;
}

.site-header.sticky .navbar-collapse {
    height: 60px;
}

.site-header.sticky .site-title {
    font-size: 16px;
}

.site-header.sticky .logo-img {
    height: 24px;
}

.site-header.sticky .navbar-nav > li > a {
    padding: 0 15px;
}

.logo-img {
    height: 28px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.site-title:hover {
    color: #1a1b20;   
}

.site-title span {
    font-weight: 700;
}

.site-title a:hover {
    color: #fff;
}

/* Navigation */
.navbar-collapse {
    text-align: center;
}

.navbar-nav {
    float: none;
    display: inline-block;
}

.navbar-nav > li > a, 
.slicknav_nav > li > a {
    padding: 0;
    font-size: 16px;
    position: relative;
    color: #1a1b20;
    line-height: 26px;
}

.site-header-white .navbar-nav > li > a,
.site-header-white .site-title {
    color: #fff;
}

.navbar-nav > li > a i {
    margin-left: 5px;
}

.navbar-nav > li + li {
    margin-left: 30px;
}

@media (max-width: 1199px) {
    .navbar-nav > li + li {
        margin-left: 16px;
    }

    .navbar-nav > li.lang-switcher-item {
        margin-left: 16px;
    }
}

.nav .open > a, 
.nav .open > a:focus, 
.nav .open > a:hover,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.active > a,
.navbar-collapse li a:hover,
.dropdown.open > a, 
.site-header-white .dropdown.open > a,
.dropdown-menu a:hover, 
.dropdown:hover > a, 
.dropdown-menu>li>a:focus,
.dropdown-menu li a:hover,
.slicknav_nav > li.active a,
.slicknav_open .slicknav_arrow,
.slicknav_nav > li a:hover {
    background-color: transparent;
    color: var(--primary-purple);
}

/* Menú móvil personalizado */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: #fff;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Modal del menú móvil */
.mobile-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-modal.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 90%;
    max-width: 400px;
    height: 100%;
    margin-left: auto;
    padding: 60px 30px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}

.mobile-menu-modal.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary-purple);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--primary-purple);
    color: #fff;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    color: #1a1b20;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.mobile-menu-link:hover {
    background: var(--primary-purple);
    color: #fff;
    transform: translateX(-5px);
    border-color: var(--primary-purple);
}

.mobile-menu-link.active {
    background: var(--primary-purple);
    color: #fff;
    border-color: var(--primary-purple);
}

/* Evitar parpadeo al cargar el idioma guardado */
html.i18n-pending body {
    visibility: hidden;
}

/* Selector de idioma */
.lang-switcher {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    height: 24px;
    border: 1px solid var(--primary-purple);
    border-radius: 999px;
    background-color: transparent;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-sizing: border-box;
}

.navbar-nav > li.lang-switcher-item {
    margin-left: 24px;
}

.navbar-nav > li.lang-switcher-item:hover,
.navbar-nav > li.lang-switcher-item:focus {
    background: transparent;
}

.lang-btn {
    -webkit-appearance: none;
    appearance: none;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0;
    padding: 0 9px;
    border: 0;
    border-radius: 0;
    height: auto;
    min-height: 0;
    min-width: 0;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #1a1b20;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

.lang-btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.lang-btn:first-child {
    border-radius: 999px 0 0 999px;
}

.lang-btn:last-child {
    border-radius: 0 999px 999px 0;
}

.lang-btn:hover,
.lang-btn:focus {
    color: var(--primary-purple);
    background-color: transparent;
    outline: none;
}

.lang-btn.active {
    background-color: var(--primary-purple);
    color: #fff;
}

.lang-btn.active:hover,
.lang-btn.active:focus {
    background-color: var(--dark-purple);
    color: #fff;
}

.lang-switcher--mobile {
    display: -webkit-inline-flex;
    display: inline-flex;
    margin: 48px auto 0;
    height: 36px;
}

.lang-switcher--mobile .lang-btn {
    font-size: 12px;
    padding: 0 16px;
}

/* Mostrar botón hamburguesa en móviles */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar-collapse {
        display: none !important;
    }
}

.navbar-toggle {
    border-color: #fff;
    margin: 0 15px 0 0;
    position: relative;
    top: -1px;
}

.navbar-toggle:hover,
.navbar-toggle[aria-expanded=true] {
    background-color: #fff;
    border-color: #000;
    cursor: pointer;
}

.navbar-toggle:hover .icon-bar,
.navbar-toggle[aria-expanded=true] .icon-bar {
    background-color: #000;
}

.navbar-toggle  .icon-bar {
    background-color: #fff;
}

.navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    min-width: 130px;
    border: 0;
    border-top: 5px solid var(--primary-purple);
    top: 140%;
    transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -ms-transition: all 0.4s;
}

.navbar-nav li a:hover + .dropdown-menu,
.navbar-nav .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    top: 100%;
    transition-delay: 0s;
}

.dropdown-menu li a {
    padding: 5px 15px;
    position: relative;
    left: 0;
}

.dropdown-menu li a:hover {
    left: 15px;
}

/* HERO
================================================== */
.hero { 
    background: url(../img/hero.jpg) no-repeat center / cover; 
    height: 100%;
    width: 100%;
    display: table;
    position: relative;
}

.overlay:before {
  content: '';
  background-color: rgba(255,255,255,0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-content {
    display: table-cell;
    vertical-align: middle;
    padding-top: 75px;
    padding-bottom: 140px;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 890px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.hero-logo-img {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

.hero-title {
    font-size: 32px;
    color: #000 !important;
    font-weight: 300;
    text-shadow: none;
    opacity: 1;
}

.hero-title-bold {
    font-weight: 700;
    color: #000 !important;
    text-shadow: none;
    opacity: 1;
}

.hero-text h1 {
    position: relative;
    margin: 0;
    color: #000 !important;
    text-shadow: none;
    opacity: 1;
}

.hero-text p {
    position: relative;
    margin: 45px 0 30px;
    font-size: 20px;
    color: #000 !important;
    text-shadow: none;
    opacity: 1;
}

.hero-text .btn {
    position: relative;
    background-color: transparent;
    margin-bottom: 10px;
}

.hero-text .btn:hover {
    background-color: #1a1b20;
    color: #fff;
}

.hero .breadcrumb {
    padding-top: 60px;
    margin-bottom: 0;
}

.hero .breadcrumb:before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 45px;
    height: 12px;
    width: 80px;
    border-top: 5px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.subpage-hero {
    height: 400px;
}

.subpage-hero.overlay:before {
    background-color: rgba(38,39,45,0.5);
}

.subpage-hero .hero-content,
.subpage-hero .hero-content h1,
.subpage-hero a  {
    color: #fff;
}

.subpage-hero a:hover {
    color: var(--primary-purple);
}

.portfolio-hero {
    background: url(../img/portfolio-hero.jpg) no-repeat center / cover;     
}

.blog-hero {
    background: url(../img/blog-hero.jpg) no-repeat center / cover;     
}

.contact-hero {
    background: url(../img/contact-hero.jpg) no-repeat center / cover;     
}

/* SITEMAIN
================================================== */
/* site-section */
.site-section {
   padding: 100px 0 140px;
}

.subheading-text {
    font-size: 20px;
    font-style: italic;
}

.heading-separator {
    position: relative;
    margin: 0;
    padding-bottom: 70px;
}

.heading-separator:after {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    height: 2px;
    width: 50px;
    margin: 0 auto;
    background-color: #8B5CF6;
}

/* Section: Features */
.section-features h2 {
    padding-bottom: 40px;
    font-size: 30px;
}

.section-features img {
    position: absolute;
    right: 15px;
    height: 380px;
    max-width: calc(100% - 15px);
}

/* Section: Services */
.section-services .subheading-text {
    margin-bottom: 90px;
}

.section-services .col-md-3:nth-child(n+5) .service {
    margin-top: 60px;
}

.service {
    min-height: 250px;
}

.service-title {
    margin: 35px 0 25px;
    font-size: 13px;
    text-transform: uppercase;
}

.service-info {
    font-size: 13px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#servizos h2, #niveis h2, .section-map-feature h2, .section-portfolio h2, #contacto h2 {
    color: var(--primary-purple)!important;
}

#servizos a {
    margin-top: 1rem !important;
}

/* Tarjetas con altura igual */
.row.equal-height {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row.equal-height > [class*="col-"] {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
}

.row.equal-height .service {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.row.equal-height .service .service-info {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

/* Section: Map Feature */
.section-map-feature {
    padding-top: 250px;
    background: #071021 url(../img/pizarra.png) no-repeat top center / cover; 
}

.section-map-feature h2 {
    padding-bottom: 30px;
    margin: 0;
}

.section-map-feature h2,
.section-map-feature p {
    color: #fff;
}

.section-map-feature .btn {
    margin: 5rem 0 10rem;
}

.counter {
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
}

.counter.has-plus::before {
    content: '+';
}

.counter-item h3 {
    margin: 0;
    font-size: 16px;
    color: var(--primary-purple);
}

/* Section: Portfolio */
.portfolio-item {
    margin-top: 30px;
}

.portfolio-item {
    height: 270px;
    position: relative;
}

.portfolio-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 100%;
    bottom: 0;
    background-color: #f5f5f8;
    transition: right 0.25s ease-in-out;
    -moz-transition: right 0.25s ease-in-out;
    -webkit-transition: right 0.25s ease-in-out;
    -o-transition: right 0.25s ease-in-out;
    -ms-transition: right 0.25s ease-in-out;
}

.portfolio-item:hover:before {
    right: 25%;
}

.portfolio-item-title,
.portfolio-item a {
    position: absolute;
    left: 0px;
    margin: 0;
    font-size: 16px;
    opacity: 0;
}

.portfolio-item-title {
    width: 150px; 
    top: 15px;  
    transition: left 0.25s ease-in-out, opacity 0.25s ease-in-out;
    -moz-transition: left 0.25s ease-in-out, opacity 0.25s ease-in-out;
    -webkit-transition: left 0.25s ease-in-out, opacity 0.25s ease-in-out;
    -o-transition: left 0.25s ease-in-out, opacity 0.25s ease-in-out;
    -ms-transition: left 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

.portfolio-item:hover .portfolio-item-title {
    left: 15px;
    opacity: 1;
}

.portfolio-item a {
    bottom: 15px;
    color: #1a1b20;
    padding: 5px 12px;
    border: 1px solid #1a1b20;
    border-radius: 50px;
}

.portfolio-item:hover a {
    left: 55%;
    opacity: 1;
}

.portfolio-item a:hover {
    background-color: #1a1b20;
    color: #fff;
}

.portfolio-item a i {
    width: 16px;
    text-align: center;
}

/* Section: Newsletter */
.section-newsletter h2 {
    padding-bottom: 30px;
    margin: 0;
}

.section-newsletter p + p {
    margin-top: 4px;
}

.newsletter-group {
    max-width: 550px;
}

.newsletter-group .form-control {
    padding-right: 125px;
}

.newsletter-group .btn {
    min-width: 120px;
}

/* Iconos de servicios */
.service-icon {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 1.25rem;
    display: block;
}

/* Botones responsive */
@media (max-width: 768px) {
    .btn {
        min-width: 180px;
        padding: 0 20px;
        font-size: 14px;
        line-height: 45px;
    }
    
    .btn-border {
        padding: 0 25px;
        line-height: 45px;
    }
    
    .btn-fill {
        padding: 0 25px;
        line-height: 45px;
    }
    
    .hero-text .btn {
        margin-top: 20px;
        display: block;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-map-feature .btn {
        margin: 3rem 0 5rem;
        min-width: 200px;
    }
    
    .service-icon {
        font-size: 3rem;
    }
}

/* FOOTER
================================================== */
.site-footer {
    background-color: #f5f5f8;
    padding-top: 95px;
}

/* Footer responsive */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 60px;
    }
    
    .site-footer .container {
        padding-bottom: 60px;
    }
    
    .site-footer .col-md-4 {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .site-footer .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    .site-footer .site-title {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .site-footer h3 {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .site-footer .list-unstyled {
        text-align: center;
    }
    
    .contact-links li {
        text-align: center;
        padding-left: 0;
    }
    
    .contact-links li i {
        position: static;
        display: block;
        margin-bottom: 10px;
        transform: none;
    }
    
    .contact-links li a {
        display: block;
        margin-top: 5px;
    }
}

.site-footer .site-title {
    display: inline-flex;
    align-items: center;
    margin-bottom: 40px;
}

.site-footer .logo-img {
    height: 24px;
    width: auto;
    margin-right: 6px;
}

.site-footer h3 {
    font-size: 16px;
    text-transform: uppercase;
    margin:0 0 40px;
}

.site-footer > .container {
    padding-bottom: 170px;
}

.site-footer .list-unstyled li + li {
    margin-top: 20px;
}

.contact-links li {
    position: relative;
}

.contact-links li i {
    position: absolute;
    top: 50%;
    width: 20px;
    text-align: center;
    font-size: 18px;
    color: #4a4f55;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.contact-links li a,
.contact-links li p {
    margin-left: 40px;
}

.list-unstyled {
    margin-bottom: 0;
}

.list-unstyled li a,
.list-unstyled li p {
    font-size: 16px;
    color: #4a4f55;
    font-weight: 300;
}

.list-unstyled li a:hover,
.list-unstyled li.active a {
    color: var(--primary-purple);
}

/* Copyright */
.copyright {
    padding: 30px 0;
    border-top: 1px solid rgba(38, 41, 44, 0.05);
}

.social-links a {
    line-height: 36px;
    padding: 5px 15px;
    font-size: 18px;
    border: 1px solid;
    border-radius: 50px;
}

.social-links a:hover {
    color: #fff;
}

.social-links a i {
    width: 18px;
    text-align: center;
}

a.twitter-bg {
    color: #55acee;
    border-color: #55acee; 
}

a.twitter-bg:hover {
    background-color: #55acee;
}

a.facebook-bg {
  color: #3b5998;
  border-color: #3b5998;
}

a.facebook-bg:hover{
  background-color: #3b5998;
}

a.pinterest {
  color: #dd4b39;
  border-color: #dd4b39;
} 

a.pinterest:hover{
  background-color: #dd4b39;
} 

a.linkedin-bg {
  color: #007bb5;
  border-color: #007bb5;
}

a.linkedin-bg:hover {
  background-color: #007bb5;
}

.copyright .text-right {
    padding: 4px 0;
}

.copyright p {
    font-size: 9px;
    font-weight: 400;
    text-transform: uppercase;
    color: #1a1b20;
}

.copyright p + p {
    margin-top: 2px;
}

/* PAGES
================================================== */
.subpage-site-section {
    padding: 60px 0;
}

.breadcrumb {
    background-color: transparent;
    position: relative;
}

.breadcrumb .active {
    color: #fff;
}

/* 
 * Portfolio
 */
.portfolio-sorting li:nth-child(-n+3){
    margin-bottom: 5px;
}

.portfolio-sorting li a {
    line-height: 40px;
    min-width: 120px;
    font-size: 16px;
}

.portfolio-sorting li .active {
    background-color: var(--primary-purple);
    color: #fff;  
    box-shadow: none;   
}

#grid {
    margin-top: 25px;
}

#grid .col-md-4 {
    display: none;
}

#loadMore {
    margin-top: 30px;
}

#loadMore.disabled {
    background-color: #eee;
    color: #000;
    opacity: 0.3;
}

/* 
 * Portfolio-item
 */
.project-img {
    height: 480px;
}

.project-img + .project-img  {
    margin-top: 20px;
}

.project-info h5 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 0;
}

.project-description,
.project-date-category {
    margin: 30px 0 0;
}

.project-date-category p + p {
    margin-top: 10px;
}

.project-date-category p span {
    font-size: 14px;
    text-transform: uppercase; 
    color: #1a1b20;
    font-weight: 400;
}

.project-info .btn {
    margin-top: 25px;
    line-height: 40px;
    min-width: 120px;
}

.project-info .social-links {
    margin-top: 25px;
}

.section-related-projects {
    padding-top: 0;
}

/* 
 * Blog
 */
.blog-post + .blog-post {
    margin-top: 60px;
}

.blog-post img {
    height: 480px;
}

.post-content,
.post-content .text-right,
.post-meta {
    margin-top: 25px;
}

.blog-post .post-title {
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-content p {
    margin: 25px 0 0;
}

.post-content .post-title a {
    color: #1a1b20;
}

.post-content a {
    color: #4a4f55;   
}

.post-content .read-more {
    position: relative;
    padding-right: 30px;
    text-transform: uppercase;
}

.post-content .read-more:after {
    content: '';
    display: block;
    background-color: #4a4f55;  
    width: 20px;
    height: 2px;
    position: absolute;
    right: 0;
    top: 8px;
    transition: background-color 0.25s ease-in-out;
    -moz-transition: background-color 0.25s ease-in-out;
    -webkit-transition: background-color 0.25s ease-in-out;
    -o-transition: background-color 0.25s ease-in-out;
    -ms-transition: background-color 0.25s ease-in-out;
}

.post-content .read-more:hover:after {
    background-color: var(--primary-purple); 
}

.blog-post a:hover + .post-content .post-title a,
.post-content a:hover {
    color: var(--primary-purple);
}

.post-meta {
    padding: 5px 0;
}

.post-meta span {
    padding: 6px 0;
}

.post-meta span + span {
    margin-left: 40px;
}

.post-meta span a {
    position: relative;
    padding: 6px 0 6px 40px;
}

.post-meta i,
.post-author img {
    position: absolute;
    left: 0;
    top: 0;
}

.post-author img {
    height: 30px;
    width: 30px;
}

.post-meta i {
    font-size: 30px;
}

.post-category i {
    top: 1px;
}

.section-blog .ui-pagination {
    margin-top: 60px;
}

/* 
 * Blog post
 */
/* Post Comments */
.post-comments {
    margin-top: 40px;
}

.post-comments h3,
.respond h3 {
    font-size: 16px;
    margin: 30px 0 15px;
    text-transform: uppercase;
}

.post-comment {
    padding-left: 70px;
    position: relative;
}

.post-comment + .post-comment,
.replied + .post-comment {
    margin-top: 30px;
}

.replied {
    margin: 20px 0 0 70px;
    padding-top: 20px;
    border-top: 1px solid rgba(38,41,44, 0.05)
}

.post-comment img {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 0;
    top: 0;
}

.post-comment-content-details {
    background-color: #f5f5f8;
    padding: 10px 0 10px 20px;
}

.post-comment-content-details p {
    display: inline-block;
    color: #4a4f55;
}

.post-comment-content-details p + p {
    margin: 0 0 0 20px;
}

.post-comment-date i {
    margin-right: 5px;
    line-height: 18px;
}

.comment {
    padding: 15px 0 0 20px;
}

.comment + .comment {
    margin-top: 0px;
}

.comment-reply {
    margin-top: 5px;
}

/* Respond */
.respond .form-control + .btn {
    margin-top: 10px;
}

/* Sidebar */
.sidebar {
    padding-left: 30px;
}

.widget + .widget {
    margin-top: 60px;
}

.widget-title {
    font-size: 18px;
    margin: 0 0 30px;
    text-transform: uppercase;
    letter-spacing: 1px;   
}

.widget .list-unstyled a:hover {
    padding-left: 15px;
}

.widget .list-unstyled li + li {
    margin-top: 20px;
}

.widget-categories li a span {
    float: right;
}

.widget-tags .list-unstyled li + li {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(38,41,44,0.05)
}

/* 
 * Contact
 */
/* Section: Contact-us */
.section-contact-us h2 {
    font-size: 18px;
    text-transform: uppercase;
    padding-bottom: 50px;
    letter-spacing: 1px;
}

.section-contact-us .form-group label,
.contact-info h3 {
    margin: 0 0 10px 20px;
    color: #1a1b20;
    font-size: 16px;
    font-weight: 300; 
}

.section-contact-us textarea {
    height: 130px;
}

.section-contact-us .btn {
    margin-top: 35px;
}

.contact-info {
    padding-left: 30px;
}

.contact-info h3 {
    margin-left: 0;
    color: #4a4f55;
}

.contact-info .list-unstyled li {
    font-size: 14px;
    font-weight: 300;
    color: #4a4f55;
}

.contact-info .list-unstyled + h3,
.contact-info a + h3 {
    margin-top: 30px;
}

.section-contact-us .row + .form-group,
.section-contact-us .form-group + .form-group {
    margin-top: 25px;
}

/* Section: map */
.section-map {
  height: 500px;
  width: 100%
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Offset para navegación con header sticky */
section[id] {
    scroll-margin-top: 100px;
}

/* Ajuste específico para diferentes alturas de header */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}

/* Mouse scroll indicator styles */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    pointer-events: auto;
}

.scroll-link {
    text-decoration: none;
    color: #fff;
    display: block;
    transition: all 0.3s ease;
}

.scroll-link:hover {
    color: #8B5CF6;
    text-decoration: none;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
    animation: mouseMove 2s infinite;
}

.mouse:hover {
    border-color: #8B5CF6;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #000;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 2s infinite;
}

.mouse:hover .wheel {
    background: #8B5CF6;
}

.scroll-text {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    color: #000;
}

@keyframes mouseMove {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes wheelMove {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}