/* Contact page (/contacto/): the form leads; beside it the place you write to; then answers and how to get here. */

.cpage { interpolate-size: allow-keywords; }
.cpage em { font-family: var(--font-italic); font-style: italic; font-weight: 500; }
.cpage__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 104px); align-items: start; padding-bottom: var(--section); }
.cpage__lead { max-width: 34rem; margin: 18px 0 clamp(32px, 4vw, 48px); color: var(--text-2); }
.cpage__sent { margin-bottom: 24px; }
.cpage__quick { display: none; margin: -16px 0 32px; font-size: .9375rem; color: var(--text-2); overflow-wrap: anywhere; }

/* Aside: the place you are writing to. Photo above, palm-shadow panel below. */
.cpage__aside { position: sticky; top: calc(var(--nav-h) + 32px); border-radius: var(--r-card); overflow: hidden; background: var(--green-900); box-shadow: var(--shadow-lg); }
.cpage__photo { position: relative; margin: 0; }
.cpage__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-100); }
.cpage__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpage__photo figcaption,
.cpage__pano figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px;
  background: rgba(27, 42, 30, .78); color: var(--cream-50);
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .06em;
}
.cpage__lines { display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); }
.cpage__now { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(251, 252, 250, .12); }
.cpage__now-label { position: relative; padding-left: 18px; font-family: var(--font-ui); font-weight: 500; font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.cpage__now-label::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--sea-300); animation: cpage-live 2.8s ease-in-out infinite; }
.cpage__clock { font-family: var(--font-display); font-size: clamp(2.25rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.02em; color: var(--cream-50); }
.cpage__direct { display: grid; gap: 14px; }
.cpage__direct a, .cpage__direct li > span { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; color: var(--cream-50); overflow-wrap: anywhere; }
.cpage__direct a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: transparent; transition: text-decoration-color .3s; }
.cpage__direct a:hover, .cpage__direct a:focus-visible { text-decoration-color: currentColor; }
.cpage__direct .icon { flex: none; color: var(--sea-300); }
.cpage__reply { font-size: .9375rem; line-height: 1.55; color: var(--on-dark-2); }

/* The one authored moment: the photo unveils from the panel up when the page opens. */
.cpage__img img { animation: cpage-unveil 1.4s var(--ease-out) both; }
@keyframes cpage-unveil { from { clip-path: inset(100% 0 0 0); scale: 1.08; } to { clip-path: inset(0); scale: 1; } }
@keyframes cpage-live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Before you write: questions as a hairline list, like the zones. */
.cpage__faq { border-top: 1px solid var(--border); }
.cpage__faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.cpage__faq-head { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 18px; justify-items: start; }
.cpage__faq-head p { max-width: 24rem; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.cpage__faq-list { border-top: 1px solid var(--border); }
.cpage__q { border-bottom: 1px solid var(--border); }
.cpage__q summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.6vw, 28px) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.01em; color: var(--text); }
.cpage__q summary::-webkit-details-marker { display: none; }
.cpage__q summary:focus-visible { outline: 2px solid var(--sea-600); outline-offset: 4px; border-radius: 4px; }
.cpage__q-mark { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border); color: var(--brand); transition: background-color .4s, color .4s, box-shadow .4s, transform .6s var(--ease-out); }
.cpage__q-mark .icon { width: 18px; height: 18px; }
.cpage__q summary:hover .cpage__q-mark { box-shadow: inset 0 0 0 1px var(--green-800); }
.cpage__q[open] .cpage__q-mark { background: var(--green-800); color: var(--cream-50); box-shadow: none; transform: rotate(45deg); }
.cpage__q::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.cpage__q[open]::details-content { block-size: auto; }
.cpage__a p { max-width: 40rem; padding: 0 64px clamp(22px, 2.6vw, 30px) 0; color: var(--text-2); font-size: var(--fs-body); line-height: 1.6; }

/* Where we are: washed sage, a framed panorama, zones and how to get here. */
.cpage__where { background: var(--bg-soft); }
.cpage__where-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.cpage__where-head p { max-width: 28rem; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.cpage__pano { position: relative; margin: clamp(32px, 5vw, 56px) 0; border-radius: var(--r-card); overflow: hidden; background: var(--sage-100); }
.cpage__pano-img { aspect-ratio: 21 / 8; }
.cpage__pano-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpage__where-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.cpage__zones { border-top: 1px solid var(--border); }
.cpage__zones li { border-bottom: 1px solid var(--border); }
.cpage__zones a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; padding: 22px 0; }
.cpage__zone-name { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; transition: transform .6s var(--ease-out); }
.cpage__zone-line { grid-column: 1; color: var(--text-2); font-size: .9375rem; }
.cpage__zone-go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border); color: var(--brand); transition: background-color .4s, color .4s, box-shadow .4s, transform .6s var(--ease-out); }
.cpage__zone-go .icon { width: 18px; height: 18px; }
.cpage__zones a:hover .cpage__zone-name, .cpage__zones a:focus-visible .cpage__zone-name { transform: translateX(8px); }
.cpage__zones a:hover .cpage__zone-go, .cpage__zones a:focus-visible .cpage__zone-go { background: var(--green-800); color: var(--cream-50); box-shadow: none; transform: rotate(-45deg); }
.cpage__ways { display: grid; }
.cpage__ways > div { padding: 22px 0; border-bottom: 1px solid var(--border); }
.cpage__ways > div:first-child { border-top: 1px solid var(--border); }
.cpage__ways dt { font-family: var(--font-ui); font-weight: 500; font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.cpage__ways dd { margin: 8px 0 0; color: var(--text-2); line-height: 1.55; }

@media (max-width: 1023px) {
  .cpage__top, .cpage__faq-grid, .cpage__where-grid { grid-template-columns: minmax(0, 1fr); }
  .cpage__aside, .cpage__faq-head { position: static; }
  .cpage__quick { display: block; }
  .cpage__pano-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .cpage__a p { padding-right: 0; }
  .cpage__img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .cpage__img img, .cpage__now-label::before { animation: none; }
  .cpage__q::details-content { transition: none; }
}
.vcs-edit-mode .cpage__img img { animation: none; }
