/* Bellavista Conectados: anthracite like the film, paper type, the open square
   around the film. Outfit everywhere (shared typography). */
.cx { --cx-paper: var(--brand-paper, #f4f1eb); --cx-ink: var(--brand-anthracite, #232323); --cx-soft: rgba(244, 241, 235, .68);
      --cx-line: rgba(244, 241, 235, .5);
      display: grid; align-items: center; min-height: calc(100svh - 0px); box-sizing: border-box;
      padding: 128px 40px 96px; background: var(--cx-ink); color: var(--cx-paper); }
.cx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; width: 100%; max-width: 1180px; margin: 0 auto; }

/* The film, small, inside the open square */
.cx-film { justify-self: center; width: min(100%, 520px); margin: 0; }
.cx-film__frame { position: relative; isolation: isolate; aspect-ratio: 16 / 9; }
.cx-film__frame::after {
    content: ''; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; pointer-events: none;
    border: 1px solid var(--cx-line); border-right: 0;
    background: linear-gradient(var(--cx-line), var(--cx-line)) 100% 0 / 1px 30% no-repeat,
                linear-gradient(var(--cx-line), var(--cx-line)) 100% 100% / 1px 30% no-repeat;
}
.cx-film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1a1a1a; }
.cx-film__play { position: absolute; inset: 0; border: 0; background: none; cursor: pointer; }
.cx-film__sound { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
    border: 1px solid rgba(244, 241, 235, .55); border-radius: 50%; background: rgba(28, 28, 27, .45); color: var(--cx-paper); cursor: pointer;
    transition: background .25s, border-color .25s; }
.cx-film__sound:hover { background: rgba(28, 28, 27, .75); border-color: var(--cx-paper); }
.cx-film__sound svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cx-film__sound svg path:first-child { fill: currentColor; stroke: none; }
.cx-film__on, .cx-film__sound[aria-pressed="true"] .cx-film__off { display: none; }
.cx-film__sound[aria-pressed="true"] .cx-film__on { display: block; }
.cx-film__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; color: var(--cx-soft); font-size: 12px; letter-spacing: .04em; }
.cx-film__expand { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--cx-line); background: none;
    color: var(--cx-paper); font: inherit; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.cx-film__expand svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cx-film__expand:hover { border-color: var(--cx-paper); }

/* The words */
.cx-copy__eyebrow { margin: 0 0 16px; color: var(--cx-soft); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.cx-copy h1 { margin: 0 0 22px; color: var(--cx-paper); font-size: clamp(44px, 5.4vw, 76px); font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.cx-copy__lead { max-width: 460px; margin: 0 0 34px; color: var(--cx-soft); font-size: 17px; font-weight: 300; line-height: 1.65; }
.cx-list { display: grid; gap: 0; max-width: 460px; margin: 0 0 36px; padding: 0; list-style: none; border-top: 1px solid rgba(244, 241, 235, .22); }
.cx-list li { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(244, 241, 235, .12); }
.cx-list__mark { width: 16px; height: 16px; margin-top: 2px; box-sizing: border-box; border: 1px solid var(--cx-line); border-right: 0;
    background: linear-gradient(var(--cx-line), var(--cx-line)) 100% 0 / 1px 30% no-repeat, linear-gradient(var(--cx-line), var(--cx-line)) 100% 100% / 1px 30% no-repeat; }
.cx-list__n { margin-top: 2px; color: var(--cx-soft); font-size: 11px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.cx-list b { display: block; color: var(--cx-paper); font-size: 16px; font-weight: 400; }
.cx-list li span:last-child { display: block; margin-top: 3px; color: var(--cx-soft); font-size: 14px; line-height: 1.5; }
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 30px; box-sizing: border-box;
    border: 1px solid var(--cx-paper); background: var(--cx-paper); color: var(--cx-ink) !important; font-size: 11.5px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s; }
.cx-btn svg { width: 18px; height: 18px; fill: currentColor; }
.cx-btn:hover { background: transparent; color: var(--cx-paper) !important; }
.cx-btn.is-soon { border-color: var(--cx-line); background: transparent; color: var(--cx-soft) !important; cursor: default; letter-spacing: .14em; }

/* Full size, with sound */
.cx-modal { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 56px 24px 24px; background: rgba(16, 16, 15, .96); }
.cx-modal[hidden] { display: none; }
.cx-modal__video { display: block; width: min(100%, calc((100svh - 100px) * 16 / 9)); max-height: calc(100svh - 100px); background: #000; }
.cx-modal.is-tall .cx-modal__video { width: auto; height: calc(100svh - 100px); max-width: 100%; }
.cx-modal__close { position: absolute; top: 10px; right: 16px; padding: 10px 14px; border: 0; background: none; color: var(--brand-paper, #f4f1eb);
    font: inherit; font-size: 30px; font-weight: 200; line-height: 1; cursor: pointer; opacity: .8; }
.cx-modal__close:hover { opacity: 1; }
html.cx-modal-open { overflow: hidden; }

@media (max-width: 900px) {
    .cx { min-height: 0; padding: 104px 20px 72px; }
    .cx__grid { grid-template-columns: 1fr; gap: 48px; }
    .cx-film { width: calc(100% - 16px); justify-self: start; }
    .cx-film__frame::after { inset: 12px -12px -12px 12px; }
    .cx-film__bar { margin-top: 24px; }
    .cx-copy h1 { font-size: 46px; }
    .cx-copy__lead { font-size: 16px; }
    .cx-btn { width: 100%; }
}
