/* Responsive continuous photo covers, with copy layered over each composition. */
.reference-home #spain-hero{height:auto;min-height:clamp(430px,37.5vw,768px);background:#1a96c4}
.reference-home #spain-hero .ep-hero-art img{object-position:center;object-fit:cover}
.reference-home #spain-hero:before{background:linear-gradient(90deg,#004b73b8 0%,#00547c8f 34%,#00547c00 54%)}
.reference-home #spain-hero .ep-hero-copy{padding-block:clamp(30px,3.5vw,60px);min-height:0}
.reference-home #spain-hero .ep-hero-copy>.rf-kicker{color:#fff}
.reference-home #spain-hero .ep-hero-copy>p{color:#fff;text-shadow:0 1px 4px #00354e55}
@media screen and (min-width:761px) and (max-width:1100px){
 .reference-home #spain-hero{display:block;position:relative;isolation:isolate;height:auto;min-height:clamp(500px,55vw,570px)}
 .reference-home #spain-hero .ep-hero-art{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;aspect-ratio:auto}
 .reference-home #spain-hero .ep-hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom}
 .reference-home #spain-hero:before{display:block;background:linear-gradient(90deg,#003653de 0%,#003653b8 32%,#00365333 52%,transparent 69%)}
 .reference-home #spain-hero .ep-hero-copy{position:relative;z-index:2;width:92%;max-width:none;min-height:inherit;margin-inline:auto;padding:32px 0 36px;background:none;box-sizing:border-box}
 .reference-home #spain-hero .ep-hero-copy>.rf-kicker{max-width:46%;font-size:.75rem!important;line-height:1.4!important;letter-spacing:.08em;margin-bottom:14px}
 .reference-home #spain-hero h1{max-width:48%;font-size:clamp(2.9rem,5.5vw,3.6rem);line-height:1.02}
 .reference-home #spain-hero .ep-hero-copy>p:not(.rf-kicker){max-width:40%;font-size:1rem!important;line-height:1.4!important;margin:18px 0 22px}
 .reference-home #spain-hero .ep-actions{max-width:48%;gap:9px}
 .reference-home #spain-hero .ep-button{min-height:44px;padding:11px 13px;font-size:.875rem!important;line-height:1.35!important}
 .reference-home .ep-facts{width:92%;max-width:none;margin-inline:auto;margin-top:-18px;padding:14px 8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
 .reference-home .ep-facts>div{min-width:0;padding:0 12px;gap:10px}
 .reference-home .ep-facts b{font-size:.94rem!important;line-height:1.3!important}
 .reference-home .ep-facts small{font-size:.8rem!important;line-height:1.4!important}
 .reference-home .ep-intro{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;padding-block:32px}
 .reference-home .ep-intro-photo{width:100%;height:300px;max-width:none;margin:0}
 .reference-home .ep-intro-benefits{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 .reference-home .ep-intro-benefits>div{min-height:105px;padding:17px 14px}
 .reference-home .ep-intro-benefits b{font-size:.9rem!important;line-height:1.4!important}
 .reference-home .ep-requirements .ep-three{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .reference-home .ep-requirement-photo,.reference-home .ep-requirement-hand{display:none}
}
@media screen and (max-width:760px){
 .reference-home #spain-hero{display:block;position:relative;isolation:isolate;min-height:clamp(600px,160vw,720px)}
 .reference-home #spain-hero .ep-hero-art{position:absolute;inset:0;z-index:-2;height:100%;min-height:0;aspect-ratio:auto}
 .reference-home #spain-hero .ep-hero-art img{object-fit:cover;object-position:center bottom}
 .reference-home #spain-hero:before{display:block;z-index:-1;background:linear-gradient(180deg,#031a28eb 0%,#031a28cf 32%,#031a2873 52%,#031a2820 70%,transparent 87%)}
 .reference-home #spain-hero .ep-hero-copy{position:relative;z-index:2;width:100%;max-width:none;min-height:inherit;padding:28px 5% 240px;background:none}
 .reference-home #spain-hero .ep-hero-copy>.rf-kicker{max-width:100%;font-size:.72rem!important;line-height:1.45!important;letter-spacing:.04em;margin-bottom:12px}
 .reference-home #spain-hero h1{max-width:100%;font-size:clamp(2.6rem,10.5vw,3.2rem);line-height:1.04;letter-spacing:-.035em;text-shadow:none}
 .reference-home #spain-hero h1 br{display:block}
 .reference-home #spain-hero h1 em{margin:4px 0 0;padding:1px 6px 3px;vertical-align:baseline}
 .reference-home #spain-hero .ep-hero-copy>p:not(.rf-kicker){font-size:1rem!important;line-height:1.4!important;margin:14px 0 18px;max-width:560px}
 .reference-home #spain-hero .ep-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:480px}
 .reference-home #spain-hero .ep-button{font-size:.8125rem!important;line-height:1.25!important;min-height:52px;padding:10px 8px;gap:5px}
 .reference-home #spain-hero .ep-button>span{flex:none}
 .reference-home .ep-facts{width:90%;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:-10px;padding:12px 4px}
 .reference-home .ep-facts>div{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:3px 6px;min-width:0}
 .reference-home .ep-facts>div:last-child{grid-column:auto;border-top:0;border-left:1px solid #e5edf2;padding-top:3px}
 .reference-home .ep-facts .ep-icon{width:27px;height:27px;border-radius:8px}
 .reference-home .ep-facts .ep-icon svg{width:21px;height:21px}
 .reference-home .ep-facts b{font-size:.85rem!important;line-height:1.3!important;margin-bottom:4px}
 .reference-home .ep-facts small{font-size:.75rem!important;line-height:1.4!important}
}
@media print{.reference-home #spain-hero{height:auto;min-height:0;background:#fff;color:#0b2632}.reference-home #spain-hero .ep-hero-copy{background:none;padding:20px 0}.reference-home #spain-hero .ep-hero-copy>p{color:inherit;text-shadow:none}}
