.elementor-16936 .elementor-element.elementor-element-99d44c0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-16936 .elementor-element.elementor-element-fec6708{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-16936 .elementor-element.elementor-element-fec6708 .elementor-background-slideshow__slide__image{background-size:cover;}.elementor-16936 .elementor-element.elementor-element-96963e5{width:100%;max-width:100%;}.elementor-16936 .elementor-element.elementor-element-96963e5 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-16936 .elementor-element.elementor-element-a7b4502{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-16936 .elementor-element.elementor-element-cc62aba{--display:flex;}.elementor-16936 .elementor-element.elementor-element-e439981{width:100%;max-width:100%;}.elementor-16936 .elementor-element.elementor-element-e439981 > .elementor-widget-container{margin:0px 0px 0px 0px;}@media(max-width:767px){.elementor-16936 .elementor-element.elementor-element-fec6708{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}@media(min-width:768px){.elementor-16936 .elementor-element.elementor-element-fec6708{--width:1381%;}}/* Start custom CSS for html, class: .elementor-element-6a7f5f1 */:root {
  --primary: #21458C;
  --accent: #FFD443;
  --background: #faf3df;
  --text: #333333;
  --light-primary: rgba(33, 69, 140, 0.1);
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

h1 {
  color: white;
}

.blogpost-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blogpost-hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 90px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.blogpost-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.2;
}

.blogpost-hero-content {
  width: 60%;
  position: relative;
  z-index: 1;
}

.blogpost-title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.blogpost-title span {
  color: var(--accent);
}

.blogpost-excerpt span {
  color: var(--accent);
}

p span {
  color: var(--accent);
  font-weight: bold;
}

.blogpost-excerpt {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.blogpost-author-info {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.blogpost-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 2px solid var(--accent);
}

.blogpost-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  %;
  display: block;
  filter: contrast(1.05);
}


.blogpost-author-details {
  font-size: 14px;
}

.blogpost-author-name {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--accent);
}

.blogpost-date {
  color: rgba(255, 255, 255, 0.8);
}

.blogpost-content {
  padding: 60px 0;
}

.blogpost-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.blogpost-section {
  margin-bottom: 40px;
}

h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 32px;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
}

h3 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 24px;
}

h4 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 18px;
  line-height: 1.5;
}

h5 {
  margin: 30px 0 15px;
  font-size: 16px;
}

p {
  margin-bottom: 20px;
}

.blogpost-highlight {
  background-color: var(--light-primary);
  border-left: 4px solid var(--primary);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 5px 5px 0;
}

.blogpost-highlight p {
  margin-bottom: 0;
}

.blogpost-highlight-box {
  background: linear-gradient(135deg, #e6f3ff 0%, #f7fbff 100%);
  border: 6px solid #FFD443;
  padding: 24px 28px;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.blogpost-highlight-box::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -100px;
  width: 80px;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-25deg);
  transition: 0.8s ease;
  opacity: 0.5;
}

.blogpost-highlight-box:hover::before {
  left: 130%;
}

.blogpost-highlight-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0, 119, 182, 0.2);
}

.blogpost-highlight-box ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: item;
}

.blogpost-highlight-box li {
  color: #21458C;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  counter-increment: item;
}

.blogpost-highlight-box li::before {
  content: counter(item);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  margin-right: 12px;
  font-size: 1rem;
}

.blogpost-highlight-box p {
  margin-top: 8px;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
  padding-left: 3rem;
}

.standout-effect {
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

ul {
  margin: 20px 0;
  padding-left: 20px;
}

ul li {
  margin-bottom: 12px;
  color: var(--text);
}

.blogpost-image {
  margin: 30px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blogpost-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blogpost-caption {
  background-color: var(--light-primary);
  padding: 15px;
  font-size: 14px;
  color: var(--primary);
  text-align: center;
  font-style: italic;
}

.blogpost-conclusion {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  margin-top: 60px;
}

.blogpost-conclusion h2 {
  color: var(--white);
}

.blogpost-conclusion h2::after {
  background-color: var(--accent);
}
.blogpost-conclusion h2 span {
    color:  var(--accent);
    font-weight: 700;
}

.blogpost-cta {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blogpost-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .blogpost-hero-content {
    width: 100%;
  }
  
  .blogpost-hero::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .blogpost-title {
    font-size: 32px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-96963e5 */* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
        }
        
        /* Sección de contacto */
        .contacto-section {
            font-family: 'Montserrat', sans-serif;
            background-color: black;
            color: #000;
            padding: 100px 10%;
            max-width: 100%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
        }
        
        .contacto-title {
            font-size: 24px;
            font-weight: 400;
            color: #fff;
            margin-bottom: 20px;
        }
        
    button.contacto-button {
        /* Reset button styles to behave like anchor */
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        display: inline-block;
        
        /* Copy the existing contacto-button styles */
        background-color: #FFD443;
        color: #000;
        text-decoration: none !important;
        padding: 10px 35px;
        font-size: 15px;
        font-weight: 600;
        border: 2px solid;
        border-radius: 50px;
        cursor: pointer;
        width: 250px;
        text-align: center;
        transition: all 0.3s ease;
        
        /* Additional button reset */
        margin: 0;
        appearance: none;
        -webkit-appearance: none;
    }
    
    button.contacto-button:hover {
        border: 2px solid transparent;
        background-color: #21458C;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(33, 69, 140, 0.3);
    }
    
        
        /* Popup de contacto */
        .contact-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .contact-popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .contact-popup-content {
            background-color: #fff;
            padding: 40px;
            border-radius: 15px;
            width: 90%;
            max-width: 400px;
            position: relative;
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
            transform: translateY(30px);
            transition: all 0.4s ease;
            font-weight: normal !important;
        }
        
        .contact-popup-overlay.active .contact-popup-content {
            transform: translateY(0);
        }
        
        .contact-popup-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 22px;
            color: #999;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .contact-popup-close:hover {
            color: #21458C;
        }
        
        .contact-popup-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 25px;
            color: #21458C;
        }
        
        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .contact-method {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            border-radius: 10px;
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
            border: 1px solid #eee;
        }
        
        .contact-method:hover {
            background-color: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .contact-method.email:hover {
            border-left: 4px solid #EA4335;
        }
        
        .contact-method.whatsapp:hover {
            border-left: 4px solid #25D366;
        }
        
        .contact-method.phone:hover {
            border-left: 4px solid #21458C;
        }
        
        .contact-icon {
            width: 45px;
            height: 45px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            margin-right: 15px;
            font-size: 18px;
        }
        
        .contact-icon.email {
            background-color: rgba(234, 67, 53, 0.1);
            color: #EA4335;
        }
        
        .contact-icon.whatsapp {
            background-color: rgba(37, 211, 102, 0.1);
            color: #25D366;
        }
        
        .contact-icon.phone {
            background-color: rgba(33, 69, 140, 0.1);
            color: #21458C;
        }
        
        .contact-text {
            flex: 1;
        }
        
        .contact-label {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
        }
        
        .contact-value {
            font-size: 13px;
            color: #666;
        }
        
        /* Media Queries */
        @media (max-width: 768px) {
            .contacto-section {
                padding: 50px 5%;
            }
            .contacto-title {
                font-size: 20px;
            }
             button.contacto-button {
            width: 200px;
            font-size: 14px;
        }
            .contact-popup-content {
                padding: 30px;
            }
        }
        
        @media (max-width: 480px) {
            .contacto-section {
                padding: 30px 5%;
            }
            .contacto-title {
                font-size: 18px;
                margin-bottom: 15px;
            }
  button.contacto-button {
            width: 180px;
            font-size: 13px;
        }
            .contact-popup-content {
                padding: 25px 20px;
            }
            .contact-popup-title {
                font-size: 18px;
            }
            .contact-method {
                padding: 10px 15px;
            }
            .contact-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
                margin-right: 10px;
            }
        }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-d38f372 */.footer-empresa {
            background-color: #faf3df;
            color: #fff;
            padding: 40px 20px;
            font-family: 'Montserrat', sans-serif;
        }

        .footer-contenido {
            display: flex;
            justify-content: space-between ;
            max-width: 100%;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .footer-columna {
            flex: 1;
            min-width: 250px;
            margin: 10px 20px;
        }

        .footer-columna h3 {
            color: #000;
            font-size: 18px;
            margin-bottom: 20px;
            border-bottom: 5px solid #21458C;
            padding-bottom: 10px;
        }

        .footer-columna ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .footer-columna ul li {
            margin-bottom: 10px;
        }

.footer-columna ul li a {
    color: #000;
    text-decoration: none !important;
    font-size: 14px;
    text-align: left; /* Aligns the text to the left */
}

        .footer-columna ul li a:hover {
            text-decoration: underline;
        }

        .footer-columna p {
            font-size: 14px;
            color: #000;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            font-size: 14px;
            border-top: 1px solid #21458C;
            color:#000;
        }

        .social-icons {
            display: flex;
            list-style-type: none;
            padding: 0;
        }

        .social-icons li {
            margin-right: 10px;
        }

        .social-icons li a {
            color: #fff;
            text-decoration: none !important;
            font-size: 14px;
        }

        .social-icons li a:hover {
            text-decoration: underline;
        }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-e439981 *//* ===== Base Styles ===== */
.loading, .additional-services2, .success {
    display: none;
}

.loading, .success {
    text-align: center;
}

.loading {
    font-size: 1.2em;
    color: #007bff;
}

.success {
    color: #28a745;
    font-weight: bold;
}

.disable-button {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== Header Styles ===== */
.header {
    font-family: 'Montserrat', sans-serif !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: auto;
}

/* ===== Logo Styles ===== */
.header .logo {
    margin-right: 2vh;
    height: 45px;
}

.logo img {
    margin-left: 1vh;
    margin-right: 2vh;
    height: 45px;
    width: auto;
}

/* ===== Hamburger Button ===== */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background-color: #21458C;
    padding: 5px 10px;
    border-radius: 4px;
}

.hamburger.active {
    color: white;
    background-color: #21458C;
}

.hamburger:hover {
    background-color: #fed443;
}

/* ===== Navigation Menu ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.nav-menu.active {
    display: flex;
}

.header-content {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

/* ===== Links Styling ===== */
.header a, .nav-menu a {
    text-decoration: none !important;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 0px 10px;
    transition: color 0.3s;
}

.header a:hover, .nav-menu a:hover {
    color: #17468c;
    font-weight: 500;
}

/* ===== Dropdown Container and Styling ===== */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #21458C;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    min-width: 300px;
    z-index: 1001;
    overflow: hidden;
}

/* Arrow pointing up to the servicios link */
.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #21458C;
}

.dropdown a {
    display: block;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e8e9ea;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: linear-gradient(135deg, #fed443 0%, #ffd700 100%);
    color: #21458C;
    padding-left: 25px;
    font-weight: 600;
}

.dropdown a:hover::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: #21458C;
    font-weight: bold;
}

.bold {
    font-weight: bold;
    color: black;
}

/* ===== Button Styles ===== */
.phone-button, .callback-button {
    font-size: 16px;
    padding: 8px 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-button {
    background-color: #17468c;
    color: #fff;
}

.callback-button {
    background-color: #fed443;
    color: #17468c;
}

.phone-button:hover {
    background-color: #fed443;
    color: #17468c;
}

.callback-button:hover {
    background-color: #17468c;
    color: #fff;
}

.phone-button img {
    height: 18px;
    margin-right: 5px;
}

/* ===== Contact Footer (Mobile) ===== */
.contact-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 8px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

/* ===== Popup Base Styles ===== */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #17468c;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Popup Header ===== */
.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.popup-icon {
    font-size: 36px;
    color: #17468c;
    margin-bottom: 15px;
}

.popup-content p {
    color: #17468c;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 22px;
}

/* ===== Input Field ===== */
.input-container {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #17468c;
}

#phoneInput {
    padding: 12px 12px 12px 40px;
    border: 2px solid #17468c;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#phoneInput:focus {
    border-color: #fed443;
    box-shadow: 0 0 0 3px rgba(254, 212, 67, 0.3);
    outline: none;
}

/* ===== Submit Button ===== */
#submitBtn {
    background-color: #17468c;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#submitBtn:hover {
    background-color: #fed443;
    color: #17468c;
    transform: translateY(-2px);
}

/* ===== Loading and Success States ===== */
.loading, .success {
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.success {
    background-color: rgba(40, 167, 69, 0.1);
}

/* ===== Close Button ===== */
.close-popup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin-top: 20px;
    color: #17468c;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.close-popup:hover {
    color: #fed443;
    background-color: rgba(23, 70, 140, 0.1);
}

/* ===== Contact Options ===== */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-option {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(23, 70, 140, 0.2);
}

.contact-option:hover {
    background-color: rgba(23, 70, 140, 0.1);
    transform: translateY(-2px);
}

.option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #17468c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
}

.whatsapp-icon {
    background-color: #25D366;
}

.option-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.option-label {
    font-size: 14px;
    color: #666;
}

.option-value {
    font-size: 18px;
    font-weight: 700;
    color: #17468c;
}

.hours-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-size: 14px;
}

/* ===== Animation for Popup ===== */
.popup.active {
    display: flex;
}

.popup.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Error Message Styling ===== */
.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    border: 1px solid rgba(220, 53, 69, 0.3);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Media Queries ===== */
@media (max-width: 1450px) {
    .nav-menu a {
        font-size: 14px;
        padding: 0px 8px;
    }
}

@media (max-width: 1220px) {
    /* Header adjustments */
    .header {
        padding: 10px 15px;
        height: auto;
        min-height: 70px;
    }
    
    #serviciosToggle {
        display: none;
    }
    
    .header-content {
        display: none;
    }
    
    /* Logo adjustments */
    .logo img {
        height: 45px;
        margin-right: 0;
    }
    
    /* Hamburger Button */
    .hamburger {
        display: block;
        font-size: 26px;
        padding: 6px 10px;
        margin-right: 0px;
    }
    
    .hamburger:hover {
        color: white;
        background-color: #fed443;
    }
    
    .hamburger.active {
        color: white;
        background-color: #fed443;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        right: 0;
        top: 70px;
        background-color: #fff;
        width: 280px;
        /* Reduced max-height to account for fixed bottom contact bar */
        max-height: calc(100vh - 140px); /* 70px header + 70px contact footer */
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 12px 12px;
        padding: 0;
        z-index: 1000;
    }
    
    /* Custom scrollbar for mobile nav menu */
    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: #21458C;
        border-radius: 2px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: #fed443;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        font-size: 15px;
        text-align: left;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .nav-menu a:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: #21458C;
        font-weight: 600;
        padding-left: 25px;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Logo for Small Screens */
    .logo img {
        content: url('/wp-content/uploads/2025/02/PNG_-05.png');
    }
    
    /* Show Additional Services in Mobile Menu */
    .additional-services2 {
        display: inline;
    }
    
    /* Mobile dropdown styling - make it part of the menu flow */
    .dropdown {
        position: static;
        width: 100%;
        margin-top: 0;
        left: auto;
        top: auto;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 0;
        min-width: auto;
        transform: none;
        /* Reduced max-height for mobile dropdown to account for fixed bottom bar */
        max-height: calc(50vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Custom scrollbar for mobile dropdown */
    .dropdown::-webkit-scrollbar {
        width: 4px;
    }
    
    .dropdown::-webkit-scrollbar-track {
        background: #e9ecef;
    }
    
    .dropdown::-webkit-scrollbar-thumb {
        background: #21458C;
        border-radius: 2px;
    }
    
    .dropdown::-webkit-scrollbar-thumb:hover {
        background: #fed443;
    }
    
    .dropdown::before {
        display: none;
    }
    
    .dropdown a {
        padding: 12px 30px;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        font-size: 14px;
        color: #555;
        background-color: #f8f9fa;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .dropdown a:hover {
        background: linear-gradient(135deg, #fed443 0%, #ffd700 100%);
        color: #21458C;
        padding-left: 35px;
    }
    
    .dropdown a:hover::before {
        left: 30px;
    }
    
    /* Contact Footer */
    .contact-footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px 0;
    }
    
    .contact-texts {
        text-align: center;
        margin-bottom: 5px;
    }
    
    .contact-texts p {
        margin: 3px 0;
        font-size: 15px;
        color: #333;
        font-weight: bold;
    }
    
    .contact-footer .buttons-container {
        display: flex;
        justify-content: space-between;
        width: 95%;
    }
    
    .contact-footer .callback-button,
    .contact-footer .phone-button {
        width: 48%;
        margin: 0;
        padding: 6px 10px;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .contact-footer .phone-button img {
        height: 16px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    /* Further Adjustments for Small Screens */
    .header {
        padding: 8px 10px;
        min-height: 65px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hamburger {
        font-size: 24px;
    }
    
    .nav-menu {
        width: calc(100vw - 20px);
        right: 10px;
        /* Further reduced max-height for smaller screens */
        max-height: calc(100vh - 135px); /* 65px header + 70px contact footer */
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .dropdown {
        /* Even smaller max-height for very small screens */
        max-height: calc(45vh - 30px);
    }
    
    .dropdown a {
        font-size: 13px;
        padding: 10px 25px;
    }
    
    .dropdown a:hover {
        padding-left: 30px;
    }
    
    .contact-footer {
        padding: 4px 0;
    }
    
    .contact-texts p {
        font-size: 13px;
    }
    
    .contact-footer .callback-button,
    .contact-footer .phone-button {
        font-size: 12px;
        padding: 6px 8px;
        justify-content: center;
    }
    
    .contact-footer .phone-button img {
        height: 14px;
    }
    
    /* Popup Adjustments */
    .popup-content {
        padding: 18px 12px;
    }
    
    .option-value {
        font-size: 16px;
    }
    
    .hours-info {
        font-size: 12px;
    }
}

/* ===== Dropdown positioning fixes for all desktop resolutions ===== */
@media (min-width: 1221px) {
    /* Ensure dropdown is always centered under "Servicios" */
    .dropdown {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Special handling for viewport edge cases */
    .dropdown-container:nth-last-child(-n+2) .dropdown {
        left: auto;
        right: 0;
        transform: none;
    }
    
    /* For very wide screens, ensure dropdown doesn't go off-screen */
    @media (min-width: 1920px) {
        .dropdown {
            min-width: 320px;
        }
    }
}/* End custom CSS */