/* Chemical EXS v2.9.255 · ajustes públicos de armonía, centrado y mapas. No toca el panel. */

/* Home hero */
.page-home .cxr-hero{padding-top:26px}
.page-home .cxr-hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(320px,.98fr);gap:clamp(22px,4vw,44px);align-items:center}
.page-home .cxr-hero-copy{padding-block:clamp(10px,2vw,20px)}
.page-home .cxr-kicker{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:9px 14px;border-radius:999px;background:linear-gradient(180deg,#f4f8ff,#e9f1ff);border:1px solid rgba(123,163,219,.36);color:#0f4f9f;box-shadow:0 8px 22px rgba(16,41,74,.06);font-weight:850;letter-spacing:.04em}
.page-home .cxr-hero-copy h1{max-width:15ch;margin:18px 0 16px;font-size:clamp(42px,4.8vw,60px)!important;line-height:1.01;text-wrap:balance;letter-spacing:-.045em;color:#10284a}
.page-home .cxr-hero-copy > p{max-width:38ch;font-size:clamp(17px,1.7vw,20px);line-height:1.62;color:#5d7087}
.page-home .cxr-campaign-card{margin-top:18px;padding:16px 18px;border-radius:20px;border:1px solid #d9e6f6;background:linear-gradient(145deg,#ffffff,#f4f8ff);box-shadow:0 14px 32px rgba(16,41,74,.07)}
.page-home .cxr-campaign-card b{display:block;color:#12467d;font-size:14px;line-height:1.45;text-wrap:balance}
.page-home .cxr-campaign-card p{margin-top:6px;color:#5c6f86;font-size:13px;line-height:1.6}
.page-home .cxr-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.page-home .cxr-actions .btn{min-height:46px;padding-inline:18px;border-radius:14px;font-size:13px;font-weight:800}
.page-home .cxr-hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.page-home .cxr-hero-facts > div{min-width:0;padding:14px 15px;border-radius:18px;border:1px solid #d9e5f4;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 22px rgba(16,41,74,.05)}
.page-home .cxr-hero-facts dt{margin:0 0 4px;color:#123d70;font-size:13px;font-weight:900}
.page-home .cxr-hero-facts dd{margin:0;color:#607189;font-size:12px;line-height:1.45}
.page-home .cxr-hero-photo{position:relative;display:flex;align-items:stretch;justify-content:center;min-width:0}
.page-home .cxr-hero-photo img{width:100%;height:100%;min-height:420px;aspect-ratio:1/1;object-fit:cover;border-radius:32px;box-shadow:0 24px 54px rgba(16,41,74,.14)}
.page-home .cxr-photo-sticker{position:absolute;top:52px;left:-24px;display:grid;gap:2px;padding:16px 18px;border-radius:22px;background:rgba(248,252,255,.92);border:1px solid rgba(189,207,228,.72);box-shadow:0 18px 34px rgba(16,41,74,.12);color:#103963;font-weight:900;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:cxHomeFloatBadge 5s ease-in-out infinite}
.page-home .cxr-photo-sticker small{color:#5b7290;font-size:12px;font-weight:700}
.page-home .cxr-photo-spark{position:absolute;top:22px;right:16px;display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(180deg,#eef6ff,#d8ebff);border:1px solid rgba(167,198,230,.8);box-shadow:0 14px 30px rgba(16,41,74,.12);font-size:28px;animation:cxHomeFloatChip 4.8s ease-in-out infinite}
.page-home .cxr-weather-card{left:18px;right:18px;bottom:18px;max-width:none;border-radius:22px}

/* Service-local final CTA */
.cx-local-final-card{grid-template-columns:minmax(0,1fr) minmax(320px,420px)!important;gap:22px;align-items:center}
.cx-local-final-card:before{content:"🖥️"!important}
.cx-local-final-card > div:first-child{max-width:640px}
.cx-local-final-card h2{text-wrap:balance}
.cx-local-final-card p{max-width:52ch}
.cx-local-final-card .cx-local-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:100%;width:100%;min-width:0!important}
.cx-local-final-card .cx-local-actions .btn{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 16px;border-radius:16px;font-size:13px;font-weight:900;white-space:normal;word-break:normal;text-align:center;line-height:1.25}
.cx-local-final-card .cx-local-actions .btn.secondary{color:#10294a!important}

/* Small polish for button crops on blue callouts */
.cx-local-hook .cx-local-actions .btn,.cx-local-city .cx-local-actions .btn{min-height:50px;padding-inline:16px;border-radius:16px;font-weight:850}

@keyframes cxHomeFloatBadge{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes cxHomeFloatChip{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-6px) rotate(4deg)}}

@media (max-width:1180px){
  .page-home .cxr-hero-copy h1{max-width:15ch;font-size:clamp(40px,4.7vw,54px)!important}
  .page-home .cxr-photo-sticker{left:10px;top:20px}
}
@media (max-width:980px){
  .page-home .cxr-hero-grid{grid-template-columns:1fr;gap:24px}
  .page-home .cxr-hero-copy h1{max-width:16ch}
  .page-home .cxr-hero-copy > p{max-width:46ch}
  .page-home .cxr-hero-photo{order:2}
  .page-home .cxr-hero-photo img{min-height:360px;aspect-ratio:16/13}
  .cx-local-final-card{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  .page-home .cxr-hero{padding-top:16px}
  .page-home .cxr-kicker{font-size:12px;line-height:1.35}
  .page-home .cxr-hero-copy h1{max-width:16ch;font-size:clamp(34px,7.8vw,44px)!important;line-height:1.02}
  .page-home .cxr-hero-copy > p{font-size:15px}
  .page-home .cxr-actions{gap:10px}
  .page-home .cxr-actions .btn{flex:1 1 100%;width:100%}
  .page-home .cxr-hero-facts{grid-template-columns:1fr;gap:10px}
  .page-home .cxr-hero-photo img{min-height:300px;border-radius:26px}
  .page-home .cxr-photo-sticker{top:14px;left:12px;padding:13px 14px;border-radius:18px}
  .page-home .cxr-photo-sticker small{font-size:11px}
  .page-home .cxr-photo-spark{top:12px;right:12px;width:54px;height:54px;border-radius:17px;font-size:24px}
  .page-home .cxr-weather-card{left:12px;right:12px;bottom:12px}
  .cx-local-final-card .cx-local-actions{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .page-home .cxr-campaign-card{padding:14px 15px}
  .page-home .cxr-campaign-card b{font-size:13px}
  .page-home .cxr-hero-photo img{aspect-ratio:16/14}
  .cx-local-final-card{padding:22px!important;border-radius:24px!important}
  .cx-local-final-card .cx-local-actions{grid-template-columns:1fr}
}
@media (max-width:430px){
  .page-home .cxr-hero-copy h1{font-size:clamp(32px,8.6vw,40px)!important}
  .page-home .cxr-photo-sticker{position:static;margin:12px 12px 0 12px;width:fit-content;max-width:calc(100% - 24px)}
  .page-home .cxr-photo-spark{width:48px;height:48px;font-size:21px}
  .page-home .cxr-hero-photo img{min-height:260px;border-radius:22px}
}
@media (prefers-reduced-motion:reduce){
  .page-home .cxr-photo-sticker,.page-home .cxr-photo-spark{animation:none!important}
}


/* v2.9.255 · home / páginas locales */
.page-home .cxr-services .cxr-service-grid{grid-template-columns:repeat(auto-fit,minmax(250px,320px));justify-content:center;gap:18px}
.page-home #cobertura-regional .cxr-service-grid{grid-template-columns:repeat(auto-fit,minmax(220px,280px));justify-content:center;gap:18px}
.page-home .cxr-repair-brands .cxr-actions,.page-home #cobertura-regional .cxr-actions{justify-content:center;max-width:960px;margin-inline:auto}
.page-home .cxr-repair-brands .cxr-actions .btn,.page-home #cobertura-regional .cxr-actions .btn{flex:0 1 300px;min-width:min(300px,100%)}
.page-home .cxr-map{min-height:420px;overflow:hidden;border-radius:24px}
.page-home .cxr-map iframe{display:block;width:100%!important;height:100%!important;min-height:420px;border:0;aspect-ratio:auto}

.cx-local-actions{margin-inline:auto}
.cx-local-hook-main h2{font-size:clamp(21px,2.7vw,30px)!important;line-height:1.12}
.cx-local-cross-service{margin:10px 0 0;max-width:760px;color:#214467}
.cx-local-cross-service strong{display:inline-block;padding:10px 14px;border-radius:16px;background:#fff;border:1px solid #dce6f3;box-shadow:0 10px 24px rgba(26,55,91,.05)}
.cx-local-intent-grid,.cx-local-symptom-grid{justify-content:start;align-content:start}

@media (max-width:760px){
  .page-home .cxr-repair-brands .cxr-actions,.page-home #cobertura-regional .cxr-actions{justify-content:center}
  .page-home .cxr-repair-brands .cxr-actions .btn,.page-home #cobertura-regional .cxr-actions .btn{flex:1 1 100%;min-width:0}
  .page-home .cxr-map,.page-home .cxr-map iframe{min-height:320px}
  .cx-local-hook-main h2{font-size:clamp(20px,6vw,26px)!important}
}
