.home-page .hero-home { min-height: 280px; padding: 3.5rem 1.5rem; align-items: stretch; text-align: left; background-position: center 52%; }
.home-page .hero-content { width: min(1180px, 100%); margin: 0 auto; }
.home-page .hero h1 { font-size: 2.65rem; max-width: 700px; }
.home-page .hero p { margin-left: 0; }
.search-band { background: #fff; border-bottom: 1px solid var(--border-color); }
.home-page .search-container { width: min(1180px, calc(100% - 3rem)); grid-template-columns: 1.2fr 1fr 1fr .8fr .95fr auto; margin: 0 auto; padding: 1.4rem 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; gap: .9rem; }
.home-page .search-field label { color: var(--text-dark); margin-left: 0; }
.home-page .search-field input, .home-page .search-field select { background: #fff; border: 1px solid #bfc8c2; border-radius: 5px; box-shadow: none; height: 46px; padding: .6rem; min-width: 0; }
.home-page input[readonly] { background: #f3f5f4; }
.home-page .btn-search { height: 46px; grid-column: auto; }
.home-section { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: 2rem 0; }
.home-section + .home-section { border-top: 1px solid var(--border-color); }
.home-section .section-heading { align-items: center; margin-bottom: 1.25rem; gap: 1rem; }
.home-section h2 { font-size: 1.65rem; line-height: 1.25; }
.home-section .section-heading a { font-size: .85rem; color: var(--primary-dark); text-underline-offset: 3px; }
.discovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.2rem; }
.discovery-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text-dark); text-decoration: none; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; transition: border-color .15s; min-width: 0; }
.discovery-card:hover { border-color: var(--primary); }
.discovery-card img { display: block; width: 100%; aspect-ratio: 1.9; object-fit: cover; background: #e9edeb; }
.discovery-card > div { padding: 1rem; display: grid; grid-template-columns: max-content minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; flex: 1; }
.discovery-card > div > :is(span, h3, p) { grid-column: 1 / -1; }
.discovery-card > div > strong { align-self: end; margin-top: auto; white-space: nowrap; }
.discovery-card > div > small { align-self: end; padding-left: .25rem; }
.discovery-card h3 { font-size: 1.07rem; margin: .3rem 0; line-height: 1.35; overflow-wrap: anywhere; }
.discovery-card p { color: var(--text-muted); font-size: .83rem; min-height: 2.7em; margin-bottom: .75rem; }
.discovery-card small { font-size: .73rem; color: var(--text-muted); }
.discovery-eyebrow { font-size: .74rem; color: var(--primary-dark); font-weight: 700; }
.catalog-section { scroll-margin-top: 150px; }
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; }
.catalog-filters { border-right: 1px solid var(--border-color); padding-right: 1.25rem; }
.catalog-filters summary { display: none; padding: .7rem 0; font-weight: 700; cursor: pointer; }
.filter-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.filter-title h3 { font-size: 1.05rem; }
.text-action { border: 0; background: transparent; color: var(--primary-dark); text-decoration: underline; cursor: pointer; padding: .4rem; font-size: .8rem; }
.catalog-filters fieldset { border: 0; border-top: 1px solid var(--border-color); padding: .35rem 0; margin-top: .35rem; }
.catalog-filters legend { font-size: .85rem; font-weight: 700; padding-right: .5rem; }
.catalog-filters fieldset:is(:nth-of-type(2), :nth-of-type(3), :nth-of-type(5)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .35rem; }
.catalog-filters .filter-label { font-size: .8rem; display: block; margin-bottom: .3rem; }
.catalog-filters input:not([type="checkbox"]) { width: 100%; min-width: 0; border: 1px solid #bfc8c2; border-radius: 5px; padding: .6rem; background: #fff; height: 42px; }
.catalog-filters .filter-row label { font-size: .73rem; color: var(--text-muted); display: block; margin-bottom: .25rem; }
.catalog-filters .check-option { display: flex; align-items: center; gap: .5rem; min-height: 30px; margin: 0; padding: .15rem 0; color: var(--text-dark); font-weight: 400; font-size: .82rem; }
.catalog-filters input[type="checkbox"] { width: 17px; height: 17px; flex-shrink: 0; }
.catalog-filters .btn-submit { margin-top: .5rem; padding: .65rem; }
.results-panel { min-width: 0; }
.results-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .25rem .5rem .25rem 0; margin-bottom: 1rem; }
.results-toolbar > div { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.results-toolbar p { font-weight: 700; font-size: .9rem; }
.results-toolbar label { font-size: .78rem; white-space: nowrap; }
.results-toolbar select { min-width: 0; min-height: 42px; padding: .5rem; background: #fff; border: 1px solid #bfc8c2; border-radius: 5px; max-width: 100%; }
.catalog-notice { font-size: .76rem; color: #665320; padding: .65rem .8rem; border-left: 3px solid #c3a24e; background: #faf7ec; margin-bottom: 1rem; }
.catalog-hotel { display: grid; grid-template-columns: 190px minmax(0, 1fr) 208px; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; min-width: 0; }
.catalog-image { display: block; min-height: 180px; }
.catalog-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-info { padding: 1rem; min-width: 0; }
.catalog-info h3 { font-size: 1.1rem; line-height: 1.3; margin: .4rem 0; }
.catalog-info h3 a { color: var(--primary-dark); text-decoration: none; overflow-wrap: anywhere; }
.catalog-info p { font-size: .8rem; color: var(--text-muted); }
.catalog-services { display: flex; flex-wrap: wrap; gap: .35rem .75rem; list-style: none; margin-top: .65rem; font-size: .73rem; color: #45524b; }
.catalog-services li::before { content: "✓ "; color: var(--primary); }
.catalog-price { padding: 1rem; border-left: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: stretch; gap: .25rem; text-align: right; justify-content: center; min-width: 0; }
.catalog-price strong { font-size: 1.35rem; }
.catalog-price del { font-size: .78rem; color: #a23737; }
.catalog-price small { font-size: .7rem; color: var(--text-muted); }
.catalog-price p { font-size: .73rem; margin-top: .6rem; }
.discount-label { background: #e8f3e9; color: var(--primary-dark); font-size: .72rem; font-weight: 700; padding: .15rem .4rem; border-radius: 4px; margin-bottom: .4rem; }
.catalog-detail { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: .6rem .7rem; color: #fff; background: var(--primary); text-decoration: none; font-weight: 600; font-size: .8rem; border-radius: 5px; margin-top: .5rem; text-align: center; }
.catalog-detail:hover { background: var(--primary-dark); }
.catalog-state { padding: 2rem 1rem; text-align: center; border-top: 1px solid var(--border-color); }
.catalog-state .spinner { margin: 0 auto .7rem; }
.catalog-state p { color: var(--text-muted); margin: .5rem 0 1rem; }
.field-message { color: #a12828; font-size: .82rem; grid-column: 1 / -1; }
.discover-band { background: #edf1f3; border-top: 1px solid var(--border-color); }
.discover-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.discover-inner img { width: 100%; aspect-ratio: 1.9; object-fit: cover; border-radius: 5px; }
.discover-inner h2 { margin: .35rem 0 .75rem; }
.discover-inner p { color: var(--text-muted); }
.discover-links { display: flex; flex-direction: column; gap: .65rem; margin-top: 1rem; }
.discover-links a { color: var(--primary-dark); font-size: .9rem; text-underline-offset: 3px; }
#home-actividades { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
#home-actividades:has(> .discovery-card:nth-child(2):last-child) .discovery-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
#home-actividades:has(> .discovery-card:nth-child(2):last-child) .discovery-card img { height: 100%; min-height: 175px; aspect-ratio: auto; }
.home-section:has(#home-ofertas > p) { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--border-color); border-radius: 8px; background: var(--primary-soft); }
.home-section:has(#home-ofertas > p) .section-heading { margin: 0; }
.home-section:has(#home-ofertas > p) h2 { font-size: 1.15rem; }
.home-section:has(#home-ofertas > p) .section-heading > a { display: none; }
#home-ofertas:has(> p) { display: block; align-self: center; }
#home-ofertas > p { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; font-size: .88rem; line-height: 1.6; }
#home-ofertas > p a { color: var(--primary-dark); text-underline-offset: 3px; }
@media (max-width: 1100px) {
    .home-page .search-container { grid-template-columns: 1.2fr 1fr 1fr; }
    .home-page .btn-search { grid-column: 3; }
    .catalog-hotel { grid-template-columns: 150px minmax(0, 1fr); }
    .catalog-price { grid-column: 2; align-items: flex-start; text-align: left; border-left: 0; border-top: 1px solid var(--border-color); margin-inline: 1rem; padding: .75rem 0 1rem; }
    .catalog-detail { min-width: 160px; max-width: 100%; }
    .catalog-image { grid-row: span 2; }
}
@media (max-width: 900px) {
    .results-toolbar { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}
@media (max-width: 760px) {
    .home-page .hero-home { min-height: 220px; padding: 2.5rem 1rem; }
    .home-page .hero h1 { font-size: 2rem; }
    .home-page .hero p { font-size: .95rem; }
    .home-section, .home-page .search-container { width: calc(100% - 2rem); }
    .home-page .search-container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .65rem; padding: 1rem 0; }
    .home-page .search-field:first-child { grid-column: 1 / -1; }
    .home-page .btn-search { grid-column: 1 / -1; align-self: end; }
    .home-section { padding: 2rem 0; }
    .home-section h2 { font-size: 1.35rem; }
    .home-section .section-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    .discovery-grid { gap: 1rem; grid-template-columns: 1fr; }
    .discovery-card { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
    .discovery-card img { height: 100%; aspect-ratio: auto; }
    .discovery-card p { min-height: 0; }
    #home-actividades { grid-template-columns: minmax(0, 1fr); }
    .home-section:has(#home-ofertas > p) { grid-template-columns: minmax(0, 1fr); padding: 1rem; gap: .5rem; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-filters { border-right: 0; border-bottom: 1px solid var(--border-color); padding: 0 0 1rem; }
    .catalog-filters summary { display: list-item; margin-left: 1rem; }
    .catalog-filters form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
    .catalog-filters .filter-title, .catalog-filters .filter-label, .catalog-filters #nombre-hotel, .catalog-filters .field-message, .catalog-filters .btn-submit { grid-column: 1 / -1; }
    .catalog-filters fieldset { min-width: 0; margin-top: .5rem; }
    .catalog-filters .check-option { min-height: 32px; }
    .discover-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 420px) {
    .home-page .hero h1 { font-size: 1.75rem; }
    .home-page #habitaciones { font-size: .82rem; padding-inline: .4rem; }
    .catalog-hotel { grid-template-columns: 1fr; }
    .catalog-image { min-height: 0; grid-row: auto; }
    .catalog-image img { aspect-ratio: 1.8; height: auto; }
    .catalog-price { grid-column: 1; }
    .catalog-filters form { display: block; }
    .catalog-filters .filter-label { margin-bottom: .4rem; }
    .results-toolbar > div { width: 100%; flex-direction: column; align-items: stretch; gap: .35rem; }
}
