:root {
    --white: #fff;
    --gray: #f3f3f3;
    --gray-mid: #d6d6d6;
    --gray-dark: #3e3e3e;
    --button-hover: #ece8f9;
    /* --body-background: #f3f1f9; */
    --body-background: #fff;
    --nav-down: #162e44;
    --scrollbar-bg: #193652;
    --scrollbar-thumb: #285783;
    --text: #151515;
    --font: "Montserrat", sans-serif, Arial, sans-serif;
    --offset: 1rem;
    --gray: #D3D3D3;
    --like: #FF3040;
    --accent: #00a79b;
    --cards-services: #fdfcff;
    --footer-bg-top: #162e44;
    --footer-bg-down: #11263a;
    --hover: #01b3a7;
    --gray: #9b9b9b;
  }

  /* Estilo del scrollbar */
::-webkit-scrollbar {
  width: 10px; /* Grosor total del scrollbar (track) */
}

/* Estilo del thumb (la parte que se desplaza) */
::-webkit-scrollbar-thumb {
  background-color: #0d1d2c;
  border-radius: 50px;
  transition: all 0.15s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0a1622;
  transition: all 0.15s ease-in-out;
}

/* Estilo del track (pista de desplazamiento) */
::-webkit-scrollbar-track {
  background-color: #285783;
}
  
  body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.71429;
    font-weight: 400;
    letter-spacing: normal;
    color: var(--text);
    background-color: var(--body-background);
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: subpixel-antialiased;
    user-select: none;
  }
  
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  button {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  button:focus {
    outline: revert;
  }
  
  /* html {
    scroll-behavior: smooth;
  } */
  
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .navigation {
    /* background-color: var(--nav-down);
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: rgba(61, 61, 65, 0.2) 0px 7px 29px 0px; */
    background-color: var(--nav-down);
    color: black;
    display: grid;
    grid-template-columns: auto;
    width: 100%; /* Ocupa todo el ancho de la pantalla */
    box-sizing: border-box;
  }
  
  
  .navigation__group{
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.4rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-down);
  }
  .navigation__group .icon {
    width: 3rem;
    height: 3rem;
    padding: 0.4rem;
    transition: all 0.2s ease-in-out;
    border-radius: 50%;
  }
  
  .navigation__group > button:nth-child(1) {
    margin-right: auto;
  }
  
  .box-1 {
    background-color: #fff;
    height: 100px;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  
  .box-2 {
    background-color: var(--nav-down);
  }
  
  .nav-box {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nav-box-content-1,
  .nav-box-content-2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nav-box-content-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 160px;
    margin-left: 50px;
  }
  
  .nav-box-content-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 280px;
  }
  
  .brand {
    margin: 0;
    font-size: 30px;
  }
  
  .brand a {
    text-decoration: none;
    color: black;
  }
  
  .phones {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: black;
  }
  
  .phones ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
  }
  
  .phones li{
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-left: 25px;
  }
  
  .phones a {
    text-decoration: none;
    color: black;
  }
  
  .phones a:hover {
    color: #01b3a7;
    transition: all 0.2s ease-in-out;
  }
  
  .icon1 {
    font-size: 22px;
    color: #01b3a7;
    margin-right: 5px;
  }
  
  .links {
    order: -1;
  }
  
  .social-media-aside {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
  }
  
  .social-media-aside a {
    text-decoration: none;
    color: black;
    background-color: transparent;
    position: relative;
    font-size: 16px;
    transition: all 0.25s ease-in-out;
    display: inline-block;
  }
  
  .social-media-aside a:hover {
    color: #01b3a7;
    transition: 0.2s ease-in-out;
  }
  
  .social-media,
  .links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
  }
  
  .links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: 0.20s ease-in-out;
  }
  
  .social-media a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: 0.20s ease-in-out;
  }
  
  .social-media a:hover {
    color: #01b3a7;
    transition: 0.2s ease-in-out;
  }
  
  .link-item {
    display: inline-block;
    position: relative;
    padding: 15px 20px;
    transition: 0.25s ease-out;
  }
  
  .link-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    transition: all ease 0.35s;
  }
  
  .link-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: translate3d(-100%, 0, 0);
    height: 4px;
    top: 0;
    left: 0;
    background-color: #01b3a7;
    transition: all 0.35s cubic-bezier(0.05, 0.29, 0.11, 1.54), height 0.3s ease;
    visibility: hidden;
    opacity: 0;
  }
  
  .link-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  
  .link-item.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background-color: #01b3a7;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  
  .link-item.active {
    background-color: rgba(255, 255, 255, 0.11);
    transition: 0.25s ease-out;
  }
  
  .link-item:hover {
    background-color: rgba(255, 255, 255, 0.11);
    transition: 0.25s ease-out;
    cursor: pointer;
  }
  
  .link-item1 {
    display: inline-block;
    position: relative;
    padding: 15px 20px;
    transition: 0.25s ease-out;
  }
  
  .link-item1:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    transition: all ease 0.35s;
  }
  
  .link-item1::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: translate3d(-100%, 0, 0);
    height: 4px;
    top: 0;
    left: 0;
    background-color: #01b3a7;
    transition: all 0.35s cubic-bezier(0.05, 0.29, 0.11, 1.54), height 0.3s ease;
    visibility: hidden;
    opacity: 0;
  }
  
  .link-item1:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  
  .link-item1.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background-color: #01b3a7;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
  
  .link-item1.active {
    background-color: rgba(255, 255, 255, 0.11);
    transition: 0.25s ease-out;
  }
  
  .link-item1:hover {
    background-color: rgba(255, 255, 255, 0.11);
    transition: 0.25s ease-out;
    cursor: pointer;
  }
  .bars {
    display: none;
  }
  .phone {
    display: none;
    position: absolute;
    right: 0;
  }
  .brand1 {
    display: none;
    position: absolute;
    font-size: 20px;
    color: white;
    margin-left: 50px;
  }
  
  .brand1 a {
    text-decoration: none;
    color: white;
  }
  .quick-items {
    background-color: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    width: 100%;
    left: 0;
    position: fixed;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    animation: fadeInAnimation ease-in-out 0.5s forwards;
    margin-top: 65px;
    z-index: 10000;
  }
  .quick-items::-webkit-scrollbar {
    width: 0.3rem;
    background: var(--scrollbar-bg);
    transition: all 0.2s ease-in-out;
  }
  .quick-items::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    transition: all 0.2s ease-in-out;
  }
  .quick-items::-webkit-scrollbar-thumb:hover {
    background: var(--primary-scrollbar);
    transition: all 0.2s ease-in-out;
  }
  .quick-items__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 1.5rem;
  }
  
  .quick-items--headline {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #e1e1e1;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .close1 {
    position: absolute;
    right: 0;
    margin-right: 20px;
  }
  
  .aside-top {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  
  .switch-items {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: left;
  }
  
  .switch__items {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .link-swith1 a {
    text-decoration: none;
    color: black;
    position: relative;
  }
  
  .link-swith1 a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    height: 0;
    width: 100%;
    border-bottom: 3px solid #01b3a7;
    transform: translate3d(-100%, 0, 0);
    transition: all 0.35s cubic-bezier(0.05, 0.29, 0.11, 1.54), height 0.3s ease;
    visibility: hidden;
    opacity: 0;
  }
  
  .link-swith1 a:hover:before {
    height: 100%;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s, 0.2s;
  }
  
  .link-swith1 a:hover {
    color: #01756e;
    transition: all 0.2s ease-in-out;
  }
  
  .active1 a::before {
    height: 100%;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s, 0.2s;
  }
  
  .active1 a {
    color: #01756e;
    transition: all 0.2s ease-in-out;
  }
  
  .profile {
    display: block;
    width: 2.6rem;
    height: 2.6rem;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .quick-numbers {
    background-color: var(--white);
    height: auto;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.5rem;
    right: 0;
    position: fixed;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    animation: fadeInAnimation ease-in-out 0.5s forwards;
    margin-top: 65px;
    z-index: 10000;
  }
  
  .quick-numbers::-webkit-scrollbar {
    width: 0.3rem;
    background: var(--scrollbar-bg);
    transition: all 0.2s ease-in-out;
  }
  
  .quick-numbers::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    transition: all 0.2s ease-in-out;
  }
  
  .quick-numbers::-webkit-scrollbar-thumb:hover {
    background: var(--primary-scrollbar);
    transition: all 0.2s ease-in-out;
  }
  
  .quick-numbers__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .quick-numbers--headline {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  
  .none {
    display: none;
  }
  
  .hide {
    opacity: 0;
    visibility: hidden;
    animation: fadeOutAnimation ease-in-out 0.5s forwards;
  }
  
  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
      visibility: hidden;
      width: 0;
    }
    100% {
      opacity: 1;
      visibility: visible;
      width: 22rem;
    }
  }
  
  @keyframes fadeOutAnimation {
    0% {
      opacity: 1;
      visibility: visible;
      width: 22rem;
    }
    100% {
      opacity: 0;
      width: 0;
      visibility: hidden;
    }
  }
  
  .switch-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: left;
  }
  
  .switch__label {
    white-space: nowrap;
  }
  
  .switch__label a {
    text-decoration: none;
    color: black;
  }
  
  .switch__label a:hover {
    color: #01b3a7;
    transition: all 0.2s ease-in-out;
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 3.75rem;
    height: 2.125rem;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--body-background);
    transition: 0.4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 1.7rem;
    width: 1.7rem;
    left: 0.25rem;
    bottom: 0.25rem;
    background-color: white;
    transition: 0.4s;
  }
  
  .switch input:checked + .slider {
    background-color: var(--gray-dark);
  }
  
  .switch input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .slider.round {
    border-radius: 2.125rem;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  
  @media screen and (max-width: 1200px) {
    .bars {
      display: block;
      margin-top: 10px;
    }
    .phone {
      display: block;
      margin-top: 10px;
    }
    .brand1 {
      display: block;
    }
    .box-1,
    .box-2 {
      display: none;
    }
  }

  .footer{
    font-family: var(--font);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .footer-top{
    background-color: var(--footer-bg-top);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4rem;
    gap: 12rem;
  }
  .footer-title{
    letter-spacing: 0.025em;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .footer-title h5{
    font-weight: 500;
  }
  .footer-box1 li{
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    line-height: 2.3rem;
  }
  .footer-box1 .icon{
    color: var(--hover);
    font-size: 1.3rem;
    margin-right: 0.3rem;
  }
  .footer-box1 a{
    color: var(--white);
    margin-left: 0.3rem;
    text-decoration: none;
    transition: all .2s ease-in-out;
    letter-spacing: 0.025em;
  }
  .footer-box1 a:hover{
    color: var(--hover);
    transition: all .2s ease-in-out;
  }
  .footer-box2 .icon{
    color: var(--hover);
    font-size: 1.3rem;
    margin-right: 0.5rem;
  }
  .footer-box2 .location {
    display: flex;
  }
  .footer-box2 .location a{
    color: var(--white);
    text-decoration: none;
    transition: all .2s ease-in-out;
    letter-spacing: 0.025em;
    font-size: 0.9rem;
    transition: all .2s ease-in-out;
  }
  .footer-box2 .location a:hover{
    color: var(--hover);
    transition: all .2s ease-in-out;
  }
  
  .footer-down{
    background-color: var(--footer-bg-down);
    width: 100%;
    display: flex;
    padding: 2.34rem;
    justify-content: center;
    height: 7rem;
    gap: 14rem;
  }
  .footer-box4 .copyright{
    color: var(--gray);
    font-weight: 600;
    font-size: 12px;
  }
  .footer-box4 .copyright a{
    color: var(--gray);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all .2s ease-in-out;
  }
  .footer-box4 .copyright a:hover{
    color: var(--hover);
    transition: all .2s ease-in-out;
  }
  .footer-box5{
    margin-right: 13rem;
  }
  
  .footer-box6 .legal a{
    color: var(--gray);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all .2s ease-in-out;
  }
  .footer-box6 .legal a:hover{
    color: var(--hover);
    transition: all .2s ease-in-out;
  }
  .social-media-footer{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.8rem;
  }
  .social-media-footer a {
    color: var(--gray);
    text-decoration: none;
    font-size: 16px;
    transition: 0.20s ease-in-out;
  }
  .social-media-footer a:hover {
    color: var(--hover);
    transition: 0.2s ease-in-out;
  }
  @media screen and (max-width: 950px) {
    .footer-top{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
    }
    .footer-down{
      display: flex;
      flex-direction: column;
      gap: 1rem;
      height: 10rem;
      justify-content: center;
      align-items: center;
    }
    .footer-box5{
      margin-left: 13rem;
    }
  }
  @media screen and (max-width: 1500px) {
    .footer-top{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
    }
    .footer-down{
      display: flex;
      flex-direction: column;
      gap: 1rem;
      height: 10rem;
      justify-content: center;
      align-items: center;
    }
    .footer-box5{
      margin-left: 13rem;
    }
  }

  .section{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .map{
    margin-top: 3rem;
}

.map h3{
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 600;
}

  .mapIframe iframe{
    width: 1020px;
    height: 560px;
  }

  .boxInfo{
    display: flex;
    margin-top: 5rem;
    margin-bottom: 5rem;
    justify-content: center;
    align-items: center;
    gap: 3rem;
  }
  .box-contacts {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 310px;
    border: 1px solid #e1e1e1;
    transition: all 0.3s ease;
    width: 20rem;
    height: 20rem;
}

.box-contacts:hover{
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.17);
}
.box-contacts-body {
    max-width: 250px;
}

.link-info{
    color: black;
    font-size: 18px;
}

.link-info a{
    color: black;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
}

.link-info a:hover{
    color: var(--hover);
    transition: all 0.2s ease-in-out;
}

.icon2{
    color: var(--hover);
    font-size: 4rem;
}

.box-contacts-decor{
    margin: 15px auto;
    height: 2px;
    max-width: 100px;
    background: #01b3a7;
    transition: all 0.3s ease-in-out;
}

.box3{
    margin-bottom: 3.5rem;
}
@media screen and (max-width: 1000px) {
    .map{
        margin-top: 5rem;
    }
    .mapIframe iframe{
        width: 900px;
        height: 560px;
      }
      .boxInfo{
        display: flex;
        flex-direction: column;
      }
  }
  @media screen and (max-width: 900px) {
    .mapIframe iframe{
        width: 700px;
        height: 450px;
      }
  }
  @media screen and (max-width: 768px) {
    .mapIframe iframe{
        width: 600px;
        height: 350px;
      }
      
  }
  @media screen and (max-width: 550px) {
    .mapIframe iframe{
        width: 400px;
        height: 250px;
      }
  }
  @media screen and (max-width: 550px) {
    .mapIframe iframe{
        width: 350px;
        height: 200px;
      }
  }

  .contactSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
}

.titleClassic {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin: 0 1rem;
}

.titleClassicTitle {
    flex-shrink: 0;
}

.titleClassicTitle h3 {
    font-size: 45px;
    margin-right: 28px;
    color: #333333;
    font-weight: 600;
}

.titleClassicText p {
    padding-top: 0;
    padding-left: 28px;
    border-top: none;
    border-left: 1px solid #e1e1e1;
    font-size: 18px;
    line-height: 1.5;
    color: black;
}

.ctd-button {
    box-shadow: 0 0 0 0 var(--accent);
    outline: 2px solid;
    color: black;
    outline-color: black;
    outline-offset: 0;
    text-shadow: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 2.5rem;
    width: 20%;
    letter-spacing: 0.3rem;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    transition: all 550ms cubic-bezier(.36, .63, .5, .73);
    padding: 5px;
    margin-top: 3rem;
}

.ctd-button:hover {
    box-shadow: 0 0 0 2px var(--accent);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    color: #006d66;
    background-color: #00a79c2c;
}

/* Media queries para adaptabilidad */
@media (max-width: 968px) {
    .titleClassic {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .titleClassicTitle h3 {
        font-size: 35px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .titleClassicText p {
        padding-left: 0;
        border-left: none;
        font-size: 16px;
        border-top: 1px solid #e1e1e1;
        padding-top: 28px;
    }

    .ctd-button {
        width: 50%;
    }
    .modal-content{
      height: 100%;
      overflow-y: scroll;
      padding: 0px 20px 0px 20px;
    }
}

@media (max-width: 480px) {
    .titleClassicTitle h3 {
        font-size: 28px;
    }

    .titleClassicText p {
        font-size: 14px;
    }

    .ctd-button {
        width: 80%;
        font-size: 0.875rem;
        line-height: 2rem;
        letter-spacing: 0.1rem;
    }
    .modal-content{
      height: 100%;
      overflow-y: scroll;
      padding: 0px 20px 0px 20px;
    }
}

  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .modal.active {
    display: flex;
    opacity: 1;
    z-index: 999999;
  }
  
  .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    transform: translateY(-100px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }
  
  .modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .close-btn {
    color: #aaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
  }