/* Contact (design v3 "Noir"): small additions on top of app.css, scoped to this page. Tokens of app.css only. */
.p-contact figure{margin:0}

/* hero: the office photo on the right half stays readable (lighter veil than the default split) */
@media (min-width:980px){
  .p-contact .cx-hero .hero-bg:after{background:linear-gradient(90deg,var(--black) 0%,rgba(10,10,11,.35) 14%,rgba(10,10,11,0) 34%),linear-gradient(0deg,rgba(10,10,11,.5),rgba(10,10,11,0) 30%)}
  .p-contact .cx-hero .hero-bg img{object-position:30% 50%;filter:saturate(.9)}
}
.p-contact .cx-hero .lead p{margin:0}

/* the ways to reach the agency, in place of the booking card */
.p-contact .cx-ways{list-style:none;margin:22px 0 0;padding:0;max-width:560px;border-top:1px solid var(--line-d)}
.p-contact .cx-ways li>a,.p-contact .cx-ways li>div{display:grid;grid-template-columns:20px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:14px;row-gap:2px;align-items:center;
  padding:11px 2px;border-bottom:1px solid var(--line-d);color:var(--on-dark);text-decoration:none;transition:padding .4s var(--ease),background .3s}
.p-contact .cx-ways a:hover{padding-left:10px;background:rgba(255,255,255,.03)}
.p-contact .cx-ways svg{grid-row:1/3;width:18px;height:18px;color:#e05a63}
.p-contact .cx-w-l{grid-column:2;font:600 10.5px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted-d)}
.p-contact .cx-w-v{grid-column:2;font:500 15px/1.4 var(--sans);color:#fff;min-width:0}
.p-contact .cx-w-a{grid-column:3;grid-row:1/3;font:600 11.5px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#f0b8bc;white-space:nowrap}
.p-contact .cx-w-a:after{content:"\2192";display:inline-block;margin-left:6px;transition:transform .35s var(--ease)}
.p-contact .cx-ways a:hover .cx-w-a:after{transform:translateX(4px)}
@media (min-width:560px){
  .p-contact .cx-ways li>a,.p-contact .cx-ways li>div{grid-template-columns:20px 96px minmax(0,1fr) auto;grid-template-rows:auto}
  .p-contact .cx-ways svg,.p-contact .cx-w-a{grid-row:auto}
  .p-contact .cx-w-l,.p-contact .cx-w-v,.p-contact .cx-w-a{grid-column:auto}
}

/* message builder (site.js [data-compose]) beside the booking card */
.p-contact .cx-two{align-items:start}
.p-contact .cx-card{width:100%;max-width:440px}
@media (min-width:900px){.p-contact .cx-card{justify-self:end}}
.p-contact .cx-note{margin-top:18px;padding:16px 20px 18px;border-top:3px solid var(--red)}
.p-contact .cx-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0 0 12px;border:0;border-bottom:1px solid var(--line);min-width:0}
.p-contact .cx-topics legend{padding:0;margin:0 0 10px;font:600 11px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.p-contact .cx-topics label{position:relative;cursor:pointer}
.p-contact .cx-topics input{position:absolute;opacity:0;width:1px;height:1px}
.p-contact .cx-topics span{display:inline-block;padding:8px 13px;border:1px solid var(--line-2);border-radius:999px;font:600 12.5px/1 var(--sans);color:var(--ink);transition:background .3s,color .3s,border-color .3s}
.p-contact .cx-topics label:hover span{border-color:var(--ink)}
.p-contact .cx-topics input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
.p-contact .cx-topics input:focus-visible+span{outline:2px solid var(--red);outline-offset:2px}
.p-contact .cx-msg{align-items:start}
.p-contact .cx-msg>span{padding-top:13px}
.p-contact .cx-msg textarea{width:100%;min-width:0;min-height:96px;border:0;background:transparent;font:500 15.5px/1.5 var(--sans);color:var(--ink);padding:8px 2px;resize:vertical}
.p-contact .cx-msg textarea:focus{outline:none;background:#faf7f4}
.p-contact .cx-send-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px}
.p-contact .cx-send-row p{margin:0;flex:1 1 200px}
@media (max-width:439px){.p-contact .cx-send-row .btn{width:100%}.p-contact .cx-msg>span{padding-top:8px}}

/* map box: a quiet plan with the pin; the Google map is appended by site.js only after the tap */
.p-contact .x-map{position:relative;display:flex;flex-direction:column;min-height:340px;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--stone);isolation:isolate}
.p-contact .x-map-plan{position:relative;flex:1;min-height:200px;display:grid;place-items:center;
  background:linear-gradient(32deg,transparent calc(50% - 5px),var(--white) calc(50% - 5px),var(--white) calc(50% + 5px),transparent calc(50% + 5px)),
    linear-gradient(-58deg,transparent calc(62% - 3px),var(--white) calc(62% - 3px),var(--white) calc(62% + 3px),transparent calc(62% + 3px)),
    linear-gradient(var(--stone-2) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(90deg,var(--stone-2) 1px,transparent 1px) 0 0/40px 40px,var(--stone)}
.p-contact .x-map-plan svg{position:relative;z-index:1;width:42px;height:42px;color:var(--red);filter:drop-shadow(0 8px 8px rgba(10,10,11,.25))}
.p-contact .x-map-plan:after{content:"";position:absolute;left:50%;top:50%;width:60px;height:60px;margin:-18px 0 0 -30px;border:1px solid var(--red);border-radius:50%;opacity:0;animation:cxpulse 2.8s var(--ease-out) infinite}
@keyframes cxpulse{0%{transform:scale(.3);opacity:.6}100%{transform:scale(1.6);opacity:0}}
.p-contact .x-map-in{padding:16px 20px 16px;background:var(--white);border-top:1px solid var(--line)}
.p-contact .x-map-k{margin:0 0 2px;font:700 20px/1.1 var(--serif);color:var(--ink)}
.p-contact .x-map-a{margin:0 0 12px;font-size:14.5px;color:var(--muted)}
.p-contact .x-map-b{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.p-contact .x-map-n{margin:10px 0 0;font-size:12px;color:var(--muted)}
.p-contact .x-map iframe{position:absolute;inset:0;z-index:3;width:100%;height:100%;border:0;background:var(--stone)}
@media (min-width:900px){.p-contact .x-map{min-height:400px}}

/* the Google profile band */
.p-contact .cx-google{display:grid;gap:18px;align-items:center}
.p-contact .cx-google h2{margin-bottom:8px}
.p-contact .cx-google .prose p:last-child{margin:0}
@media (min-width:860px){.p-contact .cx-google{grid-template-columns:1fr auto;gap:40px}}
/* phones and tablets: the office photo above the text, framed on the logo */
@media (max-width:979px){.p-contact .cx-hero .hero-bg img{object-position:50% 14%}}
/* wide screens: the text column ends before the photo, and the photo edge melts into the black */
@media (min-width:980px){
  .p-contact .cx-hero .hero-in{grid-template-columns:minmax(0,500px) 1fr}
  .p-contact .cx-hero .hero-bg:after{background:linear-gradient(90deg,var(--black) 0%,rgba(10,10,11,.7) 7%,rgba(10,10,11,.18) 22%,rgba(10,10,11,0) 38%),linear-gradient(0deg,rgba(10,10,11,.5),rgba(10,10,11,0) 30%)}
}
/* the hero photo zooms out from 1.07 on load: clip it to its half, or a sliver shows at its left edge */
.p-contact .cx-hero .hero-bg{overflow:hidden}
