/*
 * CEO Logistics Business Night — estilos personalizados
 * Business Nights Latam
 *
 * Este archivo se carga en el sitio y también dentro del editor de bloques.
 * Los colores, tipografías y espaciados base viven en theme.json; aquí solo
 * está lo que theme.json no puede expresar (composición, tarjetas, responsive).
 *
 * Índice
 *  1. Variables y colores
 *  2. Configuración global
 *  3. Tipografía
 *  4. Header
 *  5. Hero
 *  6. Presentación del evento
 *  7. Ejes estratégicos
 *  8. Networking (valor entre pares)
 *  9. Sectores participantes
 * 10. Inversión (y 10.1 Sponsors)
 * 11. Ubicación
 * 12. CTA final
 * 13. Footer
 * 14. Responsive
 * 15. Accesibilidad
 */

/* ==========================================================================
   1. Variables y colores
   ========================================================================== */
:root {
	--ceo-ink: var(--wp--preset--color--ink, #061219);
	--ceo-turquoise: var(--wp--preset--color--turquoise, #1cc5bc);
	--ceo-petrol: var(--wp--preset--color--petrol, #0b4e4a);
	--ceo-white: var(--wp--preset--color--white, #ffffff);
	--ceo-mist: var(--wp--preset--color--mist, #f2f5f5);
	--ceo-slate: var(--wp--preset--color--slate, #a7b6ba);
	--ceo-abyss: var(--wp--preset--color--abyss, #03090d);

	--ceo-line: rgba(167, 182, 186, 0.2);
	--ceo-line-strong: rgba(28, 197, 188, 0.4);
	--ceo-text-light: #2a3f46; /* texto sobre fondos claros (contraste > 10:1 sobre #f2f5f5) */
	--ceo-text-soft: rgba(255, 255, 255, 0.82);

	--ceo-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--ceo-section-y: clamp(4.5rem, 9vw, 8rem);
	--ceo-radius: 1.25rem;
	--ceo-header-h: 4.75rem;
	/* Margen izquierdo que alinea elementos estrechos con el contenedor centrado de WordPress */
	--ceo-offset: max(0px, calc((100% - var(--wp--style--global--content-size, 1200px)) / 2));
}

/* ==========================================================================
   2. Configuración global
   ========================================================================== */
html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body .wp-site-blocks {
	overflow-x: clip;
}

body .wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

body .wp-site-blocks .ceo-main > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ceo-main img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Ancla: evita que la cabecera fija tape el título de cada sección */
.ceo-main [id] {
	scroll-margin-top: var(--ceo-header-h);
}

/* Secciones */
.ceo-section {
	padding: var(--ceo-section-y) var(--ceo-gutter);
	position: relative;
}

.ceo-section.ceo-section {
	margin-block: 0;
}

/* Botones (variantes del tema; la base está en theme.json) */
.ceo-btn-primary .wp-block-button__link {
	background-color: var(--ceo-turquoise);
	color: var(--ceo-abyss);
	box-shadow: 0 12px 32px -12px rgba(28, 197, 188, 0.75);
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ceo-btn-primary .wp-block-button__link:hover,
.ceo-btn-primary .wp-block-button__link:focus-visible {
	background-color: var(--ceo-white);
	color: var(--ceo-abyss);
	transform: translateY(-2px);
	box-shadow: 0 16px 38px -12px rgba(255, 255, 255, 0.45);
}

.ceo-btn-large .wp-block-button__link {
	font-size: 0.9375rem;
	padding: 1.25rem 2.75rem;
}

.ceo-btn-small .wp-block-button__link {
	font-size: 0.75rem;
	padding: 0.8rem 1.4rem;
	box-shadow: none;
}

.ceo-btn-block,
.ceo-btn-block .wp-block-button__link {
	width: 100%;
	text-align: center;
}

.ceo-btn-ghost .wp-block-button__link {
	background-color: transparent;
	color: var(--ceo-white);
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	padding: calc(1.05rem - 1.5px) calc(2.1rem - 1.5px);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ceo-btn-ghost .wp-block-button__link:hover,
.ceo-btn-ghost .wp-block-button__link:focus-visible {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: var(--ceo-turquoise);
	color: var(--ceo-white);
}

/* ==========================================================================
   3. Tipografía
   ========================================================================== */
.ceo-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 1.5rem;
	color: var(--ceo-turquoise);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ceo-eyebrow::before {
	content: "";
	flex: none;
	width: 2.5rem;
	height: 2px;
	background: var(--ceo-turquoise);
}

.ceo-eyebrow--center {
	justify-content: center;
}

.ceo-section__title {
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	font-weight: 800;
	line-height: 1.08;
	max-width: 24ch;
	text-wrap: balance;
}

/* Títulos alineados a la izquierda dentro del layout centrado de WordPress */
.ceo-section .ceo-section__title:not(.has-text-align-center) {
	margin-inline: var(--ceo-offset) auto !important;
}

.ceo-section .ceo-section__title.has-text-align-center {
	max-width: 26ch;
}

.ceo-muted {
	color: var(--ceo-slate);
}

.ceo-meta-label {
	margin: 0;
	color: var(--ceo-turquoise);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.ceo-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	isolation: isolate;
	background: rgba(3, 9, 13, 0.86);
	border-bottom: 1px solid var(--ceo-line);
}

/* El desenfoque va en un pseudo-elemento: un backdrop-filter en la propia cabecera
   atraparía el menú móvil (position: fixed) dentro de su caja. */
.ceo-site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
}

.admin-bar .ceo-site-header {
	top: 32px;
}

.ceo-header {
	box-sizing: border-box;
	width: 100%;
	max-width: 1320px;
	min-height: var(--ceo-header-h);
	margin-inline: auto;
	padding: 0.7rem var(--ceo-gutter);
	gap: 1.5rem;
	align-items: center;
}

.ceo-header__brand {
	flex: none;
	align-items: center;
	gap: 1rem;
}

.ceo-header__logo {
	margin: 0;
	width: 3.4rem;
}

.ceo-header__logo a {
	display: block;
	line-height: 0;
}

.ceo-header__logo img {
	width: 100%;
	height: auto;
	aspect-ratio: 580 / 305;
}

.ceo-header__event {
	margin: 0;
	padding-left: 1rem;
	border-left: 1px solid var(--ceo-line-strong);
	color: var(--ceo-white);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.5;
	text-transform: uppercase;
}

.ceo-header__nav {
	flex: 1 1 auto;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ceo-header__nav .wp-block-navigation__container {
	flex-wrap: nowrap;
	gap: 1.5rem;
}

.ceo-header__nav .wp-block-navigation-item__content {
	position: relative;
	white-space: nowrap;
	padding: 0.4rem 0;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ceo-header__nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--ceo-turquoise);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.ceo-header__nav .wp-block-navigation-item__content:hover,
.ceo-header__nav .wp-block-navigation-item__content:focus-visible {
	color: var(--ceo-turquoise);
}

.ceo-header__nav .wp-block-navigation-item__content:hover::after,
.ceo-header__nav .wp-block-navigation-item__content:focus-visible::after {
	transform: scaleX(1);
}

.ceo-header__cta {
	flex: none;
	margin: 0;
}

/* Menú móvil (overlay) */
.ceo-header__nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 2rem var(--ceo-gutter);
}

.ceo-header__nav .is-menu-open .wp-block-navigation__container {
	gap: 1.5rem;
	align-items: flex-start;
}

.ceo-header__nav .is-menu-open .wp-block-navigation-item__content {
	font-size: 1.25rem;
	font-weight: 700;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.ceo-hero.wp-block-cover {
	min-height: clamp(34rem, 92vh, 60rem);
	min-height: clamp(34rem, 92svh, 60rem);
	padding: 5rem var(--ceo-gutter) 4.5rem;
	align-items: center;
	background-color: var(--ceo-abyss);
}

.ceo-hero .wp-block-cover__background {
	background-image: linear-gradient(180deg, rgba(3, 9, 13, 0.6) 0%, rgba(3, 9, 13, 0) 38%, rgba(6, 18, 25, 0.95) 100%);
}

.ceo-hero .wp-block-cover__image-background {
	object-position: 50% 70%;
}

.ceo-hero__content {
	max-width: 62rem;
	margin-inline: auto;
	text-align: center;
}

.ceo-hero__presents {
	margin: 0 0 1.75rem;
	color: var(--ceo-slate);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.ceo-hero__logo {
	width: min(46rem, 92%);
	margin: 0 auto 1.75rem;
}

.ceo-hero__logo img {
	width: 100%;
	height: auto;
	aspect-ratio: 1400 / 467;
}

.ceo-hero__subtitle {
	max-width: 44ch;
	margin: 0 auto;
	font-size: clamp(1.15rem, 2.3vw, 1.65rem);
	font-weight: 500;
	line-height: 1.4;
	text-wrap: balance;
}

.ceo-hero__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 2.5rem;
	margin-bottom: 0;
	border-block: 1px solid var(--ceo-line);
	padding-block: 1.1rem;
}

.ceo-hero__meta-item {
	margin: 0;
	padding: 0.15rem 2rem;
	text-align: left;
}

.ceo-hero__meta-item + .ceo-hero__meta-item {
	border-left: 1px solid var(--ceo-line);
}

.ceo-meta-value {
	margin: 0.15rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.ceo-hero__cta {
	margin-top: 2.5rem;
	gap: 1rem;
}

/* ==========================================================================
   6. Presentación del evento
   ========================================================================== */
.ceo-about {
	background-image:
		radial-gradient(60rem 28rem at 100% 0%, rgba(28, 197, 188, 0.1), transparent 70%),
		radial-gradient(40rem 24rem at 0% 100%, rgba(11, 78, 74, 0.35), transparent 70%);
}

.ceo-about__intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem 4rem;
	margin-top: 2.25rem;
	font-size: 1.0625rem;
}

.ceo-about__intro > * {
	margin: 0 !important;
}

.ceo-not-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 4rem;
}

.ceo-not-grid > * {
	margin: 0 !important;
}

.ceo-not-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 3rem;
	min-height: 13rem;
	padding: 2rem;
	border: 1px solid var(--ceo-line);
	border-radius: var(--ceo-radius);
	background: rgba(255, 255, 255, 0.025);
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.ceo-not-card:hover {
	border-color: var(--ceo-line-strong);
	background: rgba(28, 197, 188, 0.05);
}

.ceo-not-card__n {
	margin: 0;
	color: var(--ceo-turquoise);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.ceo-not-card__title {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
}

.ceo-not-card__title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 2px;
	margin-top: 1.25rem;
	background: var(--ceo-turquoise);
}

.ceo-statement {
	margin-top: 4.5rem;
	padding-block: 3.5rem;
	border-block: 1px solid var(--ceo-line-strong);
	text-align: center;
}

.ceo-statement__text {
	margin: 0;
	font-size: clamp(1.5rem, 4.2vw, 3.4rem);
	font-weight: 900;
	letter-spacing: 0.01em;
	line-height: 1.15;
	text-transform: uppercase;
	text-wrap: balance;
}

.ceo-statement__accent {
	color: var(--ceo-turquoise);
}

/* ==========================================================================
   6.1 Tema del encuentro
   ========================================================================== */
.ceo-topic {
	background-image: radial-gradient(44rem 22rem at 50% 0%, rgba(28, 197, 188, 0.16), transparent 70%);
	text-align: center;
}

.ceo-topic__body > * {
	margin-inline: auto !important;
}

.ceo-topic__body .ceo-eyebrow {
	max-width: none;
}

.ceo-section .ceo-topic__title.ceo-topic__title {
	max-width: 22ch;
	text-wrap: balance;
}

.ceo-topic__text {
	max-width: 56ch;
	margin-top: 2rem !important;
	padding-top: 2rem;
	border-top: 1px solid var(--ceo-line-strong);
	color: var(--ceo-text-soft);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	line-height: 1.7;
}

/* ==========================================================================
   7. Ejes estratégicos
   ========================================================================== */
.ceo-why__head {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 2rem 4rem;
	align-items: end;
	margin-bottom: 4rem;
}

.ceo-why__head > *,
.ceo-why__intro > * {
	margin: 0 !important;
}

.ceo-why__intro {
	display: grid;
	gap: 1rem;
}

.ceo-axis-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	counter-reset: ceo-axis;
}

.ceo-axis-grid > * {
	margin: 0 !important;
}

.ceo-axis {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	border: 1px solid rgba(28, 197, 188, 0.22);
	border-radius: var(--ceo-radius);
	background: linear-gradient(155deg, rgba(11, 78, 74, 0.9) 0%, rgba(11, 78, 74, 0.38) 65%, rgba(6, 18, 25, 0.5) 100%);
	counter-increment: ceo-axis;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.ceo-axis::after {
	content: counter(ceo-axis, decimal-leading-zero);
	position: absolute;
	top: 1.75rem;
	right: 1.75rem;
	color: var(--ceo-slate);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.ceo-axis:hover {
	transform: translateY(-4px);
	border-color: rgba(28, 197, 188, 0.6);
}

.ceo-axis__icon {
	margin: 0;
	width: 2.75rem;
}

.ceo-axis__icon img {
	width: 2.75rem;
	height: 2.75rem;
}

.ceo-axis__title {
	margin: 1.75rem 0 0.9rem;
	font-size: 0.98rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ceo-axis__text {
	margin: 0;
	color: var(--ceo-text-soft);
	font-size: 0.97rem;
	line-height: 1.65;
}

/* ==========================================================================
   8. Networking (valor entre pares) — sección clara de contraste
   ========================================================================== */
.ceo-section--light {
	color: var(--ceo-ink);
}

.ceo-section--light p,
.ceo-section--light li {
	color: var(--ceo-text-light);
}

.ceo-section--light h2,
.ceo-section--light h3 {
	color: var(--ceo-ink);
}

.ceo-section--light .ceo-eyebrow {
	color: var(--ceo-petrol);
}

.ceo-section--light .ceo-eyebrow::before {
	background: var(--ceo-petrol);
}

.ceo-section--light a {
	color: var(--ceo-petrol);
}

.ceo-peers__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 4rem 5rem;
	align-items: center;
}

.ceo-peers__grid > * {
	margin: 0 !important;
}

.ceo-peers__media {
	position: relative;
}

.ceo-peers__media::before {
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	border: 2px solid var(--ceo-turquoise);
	border-radius: 1.5rem;
}

.ceo-peers__image {
	position: relative;
	margin: 0;
}

.ceo-peers__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 1.5rem;
	box-shadow: 0 30px 70px -30px rgba(3, 9, 13, 0.7);
}

.ceo-peers__body > * + * {
	margin-top: 1.25rem;
}

.ceo-peers__body .ceo-section__title {
	margin-bottom: 1.75rem;
}

.ceo-benefits {
	display: grid;
	gap: 1.5rem;
	margin-top: 2.25rem !important;
}

.ceo-benefits > * {
	margin: 0 !important;
}

.ceo-benefit {
	padding-left: 1.4rem;
	border-left: 3px solid var(--ceo-turquoise);
}

.ceo-benefit__title {
	margin: 0 0 0.4rem;
	color: var(--ceo-petrol);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ceo-section--light h3.ceo-benefit__title {
	color: var(--ceo-petrol);
}

.ceo-benefit__text {
	margin: 0;
	font-size: 1rem;
}

/* ==========================================================================
   9. Sectores participantes
   ========================================================================== */
.ceo-network {
	background-image:
		linear-gradient(rgba(167, 182, 186, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(167, 182, 186, 0.05) 1px, transparent 1px),
		radial-gradient(48rem 24rem at 50% 0%, rgba(28, 197, 188, 0.12), transparent 70%);
	background-size: 4rem 4rem, 4rem 4rem, auto;
}

.ceo-network__head > * {
	margin-inline: auto !important;
}

.ceo-network__head .ceo-eyebrow {
	max-width: none;
}

.ceo-network__lead {
	max-width: 52ch;
	margin-top: 1.5rem !important;
	color: var(--ceo-text-soft);
	font-size: 1.125rem;
}

.ceo-chain {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	width: 100%;
	max-width: 75rem;
	margin: 5rem auto 0 !important;
	padding: 0;
	list-style: none;
}

.ceo-chain li {
	position: relative;
	padding: 2.75rem 0.5rem 0;
	color: var(--ceo-white);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
}

/* Nodo */
.ceo-chain li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 1.1rem;
	height: 1.1rem;
	margin-left: -0.55rem;
	border: 2px solid var(--ceo-turquoise);
	border-radius: 50%;
	background: var(--ceo-ink);
	box-shadow: 0 0 0 6px rgba(28, 197, 188, 0.14), 0 0 22px rgba(28, 197, 188, 0.55);
	z-index: 1;
}

/* Conector hacia el siguiente nodo */
.ceo-chain li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: calc(0.55rem - 1px);
	left: 50%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--ceo-turquoise), rgba(28, 197, 188, 0.35));
}

.ceo-network__closing {
	max-width: 46ch;
	margin: 4.5rem auto 0 !important;
	padding-top: 2rem;
	border-top: 1px solid var(--ceo-line);
	color: var(--ceo-slate);
	font-size: 1.1rem;
	text-wrap: balance;
}

/* ==========================================================================
   10. Inversión
   ========================================================================== */
.ceo-pricing {
	background-image: radial-gradient(46rem 30rem at 50% 62%, rgba(28, 197, 188, 0.16), transparent 70%);
}

.ceo-pricing__head > * {
	margin-inline: auto !important;
}

.ceo-pricing__lead {
	max-width: 48ch;
	margin-top: 1.5rem !important;
	color: var(--ceo-text-soft);
	font-size: 1.125rem;
}

.ceo-price-card {
	position: relative;
	max-width: 36rem;
	margin: 3rem auto 0 !important;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border: 1px solid var(--ceo-line-strong);
	border-radius: 1.75rem;
	background: linear-gradient(160deg, #0b4e4a 0%, #08353a 48%, #061219 100%);
	box-shadow: var(--wp--preset--shadow--glow, 0 24px 70px -20px rgba(28, 197, 188, 0.35));
	text-align: center;
	overflow: hidden;
}

.ceo-price-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--ceo-turquoise), transparent);
}

.ceo-price-card > * {
	margin-block: 0 !important;
}

.ceo-price-card__tag {
	display: inline-block;
	padding: 0.7rem 1.7rem;
	border-radius: 999px;
	background: var(--ceo-turquoise);
	color: var(--ceo-abyss);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.2;
}

.ceo-price-card__label {
	margin-top: 1.5rem !important;
	color: var(--ceo-text-soft);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.ceo-price-card__amount {
	margin-top: 0.5rem !important;
	color: var(--ceo-white);
	font-size: clamp(3.5rem, 11vw, 5.25rem);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1;
	text-shadow: 0 0 60px rgba(28, 197, 188, 0.45);
}

.ceo-price-card__note {
	margin-top: 0.5rem !important;
	color: var(--ceo-text-soft);
	font-size: 0.95rem;
}

.ceo-price-card__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.75rem !important;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ceo-price-card__facts > * {
	margin: 0 !important;
}

.ceo-price-card__fact-value {
	margin: 0.3rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.ceo-price-card__regular {
	color: var(--ceo-text-soft);
	font-weight: 600;
	text-decoration: line-through;
	text-decoration-color: rgba(255, 255, 255, 0.5);
}

.ceo-price-card__cta {
	margin-top: 1.75rem !important;
}

.ceo-price-card__cta .wp-block-button {
	width: 100%;
}

.ceo-price-card__secondary {
	margin-top: 1.25rem !important;
	color: var(--ceo-text-soft);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ==========================================================================
   10.1 Sponsors (franja clara entre "Sectores" e "Inversión")
   ========================================================================== */
.ceo-section.ceo-sponsors {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	text-align: center;
}

.ceo-sponsors > * {
	margin-inline: auto !important;
}

.ceo-section .ceo-sponsors__title.ceo-sponsors__title {
	max-width: 24ch;
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

.ceo-section--light p.ceo-sponsors__tier {
	display: inline-block;
	margin-top: 1.75rem !important;
	margin-bottom: 0 !important;
	padding: 0.55rem 1.4rem;
	border: 1.5px solid var(--ceo-petrol);
	border-radius: 999px;
	color: var(--ceo-petrol);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ceo-sponsors__logo {
	width: min(100%, 15rem);
	margin-top: 1.25rem !important;
	margin-bottom: 0 !important;
}

/* El logo silver es horizontal (Mobil | Lubtec): más ancho que el cuadrado del bronze */
.ceo-sponsors__logo.ceo-sponsors__logo--silver {
	width: min(100%, 30rem);
}

/* Segundo nivel de sponsor: más aire respecto al anterior */
.ceo-section--light .ceo-sponsors__logo + p.ceo-sponsors__tier {
	margin-top: 3rem !important;
}

.ceo-sponsors__logo a {
	display: block;
	border-radius: 1rem;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.ceo-sponsors__logo a:hover,
.ceo-sponsors__logo a:focus-visible {
	transform: translateY(-3px) scale(1.03);
}

.ceo-sponsors__logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   11. Ubicación
   ========================================================================== */
.ceo-location__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4rem 5rem;
	align-items: center;
}

.ceo-location__grid > * {
	margin: 0 !important;
}

.ceo-location__body .ceo-section__title {
	margin-bottom: 2rem;
}

.ceo-details {
	margin: 0 0 2.5rem !important;
	border-top: 1px solid var(--ceo-line);
}

.ceo-detail {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	margin: 0 !important;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--ceo-line);
}

.ceo-detail__value {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	text-align: right;
}

.ceo-location__image {
	margin: 0;
}

.ceo-location__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 1.5rem;
	border: 1px solid var(--ceo-line);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   11.1 Contacto (formulario)
   ========================================================================== */
.ceo-contact {
	background-image: radial-gradient(40rem 26rem at 85% 40%, rgba(28, 197, 188, 0.12), transparent 70%);
}

.ceo-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 3.5rem 5rem;
	align-items: center;
}

.ceo-contact__grid > * {
	margin: 0 !important;
}

.ceo-contact__lead {
	max-width: 42ch;
	margin-top: 1.5rem !important;
	color: var(--ceo-text-soft);
	font-size: 1.125rem;
}

.ceo-contact__panel {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--ceo-line-strong);
	border-radius: 1.5rem;
	background: linear-gradient(160deg, rgba(11, 78, 74, 0.55) 0%, rgba(6, 18, 25, 0.9) 100%);
	box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.85);
}

.ceo-contact__panel > * {
	margin: 0 !important;
}

.ceo-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.ceo-form__field {
	margin: 0;
}

/* Defensa: si WordPress formatea el formulario (wpautop), se ocultan los saltos y párrafos vacíos que añade */
.ceo-form br,
.ceo-form p:empty,
.ceo-form__grid > p:empty {
	display: none;
}

.ceo-form__field--full {
	grid-column: 1 / -1;
}

.ceo-form label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--ceo-turquoise);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ceo-form input[type="text"],
.ceo-form input[type="email"],
.ceo-form input[type="tel"],
.ceo-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.9rem 1.05rem;
	border: 1px solid var(--ceo-line);
	border-radius: 0.9rem;
	background: rgba(255, 255, 255, 0.04);
	color: var(--ceo-white);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ceo-form textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.ceo-form input:hover,
.ceo-form textarea:hover {
	border-color: var(--ceo-line-strong);
}

.ceo-form input:focus-visible,
.ceo-form textarea:focus-visible {
	border-color: var(--ceo-turquoise);
	background: rgba(255, 255, 255, 0.07);
	outline: 2px solid var(--ceo-turquoise);
	outline-offset: 2px;
}

/* Evita el fondo claro que aplica el navegador al autocompletar */
.ceo-form input:-webkit-autofill {
	-webkit-text-fill-color: var(--ceo-white);
	box-shadow: 0 0 0 100px #0a2229 inset;
	caret-color: var(--ceo-white);
}

.ceo-form__submit {
	display: block;
	width: 100%;
	margin-top: 1.75rem;
	padding: 1.15rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--ceo-turquoise);
	color: var(--ceo-abyss);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 30px -12px rgba(28, 197, 188, 0.7);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ceo-form__submit:hover,
.ceo-form__submit:focus-visible {
	background: var(--ceo-white);
	transform: translateY(-1px);
}

.ceo-form__submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.ceo-form__hint {
	margin: 1rem 0 0;
	color: var(--ceo-slate);
	font-size: 0.8rem;
	text-align: center;
}

/* ==========================================================================
   11.2 Últimos encuentros (videos)
   ========================================================================== */
.ceo-videos {
	background-image: radial-gradient(46rem 22rem at 50% 100%, rgba(28, 197, 188, 0.1), transparent 70%);
}

.ceo-videos__head > * {
	margin-inline: auto !important;
}

.ceo-videos__head .ceo-eyebrow {
	max-width: none;
}

.ceo-videos__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem 2rem;
	margin-top: 3.5rem !important;
}

.ceo-videos__grid > * {
	margin: 0 !important;
}

.ceo-video__thumb {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ceo-line);
	border-radius: 1.25rem;
	background: var(--ceo-ink);
	box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9);
	aspect-ratio: 16 / 9;
}

.ceo-video__thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

.ceo-video__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

/* Velo oscuro y botón de reproducción propio */
.ceo-video__thumb a {
	position: relative;
}

.ceo-video__thumb a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(3, 9, 13, 0.1) 0%, rgba(3, 9, 13, 0.55) 100%);
	transition: background-color 0.3s ease;
}

.ceo-video__thumb a::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4.5rem;
	height: 4.5rem;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(3, 9, 13, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Cpath fill='%23fff' d='M29 22.5v27a1.5 1.5 0 0 0 2.3 1.3l21-13.5a1.5 1.5 0 0 0 0-2.6l-21-13.5a1.5 1.5 0 0 0-2.3 1.3z'/%3E%3C/svg%3E") center / 100% no-repeat;
	box-shadow: inset 0 0 0 2px var(--ceo-white);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ceo-video__thumb a:hover img,
.ceo-video__thumb a:focus-visible img {
	transform: scale(1.04);
}

.ceo-video__thumb a:hover::after,
.ceo-video__thumb a:focus-visible::after {
	transform: translate(-50%, -50%) scale(1.08);
	background-color: rgba(28, 197, 188, 0.55);
	box-shadow: inset 0 0 0 2px var(--ceo-white), 0 0 40px rgba(28, 197, 188, 0.6);
}

.ceo-video__title {
	margin: 1.1rem 0 0 !important;
	color: var(--ceo-white);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

/* Ventana emergente (pop up) del video: la crea assets/js/videos.js */
html.ceo-modal-open {
	overflow: hidden;
}

.ceo-modal {
	/* El ancho se limita también por la altura de la pantalla para que el video 16:9 siempre quepa */
	width: min(92vw, 68rem, calc((100vh - 9rem) * 16 / 9));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ceo-white);
	overflow: visible;
}

.ceo-modal::backdrop {
	background: rgba(3, 9, 13, 0.88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.ceo-modal[open] {
	animation: ceo-modal-in 0.25s ease;
}

@keyframes ceo-modal-in {
	from {
		opacity: 0;
		transform: translateY(1rem) scale(0.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ceo-modal__inner {
	position: relative;
}

.ceo-modal__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid var(--ceo-line-strong);
	border-radius: 1.25rem;
	background: #000;
	box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(28, 197, 188, 0.18);
}

.ceo-modal__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.ceo-modal__title {
	margin: 1.1rem 0 0;
	color: var(--ceo-white);
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
}

.ceo-modal__close {
	position: absolute;
	top: -3.4rem;
	right: 0;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	padding: 0;
	border: 2px solid var(--ceo-white);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--ceo-white);
	font: inherit;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ceo-modal__close:hover,
.ceo-modal__close:focus-visible {
	border-color: var(--ceo-turquoise);
	background: var(--ceo-turquoise);
	color: var(--ceo-abyss);
}

/* ==========================================================================
   12. CTA final
   ========================================================================== */
.ceo-final.wp-block-cover {
	min-height: clamp(30rem, 70vh, 40rem);
	padding: var(--ceo-section-y) var(--ceo-gutter);
	align-items: center;
	background-color: var(--ceo-abyss);
}

.ceo-final .wp-block-cover__background {
	background-image: radial-gradient(60rem 26rem at 50% 50%, rgba(3, 9, 13, 0.4), rgba(3, 9, 13, 0.85));
}

.ceo-final__content {
	max-width: 56rem;
	margin-inline: auto;
	text-align: center;
}

.ceo-final__title {
	max-width: 24ch;
	margin-inline: auto !important;
	font-size: clamp(2rem, 4.8vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
	text-wrap: balance;
}

.ceo-final__title::before {
	content: "";
	display: block;
	width: 4rem;
	height: 3px;
	margin: 0 auto 2rem;
	background: var(--ceo-turquoise);
}

.ceo-final__text {
	max-width: 52ch;
	margin-inline: auto !important;
	color: var(--ceo-text-soft);
	font-size: 1.125rem;
}

.ceo-final__cta {
	margin-top: 2.5rem;
}

.ceo-final__small {
	margin-top: 2rem;
	color: var(--ceo-slate);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.ceo-footer {
	padding: 4.5rem var(--ceo-gutter) 2rem;
	border-top: 1px solid var(--ceo-line);
}

.ceo-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 3rem;
}

.ceo-footer__grid > * {
	margin: 0 !important;
}

.ceo-footer__logo {
	width: 5.5rem;
	margin: 0 0 1.5rem;
}

.ceo-footer__logo img {
	width: 100%;
	height: auto;
	aspect-ratio: 580 / 305;
}

.ceo-footer__event {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ceo-footer__where,
.ceo-footer__contact {
	margin: 0;
	color: var(--ceo-slate);
	font-size: 0.95rem;
}

.ceo-footer__heading {
	margin: 0 0 1.25rem;
	color: var(--ceo-turquoise);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.ceo-footer__links {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ceo-footer__links a {
	color: var(--ceo-white);
	font-size: 0.95rem;
	text-decoration: none;
}

.ceo-footer__links a:hover,
.ceo-footer__links a:focus-visible {
	color: var(--ceo-turquoise);
	text-decoration: underline;
}

.ceo-footer__social {
	margin-top: 1.5rem;
	gap: 0.9rem;
}

.ceo-footer__social:not(:has(li)) {
	display: none;
}

/* Iconos monocromos: se anulan los colores de marca de cada red (TikTok negro no se vería sobre fondo oscuro) */
.ceo-footer__social.ceo-footer__social .wp-social-link,
.ceo-footer__social.ceo-footer__social .wp-social-link a {
	color: var(--ceo-turquoise);
}

.ceo-footer__social.ceo-footer__social .wp-social-link svg {
	fill: currentColor;
}

.ceo-footer__social.ceo-footer__social .wp-social-link:hover,
.ceo-footer__social.ceo-footer__social .wp-social-link:hover a,
.ceo-footer__social.ceo-footer__social .wp-social-link a:focus-visible {
	color: var(--ceo-white);
}

.ceo-footer .wp-block-separator.ceo-footer__rule {
	width: 100%;
	max-width: var(--wp--style--global--content-size, 1200px);
	margin: 3rem auto 1.5rem;
	border-color: var(--ceo-line);
	opacity: 1;
}

.ceo-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
}

.ceo-footer__copy {
	margin: 0;
	color: var(--ceo-slate);
	font-size: 0.8125rem;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

/* Navegación compacta (hamburguesa) hasta 1299px: debajo de ese ancho los enlaces + el botón no caben en una fila */
@media (max-width: 1299px) {
	.ceo-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.ceo-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.ceo-header__nav.ceo-header__nav {
		justify-content: flex-end;
	}

	.ceo-header {
		gap: 1rem;
	}
}

@media (max-width: 1023px) {

	.ceo-axis-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ceo-why__head,
	.ceo-about__intro {
		grid-template-columns: 1fr;
	}

	.ceo-peers__grid,
	.ceo-location__grid,
	.ceo-contact__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.ceo-peers__media {
		max-width: 32rem;
		margin-inline: auto !important;
		width: calc(100% - 1.25rem);
	}

	.ceo-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ceo-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.ceo-videos__grid {
		grid-template-columns: 1fr;
		max-width: 34rem;
		margin-inline: auto !important;
	}

	.admin-bar .ceo-site-header {
		top: 46px;
	}

	.ceo-not-grid {
		grid-template-columns: 1fr;
	}

	.ceo-not-card {
		min-height: 0;
		gap: 2rem;
	}

	.ceo-hero__meta {
		flex-direction: column;
		align-items: center;
		padding-block: 0.5rem;
	}

	.ceo-hero__meta-item {
		padding: 0.85rem 0;
		text-align: center;
		width: 100%;
	}

	.ceo-hero__meta-item + .ceo-hero__meta-item {
		border-left: 0;
		border-top: 1px solid var(--ceo-line);
	}

	/* Cadena de sectores en vertical */
	.ceo-chain {
		grid-template-columns: 1fr;
		margin-top: 3rem !important;
		max-width: 22rem;
		margin-inline: auto !important;
	}

	.ceo-chain li {
		padding: 0 0 1.75rem 2.75rem;
		text-align: left;
	}

	.ceo-chain li::before {
		top: 0.05rem;
		left: 0;
		margin-left: 0;
	}

	.ceo-chain li:not(:last-child)::after {
		top: 1.2rem;
		left: calc(0.55rem - 1px);
		width: 2px;
		height: calc(100% - 0.75rem);
		background: linear-gradient(180deg, var(--ceo-turquoise), rgba(28, 197, 188, 0.35));
	}

	.ceo-chain li:last-child {
		padding-bottom: 0;
	}
}

@media (max-width: 600px) {
	.admin-bar .ceo-site-header {
		top: 0;
	}

	:root {
		--ceo-header-h: 4.25rem;
	}

	.ceo-header__event {
		display: none;
	}

	.ceo-header__logo {
		width: 3rem;
	}

	.ceo-hero.wp-block-cover {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.ceo-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.ceo-hero__cta .wp-block-button,
	.ceo-hero__cta .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.ceo-btn-large .wp-block-button__link {
		padding: 1.15rem 1.5rem;
	}

	.ceo-axis-grid {
		grid-template-columns: 1fr;
	}

	.ceo-price-card__facts {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ceo-form__grid {
		grid-template-columns: 1fr;
	}

	.ceo-detail {
		flex-direction: column;
	}

	.ceo-detail__value {
		text-align: left;
	}

	.ceo-final__cta .wp-block-button,
	.ceo-final__cta .wp-block-button__link,
	.ceo-location__cta .wp-block-button,
	.ceo-location__cta .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.ceo-footer__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.ceo-footer__legal {
		flex-direction: column;
	}
}

@media (max-width: 380px) {
	.ceo-header__cta .wp-block-button__link {
		padding: 0.7rem 0.9rem;
		font-size: 0.68rem;
	}
}

/* ==========================================================================
   15. Accesibilidad
   ========================================================================== */
.ceo-skip-link {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	margin: 0;
	transform: translateY(-120%);
}

.ceo-skip-link a {
	display: block;
	padding: 0.85rem 1.25rem;
	background: var(--ceo-turquoise);
	color: var(--ceo-abyss);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.ceo-skip-link:focus-within {
	transform: translateY(0);
}

/* Texto solo para lectores de pantalla (se muestra dentro del editor para poder editarlo) */
body:not(.editor-styles-wrapper) .ceo-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px !important;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.editor-styles-wrapper .ceo-visually-hidden {
	margin: 0 auto 1rem;
	padding: 0.5rem 0.75rem;
	border: 1px dashed var(--ceo-slate);
	color: var(--ceo-slate);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-align: center;
}

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible,
.wp-block-navigation-item__content:focus-visible,
.wp-block-navigation__responsive-container-open:focus-visible,
.wp-block-navigation__responsive-container-close:focus-visible {
	outline: 3px solid var(--ceo-turquoise);
	outline-offset: 3px;
	border-radius: 4px;
}

.ceo-section--light a:focus-visible {
	outline-color: var(--ceo-petrol);
}

.ceo-btn-primary .wp-block-button__link:focus-visible {
	outline-color: var(--ceo-white);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.ceo-axis:hover,
	.ceo-btn-primary .wp-block-button__link:hover {
		transform: none;
	}
}

/* Editor: la cabecera no debe quedarse pegada mientras se edita */
.editor-styles-wrapper .ceo-site-header {
	position: relative;
}




