/* mk-cierre — preguntas frecuentes + banda final con Marko (/marketing/).
   El acordeón es <details> nativo; la apertura suave usa ::details-content + interpolate-size donde exista
   (Chrome/Edge 131+). En otros navegadores abre al instante, sin perder nada. */

.mkc {
	padding: clamp(64px, 8vw, 128px) max(var(--m), calc((100vw - 1320px) / 2)) clamp(40px, 5vw, 80px);
	background: #fff;
	color: var(--ink);
	font-family: var(--f);
	interpolate-size: allow-keywords;
}

/* ── FAQ ── */
.mkc__faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.mkc__lado { position: sticky; top: 110px; }
.mkc__ceja { margin-bottom: 16px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mkc__lado h2 { font-size: clamp(32px, 3.8vw, 56px); }
.mkc__lado > p:not(.mkc__ceja) { max-width: 380px; margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.mkc__duda { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 22px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); }
.mkc__duda svg { transition: transform .25s var(--ease); }
.mkc__duda:hover svg { transform: translateX(4px); }

.mkc__lista { border-top: 1px solid var(--surface-2); }
.mkc__q { border-bottom: 1px solid var(--surface-2); }
.mkc__q summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 76px; padding: 18px 4px; cursor: pointer; list-style: none; border-radius: 12px; }
.mkc__q summary::-webkit-details-marker { display: none; }
.mkc__q summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mkc__n { color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; transition: color .3s; }
.mkc__p { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; transition: color .3s; }
.mkc__q summary:hover .mkc__p { color: #C8410F; } /* naranja oscuro: 4.9:1 sobre blanco (AA) */
.mkc__q[open] .mkc__n { color: var(--accent); }
/* Botón «+» que gira a «×» y se llena de naranja */
.mkc__mas { position: relative; flex: none; width: 40px; height: 40px; border: 1px solid var(--surface-2); border-radius: 50%; transition: background-color .35s var(--ease), border-color .35s, transform .45s var(--ease); }
.mkc__mas::before, .mkc__mas::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: background-color .3s; }
.mkc__mas::after { transform: rotate(90deg); }
.mkc__q summary:hover .mkc__mas { border-color: var(--accent); }
.mkc__q[open] .mkc__mas { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); }
.mkc__q[open] .mkc__mas::before, .mkc__q[open] .mkc__mas::after { background: #fff; }

.mkc__q::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .45s var(--ease), opacity .35s, content-visibility .45s allow-discrete; }
.mkc__q[open]::details-content { block-size: auto; opacity: 1; }
.mkc__r p { max-width: 640px; padding: 0 56px 26px 4px; margin-left: calc(18px + 2ch); color: var(--ink-2); font-size: 17px; line-height: 1.65; }

/* ── Banda final ── */
@property --mkc-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.mkc__banda {
	--mx: 70%; --my: 30%;
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	align-items: end;
	gap: 24px;
	margin-top: clamp(64px, 8vw, 120px);
	padding: clamp(36px, 5vw, 72px) clamp(22px, 5vw, 72px) 0;
	border-radius: clamp(24px, 3vw, 40px);
	background: var(--noche);
	color: #fff;
}
/* Borde de luz que gira alrededor */
.mkc__banda::before { content: ''; position: absolute; inset: -1.5px; z-index: -2; border-radius: inherit; background: conic-gradient(from var(--mkc-ang), transparent 0 55%, rgba(255, 91, 35, .9) 70%, var(--lima) 78%, transparent 88%); animation: mkc-gira 7s linear infinite; }
.mkc__banda::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 60%), var(--noche); }
@keyframes mkc-gira { to { --mkc-ang: 360deg; } }
/* Brillo ambiental bajo la banda */
.mkc__banda { box-shadow: 0 50px 100px -50px rgba(255, 91, 35, .7); }

/* Aurora animada dentro de la banda */
.mkc__luz { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.mkc__luz i { position: absolute; border-radius: 50%; filter: blur(60px); }
.mkc__luz i:nth-child(1) { right: 4%; bottom: -40%; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(255, 91, 35, .75), transparent); animation: mkc-flota 12s ease-in-out infinite alternate; }
.mkc__luz i:nth-child(2) { left: -10%; top: -50%; width: 480px; height: 480px; background: radial-gradient(closest-side, rgba(255, 91, 35, .35), transparent); animation: mkc-flota 15s ease-in-out infinite alternate-reverse; }
.mkc__luz i:nth-child(3) { right: 30%; top: -30%; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(210, 251, 140, .22), transparent); animation: mkc-flota 18s ease-in-out infinite alternate; }
@keyframes mkc-flota { to { transform: translate(-14%, 10%) scale(1.15); } }

.mkc__txt { position: relative; z-index: 1; align-self: center; padding-bottom: clamp(36px, 5vw, 72px); }
.mkc__banda h2 { max-width: 14ch; color: #fff; font-size: clamp(36px, 5.4vw, 80px); }
.mkc__txt > p { max-width: 480px; margin-top: 18px; color: rgba(255, 255, 255, .72); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.mkc__cta { margin-top: 30px; }
.mkc__contacto { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.mkc__contacto li { display: inline-flex; align-items: center; gap: 22px; }
.mkc__contacto li + li::before { content: ''; width: 4px; height: 4px; margin-left: -12px; margin-right: -10px; border-radius: 50%; background: var(--accent); }
.mkc__contacto a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: border-color .2s, color .2s; }
.mkc__contacto a:hover { color: var(--lima); border-color: var(--lima); }
.mkc__contacto a:focus-visible { outline-color: var(--lima); }
@media (pointer: coarse) { .mkc__contacto a { position: relative; } .mkc__contacto a::after { content: ''; position: absolute; inset: -6px 0; } } /* área táctil de 44px sin mover el subrayado */

.mkc__marko { position: relative; z-index: 1; width: 100%; max-width: 340px; height: auto; margin-top: -90px; justify-self: end; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); transform-origin: 50% 100%; animation: mkc-saluda 5s ease-in-out infinite; }
@keyframes mkc-saluda { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }

/* ── Responsive ── */
@media (max-width: 900px) {
	.mkc__faq { grid-template-columns: minmax(0, 1fr); }
	.mkc__lado { position: static; }
	.mkc__banda { grid-template-columns: minmax(0, 1fr); }
	.mkc__txt { padding-bottom: 0; }
	.mkc__marko { max-width: 240px; margin: 0 auto; justify-self: center; }
}
@media (max-width: 520px) {
	.mkc__q summary { gap: 12px; padding: 16px 0; }
	.mkc__mas { width: 36px; height: 36px; }
	.mkc__r p { margin-left: 0; padding: 0 0 22px; font-size: 16px; }
	.mkc__cta { width: 100%; }
	.mkc__contacto { flex-direction: column; gap: 4px; }
	.mkc__contacto li + li::before { display: none; }
	.mkc__marko { max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	.mkc__banda::before, .mkc__luz i, .mkc__marko { animation: none; }
	.mkc__q::details-content, .mkc__mas { transition: none; }
}

/* fuera de pantalla no se anima nada */
.mkc.is-pausa *, .mkc.is-pausa *::before, .mkc.is-pausa *::after, .mkc.is-pausa::before, .mkc.is-pausa::after { animation-play-state: paused !important; }

/* el cierre de Marketing es el suyo: sin repetir el del pie */
body:has(.mk-pag) .pf-cta { display: none; }

/* ── Celular y tablet: FAQ más compacto y Marko pequeño en la esquina inferior de la banda (no apilado) ── */
@media (max-width: 900px) {
	.mkc { padding-top: 56px; padding-bottom: 32px; }
	.mkc__faq { gap: 24px; }
	.mkc__lado > p:not(.mkc__ceja) { margin-top: 12px; }
	.mkc__duda { margin-top: 12px; }
	.mkc__q summary { min-height: 60px; padding-block: 12px; }
	.mkc__banda { margin-top: 48px; padding-bottom: 0; overflow: visible; }
	.mkc__txt { padding-bottom: 32px; }
	.mkc__contacto { padding-right: clamp(112px, 30vw, 190px); }
	.mkc__marko { position: absolute; right: 6px; bottom: 0; width: clamp(112px, 30vw, 190px); max-width: none; margin: 0; }
}
