@font-face {
  font-family: OwnersNarrow;
  src: url("../../fonts/OwnersNarrow-Bold.otf") format("opentype");
  font-weight: 700;
}

body {
  font-family: OwnersNarrow, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
}

main {
  display: flex;
  height: 100dvh;
  justify-content: center;
  align-items: center;
}

.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: transparent;
  z-index: 1100;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

.navbar-logo a {
  display: block;
}

.navbar-logo svg {
  display: block;
  height: auto;
  width: 150px;
}

.navbar-logo svg text,
.navbar-logo svg path,
.navbar-logo svg rect,
.navbar-logo svg circle {
  fill: #000;
}

.navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-links li,
.navbar-links li a {
  text-decoration: none;
  color: #D2D2D2;
  font-size: 22px;
  letter-spacing: 0.03em;
  transition: opacity 0.3s ease;
}

.nav-links-mobile {
  display: none;
  color: #000;
  padding: 0px;
  margin: 0px;
  z-index: 12;
  font-size: 22px;
  letter-spacing: 0.03em;
}

.active {
  color: #000 !important;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
  z-index: 1600;
  overflow-y: auto;
  box-sizing: border-box;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-content {
  padding: 40px 20px 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  transition-delay: 0.4s;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.drawer-content nav {
  padding-top: 10dvh;
}

.drawer.is-open .drawer-content {
  opacity: 1;
}

.drawer-content nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-content nav li {
  margin-bottom: 25px;
}

.drawer-content nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 28px;
  font-weight: bold;
  display: block;
}

.modal-button-close {
  position: fixed;
  top: 15px;
  right: 35px;
  margin: 0px;
  z-index: 1001;
  padding: 9px 8px 8px 10px;
  border: 1px solid #FFFFFF;
  background: #111111;
  color: #FFFFFF;
  border-radius: 50px;
  cursor: pointer;
  font-family: OwnersNarrow, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-button-close i {
  font-size: 25px;
}

.hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 42px;
  line-height: 44px;
  letter-spacing: 0.03em;
}

.cta-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.social-icons {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  font-size: 25px;
  gap: 5px;
}

.bicicleta-img-desktop {
  display: block;
  width: 200px;
  position: fixed;
  bottom: 20px;
  left: 20px;
}

.bicicleta-img-mobile {
  display: none;
  width: 145px;
}

.contact-info a {
  font-size: 21px;
  line-height: 24px;
  letter-spacing: 0.02em;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}

.social-icons a {
  font-size: 1.2em;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #000;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.1em;
  box-shadow: 0px 0px 5px 0px #988f886D;
  z-index: 995;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.mobile-nav ul {
  text-align: center;
}

.mobile-nav li {
  margin-bottom: 30px;
}

.mobile-nav a {
  font-size: 1.5em;
  font-weight: bold;
}

.mobile-social-icons {
  margin-top: 40px;
}

.mobile-social-icons a {
  margin: 0 15px;
  font-size: 1.8em;
}

footer {
  position: fixed;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
}

.social-icons-mobile {
  width: 100%;
  display: none;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  font-size: 25px;
}

.cta-button {
  padding: 7px 18px 6px 18px;
  border: 1px solid #000000;
  background: #FFFFFF;
  color: #000000;
  border-radius: 8px;
  cursor: pointer;
  font-family: OwnersNarrow, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.drawer-title {
  margin: 0 0 40px;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 0.03em;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1199;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.drawer-overlay.active-contact {
  display: block;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: all;
}

.drawer-contact {
  position: fixed;
  top: 0;
  max-width: 600px;
  width: 40%;
  right: -100%;
  height: 100%;
  background-color: #000000;
  color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1200;
  transition: right 0.4s ease-in-out;
  padding: 40px 45px;
  box-sizing: border-box;
  overflow-y: auto;
}

.drawer-contact.active-contact {
  right: 0;
}

.close-drawer-btn {
  position: absolute;
  top: 36px;
  right: 45px;
  padding: 9px 8px 7px 9px;
  border: 1px solid #FFFFFF;
  background: #111111;
  color: #FFFFFF;
  border-radius: 50px;
  cursor: pointer;
}

.close-drawer-btn i {
  font-size: 25px;
}

.contact-opacity {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  transition-delay: 0.4s;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-contact.active-contact .contact-opacity {
  opacity: 1;
}

.button-contact-form {
  padding: 7px 18px 6px 18px;
  border: 1px solid #FFFFFF;
  background: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  font-family: OwnersNarrow, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.custom-input-wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
}

.input-label {
  display: block;
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.input-text {
  padding: 8px 9px 7px;
  width: 100%;
  background-color: black;
  border: 1px solid #cccccc;
  border-radius: 8px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0.03em;
  font-family: OwnersNarrow, sans-serif;
  box-sizing: border-box;
}

.input-text:focus,
.input-text:focus-visible,
.input-text:focus-within {
  outline: none;
}


.custom-dropdown-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
}

.dropdown-label {
  display: block;
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.custom-dropdown {
  position: relative;
}

.dropdown-selected {
  background-color: black;
  color: white;
  padding: 11px 9px 10px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0.03em;
}

.dropdown-selected > span:first-child { 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  min-width: 0;
}

.dropdown-arrow {
  font-size: 0.8em;
  transition: transform 0.2s ease-in-out;
}

.dropdown-options {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
  background-color: white;
  border: 1px solid #cccccc;
  border-radius: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out, border 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-dropdown.open .dropdown-options {
  max-height: 300px;
  border-width: 1px;
}

.custom-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-options li {
  padding: 8px 10px 6px;
  color: black;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
  border-bottom: 2px solid black;
  line-height: 16px;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.dropdown-options li:hover {
  background-color: #f0f0f0;
}

.custom-dropdown.open .dropdown-options li:last-child {
  border-bottom: 0px;
}

.custom-dropdown:not(.open) .dropdown-options {
  border-width: 0;
  padding: 0;
}

.loading-container {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  background: #00000000;
  color: #FFFFFF;
  pointer-events: none;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.loading-container.loading-active {
  opacity: 1;
  pointer-events: all;
}

.loading-container video {
  width: 150px;
  height: 150px;
  background-color: transparent;
}

.send-message {
  font-size: 26px;
  letter-spacing: 0.04em;
  padding: 0px;
  margin: 15px 0px;
  display: none;
}

.hide-button {
  display: none;
}

.show-message {
  display: block;
}

.selected-button {
  background: #FFFFFF;
  color: #000000;
}

.content-disabled {
  pointer-events: none;
}

.label-send {
  color: #666666;
}

.input-send {
  color: #666666;
  border: 1px solid #666666;
}

.input-disabled {
  border: 1px solid #b16262;
}

@media screen and (max-width: 769px) {
  .drawer-contact {
    right: -100%;
    width: 100%;
    padding: 40px 25px;
  }

  .drawer-contact.active-contact {
    right: 0;
  }

  .loading-container video {
    width: 120px;
    height: 120px;
  }

  .close-drawer-btn {
    right: 25px;
    padding: 9px 9px 6px 10px;
  }

  .close-drawer-btn i {
    font-size: 20px;
  }

  .top-navbar {
    padding: 20px 12px;
  }

  .modal-logo {
    left: 12px;
    position: fixed;
    max-width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1001;
    top: 20px;
    width: 150px;
    transform: translate(0, 0);
  }

  .modal-button-close i {
    font-size: 20px;
  }

  .modal-button-close {
    right: 12px;
    padding: 9px 9px 6px 10px;
  }

  .navbar-links {
    display: none;
  }

  .nav-links-mobile {
    display: block;
  }

  .hero {
    gap: 23px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0.03em;
    margin: auto;
    width: 70%;
    text-align: center;
  }

  .social-icons {
    display: none;
  }

  .social-icons-mobile {
    display: flex;
  }

  .bicicleta-img-desktop {
    display: none;
  }

  .bicicleta-img-mobile {
    display: flex;
  }

  footer {
    bottom: 20px;
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .contact-content {
    gap: 14px;
  }

  .dropdown-label,
  .input-label {
    font-size: 15px;
  }

  textarea {
    height: calc(1em * 6 + 20px);
  }
}