/* HOME-4F production: approved HOME-4E geometry, no layout changes. */
/* Clasitrónicos home prototype 4C (based on 4A/4B) — isolated presentation, not a shared override.
   User requirement: FOUR photographic cards across at EVERY viewport width.
   No carousel and no breakpoint reducing the grid to two/three columns. */
.hp4{--hp4-ink:#263b40;--hp4-muted:#66787c;--hp4-teal:#356e71;--hp4-red:#ad4662;--hp4-line:#d9e2e4;--hp4-bg:#f3f6f6;--hp4-vehicles:#2f7065;--hp4-property:#356c87;--hp4-business:#755668;--hp4-more:#766754;margin:0;background:var(--hp4-bg);color:var(--hp4-ink);font:15px/1.45 Arial,Helvetica,sans-serif;-webkit-text-size-adjust:100%}
.hp4 *, .hp4 *::before,.hp4 *::after{box-sizing:border-box}
.hp4 a{color:inherit;text-decoration:none}
.hp4 button,.hp4 input,.hp4 select{font:inherit}
.hp4 img{max-width:100%}
.hp4 [hidden]{display:none!important}
.hp4 a:focus-visible,.hp4 button:focus-visible,.hp4 input:focus-visible,.hp4 select:focus-visible,.hp4 summary:focus-visible{outline:3px solid #bd4a67;outline-offset:3px}
.hp4-shell{width:min(1060px,calc(100% - 40px));margin-inline:auto}
.hp4-sr-only,.hp4-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hp4-skip:focus{position:fixed;inset:8px auto auto 8px;z-index:50;padding:10px 16px;background:white;border:2px solid var(--hp4-teal)}
.hp4-preview-bar{background:#fff2d8;border-bottom:1px solid #ebddbe;color:#74532b;font-size:11px}
.hp4-preview-inner{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hp4-preview-inner b{font-size:10px;letter-spacing:.08em}
.hp4-preview-inner>a{white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.hp4-header{background:white;border-bottom:1px solid var(--hp4-line)}
.hp4-header-main{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:12px 10px}
.hp4-brand{display:block;flex:0 1 326.4px;width:326.4px;line-height:0}
.hp4-brand picture,.hp4-brand img{display:block;width:100%;height:auto}
.hp4-header-actions{display:flex;align-items:center;gap:24px;font-weight:600}
.hp4-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid transparent;border-radius:7px;padding:10px 18px;background:var(--hp4-teal);color:white!important;font-weight:700;cursor:pointer;text-align:center;line-height:1.25}
.hp4-button:hover{filter:brightness(.94)}
.hp4-publish{background:var(--hp4-red)}
.hp4-account{padding-block:10px}
.hp4-account:hover,.hp4-utility-links>a:hover,.hp4-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.hp4-utility{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:7px;border-top:1px solid #eef2f2}
.hp4-market-picker{display:flex;align-items:center;gap:7px;min-width:0;flex:0 1 255px}
.hp4-market-picker>img{width:26px;height:18px;object-fit:contain;flex:none}
.hp4-market-picker select{width:100%;min-width:0;max-width:225px;color:var(--hp4-ink);border:0;border-radius:4px;background:white;min-height:34px;font-size:13px;font-weight:600;padding:5px 3px;cursor:pointer}
.hp4-utility-links{display:flex;align-items:center;gap:22px;font-size:13px}
.hp4-more{position:relative}
.hp4-more summary{list-style:none;cursor:pointer;min-height:34px;display:flex;align-items:center;gap:4px}
.hp4-more summary::-webkit-details-marker{display:none}
.hp4-more-menu{position:absolute;z-index:10;right:0;top:calc(100% + 5px);width:225px;padding:7px;background:white;border:1px solid var(--hp4-line);border-radius:8px;box-shadow:0 6px 24px #1b353822}
.hp4-more-menu a{display:block;padding:10px;border-radius:4px}
.hp4-more-menu a:hover{background:var(--hp4-bg)}
.hp4-register-mobile{display:none!important}
.hp4-menu-note{display:block;padding:10px;font-size:11px;line-height:1.4;color:var(--hp4-muted);border-top:1px solid var(--hp4-line)}
.hp4-main{padding-top:22px;padding-bottom:24px}
.hp4-search-area{margin-bottom:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);align-items:center;gap:12px 28px}
.hp4-search-copy h1{font-size:27px;line-height:1.15;letter-spacing:-.6px;margin:0 0 7px;font-weight:700}
.hp4-search-copy p{margin:0;color:var(--hp4-muted);font-size:14px}
.hp4-search{display:flex;align-items:stretch;min-width:0;min-height:48px;border:1px solid #afc3c7;border-radius:8px;background:white;box-shadow:0 2px 6px #1b353807}
.hp4-search input[type=search]{min-width:0;flex:1;border:0;background:transparent;padding:10px 14px;color:var(--hp4-ink);font-size:16px;border-radius:8px 0 0 8px}
.hp4-search input::placeholder{color:#72868b}
.hp4-search button{border-radius:0 7px 7px 0;flex:none}
.hp4-search svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;flex:none}
.hp4-notice{grid-column:1/-1;margin:2px 0 0;padding:8px 10px;background:#fff2d8;border:1px solid #ebddbe;border-radius:4px;font-size:13px}
.hp4-notice a{text-decoration:underline}
.hp4-search-area noscript{grid-column:1/-1}
.hp4-jump-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:20px;scroll-margin-top:10px}
.hp4-jump-nav a{display:flex;align-items:center;justify-content:center;min-height:39px;padding:7px 6px;border:1px solid var(--hp4-line);border-radius:6px;background:white;font-weight:600;font-size:14px}
.hp4-jump-vehiculos{border-bottom:3px solid var(--hp4-vehicles)!important}
.hp4-jump-bienesraices{border-bottom:3px solid var(--hp4-property)!important}
.hp4-jump-negocios{border-bottom:3px solid var(--hp4-business)!important}
.hp4-jump-muchomas{border-bottom:3px solid var(--hp4-more)!important}
.hp4-jump-nav a:hover{background:#eaf1f1}
.hp4-section{--hp4-section-color:var(--hp4-teal);margin:0 0 20px;border:1px solid var(--hp4-line);border-radius:9px;background:white;overflow:hidden;scroll-margin-top:12px;box-shadow:0 3px 10px #19373b05}
.hp4-vehiculos{--hp4-section-color:var(--hp4-vehicles)}
.hp4-bienesraices{--hp4-section-color:var(--hp4-property)}
.hp4-negocios{--hp4-section-color:var(--hp4-business)}
.hp4-muchomas{--hp4-section-color:var(--hp4-more)}
.hp4-section-heading{background:var(--hp4-section-color);color:white;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 16px;min-height:47px}
.hp4-section-heading h2{display:flex;align-items:center;gap:9px;margin:0;font-size:19px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;line-height:1.25}
.hp4-section-heading img{display:block;object-fit:contain;flex:none;width:36px;height:26px}
.hp4-section-top{font-size:12px;padding:6px;white-space:nowrap;color:white!important}
.hp4-section-top:hover{text-decoration:underline}
.hp4-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:16px;list-style:none}
.hp4-card-item{min-width:0;display:flex}
.hp4-card{display:flex;flex-direction:column;min-width:0;width:100%;border:1px solid #e0e5e6;border-radius:6px;overflow:hidden;background:white;transition:box-shadow .15s,border-color .15s}
.hp4-card:hover{border-color:var(--hp4-section-color);box-shadow:0 3px 10px #19373b18}
.hp4-card>img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block;background:#e7eded}
.hp4-card-label{display:flex;align-items:center;justify-content:center;text-align:center;min-height:43px;padding:7px 5px;color:#3c5156;font-size:16px;line-height:1.2;overflow-wrap:anywhere;flex:1}
.hp4-publish-reminder{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#e6efef;border:1px solid #c9dada;padding:18px 20px;border-radius:8px}
.hp4-publish-reminder h2{font-size:19px;margin:0 0 3px;line-height:1.3}
.hp4-publish-reminder p{margin:0;color:#50696e;font-size:14px}
.hp4-publish-reminder>a{flex:none}
.hp4-footer{background:white;border-top:1px solid var(--hp4-line);padding:20px 0 24px;color:var(--hp4-muted);font-size:12px}
.hp4-footer-top{display:flex;justify-content:space-between;gap:16px;align-items:center}
.hp4-footer strong{font-size:18px;color:var(--hp4-teal)}
.hp4-footer nav{display:flex;gap:18px;flex-wrap:wrap}
.hp4-footer p{margin:9px 0 0}
.hp4-preview-note{font-size:11px}
@media(min-width:700px) and (max-width:1099px){.hp4-brand{width:272px;flex-basis:272px}.hp4-search-area{grid-template-columns:1fr}.hp4-search-copy h1{font-size:25px}.hp4-card-label{font-size:14px}}
@media(max-width:699px){
 .hp4-shell{width:calc(100% - 16px)}
 .hp4-preview-inner{min-height:25px;font-size:10px;gap:5px}
 .hp4-preview-inner b{font-size:9px;letter-spacing:.04em}
 .hp4-preview-extra{display:none}
 .hp4-header-main{gap:12px;padding:8px 4px}
 .hp4-brand{width:150.4px;flex:0 1 150.4px}
 .hp4-header-actions{flex-direction:column;align-items:flex-end;gap:4px;font-size:13px}
 .hp4-account{padding:5px}
 .hp4-button{min-height:40px;font-size:13px;padding:9px 12px;border-radius:6px}
 .hp4-utility{gap:8px;padding:3px 3px}
 .hp4-market-picker{gap:4px;flex:1 1 auto}
 .hp4-market-picker>img{width:23px;height:16px}
 .hp4-market-picker select{font-size:12px;min-height:32px;max-width:220px}
 .hp4-utility-links{gap:12px;font-size:11.5px;flex:none}
 .hp4-register{display:none}
 .hp4-register-mobile{display:block!important}
 .hp4-main{padding-top:14px;padding-bottom:16px}
 .hp4-search-area{display:block;margin-bottom:12px}
 .hp4-search-copy h1{font-size:22px;letter-spacing:-.4px;line-height:1.18;margin-bottom:5px}
 .hp4-search-copy p{font-size:12px;margin-bottom:10px}
 .hp4-search{min-height:44px}
 .hp4-search input[type=search]{padding:9px 10px;font-size:16px}
 .hp4-search button{min-height:42px;padding:9px 12px;border-radius:0 6px 6px 0;gap:5px}
 .hp4-search svg{width:17px;height:17px}
 .hp4-jump-nav{gap:5px;margin-bottom:13px}
 .hp4-jump-nav a{font-size:clamp(10.5px,2.95vw,13px);padding:6px 2px;min-height:35px;border-radius:5px}
 .hp4-section{margin-bottom:13px;border-radius:7px}
 .hp4-section-heading{min-height:37px;padding:4px 8px;gap:5px}
 .hp4-section-heading h2{font-size:15px;letter-spacing:.2px;gap:6px}
 .hp4-section-heading img{width:29px;height:23px}
 .hp4-section-top{font-size:13px;padding:4px}
 .hp4-section-top span{display:none}
 .hp4-grid{gap:6px;padding:8px}
 .hp4-card{border-radius:4px}
 .hp4-card-label{font-size:clamp(11px,3.1vw,14px);min-height:34px;padding:4px 3px;line-height:1.2}
 .hp4-publish-reminder{padding:12px 10px;gap:9px}
 .hp4-publish-reminder h2{font-size:15px}
 .hp4-publish-reminder p{font-size:11px}
 .hp4-publish-reminder>a{font-size:12px;padding:8px 10px}
 .hp4-footer{padding:15px 0 18px}
 .hp4-footer-top{align-items:flex-start;flex-direction:column;gap:8px}
 .hp4-footer nav{gap:8px 16px}
 .hp4-notice{margin-top:8px}
}
@media(max-width:359px){.hp4-grid{gap:4px;padding:6px}.hp4-card-label{font-size:11px;padding-inline:2px}.hp4-brand{width:136px;flex-basis:136px}.hp4-utility-links{gap:8px}.hp4-market-picker select{font-size:11px}.hp4-publish-reminder{align-items:flex-start}.hp4-publish-reminder>a{max-width:105px}}

/* HOME-4C: keep the smaller desktop cards together, not centered inside
   four oversized columns. Narrow the shared page shell, including the
   section headings, navigation and header contents. Four columns remain.
   760px shell -> 173.5px cards, within 0.5px of HOME-4B's 173.94px cards.
   Everything below 1100px is deliberately unchanged. */
@media(min-width:1100px){
 .hp4-shell{width:760px;max-width:calc(100% - 40px)}
 .hp4-grid{gap:12px;padding:14px}
 .hp4-card{width:100%;max-width:100%;align-self:flex-start}
 .hp4-card-label{font-size:14px;min-height:34px;padding:5px 4px}
}
@media(prefers-reduced-motion:reduce){.hp4-card{transition:none}}
@media print{.hp4-preview-bar,.hp4-header-actions,.hp4-utility,.hp4-search,.hp4-jump-nav,.hp4-section-top,.hp4-publish-reminder{display:none!important}.hp4-shell{width:100%}.hp4-section{break-inside:avoid;box-shadow:none}}

/* HOME-4E — same single-row desktop header, now a compact centered group.
   Preserve HOME-4D logo sizing/height, every link, the native region selector,
   the approved mobile/tablet styles and the centered 760px category body.
   Only desktop header column sizing/alignment/spacing changes here. */
@media screen and (min-width:1100px){
 .hp4-header{
   --hp4-header-layout:4F;
   display:grid;
   grid-template-columns:clamp(240px,21.25vw,326.4px) max-content max-content;
   align-items:center;
   justify-content:center;
   column-gap:20px;
   padding:8px clamp(20px,2.5vw,40px);
 }
 .hp4-header>.hp4-header-main{display:contents}
 .hp4-header .hp4-brand{
   grid-column:1;grid-row:1;
   width:100%;min-width:0;max-width:326.4px;
 }
 .hp4-header>.hp4-utility{
   grid-column:2;grid-row:1;
   width:max-content;max-width:none;min-width:0;
   margin:0;padding:0;border-top:0;
   justify-content:flex-start;
   gap:18px;
 }
 .hp4-header .hp4-market-picker{
   flex:0 0 auto;min-width:0;
 }
 .hp4-header .hp4-market-picker select{
   width:auto;min-width:0;max-width:192px;
 }
 .hp4-header .hp4-utility-links{
   flex:0 0 auto;gap:16px;white-space:nowrap;
 }
 .hp4-header .hp4-header-actions{
   grid-column:3;grid-row:1;
   gap:18px;white-space:nowrap;font-size:14px;
 }
 .hp4-header .hp4-publish{padding-inline:14px}
}
