/* Home nuevo (21/10/2026) · estructura de la referencia del jefe, con el rojo de Free Tours Lima */
.hm-hero{position:relative;min-height:520px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(20,18,30,.82) 0%,rgba(20,18,30,.55) 45%,rgba(20,18,30,.1) 100%),var(--hero) center/cover no-repeat;color:#fff;padding:56px 0}
.hm-in{width:min(1200px,calc(100% - 32px));margin:0 auto}
.hm-eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#ffffffcc;margin-bottom:12px}
.hm-eyebrow.dark{color:var(--red,#d71543);margin-bottom:6px}
.hm-hero h1{margin:0 0 14px;font-size:clamp(36px,5.4vw,64px);line-height:1.05;letter-spacing:-.035em;font-weight:800;color:#fff}
.hm-hero h1 em{font-style:normal;color:#FFC93C}
.hm-lead{margin:0 0 26px;font-size:clamp(16px,1.6vw,20px);color:#ffffffe0}
.hm-search{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;background:#fff;border-radius:16px;padding:8px;gap:0;max-width:780px;box-shadow:0 20px 40px rgba(0,0,0,.25)}
.hm-f{display:flex;gap:10px;align-items:center;padding:8px 14px;border-right:1px solid #ece8eb;color:var(--ink,#242839);cursor:pointer;min-width:0}
.hm-f:nth-of-type(3){border-right:0}
.hm-f>.ft-icon,.hm-f>svg{width:20px;height:20px;color:var(--red,#d71543);flex-shrink:0}
.hm-f span{display:flex;flex-direction:column;min-width:0;flex:1}
.hm-f small{font-size:11px;color:var(--mut,#707383)}
.hm-f select,.hm-f input{border:0;padding:2px 0;font:inherit;font-weight:600;font-size:15px;background:transparent;color:var(--ink,#242839);width:100%;min-height:0;box-shadow:none}
.hm-f select:focus,.hm-f input:focus{outline:none}
.hm-f:focus-within{background:#fbf2f4;border-radius:10px}
.hm-search .btn{border-radius:12px;min-height:52px;padding:0 24px;white-space:nowrap}
.hm-perks{display:flex;flex-wrap:wrap;gap:28px;margin-top:26px}
.hm-perks>span{display:flex;gap:10px;align-items:center}
.hm-perks>span>.ft-icon,.hm-perks>span>svg{width:38px;height:38px;padding:8px;border:1.5px solid #ffffff80;border-radius:50%;box-sizing:border-box;color:#fff}
.hm-perks b{display:block;font-size:14px}.hm-perks small{display:block;font-size:12px;color:#ffffffb3}
.hm-perks>span>span{display:flex;flex-direction:column}
.hm-place{position:absolute;right:24px;bottom:20px;font-size:13px;font-weight:600;display:flex;gap:6px;align-items:flex-start;line-height:1.3}
.hm-place small{font-weight:400;color:#ffffffb3}
.hm-place .ft-icon,.hm-place svg{width:16px;height:16px;color:#FFC93C}

.hm-cats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:28px 0 8px}
.hm-cats a{position:relative;height:118px;border-radius:14px;overflow:hidden;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.65)),var(--bg) center/cover;color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:12px;transition:transform .2s}
.hm-cats a.night{background:linear-gradient(180deg,rgba(12,16,48,.55),rgba(12,16,48,.85)),var(--bg) center/cover}
.hm-cats a:hover{transform:translateY(-3px)}
.hm-cats strong{font-size:15px;text-align:center}
.hm-ic{position:absolute;top:28%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#ffffff26;backdrop-filter:blur(4px);display:grid;place-items:center}
.hm-ic .ft-icon,.hm-ic svg{width:22px;height:22px;color:#fff}

.hm-blk{margin:40px 0}
.hm-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.hm-head h2{margin:0;font-size:clamp(24px,2.8vw,32px);letter-spacing:-.03em;line-height:1.15}
.hm-head>a{font-weight:700;font-size:14px;color:var(--red,#d71543);text-decoration:none;white-space:nowrap}

.hm-dest{background:#fbf2f4;padding:44px 0}
.hm-dgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hm-dgrid a{height:150px;border-radius:14px;overflow:hidden;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.7)),var(--bg) center/cover;color:#fff;text-decoration:none;display:flex;align-items:flex-end;justify-content:space-between;padding:16px;gap:8px}
.hm-dgrid a.noimg{background:linear-gradient(135deg,#d71543,#7a0c27)}
.hm-dgrid strong{display:block;font-size:17px}.hm-dgrid small{font-size:12px;color:#ffffffd0}
.hm-dgrid b{font-size:20px}

.hm-op{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#f6f5f3;border-radius:20px;overflow:hidden;margin:40px 0}
.hm-op-t{padding:36px}
.hm-op-t h2{margin:0 0 16px;font-size:clamp(22px,2.4vw,28px);letter-spacing:-.025em;line-height:1.2}
.hm-op-t ul{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-wrap:wrap;gap:10px 22px}
.hm-op-t li{display:flex;gap:6px;align-items:center;font-size:14px}
.hm-op-t li .ft-icon,.hm-op-t li svg{width:18px;height:18px;color:#fff;background:#1E8A4C;border-radius:50%;padding:3px;box-sizing:border-box}
.hm-op-img{min-height:240px;background:var(--bg) center/cover;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}

@media(max-width:900px){
  .hm-search{grid-template-columns:1fr 1fr}
  .hm-f:nth-of-type(1){grid-column:1/-1;border-right:0;border-bottom:1px solid #ece8eb}
  .hm-f:nth-of-type(2){border-right:1px solid #ece8eb}
  .hm-search .btn{grid-column:1/-1;margin-top:6px}
  .hm-cats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-dgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-place{display:none}
}
@media(max-width:640px){
  .hm-hero{min-height:0;padding:36px 0;background:linear-gradient(180deg,rgba(20,18,30,.55),rgba(20,18,30,.8)),var(--hero) center/cover}
  .hm-perks{gap:14px}
  .hm-cats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .hm-cats a{height:92px;padding:8px}.hm-cats strong{font-size:12px}
  .hm-ic{width:32px;height:32px}
  .hm-head{flex-direction:column;align-items:flex-start}
  .hm-op{grid-template-columns:1fr}.hm-op-t{padding:24px}
  .hm-op-img{clip-path:none;min-height:180px}
  .hm-dgrid a{height:120px}
}
.hm-hero+.wrap>.blk:first-child{margin-top:36px}
/* Foto de portada nítida (22/10): grande en PC, liviana en celular */
.hm-hero{background-position:center 60%}
@media(max-width:640px){.hm-hero{background:linear-gradient(180deg,rgba(20,18,30,.55),rgba(20,18,30,.8)),var(--hero-m,var(--hero)) center/cover no-repeat}}
/* Categorías con foto (subida desde el panel → Web pública) */
.cats .category-art.cat-photo{padding:0;overflow:hidden;background:none}
.cats .category-art.cat-photo img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
