* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #181a1d;
  color: #fff;
}
header {
  background: #22222a;
  padding: 0.5em 0;
  width: 100%;
}
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  min-width: 230px;
}
.logo img {
  width: 38px;
  height: 38px;
  margin-right: 10px;
}
nav {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
}
nav ul {
  display: flex;
  gap: 2.2em;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1em;
  transition: color 0.2s;
}
nav a:hover {
  color: #FFCA41;
}
.user-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 190px;
  justify-content: flex-end;
}
.user-actions .lang {
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  letter-spacing: 1px;
}
.user-actions .signin {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}
.user-actions .signin:hover {
  color: #FFCA41;
}

.hero {
  position: relative;
  min-height: 650px;
  background: url('img/portada.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,19,26,0.75);
  z-index: 1;
}
.hero-content-2col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 520px;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-left {
  flex: 1 1 0;
}
.hero-right {
  flex: 0 0 430px;
  display: flex;
  justify-content: flex-end;
}
.hero-content-2col h1 {
  font-size: 2.8em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2em;
  line-height: 1.1;
  max-width: 420px;
}
.hero-content-2col h1 span {
  border-bottom: 4px solid #FFCA41;
  display: inline-block;
  padding-bottom: 3px;
}

/* FORMULARIO */
.booking-form {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  padding: 28px 32px 20px 32px;
  max-width: 430px;
  width: 100%;
  margin-top: 0;
}
.tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}
.tabs button {
  flex: 1;
  padding: 12px 0;
  background: #f4f4f6;
  color: #181a1d;
  font-weight: 600;
  border: none;
  border-radius: 8px 8px 0 0;
  font-size: 1.1em;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.tabs button.active, .tabs button:hover {
  background: #fff;
  color: #181a1d;
  border-bottom: 2px solid #FFCA41;
}
form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.form-row {
  display: flex;
  gap: 12px;
}
.form-row .form-group {
  flex: 1;
}
label {
  font-size: 0.99em;
  color: #222;
  font-weight: 600;
}
input[type="text"], input[type="date"], input[type="time"] {
  padding: 11px;
  font-size: 1em;
  border-radius: 7px;
  border: 1.2px solid #e1e1e1;
  background: #fafbfc;
  margin-top: 2px;
  outline: none;
  transition: border-color 0.2s;
}
input:focus {
  border-color: #FFCA41;
}
.add-return {
  background: none;
  border: none;
  color: #181a1d;
  font-weight: 700;
  font-size: 1.02em;
  padding: 10px 0;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.2s;
}
.add-return:hover {
  background: #f8e6a2;
}
.passengers {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.passenger-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.passenger-controls button {
  background: #ececec;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 1.09em;
  cursor: pointer;
  transition: background 0.2s;
}
.passenger-controls button:hover {
  background: #FFCA41;
  color: #fff;
}
.search-btn {
  margin-top: 10px;
  width: 100%;
  padding: 13px 0;
  background: #000;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  font-size: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(18,18,18,0.13);
  transition: background 0.2s;
}
.search-btn:hover {
  background: #181a1d;
}
.trustpilot {
  margin-top: 12px;
  background: #ecfff2;
  color: #2f6b37;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 8px 0;
  gap: 6px;
  font-size: 1.03em;
  letter-spacing: 0.5px;
}
.trustpilot img {
  height: 23px;
}

/* AUTOCOMPLETE GOOGLE PLACES */
.autocomplete-group {
  position: relative;
}
.autocomplete-result {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08em;
  border-bottom: 1px solid #f7f4e6;
  cursor: pointer;
  color: #181a1d;
  transition: background 0.18s;
  font-weight: 700;
}

.autocomplete-result {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.03em;
  border-bottom: 1px solid #f7f4e6;
  cursor: pointer;
  color: #181a1d;
  transition: background 0.18s;
}
.autocomplete-result:last-child {
  border-bottom: none;
}
.autocomplete-result:hover, .autocomplete-result:focus {
  background: #fff8e0;
  color: #000;
}
.autocomplete-result i {
  font-size: 1.25em;
  color: #FFCA41;
  min-width: 24px;
}
.autocomplete-result .main-text {
  font-weight: 700;
  font-size: 1.03em;
}
.autocomplete-result .type-text {
  color: #888;
  font-size: 0.96em;
  margin-right: 6px;
  font-style: italic;
}
.autocomplete-result .secondary-text {
  color: #555;
  font-size: 0.98em;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .hero-content-2col {
    gap: 25px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero-right {
    flex-basis: 360px;
    max-width: 99vw;
  }
  .booking-form {
    padding: 22px 10px 14px 10px;
  }
}
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
  }
  nav {
    justify-content: flex-start;
  }
  .user-actions {
    justify-content: flex-start;
    margin-top: 6px;
    min-width: 0;
  }
  .hero-content-2col {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 0;
  }
  .hero-left, .hero-right {
    flex: none;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-content-2col h1 {
    text-align: center;
    max-width: 100%;
    font-size: 2em;
  }
  .booking-form {
    margin-top: 0.7em;
    max-width: 98vw;
    padding: 18px 6vw 15px 6vw;
  }
}

#return-fields {
  margin-top: 7px;
  position: relative;
  background: #fffbe7;
  border-radius: 10px;
  padding-top: 18px;
  padding-bottom: 8px;
  padding-right: 8px;
}

.close-return {
  position: absolute;
  top: 9px;
  right: 13px;
  width: 26px;
  height: 26px;
  background: #181a1d;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  z-index: 2;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 7px 0 rgba(0,0,0,0.11);
}
.close-return:hover {
  background: #e04b4b;
  color: #fff;
}
@media (max-width: 600px) {
  .hero {
    min-height: 850px;
  }
  .hero-content-2col {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 10px 0;
  }
  .booking-form {
    padding: 12px 3vw 12px 3vw;
  }
}
