/* Corvex Studio — estilos del tema
 * Paleta: azul noche + blancos y grises fríos + amarillo Corvex (#FFD43B) para acciones y detalles,
 * con un acento cian muy puntual en elementos decorativos.
 */

:root {
	/* Base */
	--cx-night: #0B1220;
	--cx-night-2: #121C30;
	--cx-night-3: #1A2640;
	--cx-ink: #0F172A;
	--cx-slate: #4B5768;
	--cx-slate-2: #64748B;
	--cx-white: #FFFFFF;
	--cx-cloud: #F5F7FA;
	--cx-mist: #EBEFF5;
	--cx-line: #E3E8EF;
	--cx-line-strong: #CBD5E1;

	/* Corporate yellow */
	--cx-yellow: #FFD43B;
	--cx-yellow-2: #FFDE59;
	--cx-yellow-soft: #FFF6CC;
	--cx-yellow-ink: #5C4700;

	/* Accent (decorative only) */
	--cx-cyan: #22D3EE;

	/* On dark */
	--cx-on-dark: #E2E8F0;
	--cx-on-dark-2: #A9B4C4;
	--cx-dark-line: rgba(255, 255, 255, .09);

	/* Logo (unchanged brand colour) */
	--cx-logo-gold: #C9A23F;

	--cx-radius-sm: 10px;
	--cx-radius: 16px;
	--cx-radius-lg: 24px;
	--cx-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .12);
	--cx-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -24px rgba(15, 23, 42, .22);
	--cx-shadow-dark: 0 40px 80px -30px rgba(11, 18, 32, .6);
	--cx-ease: cubic-bezier(.2, .7, .2, 1);
	--cx-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	--cx-grid-light: linear-gradient(rgba(15, 23, 42, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .055) 1px, transparent 1px);
	--cx-grid-dark: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
}

html { scroll-padding-top: 96px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; background: var(--cx-white); color: var(--cx-ink); }
::selection { background: rgba(255, 212, 59, .55); color: var(--cx-night); }
a { text-decoration-color: rgba(255, 212, 59, .9); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wp-site-blocks > * { margin-block-start: 0; }
.cx-main .wp-block-post-content > .alignfull,
.cx-main .wp-block-post-content > * + .alignfull { margin-block-start: 0; }
.cx-main { padding-block: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid rgba(255, 212, 59, .8); outline-offset: 2px; }

/* ------------------------------------------------------------ Logo (unchanged) */

.cx-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--cx-ink); }
.cx-logo__mark { width: 32px; height: auto; flex: none; fill: var(--cx-logo-gold); }
.cx-logo__text { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; font-size: 1.3125rem; letter-spacing: -0.02em; }
.cx-logo__name { font-weight: 800; color: var(--cx-ink); }
.cx-logo__sub { font-weight: 500; color: var(--cx-slate-2); }

/* ------------------------------------------------------------ Header */

.cx-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar .cx-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cx-header { top: 46px; } }

.cx-header__bar { position: relative; border-bottom: 1px solid rgba(226, 232, 240, .8); }
/* Blur lives on a pseudo-element: backdrop-filter on the bar itself would trap the fixed mobile menu inside it. */
.cx-header__bar::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
}
.cx-header__inner { min-height: 74px; gap: 24px; }

/* Core sets the link colour to inherit with a doubled class, so colour comes from the nav itself. */
.cx-nav { font-size: .9375rem; font-weight: 500; gap: 1.75rem; color: #334155; }
.cx-nav .wp-block-navigation-item__content.wp-block-navigation-item__content { text-decoration: none; transition: color .2s ease; }
.cx-nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--cx-night); }
.cx-nav .cx-nav__cta .wp-block-navigation-item__content.wp-block-navigation-item__content {
	background: var(--cx-yellow); color: var(--cx-night); border-radius: var(--cx-radius-sm); padding: .6rem 1.1rem;
	font-weight: 600; box-shadow: 0 8px 20px -10px rgba(230, 180, 0, .8);
	transition: background .2s ease, transform .2s var(--cx-ease), box-shadow .2s ease;
}
.cx-nav .cx-nav__cta .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	background: var(--cx-yellow-2); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(230, 180, 0, .9);
}

.cx-nav .wp-block-navigation__responsive-container-open,
.cx-nav .wp-block-navigation__responsive-container-close { color: var(--cx-ink); }
.cx-header .cx-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--cx-white) !important; color: var(--cx-ink) !important; padding: 24px clamp(16px, 4vw, 32px);
	background-image: var(--cx-grid-light) !important; background-size: 40px 40px !important;
}
.cx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.cx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 1.25rem; }
.cx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.cx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; }
.cx-nav .wp-block-navigation__responsive-container.is-menu-open .cx-nav__cta { margin-top: 1rem; font-size: 1rem; }
.cx-nav .wp-block-navigation__responsive-container.is-menu-open .cx-nav__cta .wp-block-navigation-item__content { padding: .85rem 1.5rem !important; }

/* Tablets: use the collapsed menu up to 960px (core only collapses below 600px). */
@media (min-width: 600px) and (max-width: 960px) {
	.cx-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.cx-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ------------------------------------------------------------ Sections */

.cx-section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.cx-section > * { position: relative; z-index: 1; }

.cx-section--soft { background: var(--cx-cloud); border-block: 1px solid var(--cx-line); }

.cx-section--tint {
	background:
		radial-gradient(45% 70% at 100% 0%, rgba(255, 212, 59, .22), transparent 65%),
		radial-gradient(35% 60% at 0% 100%, rgba(34, 211, 238, .07), transparent 65%),
		var(--cx-cloud);
	border-block: 1px solid var(--cx-line);
}

.cx-section--dark, .cx-section--cta {
	background:
		radial-gradient(50% 60% at 85% 0%, rgba(255, 212, 59, .10), transparent 65%),
		radial-gradient(45% 55% at 0% 100%, rgba(34, 211, 238, .08), transparent 65%),
		linear-gradient(180deg, var(--cx-night-2), var(--cx-night));
	color: var(--cx-on-dark-2);
	overflow: hidden;
}
.cx-section--dark::before, .cx-section--cta::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: var(--cx-grid-dark); background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
}
.cx-section--cta {
	background:
		radial-gradient(40% 70% at 12% 10%, rgba(255, 212, 59, .16), transparent 65%),
		radial-gradient(40% 60% at 100% 100%, rgba(34, 211, 238, .10), transparent 65%),
		linear-gradient(160deg, var(--cx-night-3), var(--cx-night));
}
:is(.cx-section--dark, .cx-section--cta, .cx-panel--dark) :is(h1, h2, h3) { color: var(--cx-white); }
:is(.cx-section--dark, .cx-section--cta) .cx-lead { color: var(--cx-on-dark-2); }
:is(.cx-section--dark, .cx-section--cta) a:not(.wp-block-button__link) { color: var(--cx-yellow); }
:is(.cx-section--dark, .cx-section--cta) .cx-panel:not(.cx-panel--dark) a:not(.wp-block-button__link) { color: var(--cx-ink); }

.cx-wrap > * + * { margin-block-start: 1.25rem; }
.cx-wrap > .cx-intro + * { margin-block-start: 0; }

/* Eyebrow: small tag with a glowing dot */
.cx-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; width: fit-content;
	font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--cx-yellow-ink); background: rgba(255, 212, 59, .16); border: 1px solid rgba(255, 212, 59, .55);
	border-radius: 999px; padding: 6px 14px 6px 12px; margin: 0 0 1.25rem;
}
.cx-eyebrow::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cx-yellow); flex: none;
	box-shadow: 0 0 0 3px rgba(255, 212, 59, .3);
}
:is(.cx-section--dark, .cx-section--cta, .cx-panel--dark) .cx-eyebrow {
	color: var(--cx-yellow); background: rgba(255, 212, 59, .08); border-color: rgba(255, 212, 59, .3);
}

.cx-lead { font-size: var(--wp--preset--font-size--large); color: var(--cx-slate); max-width: 60ch; line-height: 1.6; }
.cx-intro { max-width: 760px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.cx-intro > * { margin-block: 0; }
.cx-intro > * + * { margin-block-start: 1rem; }
.cx-intro h2, .cx-split__text h2 { text-wrap: balance; }
.cx-more { margin-top: 40px !important; font-weight: 600; }
.cx-more a { text-decoration: none; color: var(--cx-ink); border-bottom: 2px solid var(--cx-yellow); padding-bottom: 2px; }
.cx-more a:hover { border-bottom-color: var(--cx-ink); }

/* ------------------------------------------------------------ Hero */

.cx-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(38% 55% at 82% 18%, rgba(255, 212, 59, .20), transparent 70%),
		radial-gradient(32% 45% at 62% 95%, rgba(34, 211, 238, .10), transparent 70%),
		linear-gradient(180deg, var(--cx-white) 0%, var(--cx-cloud) 100%);
	padding-block: clamp(56px, 8vw, 112px) clamp(72px, 9vw, 128px);
	border-bottom: 1px solid var(--cx-line);
}
.cx-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: var(--cx-grid-light); background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 30%, #000 25%, transparent 75%);
	mask-image: radial-gradient(ellipse 75% 70% at 65% 30%, #000 25%, transparent 75%);
}
.cx-hero > * { position: relative; z-index: 1; }
.cx-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.cx-hero__single { max-width: 900px; }
.cx-hero__text > * { margin-block: 0; }
.cx-hero__text > * + * { margin-block-start: 1.5rem; }
.cx-hero__text h1 { text-wrap: balance; }
.cx-hero__text .wp-block-buttons { margin-block-start: 2.25rem; }
.cx-hero__small { font-size: .9375rem; color: var(--cx-slate-2); }
.cx-hero__text, .cx-hero__grid > :last-child { animation: cx-rise .9s var(--cx-ease) both; }
.cx-hero__grid > :last-child { animation-delay: .15s; }

/* Home hero stage: dark panel with node network, chat and floating chips */
.cx-stage {
	position: relative; isolation: isolate; overflow: hidden;
	border-radius: var(--cx-radius-lg); padding: 72px 32px;
	background:
		radial-gradient(60% 50% at 85% 0%, rgba(255, 212, 59, .22), transparent 65%),
		radial-gradient(55% 45% at 0% 100%, rgba(34, 211, 238, .16), transparent 65%),
		linear-gradient(160deg, var(--cx-night-3), var(--cx-night));
	box-shadow: var(--cx-shadow-dark), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.cx-stage::after {
	content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
	background: radial-gradient(30% 30% at 50% 50%, rgba(255, 212, 59, .14), transparent 70%);
	animation: cx-glow 12s ease-in-out infinite alternate;
}
.cx-stage__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cx-net__lines path { fill: none; stroke: rgba(148, 163, 184, .22); stroke-width: 1; }
.cx-net__flow path { fill: none; stroke: var(--cx-yellow); stroke-width: 1.5; stroke-dasharray: 4 16; opacity: .7; animation: cx-flow 7s linear infinite; }
.cx-net__flow path + path { stroke: var(--cx-cyan); opacity: .55; animation-duration: 9s; }
.cx-net__nodes circle { fill: var(--cx-yellow); opacity: .8; }
.cx-net__nodes circle:nth-child(3n) { fill: var(--cx-cyan); opacity: .6; }

.cx-chat {
	position: relative; background: rgba(255, 255, 255, .97); border: 1px solid rgba(255, 255, 255, .6);
	border-radius: var(--cx-radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
	overflow: hidden; max-width: 420px; margin-inline: auto;
}
.cx-chat__head {
	display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: var(--cx-ink);
	border-bottom: 1px solid var(--cx-line); font-weight: 600; font-size: .9375rem;
}
.cx-chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.cx-chat__tag {
	margin-left: auto; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--cx-slate); background: var(--cx-cloud); border: 1px solid var(--cx-line); border-radius: 999px; padding: 3px 9px;
}
.cx-chat__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; background: linear-gradient(var(--cx-white), var(--cx-cloud)); }
.cx-msg { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.45; }
.cx-msg--in { align-self: flex-start; background: var(--cx-mist); color: var(--cx-ink); border-bottom-left-radius: 4px; }
.cx-msg--out { align-self: flex-end; background: var(--cx-night); color: var(--cx-white); border-bottom-right-radius: 4px; }

.cx-chip {
	position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px 8px 8px; border-radius: 999px; font-size: .8125rem; font-weight: 600; white-space: nowrap;
	background: rgba(255, 255, 255, .95); color: var(--cx-ink); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .55);
	animation: cx-float 7s ease-in-out infinite;
}
.cx-chip--a { top: 20px; left: 20px; }
.cx-chip--b {
	bottom: 20px; right: 20px; padding-left: 14px; animation-delay: -3.5s;
	background: rgba(18, 28, 48, .9); color: var(--cx-on-dark); border: 1px solid rgba(255, 255, 255, .12);
}
.cx-chip__icon { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cx-yellow); color: var(--cx-night); }
.cx-chip__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cx-cyan); animation: cx-pulse 2.2s ease-out infinite; }

/* Inner-page hero stage: key items of the page as a live-looking list */
.cx-stage--stack { padding: 48px 36px; }
.cx-stack { position: relative; display: grid; gap: 10px; max-width: 420px; margin-inline: auto; }
.cx-stack__head {
	display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--cx-white);
	font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em;
	animation: cx-rise .7s var(--cx-ease) .1s both;
}
.cx-stack__mark {
	width: 42px; height: 42px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 212, 59, .14); border: 1px solid rgba(255, 212, 59, .35); color: var(--cx-yellow);
}
.cx-stack__mark svg { fill: var(--cx-logo-gold); }
.cx-stack__mark svg[stroke] { fill: none; }
.cx-stack__item {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); color: var(--cx-on-dark);
	font-weight: 600; font-size: .9375rem; line-height: 1.3;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	animation: cx-rise .7s var(--cx-ease) both; animation-delay: calc(var(--i, 0) * 90ms + .25s);
}
.cx-stack__item--active {
	background: rgba(255, 255, 255, .97); color: var(--cx-ink); border-color: transparent;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); transform-origin: left center;
}
.cx-stack__icon {
	width: 34px; height: 34px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 212, 59, .14); color: var(--cx-yellow);
}
.cx-stack__item--active .cx-stack__icon { background: var(--cx-yellow); color: var(--cx-night); }
.cx-stack__num { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.cx-stack__label { flex: 1; min-width: 0; }
.cx-stack__state {
	width: 8px; height: 8px; border-radius: 50%; flex: none; background: #22C55E;
	animation: cx-pulse-green 2.4s ease-out infinite; animation-delay: calc(var(--i, 0) * 400ms);
}
.cx-stack__item:not(.cx-stack__item--active) .cx-stack__state { background: rgba(148, 163, 184, .55); animation: none; }

/* Closing band, light version (used when the section before it is dark) */
.cx-section--cta-light {
	background:
		radial-gradient(40% 70% at 10% 0%, rgba(255, 212, 59, .22), transparent 65%),
		radial-gradient(35% 55% at 100% 100%, rgba(34, 211, 238, .08), transparent 65%),
		var(--cx-cloud);
	border-top: 1px solid var(--cx-line);
}
.cx-section--cta-light::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: var(--cx-grid-light); background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 15% 10%, #000 15%, transparent 70%);
	mask-image: radial-gradient(ellipse 70% 70% at 15% 10%, #000 15%, transparent 70%);
}

/* Contact page: dark band with the form */
.cx-contact { padding-block: clamp(56px, 7vw, 104px); }
:is(.cx-section--dark, .cx-section--cta) .cx-steps--plain li { color: var(--cx-on-dark); }
:is(.cx-section--dark, .cx-section--cta) .cx-steps--plain strong { color: var(--cx-white); }
:is(.cx-section--dark, .cx-section--cta) .cx-steps--plain li::before { background: var(--cx-yellow); color: var(--cx-night); }
:is(.cx-section--dark, .cx-section--cta) .cx-steps--plain li::after { background: rgba(255, 255, 255, .12); }

/* Legal pages: light technical header fading into the text */
.cx-section--legal {
	background:
		radial-gradient(40% 320px at 85% 0%, rgba(255, 212, 59, .16), transparent 70%),
		linear-gradient(180deg, var(--cx-cloud), var(--cx-white) 420px);
}
.cx-section--legal::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; z-index: 0; pointer-events: none;
	background-image: var(--cx-grid-light); background-size: 48px 48px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent);
	mask-image: linear-gradient(180deg, #000, transparent);
}

/* ------------------------------------------------------------ Grids & cards */

.cx-grid { display: grid; gap: 20px; }
.cx-grid > * { margin: 0 !important; }
.cx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cx-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column;
	background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 30px;
	box-shadow: var(--cx-shadow-sm);
	transition: transform .35s var(--cx-ease), box-shadow .35s var(--cx-ease), border-color .35s ease, background .35s ease;
}
.cx-card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--cx-yellow), var(--cx-yellow-2) 60%, rgba(34, 211, 238, .8));
	transform: scaleX(0); transform-origin: left; transition: transform .45s var(--cx-ease);
}
.cx-card:hover { transform: translateY(-4px); box-shadow: var(--cx-shadow); border-color: rgba(255, 212, 59, .55); }
.cx-card:hover::before { transform: scaleX(1); }
.cx-card > * { margin-block: 0; }
.cx-card > * + * { margin-block-start: .75rem; }
.cx-card :is(h2, h3) { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; }
.cx-card p { color: var(--cx-slate); }
.cx-card .cx-check { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--cx-line); }
.cx-card .cx-check li { color: var(--cx-ink); font-size: .975rem; }
.cx-card__link { margin-top: auto !important; padding-top: 1.25rem; }
.cx-card__link a { display: inline-flex; align-items: center; gap: 6px; color: var(--cx-ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.cx-card__link a span { transition: transform .25s var(--cx-ease); }
.cx-card:hover .cx-card__link a span { transform: translateX(4px); }

/* Benefit cards (4 columns on home) get a softer, airier look */
.cx-grid--4 .cx-card { background: linear-gradient(180deg, var(--cx-white), var(--cx-cloud)); }

/* Cards inside dark sections */
.cx-section--dark .cx-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
	border-color: var(--cx-dark-line); box-shadow: none;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cx-section--dark .cx-card:hover {
	border-color: rgba(255, 212, 59, .45); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 212, 59, .12);
}
.cx-section--dark .cx-card p { color: var(--cx-on-dark-2); }
.cx-section--dark .cx-card__link a { color: var(--cx-yellow) !important; }

.cx-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border-radius: 12px; color: var(--cx-night);
	background: linear-gradient(135deg, var(--cx-yellow-soft), #FFEFA6); border: 1px solid rgba(255, 212, 59, .7);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
	transition: transform .35s var(--cx-ease);
}
.cx-card:hover .cx-icon { transform: scale(1.06) rotate(-3deg); }
.cx-section--dark .cx-icon { background: rgba(255, 212, 59, .12); border-color: rgba(255, 212, 59, .35); color: var(--cx-yellow); box-shadow: none; }
.cx-card > .cx-icon + * { margin-block-start: 1.375rem; }

/* ------------------------------------------------------------ Split layouts & panels */

.cx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.cx-split--form { grid-template-columns: .95fr 1.05fr; align-items: start; }
.cx-split > * { margin: 0 !important; }
.cx-split__text > * { margin-block: 0; }
.cx-split__text > * + * { margin-block-start: 1.25rem; }
.cx-split__text .wp-block-buttons { margin-block-start: 2.25rem; }
.cx-split__text .cx-check { margin-block-start: 2rem; }
.cx-split__aside > * { margin-block: 0; }
.cx-split__aside > * + * { margin-block-start: 1rem; }

.cx-panel {
	position: relative; overflow: hidden;
	background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: 20px;
	padding: clamp(26px, 3.2vw, 44px); box-shadow: var(--cx-shadow); color: var(--cx-ink);
}
.cx-panel--dark {
	background:
		radial-gradient(70% 60% at 100% 0%, rgba(255, 212, 59, .16), transparent 60%),
		radial-gradient(60% 60% at 0% 100%, rgba(34, 211, 238, .10), transparent 60%),
		linear-gradient(160deg, var(--cx-night-3), var(--cx-night));
	border-color: rgba(255, 255, 255, .08); color: var(--cx-on-dark); box-shadow: var(--cx-shadow-dark);
}
.cx-panel--dark .cx-check li { color: var(--cx-on-dark); }
.cx-panel--form { padding-top: clamp(30px, 3.4vw, 48px); }
.cx-panel--form::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(90deg, var(--cx-yellow), var(--cx-yellow-2) 55%, var(--cx-cyan));
}
.cx-section--cta .cx-panel, .cx-hero .cx-panel { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); border-color: transparent; }
.cx-hero .cx-panel { box-shadow: var(--cx-shadow); border-color: var(--cx-line); }
.cx-small-title { font-size: var(--wp--preset--font-size--large) !important; margin-top: 2.75rem !important; }

/* ------------------------------------------------------------ Lists */

.cx-check { list-style: none; padding: 0; margin-inline: 0; }
.cx-check li { position: relative; padding-left: 36px; margin: 0; line-height: 1.55; }
.cx-check li + li { margin-top: .9rem; }
.cx-check li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--cx-check) center / 12px no-repeat, var(--cx-yellow);
	box-shadow: 0 4px 10px -4px rgba(230, 180, 0, .7);
}
:is(.cx-section--dark, .cx-section--cta) .cx-check li { color: var(--cx-on-dark); }

.cx-steps:not(.cx-steps--plain) {
	list-style: none; padding: 0; margin-inline: 0; counter-reset: cx-step;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.cx-steps:not(.cx-steps--plain) li {
	position: relative; counter-increment: cx-step; background: var(--cx-white); border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius); padding: 30px; margin: 0; color: var(--cx-slate);
	transition: transform .35s var(--cx-ease), border-color .35s ease, background .35s ease;
}
.cx-steps:not(.cx-steps--plain) li::before {
	content: counter(cx-step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 32px; padding: 0 10px; border-radius: 999px; margin-bottom: 18px;
	font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--cx-night); background: var(--cx-yellow);
}
.cx-steps:not(.cx-steps--plain) li strong { display: block; color: var(--cx-ink); font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.cx-steps:not(.cx-steps--plain) li:hover { transform: translateY(-3px); border-color: rgba(255, 212, 59, .55); }
.cx-section--dark .cx-steps:not(.cx-steps--plain) li {
	background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
	border-color: var(--cx-dark-line); color: var(--cx-on-dark-2);
}
.cx-section--dark .cx-steps:not(.cx-steps--plain) li strong { color: var(--cx-white); }
.cx-section--dark .cx-steps:not(.cx-steps--plain) li::before { background: rgba(255, 212, 59, .12); color: var(--cx-yellow); border: 1px solid rgba(255, 212, 59, .35); }
.cx-wrap > .cx-steps + .wp-block-buttons { margin-block-start: 40px; }

.cx-steps--plain { list-style: none; padding: 0; margin-inline: 0; counter-reset: cx-plain; }
.cx-steps--plain li { counter-increment: cx-plain; position: relative; padding-left: 48px; min-height: 32px; margin: 0; }
.cx-steps--plain li + li { margin-top: 1.1rem; }
.cx-steps--plain li::after {
	content: ""; position: absolute; left: 15px; top: 34px; bottom: -14px; width: 2px; background: var(--cx-line);
}
.cx-steps--plain li:last-child::after { display: none; }
.cx-steps--plain li::before {
	content: counter(cx-plain); position: absolute; left: 0; top: -3px; width: 32px; height: 32px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem;
	background: var(--cx-night); color: var(--cx-yellow);
}

/* ------------------------------------------------------------ FAQ, notes */

.cx-faq { max-width: 880px; display: grid; gap: 12px; }
.cx-faq > * { margin: 0 !important; }
.cx-faq .wp-block-details {
	background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: 14px; padding: 0 24px;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.cx-faq .wp-block-details:hover { border-color: var(--cx-line-strong); }
.cx-faq .wp-block-details[open] { border-color: rgba(255, 212, 59, .7); box-shadow: var(--cx-shadow-sm); }
.cx-faq summary {
	list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
	font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
}
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 1.25rem; font-weight: 500; color: var(--cx-night); background: var(--cx-cloud); transition: transform .25s var(--cx-ease), background .25s ease;
}
.cx-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--cx-yellow); }
.cx-faq details p { margin: 0 0 22px; color: var(--cx-slate); max-width: 70ch; }

.cx-note {
	max-width: 880px; background: var(--cx-cloud); border: 1px solid var(--cx-line); border-left: 4px solid var(--cx-yellow);
	border-radius: 12px; padding: 20px 24px; color: var(--cx-ink); font-size: .975rem;
	margin-top: 2.75rem !important;
}
.cx-section .cx-wrap > .cx-note:first-child { margin-top: 0 !important; }

/* ------------------------------------------------------------ Buttons */

.wp-block-buttons { gap: 12px; }
.wp-block-button__link {
	text-decoration: none !important;
	box-shadow: 0 10px 24px -12px rgba(230, 180, 0, .9);
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--cx-ease), box-shadow .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(230, 180, 0, 1); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: var(--cx-white); color: var(--cx-ink); border: 1px solid var(--cx-line-strong); box-shadow: var(--cx-shadow-sm);
	padding: calc(.9rem - 1px) calc(1.5rem - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--cx-ink); background: var(--cx-white); color: var(--cx-ink); box-shadow: var(--cx-shadow-sm); }
:is(.cx-section--dark, .cx-section--cta) .wp-block-button.is-style-outline > .wp-block-button__link {
	background: rgba(255, 255, 255, .04); color: var(--cx-white); border-color: rgba(255, 255, 255, .22); box-shadow: none;
}
:is(.cx-section--dark, .cx-section--cta) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .45); }

/* ------------------------------------------------------------ Contact form */

.cx-form { display: grid; gap: 18px; color: var(--cx-ink); }
.cx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cx-form__row label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 7px; }
.cx-form__opt { font-weight: 400; color: var(--cx-slate-2); }
.cx-form input[type="text"], .cx-form input[type="tel"], .cx-form select, .cx-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; color: var(--cx-ink);
	background: var(--cx-cloud); border: 1px solid #D7DEE8; border-radius: var(--cx-radius-sm); padding: 12px 14px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cx-form :is(input, select, textarea):hover { border-color: var(--cx-line-strong); }
.cx-form textarea { resize: vertical; min-height: 96px; }
.cx-form :is(input, select, textarea):focus { outline: none; background: var(--cx-white); border-color: #E6B800; box-shadow: 0 0 0 4px rgba(255, 212, 59, .35); }
.cx-form__hint { font-size: .8125rem; color: var(--cx-slate-2); margin: 6px 0 0; }
.cx-form__row--check { display: flex; gap: 10px; align-items: flex-start; }
.cx-form__row--check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cx-night); flex: none; }
.cx-form__row--check label { font-weight: 400; margin: 0; font-size: .9375rem; }
.cx-form__info { font-size: .8125rem; color: var(--cx-slate-2); margin: 0; }
.cx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cx-form .wp-block-button__link { border: 0; cursor: pointer; width: 100%; font-size: 1rem; padding-block: 1rem; }
.cx-form__msg { border-radius: var(--cx-radius-sm); padding: 16px 18px; margin-bottom: 18px; }
.cx-form__msg--ok { background: var(--cx-yellow-soft); color: var(--cx-yellow-ink); border-left: 4px solid var(--cx-yellow); }
.cx-form__msg--error { background: #FDECEC; color: #8A1C1C; border-left: 4px solid #E5484D; }

/* ------------------------------------------------------------ Legal */

.cx-legal { max-width: 760px; }
.cx-legal h2 { font-size: var(--wp--preset--font-size--large); margin-top: 2.25rem; }
.cx-pending { background: var(--cx-yellow-soft); color: var(--cx-yellow-ink); padding: 1px 6px; border-radius: 6px; }

/* ------------------------------------------------------------ Footer */

.cx-footer__bar {
	position: relative; background: var(--cx-cloud); color: var(--cx-slate); padding-block: 80px 32px; font-size: .9375rem;
	border-top: 1px solid var(--cx-line);
}
.cx-footer__bar::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 212, 59, .9) 30%, rgba(34, 211, 238, .6) 70%, transparent);
}
.cx-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.cx-footer__grid > * { margin: 0 !important; }
.cx-footer__brand p { max-width: 40ch; margin-top: 1.25rem; }
.cx-footer__col h3 {
	color: var(--cx-ink); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.25rem;
}
.cx-footer__col ul { list-style: none; padding: 0; margin: 0; }
.cx-footer__col li + li { margin-top: .7rem; }
.cx-footer__bar a:not(.cx-logo) { color: var(--cx-slate); text-decoration: none; transition: color .2s ease; }
.cx-footer__bar a:not(.cx-logo):hover { color: var(--cx-ink); text-decoration: underline; }
.cx-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	border-top: 1px solid var(--cx-line); margin-top: 56px !important; padding-top: 24px; font-size: .8125rem;
}
.cx-footer__legal p { margin: 0; }

/* ------------------------------------------------------------ Floating chat button */

.cx-chat-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cx-chat-button {
	position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(145deg, var(--cx-night-3), var(--cx-night)); color: var(--cx-yellow);
	box-shadow: 0 16px 36px -12px rgba(11, 18, 32, .65), inset 0 0 0 1px rgba(255, 255, 255, .1);
	transition: transform .25s var(--cx-ease), box-shadow .25s ease;
}
.cx-chat-button::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 212, 59, .55);
	animation: cx-ring 3s ease-out infinite; pointer-events: none;
}
.cx-chat-launcher.is-open .cx-chat-button::after { display: none; }
.cx-chat-button:hover { transform: translateY(-2px) scale(1.03); }
.cx-chat-button__close { display: none; }
.cx-chat-launcher.is-open .cx-chat-button__open { display: none; }
.cx-chat-launcher.is-open .cx-chat-button__close { display: block; }

.cx-chat-panel {
	width: min(370px, calc(100vw - 32px)); background: var(--cx-white); border: 1px solid var(--cx-line);
	border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(11, 18, 32, .55);
	animation: cx-pop .3s var(--cx-ease);
}
.cx-chat-panel[hidden] { display: none; }
.cx-chat-panel__head {
	display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px;
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(255, 212, 59, .22), transparent 60%),
		linear-gradient(160deg, var(--cx-night-3), var(--cx-night));
}
.cx-chat-panel__mark { width: 28px; height: auto; fill: var(--cx-logo-gold); flex: none; }
.cx-chat-panel__title { margin: 0; font-weight: 700; font-size: .9375rem; color: var(--cx-white); }
.cx-chat-panel__status { margin: 2px 0 0; font-size: .8125rem; color: var(--cx-on-dark-2); }
.cx-chat-panel__close {
	margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06);
	color: var(--cx-on-dark); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.cx-chat-panel__close:hover { background: rgba(255, 255, 255, .14); color: var(--cx-white); }
.cx-chat-panel__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: linear-gradient(var(--cx-white), var(--cx-cloud)); }
.cx-chat-panel__foot { padding: 16px 20px 20px; background: var(--cx-cloud); }
.cx-chat-panel__foot .wp-block-button__link { display: block; text-align: center; }

/* ------------------------------------------------------------ Scroll reveal (enabled by site.js) */

.cx-js .cx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--cx-ease), transform .7s var(--cx-ease); }
.cx-js .cx-reveal.is-visible { opacity: 1; transform: none; }
.cx-js .cx-card.cx-reveal.is-visible:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------ Keyframes */

@keyframes cx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes cx-flow { to { stroke-dashoffset: -400; } }
@keyframes cx-glow { from { transform: translate(-8%, -6%); opacity: .7; } to { transform: translate(8%, 6%); opacity: 1; } }
@keyframes cx-pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
@keyframes cx-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .55); } 100% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } }
@keyframes cx-ring { 0% { transform: scale(.95); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
@keyframes cx-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.cx-js .cx-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1024px) {
	.cx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.cx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cx-steps:not(.cx-steps--plain) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.cx-hero__grid, .cx-split, .cx-split--form { grid-template-columns: 1fr; }
	.cx-split { align-items: start; }
	.cx-footer__grid { grid-template-columns: 1fr 1fr; }
	.cx-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.cx-grid--2, .cx-grid--3, .cx-grid--4, .cx-steps:not(.cx-steps--plain), .cx-form__grid { grid-template-columns: 1fr; }
	.cx-card, .cx-steps:not(.cx-steps--plain) li { padding: 24px; }
	.cx-stage { padding: 64px 14px; border-radius: 20px; }
	.cx-stage--stack { padding: 28px 16px; }
	.cx-chip { font-size: .75rem; }
	.cx-chip--a { top: 14px; left: 14px; }
	.cx-chip--b { bottom: 14px; right: 14px; }
	.cx-hero .wp-block-buttons, .cx-split__text .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.cx-hero .wp-block-button, .cx-split__text .wp-block-button { width: 100%; }
	.cx-hero .wp-block-button__link, .cx-split__text .wp-block-button__link { width: 100%; }
	.cx-faq .wp-block-details { padding: 0 18px; }
	.cx-footer__grid { grid-template-columns: 1fr; }
	.cx-chat-launcher { right: 16px; bottom: 16px; }
	.cx-chat-button { width: 54px; height: 54px; }
}
