/* Targeted finishing corrections — November 20, 2026. Never applies to the three demo microsites. */
.bercary-terracotta{color:#dc997a!important}
body[data-page="home"] .bercary-home-value{margin-top:clamp(10px,1.5svh,17px);max-width:640px;padding:11px 15px;border:1px solid rgba(220,153,122,.35);border-radius:12px;background:rgba(10,51,41,.75);backdrop-filter:blur(7px)}
body[data-page="home"] .bercary-home-value>strong{display:block;font-weight:600;font-size:clamp(12px,1.2vw,14px);color:#edb395;line-height:1.35}
body[data-page="home"] .bercary-home-value>p{font-size:clamp(11px,1vw,13px);line-height:1.45;color:#e0eee6;margin:3px 0 7px}
body[data-page="home"] .bercary-home-features{display:flex;flex-wrap:wrap;gap:5px 13px}
body[data-page="home"] .bercary-home-features span{color:#e7f3e9;font:500 clamp(10px,.95vw,12px)/1.35 'Work Sans',Arial,sans-serif;white-space:nowrap}
body[data-page="home"] .bercary-home-features span:before{content:'✓';color:#e5a88a;padding-right:5px}
/* Correct previous oversized minimum cover height. Width + height respond to real shared navigation. */
@media(min-width:700px){
 body.bercary-global-main[data-bercary-cover="service"][data-service="maps"] section.hero:first-of-type,
 body.bercary-global-main[data-bercary-cover="service"][data-service="web"] section.hero:first-of-type,
 body.bercary-global-main[data-bercary-cover="service"][data-bercary-service="dental"] section.hero:first-of-type,
 body.bercary-global-main[data-bercary-cover="service"] section.hero:first-of-type:has(.hero-copy .eyebrow):has(.hero-copy em){
  box-sizing:border-box!important;height:calc(100svh - var(--bercary-global-header-height,70px))!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;
  padding:clamp(10px,2svh,20px) 0 clamp(18px,3svh,32px)!important;
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;
 }
 body.bercary-global-main[data-bercary-cover="service"][data-service="web"] section.hero:first-of-type>.hero-copy,
 body.bercary-global-main[data-bercary-cover="service"][data-service="maps"] section.hero:first-of-type>.hero-copy{padding-top:0!important;padding-bottom:0!important;margin-top:auto!important;flex:0 0 auto!important}
 body.bercary-global-main[data-bercary-cover="service"][data-service="web"] section.hero:first-of-type>.hero-copy{transform:translateY(clamp(3px,1.5svh,12px))}
 body.bercary-global-main[data-bercary-cover="service"] section.hero:first-of-type:has(.hero-copy em)>.wrap{margin-top:auto!important;margin-bottom:0!important;flex:0 0 auto!important}
 body.bercary-global-main[data-bercary-cover="service"] section.hero:first-of-type:has(.hero-copy em) .hero-copy{margin-top:0!important;margin-bottom:0!important;padding-block:0!important}
 body.bercary-global-main[data-bercary-cover="service"][data-service="maps"] .hero .tags{margin:10px 0 0;gap:6px}
 body.bercary-global-main[data-bercary-cover="service"][data-service="maps"] .hero .tags span{font-size:11px;padding:4px 9px}
 body.bercary-global-main[data-bercary-cover="service"][data-service="maps"] .hero .hero-copy>p{margin-bottom:7px;font-size:clamp(14px,1.5vw,17px)}
}
/* Keep content safe on short laptop screens: tighten typography rather than lengthening the cover. */
@media(min-width:700px) and (max-height:700px){
 body[data-service="maps"] .hero h1,body[data-service="web"] .hero h1{font-size:clamp(29px,3.2vw,47px)!important;line-height:1.1!important;margin-bottom:8px!important}
 body[data-service="maps"] .hero .eyebrow,body[data-service="web"] .hero .eyebrow{margin-bottom:7px!important}
 body[data-service="maps"] .hero .tags{margin-top:7px!important}
 body[data-service="web"] .hero .hero-actions{margin-top:8px}
 body[data-page="home"] .bercary-one-inner{gap:10px!important;padding-top:15px!important;padding-bottom:10px!important}
 body[data-page="home"] .bercary-hero-heading h1{font-size:clamp(26px,3vw,45px)!important;margin:8px 0}
 body[data-page="home"] .bercary-home-value{margin-top:8px;padding:8px 11px}
}
/* Compact web project section without sacrificing any field or step. */
body[data-service="web"] #contacto{padding:clamp(26px,4svh,42px) 0!important}
body[data-service="web"] #contacto .form-wrap{gap:clamp(15px,2.5vw,28px)!important;align-items:start!important}
body[data-service="web"] #contacto .form-card{min-height:0!important;padding:clamp(16px,2vw,23px)!important}
body[data-service="web"] #contacto form{gap:10px!important}
body[data-service="web"] #contacto .web-wizard-step label:first-child{font-size:15px!important;line-height:1.3!important;margin-bottom:7px!important}
body[data-service="web"] #contacto .web-wizard-step input,body[data-service="web"] #contacto .web-wizard-step select,body[data-service="web"] #contacto .web-wizard-step textarea{margin-top:5px!important;padding:9px 11px!important}
body[data-service="web"] #contacto h2{margin-bottom:10px!important}
body[data-service="web"] #contacto p{margin-bottom:9px!important}
body[data-service="web"] #contacto .web-wizard-controls{margin-top:0!important}
@media(max-width:699px){
 body.bercary-global-main[data-bercary-cover="service"][data-service="maps"] section.hero:first-of-type,
 body.bercary-global-main[data-bercary-cover="service"][data-service="web"] section.hero:first-of-type,
 body.bercary-global-main[data-bercary-cover="service"] section.hero:first-of-type:has(.hero-copy em){
  height:auto!important;min-height:clamp(360px,65svh,600px)!important;max-height:none!important;
  padding-top:25px!important;padding-bottom:22px!important;display:flex!important;justify-content:flex-end!important;
 }
 body[data-service="maps"] section.hero:first-of-type>.hero-copy,body[data-service="web"] section.hero:first-of-type>.hero-copy{padding-block:0!important;margin-top:auto!important}
 body[data-service="maps"] .hero .tags{gap:5px;margin:12px 0 0}
 body[data-service="maps"] .hero .tags span{font-size:10px;padding:4px 7px}
 body[data-page="home"] .bercary-home-features span{white-space:normal}
 body[data-page="home"] .bercary-home-value{padding:9px 11px}
}
