/* Ajustes puntuales: historia en Sobre nosotros y buscador de portada. */
.services-main .oc23-services-head {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.oc57-about-history .oc23-company__copy h1 {
  max-width: 1120px;
  margin: 18px 0 32px;
  color: inherit;
  font-size: clamp(56px, 7.2vw, 118px);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 500;
  overflow-wrap: break-word;
}
.oc55-about-main .oc23-team__head h2 {
  font-size: clamp(56px, 7.2vw, 112px);
  line-height: .95;
  letter-spacing: -.067em;
  font-weight: 500;
  margin: 14px 0 0;
  color: #071525;
  overflow-wrap: break-word;
}

/* La reserva inicial coincide con la barra compacta, sin mostrar el filtro viejo. */
.home-hero .oc33-home-intent:not([data-general-search-ready]) { min-height: 150px; }
.home-hero .oc36-hero-search {
  padding: 14px;
  background: linear-gradient(125deg, rgba(7, 21, 37, .38), rgba(24, 75, 118, .22));
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  backdrop-filter: blur(8px) saturate(115%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.home-hero .oc36-hero-search::before { background: none; }
.home-hero .oc36-hero-search:focus-within { transform: none; }
.oc57-search-bar {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
}
.oc57-search-bar .oc36-hero-search__operations { width: auto; padding: 3px; }
.oc57-search-bar .oc36-hero-search__operations button {
  min-width: 96px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 11px;
}
.oc57-search-bar .oc36-hero-field--query { grid-column: auto; }
.oc57-search-bar .oc36-hero-field > span,
.oc57-filters-dialog .oc36-hero-field > span {
  font-size: 10px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
.oc57-search-bar .oc36-hero-field input,
.oc57-filters-dialog .oc36-hero-field input,
.oc57-filters-dialog .oc36-hero-field select {
  min-height: 46px;
  font-size: 16px;
  padding: 0 12px;
}
.oc57-search-bar .oc36-hero-search__submit {
  width: auto;
  min-height: 46px;
  grid-column: auto;
  font-size: 12px;
}
.oc57-more-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 12px;
  background: rgba(7, 21, 37, .38);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.home-hero .oc36-hero-shortcuts {
  margin-top: 8px;
  gap: 10px 24px;
  justify-content: flex-start;
}
.home-hero .oc36-hero-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: #fff;
  font-size: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .75);
}

/* El diálogo nativo queda sobre el video, sin recortes, y contiene el foco. */
.oc36-hero-search > .oc57-filters-dialog {
  position: fixed;
  inset: 0;
  width: min(580px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 22px;
  background: linear-gradient(140deg, #173d5c, #071525);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
.oc57-filters-dialog:not([open]) { display: none; }
.oc57-filters-dialog::backdrop { background: rgba(3, 12, 23, .55); }
body:has(.oc57-filters-dialog[open]) { overflow: hidden; }
.oc57-filters-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.oc57-filters-dialog__head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fff;
}
.oc57-close-filters {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.oc57-advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oc57-advanced-grid .oc36-hero-field { grid-column: auto; gap: 6px; }
.oc57-advanced-grid .oc36-hero-field--rooms { grid-column: 1 / -1; }
.oc57-filters-dialog__actions { margin-top: 22px; }
.oc57-filters-dialog__actions button { width: 100%; min-height: 46px; font-size: 12px; }
.oc57-more-filters:focus-visible,
.oc57-close-filters:focus-visible,
.oc57-search-bar button:focus-visible,
.oc57-filters-dialog button:focus-visible,
.home-hero .oc36-hero-shortcuts a:focus-visible {
  outline: 3px solid #9ecfff;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .oc57-about-history { padding-top: 112px; }
  .oc55-about-main > .oc23-team { padding-top: 86px; }
  .oc57-search-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .oc57-search-bar .oc36-hero-search__operations { grid-column: 1; grid-row: 1; justify-self: start; }
  .oc57-more-filters { grid-column: 2; grid-row: 1; }
  .oc57-search-bar .oc36-hero-field--query { grid-column: 1; grid-row: 2; }
  .oc57-search-bar .oc36-hero-search__submit { grid-column: 2; grid-row: 2; }
  .home-hero .oc33-home-intent:not([data-general-search-ready]) { min-height: 210px; }
}
@media (max-width: 700px) {
  .oc57-about-history .oc23-company__copy h1 { font-size: clamp(36px, 10vw, 52px); line-height: 1.02; }
  .oc55-about-main .oc23-team__head h2 { font-size: clamp(36px, 10vw, 52px); line-height: 1.02; }
  .home-hero .oc36-hero-search { padding: 10px; }
  .oc57-search-bar { gap: 10px 8px; grid-template-columns: minmax(0, 1fr) auto; }
  .oc57-search-bar .oc36-hero-search__operations button { min-width: 0; padding: 0 9px; font-size: 10px; letter-spacing: .03em; }
  .oc57-search-bar .oc36-hero-field--query { grid-column: 1; }
  .oc57-more-filters { padding: 0 10px; font-size: 12px; gap: 5px; }
  .oc57-search-bar .oc36-hero-search__submit { grid-column: 2; grid-row: 2; }
  .home-hero .oc36-hero-shortcuts { gap: 6px 12px; justify-content: space-between; }
  .home-hero .oc36-hero-shortcuts a { font-size: 9px; letter-spacing: .045em; }
  .home-hero .oc33-home-intent:not([data-general-search-ready]) { min-height: 208px; }
  .oc36-hero-search > .oc57-filters-dialog { padding: 18px; }
  .oc57-advanced-grid .oc36-hero-field:not(:nth-last-child(-n+2)) { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .oc57-search-bar .oc36-hero-search__operations button { padding: 0 7px; font-size: 9px; }
  .oc57-more-filters { font-size: 11px; padding: 0 8px; }
  .home-hero .oc36-hero-shortcuts { column-gap: 6px; }
  .home-hero .oc36-hero-shortcuts a { font-size: 8px; letter-spacing: 0; }
}
