
/* 2026-11-20 — Approved Bercary hooks, slim form, no redundant homepage benefit card */
body[data-page="home"] .bercary-home-value{display:none!important}
body[data-page="home"] .bercary-kicker{color:#a8d0b7!important}
body[data-page="home"] .bercary-hero-heading h1{font-size:clamp(1.72rem,3.0vw,3rem)!important;max-width:930px!important;line-height:1.12!important;text-wrap:balance}
body[data-page="home"] .bercary-hero-heading p{max-width:790px!important;font-size:clamp(.79rem,1.03vw,.96rem)!important;line-height:1.47!important}
body[data-page="home"] .bercary-one-inner{justify-content:flex-end!important;padding-top:clamp(24px,6svh,75px)!important;padding-bottom:clamp(11px,2svh,21px)!important}
body[data-page="home"] .bercary-hero-heading{margin-top:auto!important}
body[data-page="home"] .bercary-one-inner .bercary-selector{margin-top:clamp(5px,1.2svh,14px)!important}
body[data-bercary-service="dental"] .hero h1{font-size:clamp(1.85rem,3.1vw,3.2rem)!important;line-height:1.13!important;max-width:850px!important;text-wrap:balance}
body[data-bercary-service="dental"] .hero h1 em{color:#dc997a!important;font-style:normal}
body[data-service="web"] .hero h1,body[data-service="maps"] .hero h1{font-size:clamp(1.75rem,3vw,3.05rem)!important;line-height:1.13!important;max-width:870px!important;text-wrap:balance}
body .bercary-terracotta{color:#dc997a!important}
/* Estate page headline is also translated client-side. */
body[data-bercary-service="estate"] .hero h1, body:has(#lead-form) .hero h1{font-size:clamp(1.75rem,3vw,3.15rem)!important;line-height:1.14!important;text-wrap:balance;max-width:870px!important}
body:has(#lead-form) .hero .eyebrow{color:#a8d0b7!important}
/* Use only the needed vertical space for the multi-step estate form. */
body:has(#lead-form) #solicitud{padding-top:clamp(25px,4svh,46px)!important;padding-bottom:clamp(25px,4svh,46px)!important}
body:has(#lead-form) #solicitud .section-head{margin-bottom:clamp(10px,1.5svh,20px)!important}
body:has(#lead-form) #solicitud .wizard{padding:clamp(16px,2vw,24px)!important;gap:10px!important;min-height:0!important}
body:has(#lead-form) #solicitud .step label{margin-bottom:5px!important}
body:has(#lead-form) #solicitud .step input,body:has(#lead-form) #solicitud .step select,body:has(#lead-form) #solicitud .step textarea{padding:10px 12px!important;margin-bottom:10px!important}
body:has(#lead-form) #back[hidden]{display:none!important}
@media(min-width:700px){
 body[data-page="home"] .bercary-one-inner{gap:clamp(7px,1.2svh,15px)!important}
 body[data-bercary-service="dental"] section.hero:first-of-type .hero-copy{align-self:flex-end!important;margin-top:auto!important}
}
@media(max-width:699px){
 body[data-page="home"] .bercary-hero-heading h1{font-size:clamp(1.65rem,6.9vw,2.45rem)!important}
 body[data-page="home"] .bercary-one-inner{padding-top:45px!important;padding-bottom:18px!important}
 body[data-bercary-service="dental"] .hero h1{font-size:clamp(1.75rem,6.5vw,2.4rem)!important}
 body[data-service="web"] .hero h1,body[data-service="maps"] .hero h1{font-size:clamp(1.7rem,6.5vw,2.4rem)!important}
}

/* 2026-11-22 — Home hero photographic clarity, noticeable cinematic zoom, comfortable typography inset.
   Scope strictly to the main landing page; preserve service pages and demo microsites. */
body[data-page="home"] .bercary-bg img {
  filter: brightness(.99) saturate(.94) contrast(1.02) !important;
  animation: bercaryHomeZoomRefined 8s ease-in-out infinite alternate !important;
  transform-origin: 53% 48%;
}
@keyframes bercaryHomeZoomRefined {
  from { transform: scale(1.015); }
  to { transform: scale(1.18); }
}
body[data-page="home"] .bercary-shade {
  background:
    linear-gradient(90deg, rgba(5,25,21,.79) 0%, rgba(5,25,21,.63) 33%, rgba(5,25,21,.13) 76%, rgba(5,25,21,.09) 100%),
    linear-gradient(0deg, rgba(5,26,21,.69) 0%, transparent 38%) !important;
}
body[data-page="home"] .bercary-one-inner {
  padding-left: clamp(30px, 5vw, 82px) !important;
  padding-right: clamp(30px, 5vw, 82px) !important;
  padding-bottom: clamp(22px, 3.5svh, 37px) !important;
}
body[data-page="home"] .bercary-hero-heading {
  max-width: 930px !important;
}
@media (max-width: 699px) {
  body[data-page="home"] .bercary-one-inner {
    padding-left: clamp(23px, 6vw, 34px) !important;
    padding-right: clamp(23px, 6vw, 34px) !important;
    padding-bottom: 22px !important;
  }
  body[data-page="home"] .bercary-shade {
    background:
      linear-gradient(90deg, rgba(5,25,21,.74), rgba(5,25,21,.36)),
      linear-gradient(0deg, rgba(5,26,21,.69), transparent 55%) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .bercary-bg img { animation: none !important; transform: none !important; }
}

/* 2026-11-22 — Move dental cover headline lower without changing fonts or other sections. */
body[data-bercary-service="dental"] section.hero:first-of-type > .wrap {
  padding-bottom: clamp(10px, 1.8svh, 20px) !important;
}
@media (max-width:699px) {
  body[data-bercary-service="dental"] section.hero:first-of-type > .wrap {
    padding-bottom: 12px !important;
  }
}
