/* Secciones de la home (new-portal/home/template/home/*.html). Misma paleta que las landings de provincia (.province-content) */
:root {
  --hs-blue: #005a98;
  --hs-green: #77a928;
  --hs-orange: #e85d26;
  --hs-ink: #233142;
  --hs-muted: #65758a;
  --hs-line: #dfe7ef;
  --hs-soft: #f6f9fb;
}

.hs-section { padding-top: 3rem; padding-bottom: 1rem; }
.hs-section a { text-decoration: none; }
.hs-head { margin-bottom: 1.5rem; }
.hs-head h2 { color: var(--hs-blue); font-size: 1.55rem; line-height: 1.22; margin: 0; }
.hs-intro { color: var(--hs-muted); font-size: 1rem; line-height: 1.65; margin: .65rem 0 0; }
.hs-count { color: #7b8794; font-size: .82rem; font-weight: 400; }

.hs-grid { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.hs-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hs-grid-equip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

/* Tarjeta con foto (¿Con quién te vas?) */
.hs-card { background: #fff; border: 1px solid var(--hs-line); border-radius: .5rem; color: inherit; display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.hs-card:hover { border-color: rgba(119,169,40,.55); box-shadow: 0 .4rem 1.2rem rgba(35,49,66,.08); color: inherit; }
.hs-card-img { aspect-ratio: 3 / 2; background: var(--hs-soft); display: block; overflow: hidden; }
.hs-card-img img, .hs-equip-img img, .hs-zone img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hs-card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.hs-card-body h3 { color: var(--hs-ink); font-size: 1.05rem; line-height: 1.3; margin: 0 0 .35rem; }
.hs-card-text { color: var(--hs-muted); font-size: .93rem; line-height: 1.5; }
.hs-link { color: var(--hs-blue); font-size: .9rem; font-weight: 700; margin-top: auto; padding-top: .8rem; }

/* Equipamiento: foto y nombre, sin carrusel */
.hs-equip { background: #fff; border: 1px solid var(--hs-line); border-radius: .5rem; color: var(--hs-ink); display: block; height: 100%; overflow: hidden; }
.hs-equip:hover { border-color: rgba(119,169,40,.55); color: var(--hs-blue); }
.hs-equip-img { aspect-ratio: 16 / 10; background: var(--hs-soft); display: block; overflow: hidden; }
.hs-equip-body { display: flex; flex-direction: column; gap: .1rem; padding: .7rem .85rem .8rem; }
.hs-equip-name { font-size: .95rem; font-weight: 600; line-height: 1.3; }

/* Zonas de temporada: una grande y cuatro pequeñas */
.hs-zones { display: grid; gap: 1rem; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 13rem)); }
.hs-zone { background: var(--hs-soft); border-radius: .5rem; color: #fff; display: block; overflow: hidden; position: relative; }
.hs-zone:hover, .hs-zone:focus { color: #fff; }
.hs-zone-caption, .hs-zone:hover .hs-zone-caption { color: #fff; }
.hs-zone:hover .hs-zone-caption { background: rgba(20,32,45,.85); }
.hs-zone-lead { grid-row: span 2; }
.hs-zone img { transition: transform .4s ease; }
.hs-zone:hover img { transform: scale(1.03); }
.hs-zone-caption { background: rgba(20,32,45,.72); border-radius: .4rem; bottom: .75rem; display: flex; flex-direction: column; left: .75rem; max-width: calc(100% - 1.5rem); padding: .45rem .7rem; position: absolute; }
.hs-zone-name { font-weight: 700; line-height: 1.25; }
.hs-zone-lead .hs-zone-name { font-size: 1.2rem; }
.hs-zone-count { font-size: .8rem; opacity: .85; }
.hs-zone:not(:has(img)) .hs-zone-caption { background: var(--hs-blue); }
.hs-more-title { color: var(--hs-ink); font-weight: 600; margin: 1.25rem 0 .6rem; }
.hs-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.hs-chip { background: var(--hs-soft); border: 1px solid #d8e4ef; border-radius: 999px; color: var(--hs-blue); display: inline-flex; font-size: .92rem; padding: .45rem .8rem; }
.hs-chip:hover { background: #eef7e8; border-color: rgba(119,169,40,.45); color: #4f8217; }

/* Destacados de temporada */
.hs-featured .tns-carousel-progress { max-width: 260px; }
.hs-house { background: #fff; border: 1px solid var(--hs-line); border-radius: .5rem; color: inherit; display: flex; flex-direction: column; height: 100%; margin: 0 .25rem; overflow: hidden; }
.hs-house:hover { border-color: rgba(119,169,40,.55); box-shadow: 0 .4rem 1.2rem rgba(35,49,66,.08); color: inherit; }
.hs-house-img { aspect-ratio: 3 / 2; background: var(--hs-soft); display: block; overflow: hidden; }
.hs-house-img img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hs-house-body { display: flex; flex: 1; flex-direction: column; padding: .85rem 1rem 1rem; }
.hs-house-place { color: var(--hs-muted); font-size: .84rem; }
.hs-house-body h3 { color: var(--hs-ink); font-size: 1.02rem; line-height: 1.3; margin: .15rem 0 .4rem; }
.hs-house-meta { color: var(--hs-muted); display: flex; flex-wrap: wrap; font-size: .86rem; gap: .25rem .9rem; }
.hs-house-rating { color: var(--hs-ink); font-weight: 600; }
.hs-house-rating > span[aria-hidden] { color: #f0a500; }
.hs-house-foot { align-items: baseline; border-top: 1px solid var(--hs-line); display: flex; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .7rem; }
.hs-house-foot .hs-link { margin-left: auto; margin-top: 0; padding-top: 0; }
.hs-house-price { color: var(--hs-muted); font-size: .84rem; }
.hs-house-price strong { color: var(--hs-ink); font-size: 1.1rem; }
.hs-house-body { min-height: 11rem; }

/* Sobre Sensación Rural + por qué reservar */
.hs-blog.container { padding-bottom: 0 !important; }
.hs-about { border-top: 1px solid var(--hs-line); margin-top: 0; padding-top: 2rem; }
.hs-about-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 1fr; align-items: start; }
.hs-about h2 { color: var(--hs-blue); font-size: 1.55rem; margin: 0; }
.hs-about .hs-intro strong { color: var(--hs-ink); }
.hs-trust { background: var(--hs-soft); border: 1px solid var(--hs-line); border-radius: .5rem; padding: 1.25rem 1.35rem; }
.hs-trust h3 { color: var(--hs-ink); font-size: 1.1rem; margin: 0 0 1rem; }
.hs-trust ul { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.hs-trust li { align-items: flex-start; display: flex; gap: .8rem; }
.hs-trust-icon { align-items: center; background: #fff; border: 1px solid #d8e4ef; border-radius: .45rem; color: var(--hs-green); display: inline-flex; flex: 0 0 2.25rem; height: 2.25rem; justify-content: center; }
.hs-trust strong { color: var(--hs-ink); font-size: .98rem; }
.hs-trust p { color: var(--hs-muted); font-size: .9rem; line-height: 1.45; margin: .15rem 0 0; }

/* Propietarios */
.hs-owners { align-items: center; background: #053f66; border-radius: .5rem; color: #fff; display: flex; gap: 1.5rem; justify-content: space-between; padding: 1.75rem 2rem; }
.hs-owners h2 { color: #fff; font-size: 1.4rem; line-height: 1.25; margin: 0 0 .4rem; }
.hs-owners p { color: rgba(255,255,255,.85); margin: 0; }
.hs-button { background: var(--hs-orange); border-radius: .45rem; color: #fff; display: inline-flex; flex: 0 0 auto; font-weight: 700; padding: .8rem 1.3rem; white-space: nowrap; }
.hs-button:hover { background: #d94e1b; color: #fff; }

/* Directorio en acordeones */
.hs-acc { background: #fff; border: 1px solid var(--hs-line); border-radius: .5rem; margin-bottom: .75rem; }
.hs-acc summary { align-items: center; cursor: pointer; display: flex; gap: .75rem; list-style: none; padding: .9rem 1.1rem; }
.hs-acc summary::-webkit-details-marker { display: none; }
.hs-acc summary::after { border-bottom: 2px solid var(--hs-muted); border-right: 2px solid var(--hs-muted); content: ""; height: .5rem; margin-left: auto; transform: rotate(45deg); transition: transform .2s; width: .5rem; }
.hs-acc[open] summary::after { transform: rotate(-135deg); }
.hs-acc summary h3 { color: var(--hs-ink); font-size: 1rem; font-weight: 700; margin: 0; }
.hs-acc summary:hover h3 { color: var(--hs-blue); }
.hs-acc-badge { background: #eef7e8; border-radius: 999px; color: #4f8217; font-size: .75rem; font-weight: 600; padding: .15rem .55rem; white-space: nowrap; }
.hs-acc-body { border-top: 1px solid var(--hs-line); color: var(--hs-muted); font-size: .92rem; padding: 1rem 1.1rem 1.1rem; }
.hs-acc-body a { color: var(--hs-blue); }
.hs-acc-body > br { display: none; }
.hs-acc-body ul.ti_lista { column-gap: 1.5rem; columns: 4; list-style: none; margin: .5rem 0 0; padding: 0; }
.hs-acc-body ul.ti_lista:empty { display: none; }
.hs-acc-body ul.ti_lista li { break-inside: avoid; display: block; float: none !important; margin: 0; padding: .2rem 0; width: auto !important; }
.hs-acc-body > b { color: var(--hs-ink); display: block; margin-top: .9rem; }
@media (max-width: 991.98px) { .hs-acc-body ul.ti_lista { columns: 2; } }
.hs-acc-body a:hover { color: #4f8217; }

@media (max-width: 991.98px) {
  .hs-about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hs-owners { align-items: flex-start; flex-direction: column; padding: 1.4rem; }
  .hs-button { justify-content: center; width: 100%; }
}
@media (max-width: 991.98px) {
  .hs-grid-4, .hs-grid-equip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-zones { grid-template-columns: 1fr 1fr; grid-template-rows: 16rem repeat(2, 10rem); }
  .hs-zone-lead { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 575.98px) {
  .hs-section { padding-top: 2.25rem; }
  .hs-head h2 { font-size: 1.35rem; }
  .hs-grid-4, .hs-grid-equip { gap: .75rem; }
  .hs-card-body { padding: .75rem; }
  .hs-card-body h3 { font-size: .98rem; }
  .hs-card-text { display: none; }
  .hs-zones { grid-template-rows: 13rem repeat(2, 8.5rem); gap: .6rem; }
  .hs-zone-caption { bottom: .5rem; left: .5rem; padding: .35rem .55rem; }
  .hs-zone-name { font-size: .9rem; }
}
