/* Contacts page — final tuned version */
body.cnc-contacts-page{
  --cnc-page-ivory:#F7F3ED;
  --cnc-page-bg: rgba(204,159,136,0.82);
  --cnc-ink: #2f3438;
  --cnc-muted: rgba(47,52,56,0.74);
  --cnc-rule: rgba(47,52,56,0.50);
  background: var(--cnc-page-ivory) !important;
}

body.cnc-contacts-page .menu-page-bg{
  display:block !important;
  position:fixed;
  inset:0;
  background-image:url('../assets/img/contacts-floral-pattern.png');
  background-repeat:no-repeat;
  background-size:max(1650px, 118vw) auto;
  background-position:center top;
  opacity:.18;
  z-index:0;
  pointer-events:none;
}

body.cnc-contacts-page .site-header,
body.cnc-contacts-page .page-body,
body.cnc-contacts-page .cnc-contact-sheet{
  position:relative;
}

body.cnc-contacts-page .site-header{ z-index:30; }
body.cnc-contacts-page .page-body{ 
  z-index:2;
  width:100% !important;
  max-width:none !important;
  margin: clamp(34px, 4vw, 58px) auto 90px !important;
  padding:0 !important;
}

body.cnc-contacts-page .cnc-contact-sheet{
  z-index:3;
  width:min(80vw, 1520px) !important;
  max-width:none !important;
  margin-inline:auto !important;
  background:var(--cnc-page-bg) !important;
  padding: clamp(38px, 4.2vw, 58px) clamp(40px, 4.2vw, 64px) clamp(38px, 4.2vw, 54px);
}

body.cnc-contacts-page .cnc-contact-sheet::after{
  content:'';
  position:absolute;
  inset:clamp(22px, 2.2vw, 36px);
  border:1px solid rgba(47,52,56,0.58);
  pointer-events:none;
}

body.cnc-contacts-page .nav-right .nav-link.is-active,
body.cnc-contacts-page .nav-right .nav-link[aria-current="page"]{
  color:#b7afa8 !important;
}

body.cnc-contacts-page .logo--menu .menu-shell{
  position:relative;
  isolation:isolate;
}

/* Keep the floral texture from polluting the shell */
body.cnc-contacts-page .logo--menu .menu-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--cnc-page-ivory);
  -webkit-mask-image:url('../assets/conchiglia.png');
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-image:url('../assets/conchiglia.png');
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
  z-index:0;
  pointer-events:none;
}

body.cnc-contacts-page .logo--menu .menu-shell-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:.60 !important;
  mix-blend-mode:normal;
  filter:contrast(1.03) brightness(1.02) saturate(.92) drop-shadow(0 2px 10px rgba(62,95,99,0.08));
  z-index:1 !important;
  pointer-events:none;
}

body.cnc-contacts-page .logo--menu .menu-shell-text,
body.cnc-contacts-page .logo--menu .menu-shell .menu-shell-text,
body.cnc-contacts-page .logo--menu .menu-shell .menu-shell-text *{
  z-index:2 !important;
  color:#3E5F63 !important;
}

body.cnc-contacts-page .cnc-sheet-header{
  margin-top: 10px;
  margin-bottom: clamp(28px, 3.4vw, 42px);
}

body.cnc-contacts-page .cnc-sheet-heading-row{
  display:flex;
  align-items:center;
  gap:24px;
}

body.cnc-contacts-page .cnc-sheet-title{
  margin:0;
  font-family:'Mrs Saint Delafield', cursive !important;
  font-size: clamp(50px, 6vw, 74px) !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  line-height:.9 !important;
  color:var(--cnc-ink);
  text-transform:none !important;
}

body.cnc-contacts-page .cnc-sheet-rule{
  flex:1;
  height:1px;
  background:var(--cnc-rule);
}

body.cnc-contacts-page .cnc-sheet-intro-grid{
  display:grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 64px);
  margin-top: 24px;
  align-items:start;
}

body.cnc-contacts-page .cnc-sheet-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:26px;
  margin-top:48px;
}

body.cnc-contacts-page .cnc-sheet-meta p{
  margin:0;
  position:relative;
  padding-left:24px;
}

body.cnc-contacts-page .cnc-sheet-meta p::before{
  content:'';
  position:absolute;
  left:0;
  top:2px;
  width:12px;
  height:12px;
  background-color:var(--cnc-ink);
  opacity:.78;
}

body.cnc-contacts-page .cnc-sheet-meta p:nth-child(1)::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6.75A2.75 2.75 0 0 1 5.75 4h12.5A2.75 2.75 0 0 1 21 6.75v10.5A2.75 2.75 0 0 1 18.25 20H5.75A2.75 2.75 0 0 1 3 17.25zm2.2-.25 6.34 5.02a.75.75 0 0 0 .92 0L18.8 6.5zM19.5 7.46l-5.76 4.57a2.25 2.25 0 0 1-2.48 0L5.5 7.46v9.79c0 .69.56 1.25 1.25 1.25h11.5c.69 0 1.25-.56 1.25-1.25z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6.75A2.75 2.75 0 0 1 5.75 4h12.5A2.75 2.75 0 0 1 21 6.75v10.5A2.75 2.75 0 0 1 18.25 20H5.75A2.75 2.75 0 0 1 3 17.25zm2.2-.25 6.34 5.02a.75.75 0 0 0 .92 0L18.8 6.5zM19.5 7.46l-5.76 4.57a2.25 2.25 0 0 1-2.48 0L5.5 7.46v9.79c0 .69.56 1.25 1.25 1.25h11.5c.69 0 1.25-.56 1.25-1.25z'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.cnc-contacts-page .cnc-sheet-meta p:nth-child(2)::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.5 15.5 0 0 0 6.59 6.59l2.2-2.2a1.5 1.5 0 0 1 1.53-.36c1.08.36 2.24.55 3.43.55A1.63 1.63 0 0 1 22 17v3A1.63 1.63 0 0 1 20.37 21C10.22 21 3 13.78 3 3.63A1.63 1.63 0 0 1 4.63 2h3A1.63 1.63 0 0 1 9.25 3.63c0 1.19.19 2.35.55 3.43a1.5 1.5 0 0 1-.36 1.53z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.5 15.5 0 0 0 6.59 6.59l2.2-2.2a1.5 1.5 0 0 1 1.53-.36c1.08.36 2.24.55 3.43.55A1.63 1.63 0 0 1 22 17v3A1.63 1.63 0 0 1 20.37 21C10.22 21 3 13.78 3 3.63A1.63 1.63 0 0 1 4.63 2h3A1.63 1.63 0 0 1 9.25 3.63c0 1.19.19 2.35.55 3.43a1.5 1.5 0 0 1-.36 1.53z'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.cnc-contacts-page .cnc-sheet-meta p:nth-child(3)::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-6.5-5.2-6.5-11A6.5 6.5 0 1 1 18.5 10C18.5 15.8 12 21 12 21m0-8.5A2.5 2.5 0 1 0 12 7a2.5 2.5 0 0 0 0 5.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-6.5-5.2-6.5-11A6.5 6.5 0 1 1 18.5 10C18.5 15.8 12 21 12 21m0-8.5A2.5 2.5 0 1 0 12 7a2.5 2.5 0 0 0 0 5.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.cnc-contacts-page .cnc-sheet-meta p:nth-child(4)::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2m0 1.5A4 4 0 0 0 3.5 7.5v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4zm10.25 1.75a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5M12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 1.5A3.5 3.5 0 1 0 12 15.5 3.5 3.5 0 0 0 12 8.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7.5 2h9A5.5 5.5 0 0 1 22 7.5v9a5.5 5.5 0 0 1-5.5 5.5h-9A5.5 5.5 0 0 1 2 16.5v-9A5.5 5.5 0 0 1 7.5 2m0 1.5A4 4 0 0 0 3.5 7.5v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4zm10.25 1.75a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5M12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 1.5A3.5 3.5 0 1 0 12 15.5 3.5 3.5 0 0 0 12 8.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.cnc-contacts-page .cnc-sheet-meta p,
body.cnc-contacts-page .cnc-sheet-meta a{
  margin:0;
  font-family:'Gotham', Arial, sans-serif;
  font-size:11px;
  font-weight:300;
  line-height:1.4;
  letter-spacing:0.06em;
  color:var(--cnc-muted);
  text-decoration:none;
}

body.cnc-contacts-page .cnc-sheet-meta a:hover{
  color:var(--cnc-ink);
}

body.cnc-contacts-page .cnc-sheet-address-link{
  display:inline-block;
}

body.cnc-contacts-page .cnc-sheet-map-wrap{
  justify-self:start;
  align-self:start;
  width:min(100%, 146px);
  margin-top: 12px;
  transform: translateX(446px);
}

body.cnc-contacts-page .cnc-sheet-map-arch{
  position:relative;
  width:100%;
  aspect-ratio: 11.2 / 16.6;
  border-radius: 300px 300px 0 0 / 265px 265px 0 0;
  overflow:hidden;
  background:rgba(178,108,63,0.12);
  border:1px solid rgba(47,52,56,0.24);
  box-shadow: inset 0 0 0 1px rgba(247,243,237,0.22);
}

body.cnc-contacts-page .cnc-sheet-map-arch iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:calc(100% + 54px);
  border:0;
  filter:grayscale(.22) saturate(.85) contrast(.95) brightness(1.02);
  transform:translateY(-58px) scale(1.12);
  transform-origin:center top;
}

body.cnc-contacts-page .cnc-sheet-map-arch::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(207,148,119,0.48);
  mix-blend-mode:multiply;
  z-index:2;
  pointer-events:none;
}

body.cnc-contacts-page .cnc-sheet-map-link{
  display:inline-flex;
  margin-top:12px;
  align-items:center;
  gap:8px;
  font-family:'Gotham', Arial, sans-serif;
  font-size:10px;
  font-weight:300;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--cnc-ink);
  text-decoration:none;
}

body.cnc-contacts-page .cnc-sheet-map-link::after{
  content:'↗';
  font-size:12px;
  line-height:1;
}

body.cnc-contacts-page .cnc-sheet-form-card{
  background:transparent !important;
  padding: clamp(34px, 3vw, 44px) clamp(8px, 1vw, 14px) clamp(34px, 3vw, 40px);
}

body.cnc-contacts-page .cnc-form-status{
  margin:0 0 16px;
  font-family:'Gotham', Arial, sans-serif;
  font-size:12px;
  letter-spacing:0.04em;
  color:var(--cnc-ink);
}
body.cnc-contacts-page .cnc-form-status a{ color:inherit; }

body.cnc-contacts-page .cnc-sheet-form{
  display:grid;
  gap:18px;
}

body.cnc-contacts-page .cnc-sheet-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
}

body.cnc-contacts-page .cnc-line-field,
body.cnc-contacts-page .cnc-box-field{
  display:flex;
  flex-direction:column;
}

body.cnc-contacts-page .cnc-line-field span,
body.cnc-contacts-page .cnc-box-field span{
  margin-bottom:8px;
  font-family:'Gotham', Arial, sans-serif;
  font-size:10px;
  font-weight:300;
  letter-spacing:0.07em;
  color:rgba(47,52,56,0.40);
}

body.cnc-contacts-page .cnc-line-field span em,
body.cnc-contacts-page .cnc-box-field span em{
  font-style:normal;
  letter-spacing:0.05em;
  color:rgba(47,52,56,0.58);
}

body.cnc-contacts-page .cnc-line-field input{
  border:0;
  border-bottom:1px solid var(--cnc-rule);
  background:transparent;
  height:34px;
  padding:0 0 3px;
  font-family:'Gotham', Arial, sans-serif;
  font-size:13px;
  color:var(--cnc-ink);
  outline:none;
}

body.cnc-contacts-page .cnc-line-field--full input{ width:100%; }

body.cnc-contacts-page .cnc-line-field input:focus,
body.cnc-contacts-page .cnc-box-field textarea:focus{
  border-color:var(--cnc-ink);
}

body.cnc-contacts-page .cnc-box-field{ margin-top:8px; }

body.cnc-contacts-page .cnc-box-field textarea{
  border:1px solid var(--cnc-rule);
  background:transparent;
  padding:10px 12px;
  min-height:188px;
  resize:vertical;
  font-family:'Gotham', Arial, sans-serif;
  font-size:13px;
  color:var(--cnc-ink);
  outline:none;
}

body.cnc-contacts-page .cnc-sheet-actions{ margin-top:10px; }

body.cnc-contacts-page .cnc-sheet-submit{
  width:100%;
  border:0;
  background:#2b2d31;
  color:#f6f2ec;
  min-height:48px;
  font-family:'Gotham', Arial, sans-serif;
  font-size:12px;
  letter-spacing:0.14em;
  cursor:pointer;
}
body.cnc-contacts-page .cnc-sheet-submit:hover{ background:#222428; }

body.cnc-contacts-page .cnc-honey{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

body.cnc-contacts-page footer .footer-line{ background:#3E5F63 !important; }

@media (max-width: 900px){
  body.cnc-contacts-page .cnc-sheet-intro-grid{
    grid-template-columns:1fr;
  }

  body.cnc-contacts-page .cnc-sheet-map-wrap{
    justify-self:start;
    width:min(100%, 420px);
  }
}

@media (max-width: 768px){
  body.cnc-contacts-page .menu-page-bg{
    background-size:auto max(1180px, 124vh);
    background-position:center top;
    opacity:.15;
  }

  body.cnc-contacts-page .page-body{
    margin:26px auto 46px !important;
  }

  body.cnc-contacts-page .cnc-contact-sheet{
    width:min(92vw, 760px) !important;
    padding:28px 18px 24px;
  }

  body.cnc-contacts-page .cnc-contact-sheet::after{ inset:16px; }

  body.cnc-contacts-page .cnc-sheet-title{
    font-size: clamp(42px, 12vw, 58px) !important;
  }

  body.cnc-contacts-page .cnc-sheet-heading-row{
    gap:12px;
  }

  body.cnc-contacts-page .cnc-sheet-form-row{
    grid-template-columns:1fr;
    gap:22px;
  }

  body.cnc-contacts-page .cnc-sheet-map-wrap{
    width:100%;
  }

  body.cnc-contacts-page .cnc-sheet-map-arch{
    aspect-ratio: 1.04 / 1.1;
  }

  body.cnc-contacts-page .cnc-sheet-form-card{
    padding:22px 18px 24px;
  }

  body.cnc-contacts-page .cnc-box-field textarea{
    min-height:150px;
  }
}

@media (max-width: 980px){
  body.cnc-contacts-page .cnc-sheet-map-wrap{
    width:min(100%, 220px);
    transform:none;
    margin-top:10px;
  }
}


/* ============================
   FINAL CONTACTS FIX — centered map arch on tablet/mobile
   ============================ */
@media (max-width: 980px){
  body.cnc-contacts-page .cnc-sheet-intro-grid{
    justify-items: center !important;
  }

  body.cnc-contacts-page .cnc-sheet-meta{
    width: min(100%, 620px) !important;
    justify-self: center !important;
  }

  body.cnc-contacts-page .cnc-sheet-map-wrap{
    justify-self: center !important;
    align-self: center !important;
    width: min(100%, 420px) !important;
    margin: 28px auto 0 !important;
    transform: none !important;
  }

  body.cnc-contacts-page .cnc-sheet-map-arch{
    width: min(100%, 420px) !important;
    margin-inline: auto !important;
  }

  body.cnc-contacts-page .cnc-sheet-map-link{
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 768px){
  body.cnc-contacts-page .cnc-sheet-map-wrap{
    width: min(100%, 470px) !important;
  }
}
