/* ct-cierre — dudas rápidas (acordeón nativo) sobre crema #F4F1EC (el formulario de arriba es blanco y el pie es tinta)
   y banda final en tinta con Marko y WhatsApp. */

/* El pie trae su propia invitación a WhatsApp: aquí sobra, la banda ya la hace. */
body:has(.ct-pag) .pf-cta { display: none; }

.ctr { padding: clamp(64px, 8vw, 120px) max(var(--m), calc((100vw - 1320px) / 2)) clamp(48px, 6vw, 88px); background: #F4F1EC; color: #121011; interpolate-size: allow-keywords; }

/* ── Preguntas ── */
.ctr__faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.ctr__lado { position: sticky; top: 120px; }
.ctr__ceja { margin: 0 0 14px; color: #C8410F; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ctr__lado h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; }
.ctr__lado > p:not(.ctr__ceja) { max-width: 34ch; margin-top: 16px; color: #4A4547; font-size: 17px; line-height: 1.55; }

.ctr__lista { display: grid; gap: 10px; }
.ctr__q { border-radius: 20px; background: #FBF8F4; box-shadow: inset 0 0 0 1px #E6DED3; transition: background-color .35s, box-shadow .35s; }
.ctr__q[open] { background: #fff; box-shadow: inset 0 0 0 1px #E6DED3, 0 18px 36px -28px rgba(18, 16, 17, .4); }
.ctr__q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 14px 16px 14px 24px; border-radius: 20px; cursor: pointer; list-style: none; }
.ctr__q summary::-webkit-details-marker { display: none; }
.ctr__q summary:focus-visible { outline: 3px solid #FF5B23; outline-offset: 2px; }
.ctr__p { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; transition: color .3s; }
.ctr__q summary:hover .ctr__p { color: #C8410F; } /* naranja oscuro: AA sobre crema y blanco */
.ctr__mas { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px #DCD2C5; transition: background-color .35s var(--ease), box-shadow .35s, transform .45s var(--ease); }
.ctr__mas::before, .ctr__mas::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #121011; transition: background-color .3s; }
.ctr__mas::after { transform: rotate(90deg); }
.ctr__q summary:hover .ctr__mas { box-shadow: inset 0 0 0 1.5px #FF5B23; }
.ctr__q[open] .ctr__mas { transform: rotate(135deg); background: #121011; box-shadow: none; }
.ctr__q[open] .ctr__mas::before, .ctr__q[open] .ctr__mas::after { background: #fff; }
.ctr__q::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .45s var(--ease), opacity .35s, content-visibility .45s allow-discrete; }
.ctr__q[open]::details-content { block-size: auto; opacity: 1; }
.ctr__r p { max-width: 60ch; margin: 0; padding: 0 64px 22px 24px; color: #3A383A; font-size: 16.5px; line-height: 1.6; }

/* ── Banda final ── */
.ctr__banda { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: end; gap: 24px; margin-top: clamp(56px, 7vw, 104px); padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 72px) 0; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); background: #201A17; color: #fff; }
.ctr__banda::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(251, 248, 244, .08) 1px, transparent 1.3px); background-size: 20px 20px; }
.ctr__luz { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ctr__luz i { position: absolute; right: -10%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 91, 35, .5), rgba(255, 91, 35, .12) 55%, rgba(32, 26, 23, 0)); }
.ctr__txt { align-self: center; padding-bottom: clamp(36px, 5vw, 64px); }
.ctr__estado { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(251, 248, 244, .07); color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.ctr__estado i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.ct--abierto .ctr__estado i { background: var(--lima); box-shadow: 0 0 10px rgba(210, 251, 140, .8); }
.ct--cerrado .ctr__estado i { background: #FF5B23; }
.ctr__txt h2 { max-width: 14ch; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; color: #fff; }
.ctr__txt > p:not(.ctr__estado) { max-width: 40ch; margin-top: 14px; color: rgba(255, 255, 255, .74); font-size: 17px; }
.ctr__cta { margin-top: 28px; box-shadow: 0 16px 36px -14px rgba(255, 91, 35, .85); }
.ctr__cta:focus-visible { outline: 2px solid var(--lima); outline-offset: 4px; }
.ctr__marko { width: 100%; max-width: 300px; height: auto; margin-bottom: -18%; justify-self: end; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); transform: rotate(-5deg); transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.ctr__banda:hover .ctr__marko { transform: rotate(2deg) translateY(-8px); }

/* ── Tablet ── */
@media (max-width: 900px) {
	.ctr__faq { grid-template-columns: minmax(0, 1fr); }
	.ctr__lado { position: static; }
	.ctr__banda { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
}
/* ── Móvil: banda compacta con Marko asomándose a la derecha ── */
@media (max-width: 600px) {
	.ctr { padding-top: 56px; padding-bottom: 40px; }
	.ctr__lado > p:not(.ctr__ceja) { font-size: 15.5px; }
	.ctr__q summary { min-height: 60px; padding: 10px 10px 10px 18px; }
	.ctr__p { font-size: 16.5px; }
	.ctr__mas { width: 36px; height: 36px; }
	.ctr__r p { padding: 0 18px 18px; font-size: 15.5px; }
	.ctr__banda { grid-template-columns: minmax(0, 1fr); padding: 30px 20px 0; }
	.ctr__txt { padding-bottom: 0; }
	.ctr__txt h2 { max-width: 11ch; }
	.ctr__txt > p:not(.ctr__estado) { max-width: 24ch; font-size: 15.5px; }
	.ctr__cta { width: 100%; margin-top: 22px; }
	.ctr__marko { position: absolute; right: -14px; top: 54px; width: 112px; margin: 0; z-index: -1; }
	.ctr__banda { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.ctr *, .ctr *::before, .ctr *::after { transition: none !important; }
}
