/* Eco Del Mar V6.4 | Premium Services and home editorial showcase.
   Loaded last in the public document before footer to override historic 3D service rules. */
.edm-services-v64,.edm-services-v64 *,.edm-home-services-v64,.edm-home-services-v64 *{box-sizing:border-box}
.edm-services-v64{background:#f6f2e9;color:#174145;overflow:clip}
.edm-services-v64 a{text-decoration:none}
.edm-s64-overline{font:700 10px/1.55 system-ui,sans-serif!important;letter-spacing:.19em;text-transform:uppercase;color:#d3824d;margin:0 0 18px}
.edm-s64-hero{position:relative;min-height:620px;background:#13383c;color:white;display:flex;align-items:center;isolation:isolate}
.edm-s64-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(100deg,rgba(7,39,43,.92) 0%,rgba(8,48,51,.72) 48%,rgba(8,48,51,.12) 100%),var(--s64-cover);background-size:cover;background-position:center;z-index:-1}
.edm-s64-hero__inner{width:min(1190px,calc(100% - 72px));margin:auto;padding:98px 0 66px}
.edm-s64-hero h1{max-width:780px;color:#fff9ef;font:normal clamp(62px,7.8vw,118px)/.99 Georgia,serif;letter-spacing:-.045em;margin:0 0 25px}
.edm-s64-hero h1 em{font-weight:normal;color:#efb481}
.edm-s64-hero__inner>p:not(.edm-s64-overline){font-size:clamp(15px,1.45vw,18px);line-height:1.7;max-width:565px;color:#e4efed;margin:0}
.edm-s64-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:32px}
.edm-s64-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;border-radius:40px;font-weight:700;font-size:12px;line-height:1.3;padding:17px 23px;transition:transform .18s ease,background .18s ease}
.edm-s64-button:hover{transform:translateY(-2px)}
.edm-s64-button--light{background:#f2b484;color:#163b3f}.edm-s64-button--light:hover{background:#ffe0be;color:#163b3f}
.edm-s64-button--dark{background:#143c40;color:white}.edm-s64-button--dark:hover{background:#22575b;color:white}
.edm-s64-hero-link{font-size:13px;color:#e7efec;border-bottom:1px solid #9aafaa;padding-bottom:5px}
.edm-s64-hero__meta{display:flex;flex-wrap:wrap;gap:28px;margin-top:79px;font-size:10px;letter-spacing:.2em;color:#e3dfd5;font-weight:700}
.edm-s64-lead{width:min(1190px,calc(100% - 72px));margin:0 auto;padding:clamp(64px,7.5vw,116px) 0 60px;display:grid;grid-template-columns:1.05fr .95fr;align-items:end;gap:56px}
.edm-s64-lead h2,.edm-s64-section-title h2,.edm-s64-explore__copy h2,.edm-s64-footer-cta h2{font:normal clamp(35px,4.3vw,66px)/1.06 Georgia,serif;letter-spacing:-.035em;color:#153c40;margin:0}
.edm-s64-lead__copy p{font-size:15px;line-height:1.85;color:#5e7775;margin:0 0 14px}
.edm-s64-collection{width:min(1190px,calc(100% - 72px));margin:0 auto;padding:22px 0 112px}
.edm-s64-section-title{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:30px}
.edm-s64-section-title>p{font-size:14px;color:#738985;line-height:1.6;max-width:330px;margin:0 0 5px}
.edm-s64-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 30px}
.edm-s64-filters button{font:600 11px/1.3 system-ui,sans-serif;cursor:pointer;border:1px solid #d5dfd8;border-radius:100px;padding:11px 17px;background:transparent;color:#466864;transition:.2s ease}
.edm-s64-filters button:hover,.edm-s64-filters button:focus-visible,.edm-s64-filters button.is-active{background:#174347;color:white;border-color:#174347}
.edm-s64-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;align-items:stretch}
.edm-s64-card{background:#fffdf9;border:1px solid #ede9e1;border-radius:21px;overflow:hidden;box-shadow:0 14px 36px rgba(19,57,58,.06);display:flex;flex-direction:column;min-width:0;transition:transform .25s ease,box-shadow .25s ease}
.edm-s64-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(19,57,58,.14)}
.edm-s64-card[hidden]{display:none!important}
.edm-s64-card__media{position:relative;aspect-ratio:1.55;background:#9eaea8;overflow:hidden}
.edm-s64-card__media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover;transition:transform .5s}
.edm-s64-card:hover .edm-s64-card__media img{transform:scale(1.04)}
.edm-s64-card__icon{position:absolute;left:20px;bottom:0;transform:translateY(46%);display:grid;place-items:center;background:#f0b783;border:4px solid #fffdf9;width:62px;height:62px;border-radius:18px;font:27px/1 system-ui,sans-serif;color:#173e41}
.edm-s64-card__body{padding:43px 23px 25px;display:flex;flex-direction:column;flex:1}
.edm-s64-card__category{color:#be7f50;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.edm-s64-card h3{margin:9px 0 11px;color:#174347;font:normal clamp(24px,2.3vw,31px)/1.14 Georgia,serif}
.edm-s64-card p{font-size:13.5px;line-height:1.75;margin:0 0 25px;color:#607875;flex:1}
.edm-s64-card__body>a{align-self:flex-start;color:#174347;font:700 12px/1.45 system-ui,sans-serif;padding-top:12px;border-top:1px solid #e7ede6;width:100%;display:flex;justify-content:space-between}
.edm-s64-empty{background:white;padding:40px;border-radius:20px}
.edm-s64-explore{display:grid;grid-template-columns:1fr 1fr;background:#e8eee8;min-height:525px}
.edm-s64-explore__photo{min-height:430px;overflow:hidden}
.edm-s64-explore__photo img{width:100%!important;height:100%!important;object-fit:cover;display:block}
.edm-s64-explore__copy{align-self:center;padding:clamp(38px,6.7vw,100px)}
.edm-s64-explore__copy h2 em{color:#b8794e}
.edm-s64-explore__copy>p:not(.edm-s64-overline){color:#5c7572;line-height:1.8;font-size:15px;margin:24px 0}
.edm-s64-explore__copy .edm-s64-explore__note{font-size:12px!important;border-left:2px solid #d58b59;padding-left:16px;margin:20px 0 26px!important}
.edm-s64-footer-cta{text-align:center;padding:100px 24px 110px;background:#123a3e;color:white}
.edm-s64-footer-cta h2{max-width:700px;margin:0 auto;color:#f9f1e5}
.edm-s64-footer-cta>p:not(.edm-s64-overline){font-size:15px;line-height:1.7;color:#bfd1cc;margin:24px auto 27px;max-width:550px}

/* Home services use natural document flow: six editorial cards, no clipped viewport-pinned carousel. */
.edm-home .chapter.services.edm-home-services-v64{height:auto!important;min-height:0!important;overflow:visible!important;background:#133c40!important}
.edm-home .chapter.services.edm-home-services-v64>.pin{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;height:auto!important;min-height:0!important;overflow:hidden!important;padding:clamp(78px,7vw,116px) clamp(19px,5vw,78px) 66px!important}
.edm-home .services.edm-home-services-v64 .water{position:absolute;inset:0;opacity:.22;pointer-events:none;z-index:0;transform:none!important}
.edm-home .services.edm-home-services-v64 .edm-hs64-head{position:relative!important;z-index:2;top:auto!important;left:auto!important;right:auto!important;max-width:none!important;display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:42px;margin:0 0 34px;width:100%}
.edm-home .services.edm-home-services-v64 .edm-hs64-head h2{font:normal clamp(44px,5.2vw,80px)/1.03 Georgia,serif;color:#fff8ed;letter-spacing:-.045em;max-width:670px;margin:14px 0 0}
.edm-home .services.edm-home-services-v64 .edm-hs64-head h2 em{color:#efb584;font-weight:normal}
.edm-home .services.edm-home-services-v64 .edm-hs64-head__right{max-width:440px;padding:0 0 6px}
.edm-home .services.edm-home-services-v64 .edm-hs64-head__right p{font-size:15px;line-height:1.8;margin:0 0 23px;max-width:430px}
.edm-hs64-link{font-size:11px;letter-spacing:.08em;color:#f4bc92;font-weight:700;display:inline-flex;gap:18px;align-items:center;border-bottom:1px solid #f4bc9280;padding-bottom:9px;text-decoration:none}
.edm-home .services.edm-home-services-v64 .service-list.edm-hs64-grid{position:relative!important;z-index:5;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important;perspective:1400px}
.edm-home .services.edm-home-services-v64 .edm-hs64-card{position:relative!important;display:block!important;padding:0!important;height:auto!important;min-height:0!important;background:#f9f5ee!important;flex:none!important;overflow:hidden;border-radius:18px;text-align:left!important;box-shadow:0 20px 32px rgba(0,0,0,.18)!important;min-width:0!important;will-change:auto;isolation:isolate}
.edm-hs64-card__image{display:block;width:100%;aspect-ratio:1.6;overflow:hidden;background:#9cada5}
.edm-home .services.edm-home-services-v64 .edm-hs64-card img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transition:transform .5s}
.edm-hs64-card:hover .edm-hs64-card__image img{transform:scale(1.045)}
.edm-hs64-card__content{display:flex;flex-direction:column;gap:7px;padding:21px 23px 22px;min-height:155px}
.edm-hs64-card__tag{font:700 10px/1.3 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#b17a52}
.edm-hs64-card__content strong{font:normal 27px/1.17 Georgia,serif;color:#143d41}
.edm-hs64-card__link{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;color:#345d5b;font-size:11px;font-weight:700;padding-top:10px}
.edm-hs64-bottom{position:relative;display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;align-items:center;margin-top:33px;z-index:2;color:#cadad4;font-size:12px}
.edm-hs64-bottom p{margin:0;display:flex;align-items:center;gap:8px}
.edm-hs64-dot{width:7px;height:7px;background:#d68b5b;border-radius:100%}
.edm-hs64-bottom a{font-weight:700;font-size:11px;letter-spacing:.08em;color:#f1bc92;text-decoration:none}
@media(max-width:1050px){
 .edm-s64-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .edm-home .services.edm-home-services-v64 .service-list.edm-hs64-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .edm-home .services.edm-home-services-v64 .edm-hs64-head{grid-template-columns:1fr;gap:18px}
}
@media(max-width:700px){
 .edm-s64-hero{min-height:520px}.edm-s64-hero__inner,.edm-s64-lead,.edm-s64-collection{width:calc(100% - 36px)}
 .edm-s64-hero__inner{padding:95px 0 38px}.edm-s64-hero h1{font-size:clamp(49px,10.2vw,72px)}.edm-s64-hero__meta{margin-top:60px;gap:14px}
 .edm-s64-lead{grid-template-columns:1fr;gap:16px;padding:68px 0 36px}
 .edm-s64-section-title{display:block}.edm-s64-section-title>p{margin-top:17px}
 .edm-s64-grid{grid-template-columns:1fr;gap:17px}
 .edm-s64-card__media{aspect-ratio:1.6}.edm-s64-card__body{padding:43px 22px 22px}.edm-s64-collection{padding:20px 0 70px}
 .edm-s64-explore{grid-template-columns:1fr}.edm-s64-explore__photo{min-height:280px;max-height:360px}.edm-s64-explore__copy{padding:40px 24px 65px}
 .edm-s64-footer-cta{padding:75px 22px 85px}
 .edm-home .services.edm-home-services-v64 .service-list.edm-hs64-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .edm-home .services.edm-home-services-v64 .edm-hs64-head h2{font-size:clamp(40px,9.2vw,60px)}
 .edm-hs64-card__content{min-height:137px;padding:14px 14px 16px}.edm-hs64-card__content strong{font-size:21px}.edm-hs64-card__link{font-size:10px}
}
@media(max-width:410px){
 .edm-home .services.edm-home-services-v64 .service-list.edm-hs64-grid{grid-template-columns:1fr!important}
 .edm-hs64-card__image{aspect-ratio:2}.edm-hs64-card__content{min-height:115px}.edm-hs64-card__content strong{font-size:25px}
 .edm-s64-filters{gap:7px}.edm-s64-filters button{padding:9px 13px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.edm-s64-card,.edm-s64-card__media img,.edm-hs64-card img,.edm-s64-button{transition:none!important;transform:none!important}}
