/* Reference Contact design scoped to keep Home/About/villas unchanged. */
.contact-reference{background:var(--contact-background,#faf7f0);color:#385159;overflow:hidden}
.contact-reference .wrap{width:min(1240px,calc(100% - 80px))}
.contact-reference h1,.contact-reference h2,.contact-reference h3{font-family:Georgia,'Times New Roman',serif;color:#073b42;letter-spacing:-.025em}
.contact-reference h2{font-size:clamp(30px,3.3vw,46px);line-height:1.1;margin-bottom:16px}.contact-reference p{font-size:14px;line-height:1.55}
.contact-reference .contact-eyebrow{color:var(--contact-accent);font:700 11px/1.5 Arial,sans-serif;letter-spacing:.2em;display:flex;align-items:center;gap:15px;margin-bottom:14px}
.contact-reference .contact-eyebrow:after{content:'';width:50px;height:1px;background:var(--contact-accent)}
.cr-hero-layout{display:grid;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);align-items:center;gap:35px}
.cr-hero-copy{padding:50px 0}.contact-reference .cr-hero h1{font-size:clamp(38px,5.2vw,74px);line-height:1.03;margin:0 0 16px;color:#073b42}
.cr-hero-photo{margin:0;align-self:stretch;min-height:430px;overflow:hidden;border-radius:180px 0 0 0;position:relative}
.cr-hero-photo>img,.cr-hero-photo>svg{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;display:block}
.cr-breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;padding-top:28px;position:relative;margin-top:28px}.cr-breadcrumb:before{content:'';position:absolute;top:0;width:48px;height:1px;background:var(--contact-accent)}
.contact-reference .contact-layout{display:grid;grid-template-columns:minmax(0,.4fr) minmax(0,.6fr);gap:52px;padding:40px 0}
.contact-reference .contact-layout-single{grid-template-columns:1fr;max-width:850px}
.contact-reference .contact-details{padding:0;background:none;border:0;box-shadow:none}
.contact-reference .contact-detail-list{margin-top:14px}.contact-reference .contact-detail{display:flex;gap:27px;padding:20px 0;border-bottom:1px solid #c5945180}.contact-reference .contact-detail:last-child{border-bottom:0}
.contact-reference .contact-detail-icon{background:none;color:var(--contact-accent);width:38px;min-width:38px;height:40px;padding:0}.contact-reference .contact-detail-icon svg{width:32px;height:32px}
.contact-reference .contact-detail h3{font:700 13px/1.3 Arial,sans-serif;margin:0 0 6px}.contact-reference .contact-detail a{font-size:14px;overflow-wrap:anywhere}.contact-reference .contact-detail p{margin:0}
.cr-whatsapp{border:1px solid #008560;color:#06414a;border-radius:40px;display:flex;align-items:center;gap:20px;padding:14px 24px;font-size:13px;font-weight:700;margin-top:12px}.cr-whatsapp .ui-icon{color:#00b969;width:25px;height:25px}.cr-whatsapp>span:last-child{margin-left:auto;font-size:23px}
.cr-detail-photo{margin:24px 0 0;border:2px solid var(--contact-accent);padding:3px;border-radius:10px;overflow:hidden;aspect-ratio:2.2}.cr-detail-photo>img,.cr-detail-photo>svg{display:block;width:100%;height:100%;object-fit:cover;border-radius:6px}
.contact-reference .contact-form-card{background:#fff;border:1px solid var(--contact-accent);border-radius:12px;padding:34px;box-shadow:0 8px 28px #45380a14}
.contact-reference .contact-form-card>p:not(.contact-eyebrow){font-size:13px;margin-bottom:32px}
.contact-reference .contact-enquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:24px 18px}
.contact-reference .contact-form-field{min-width:0}.contact-reference .contact-form-field.is-wide{grid-column:1/-1}.contact-reference .contact-form-field label{font-size:13px;font-weight:700;color:#073b42}.contact-reference .contact-form-field label span{color:#e65c38}
.contact-reference .contact-form-field input,.contact-reference .contact-form-field select,.contact-reference .contact-form-field textarea{width:100%;max-width:100%;min-width:0;background:#faf9f6;border:1px solid #ddd;border-radius:7px;padding:13px 14px;margin-top:7px;font-size:13px;color:#385159;box-shadow:none}.contact-reference .contact-form-field input{height:46px}.contact-reference .contact-form-field textarea{min-height:125px;resize:vertical}.contact-reference .contact-form-field [aria-invalid=true]{border-color:#b53a2b}
.contact-reference .contact-submit{grid-column:1/-1;background:#00525a;color:white;box-shadow:none;border-radius:8px;padding:17px;justify-content:center;width:100%;gap:25px;font-size:14px}
.contact-reference :is(input,select,textarea):focus-visible{outline:2px solid #00525a;outline-offset:2px}
.cr-map{background:linear-gradient(90deg,#004b52 38%,var(--contact-background) 38%)}.cr-map-layout{display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,.64fr);gap:30px;align-items:center;padding-block:12px}
.cr-map-copy{padding:20px 25px 20px 0;color:#e3eeee}.contact-reference .cr-map h2,.contact-reference .cr-map h3{color:#fff}.contact-reference .cr-map h2{margin-bottom:10px}.contact-reference .cr-map h3{font-size:23px;font-weight:400;margin-bottom:14px}
.cr-map-button{display:inline-flex;gap:15px;align-items:center;padding:13px 24px;border:1px solid #cda86c;border-radius:8px;font-size:13px;font-weight:700;color:inherit}
.cr-map-preview{display:block;overflow:hidden;border-radius:10px;aspect-ratio:2.18;background:#e7ebe5}.cr-map-preview>img,.cr-map-preview>svg{display:block;width:100%;height:100%;object-fit:cover}
.cr-cta{background-position:center 65%;background-size:cover;border-bottom:1px solid var(--contact-accent);padding:32px 0}.cr-cta>.wrap{display:flex;align-items:center;justify-content:center;gap:40px}.contact-reference .cr-cta h2{font-size:clamp(23px,2.6vw,34px);font-weight:400;margin:0}.cr-cta .btn{border-radius:40px;background:#e46532;box-shadow:0 5px 14px #98561f25;white-space:nowrap}
.cr-extra{padding-block:45px}.cr-two-column{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.cr-text-only{grid-template-columns:1fr}.cr-extra.is-dark{background:#004b52;color:white}.contact-reference .cr-extra.is-dark h2{color:white}.cr-extra figure{margin:0;overflow:hidden;border-radius:12px}.cr-extra figure>img{width:100%;aspect-ratio:4/3;object-fit:cover}
.contact-reference .reveal{opacity:1;transform:none;transition:none}.contact-reference.cr-motion-ready .reveal{opacity:0;transform:translateY(28px);transition:opacity .9s ease,transform 1s ease}.contact-reference.cr-motion-ready .reveal.in-view{opacity:1;transform:none}
.contact-reference:not(.contact-no-motion) :is(.cr-hero-photo,.cr-detail-photo,.cr-extra figure)>:is(img,svg){animation:contactPhotoZoom 14s ease-in-out infinite alternate;transform-origin:center}
.contact-reference.cr-motion-ready .cr-photo-frame:not(.cr-photo-active)>:is(img,svg){animation:none;transform:scale(1)}
@keyframes contactPhotoZoom{from{transform:scale(1)}to{transform:scale(1.08)}}
@media(max-width:1050px){.contact-reference .wrap{width:calc(100% - 48px)}.contact-reference .contact-layout{gap:32px}.contact-reference .contact-form-card{padding:28px}.cr-hero-layout{gap:25px}.cr-map-layout{gap:25px}.cr-hero-photo{min-height:390px}}
@media(max-width:760px){.contact-reference .wrap{width:calc(100% - 36px)}.cr-hero-layout{grid-template-columns:1fr;gap:0}.cr-hero-copy{padding:35px 0}.contact-reference .cr-hero h1{font-size:46px}.cr-hero-photo{min-height:0;height:280px;border-radius:100px 0 0 0}.contact-reference .contact-layout{grid-template-columns:1fr;gap:30px;padding:35px 0}.contact-reference .contact-form-card{padding:25px}.cr-detail-photo{max-width:520px}.cr-map{background:#004b52}.cr-map-layout{grid-template-columns:1fr;gap:12px;padding-block:20px}.cr-map-copy{padding:0}.cr-map-preview{aspect-ratio:1.6}.cr-cta>.wrap{flex-direction:column;text-align:center;gap:24px}.cr-two-column{grid-template-columns:1fr}.contact-reference .contact-enquiry-form{gap:20px 14px}}
@media(max-width:420px){.contact-reference .contact-enquiry-form{grid-template-columns:1fr}.contact-reference .contact-form-card{padding:22px 18px}.contact-reference .cr-hero h1{font-size:40px}.contact-reference h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.contact-reference.cr-motion-ready .reveal{opacity:1;transform:none;transition:none}.contact-reference :is(img,svg){animation:none!important;transform:none!important}}

/* Premium spacing and explicit legacy-style resets. */
.contact-reference .cr-hero{padding:38px 0 18px;background:radial-gradient(ellipse at 12% 10%,#eee4cf80,transparent 60%)}
.contact-reference .cr-hero-layout{grid-template-columns:minmax(0,.43fr) minmax(0,.57fr);gap:55px;align-items:center}
.contact-reference .cr-hero-copy{padding:32px 0}
.contact-reference .cr-hero h1{font-size:clamp(42px,4.1vw,62px);line-height:1.08;font-weight:500;max-width:500px;margin-bottom:24px}
.contact-reference .cr-hero-copy>p:not(.contact-eyebrow){font-family:Arial,sans-serif;font-size:16px;max-width:370px;line-height:1.7}
.contact-reference .cr-hero-photo{height:440px;min-height:0;border-radius:130px 22px 22px 22px;box-shadow:0 22px 45px #183e3b1f;outline:1px solid #bc985050;outline-offset:8px}
.contact-reference .contact-layout{padding:58px 0 65px;gap:60px;grid-template-columns:minmax(0,.39fr) minmax(0,.61fr)}
.contact-reference .contact-layout-single{grid-template-columns:1fr}
.contact-reference .contact-details h2{font-weight:500;font-size:clamp(32px,3vw,43px);max-width:460px}
.contact-reference .contact-details>p:not(.contact-eyebrow){max-width:400px;line-height:1.7}
.contact-reference .contact-detail{background:transparent;border:0;border-bottom:1px solid #c5945155;border-radius:0;box-shadow:none;padding:21px 0;gap:22px}
.contact-reference .contact-detail-icon{border:0;border-radius:0}
.contact-reference .contact-form-card{border:1px solid #c2a77570;border-top:3px solid #bfa06c;border-radius:22px;padding:38px;background:linear-gradient(135deg,#fff,#fdfcf9);box-shadow:0 18px 55px #143e3b0e}
.contact-reference .contact-form-card h2{font-weight:500;font-size:40px}
.contact-reference .contact-form-field input,.contact-reference .contact-form-field select,.contact-reference .contact-form-field textarea{background:#f7f7f3;border-color:#dce3df;border-radius:10px;margin-top:0;font-size:14px}
.contact-reference .contact-form-field label{margin-bottom:9px}
.contact-reference .contact-submit{background:linear-gradient(100deg,#06434b,#00606a);border-radius:12px;box-shadow:0 9px 22px #004b5220}
.contact-reference .cr-detail-photo{border:0;padding:0;border-radius:18px;box-shadow:0 10px 26px #083c3b18;aspect-ratio:2}
.contact-reference .cr-whatsapp{background:#fff9;border-radius:12px;border-color:#00856070}
.contact-reference .cr-map{background:var(--contact-background);padding:0 0 42px}
.contact-reference .cr-map-layout{background:#073f46;border:1px solid #c2a77570;border-radius:24px;padding:32px;gap:38px;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);box-shadow:0 16px 40px #073f4614}
.contact-reference .cr-map-copy{padding:12px}.contact-reference .cr-map-preview{aspect-ratio:1.85;border-radius:17px}
.contact-reference .cr-cta{padding:42px 0;border-top:1px solid #c5945140}.contact-reference .cr-cta h2{max-width:640px}
.contact-reference .cr-hero-photo>.vrg-photo-motion{position:absolute;inset:0}
.contact-reference .vrg-photo-motion{height:100%;width:100%;transform-origin:center}
.contact-reference .vrg-photo-motion>img,.contact-reference .vrg-photo-motion>svg{width:100%;height:100%;object-fit:cover;display:block}
.contact-reference:not(.contact-no-motion) .vrg-photo-motion{animation:vrgPremiumPhotoZoom 8s ease-in-out infinite alternate}
.contact-reference.contact-no-motion .vrg-photo-motion{animation:none}
@keyframes vrgPremiumPhotoZoom{from{transform:scale(1)}to{transform:scale(1.12)}}
@media(max-width:1050px){.contact-reference .cr-hero-layout{gap:35px}.contact-reference .cr-hero-photo{height:390px}.contact-reference .contact-layout{gap:35px}.contact-reference .contact-form-card{padding:28px}.contact-reference .cr-map-layout{gap:22px;padding:24px}}
@media(max-width:760px){.contact-reference .cr-hero{padding-top:15px}.contact-reference .cr-hero-layout{grid-template-columns:1fr;gap:18px}.contact-reference .cr-hero-copy{padding:22px 0}.contact-reference .cr-hero h1{font-size:43px}.contact-reference .cr-hero-photo{height:300px;border-radius:80px 18px 18px 18px;outline-offset:4px}.contact-reference .contact-layout{grid-template-columns:1fr;padding:40px 0;gap:32px}.contact-reference .cr-map-layout{grid-template-columns:1fr;padding:22px;gap:20px}.contact-reference .cr-map-copy{padding:0}.contact-reference .cr-map-preview{aspect-ratio:1.65}.contact-reference .cr-map{padding-bottom:30px}.contact-reference .cr-cta{padding:35px 0}}
@media(max-width:420px){.contact-reference .contact-form-card{padding:25px 18px;border-radius:17px}.contact-reference .contact-form-card h2{font-size:34px}.contact-reference .cr-hero h1{font-size:38px}.contact-reference .cr-hero-photo{height:245px}.contact-reference .cr-map-layout{padding:20px}}
@media(prefers-reduced-motion:reduce){.contact-reference .vrg-photo-motion{animation:none!important;transform:none!important}}

/* Separate hover transform from the continuous zoom layer. */
.contact-reference .vrg-photo-motion>:is(img,svg){transform-origin:center;transition:transform .65s cubic-bezier(.22,.61,.36,1)}
@media(hover:hover) and (pointer:fine){.contact-reference:not(.contact-no-hover) figure:hover .vrg-photo-motion>:is(img,svg){transform:scale(1.055)}}
.contact-reference:not(.contact-no-hover) figure:focus-within .vrg-photo-motion>:is(img,svg){transform:scale(1.055)}
@media(prefers-reduced-motion:reduce){.contact-reference figure .vrg-photo-motion>:is(img,svg){transform:none!important;transition:none!important}}

.contact-reference #contact-guests{appearance:auto;-webkit-appearance:auto;-moz-appearance:auto;width:100%;min-height:52px;padding:14px 16px;border:1px solid #dce3df;border-radius:10px;background:#f7f7f3;color:#073b42;box-sizing:border-box}.contact-reference #contact-guests::-webkit-inner-spin-button,.contact-reference #contact-guests::-webkit-outer-spin-button{-webkit-appearance:auto;opacity:1;margin:0}.contact-reference #contact-guests:focus-visible{outline:2px solid var(--contact-accent);outline-offset:2px}
