:root {
	--cc-cream: #f5e6d3;
	--cc-cream-dark: #e8d4bc;
	--cc-teal: #004b49;
	--cc-teal-soft: #0a6b68;
	--cc-orange: #ff8c00;
	--cc-orange-deep: #e67a00;
	--cc-magenta: #d12d82;
	--cc-stone: #a68b77;
	--cc-ink: #14201f;
	--cc-white: #fff;
	--cc-shadow: 0 18px 50px rgba(0, 75, 73, 0.14);
	--cc-shadow-soft: 0 8px 24px rgba(0, 75, 73, 0.08);
	--cc-radius: 18px;
	--cc-radius-sm: 12px;
	--cc-max: 1180px;
	--cc-header-h: 78px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(circle at 0% 0%, rgba(255, 140, 0, 0.09), transparent 32%),
		radial-gradient(circle at 100% 12%, rgba(0, 75, 73, 0.08), transparent 28%),
		linear-gradient(180deg, var(--cc-cream) 0%, #f8efe4 45%, #f3e8d8 100%);
	color: var(--cc-ink);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(0, 75, 73, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 75, 73, 0.03) 1px, transparent 1px);
	background-size: 28px 28px;
	z-index: -1;
}

.wp-site-blocks {
	overflow-x: clip;
}

main.wp-block-group {
	padding-bottom: 4rem;
}

/* ── Header ── */

.cc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(16px);
	background: rgba(245, 230, 211, 0.9) !important;
	border-bottom: 1px solid rgba(0, 75, 73, 0.14) !important;
	box-shadow: 0 12px 34px rgba(0, 75, 73, 0.08);
}

.cc-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--cc-orange), var(--cc-magenta), var(--cc-teal), var(--cc-orange));
	background-size: 200% 100%;
	animation: cc-header-glow 8s linear infinite;
}

@keyframes cc-header-glow {
	0% {
		background-position: 0% 50%;
	}

	100% {
		background-position: 200% 50%;
	}
}

.cc-header__bar {
	position: relative;
	z-index: 1;
	max-width: var(--cc-max);
	min-height: var(--cc-header-h);
	gap: 1rem;
}

.cc-header-brand {
	gap: 0.85rem;
}

.cc-header-identity {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.cc-header-logo img {
	filter: drop-shadow(0 8px 18px rgba(0, 75, 73, 0.18));
	transition: transform 0.35s ease;
}

.cc-header-logo a:hover img {
	transform: scale(1.05) rotate(-3deg);
}

.cc-header .wp-block-site-title {
	margin: 0;
	line-height: 1;
}

.cc-header .wp-block-site-title a {
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.65rem !important;
	letter-spacing: 0.14em;
	color: var(--cc-orange) !important;
	text-shadow: 2px 2px 0 var(--cc-teal);
	text-decoration: none;
	transition: color 0.25s ease, text-shadow 0.25s ease;
}

.cc-header .wp-block-site-title a:hover {
	color: var(--cc-teal) !important;
	text-shadow: 2px 2px 0 var(--cc-orange);
}

.cc-header-eyebrow {
	margin: 0;
	font-family: "Oswald", sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(0, 75, 73, 0.72);
}

.cc-header-nav {
	flex: 1;
	justify-content: flex-end;
}

.cc-header .wp-block-navigation__container {
	gap: 0.15rem;
	align-items: center;
}

.cc-header .wp-block-navigation-item__content {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.72rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: "Oswald", sans-serif;
	font-size: 0.76rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	text-decoration: none;
	color: var(--cc-teal) !important;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cc-header .wp-block-navigation-item__content::after {
	display: none;
}

.cc-header .wp-block-navigation-item__content:hover,
.cc-header .wp-block-navigation-item__content:focus {
	background: rgba(255, 140, 0, 0.14);
	border-color: rgba(255, 140, 0, 0.4);
	color: var(--cc-teal) !important;
	transform: translateY(-1px);
}

.cc-header .current-menu-item > .wp-block-navigation-item__content,
.cc-header .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	background: var(--cc-teal);
	border-color: var(--cc-teal);
	color: var(--cc-white) !important;
	box-shadow: 0 8px 20px rgba(0, 75, 73, 0.22);
}

.cc-header-cta {
	margin: 0;
}

.cc-header-cta .wp-block-button__link {
	padding: 0.55rem 1.15rem !important;
	font-size: 0.78rem !important;
	letter-spacing: 0.1em;
	background: linear-gradient(135deg, var(--cc-orange), #ff9e2c) !important;
	box-shadow: 0 8px 22px rgba(255, 140, 0, 0.35);
}

.cc-header-cta .wp-block-button__link:hover {
	background: var(--cc-teal) !important;
	box-shadow: 0 10px 24px rgba(0, 75, 73, 0.28);
}

.cc-header .wp-block-navigation__responsive-container-open {
	color: var(--cc-teal);
}

.cc-header .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(245, 230, 211, 0.97);
	backdrop-filter: blur(12px);
	padding: 1.25rem;
}

.cc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: inline-flex;
	width: 100%;
	justify-content: center;
	margin-bottom: 0.35rem;
}

/* ── Hero ── */

.cc-hero {
	position: relative;
	padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem) !important;
	overflow: hidden;
}

.cc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 78% 22%, rgba(255, 140, 0, 0.16), transparent 34%),
		radial-gradient(circle at 12% 80%, rgba(0, 75, 73, 0.12), transparent 30%);
	pointer-events: none;
}

.cc-hero__inner {
	position: relative;
	z-index: 1;
	display: grid !important;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	max-width: var(--cc-max);
	margin-inline: auto;
}

.cc-hero__inner > .wp-block-column:first-child {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.cc-brand-title {
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(3.4rem, 11vw, 6.5rem);
	letter-spacing: 0.1em;
	color: var(--cc-orange);
	text-shadow: 4px 4px 0 var(--cc-teal);
	line-height: 0.9;
	margin: 0;
}

.cc-brand-script {
	font-family: "Sacramento", cursive;
	font-size: clamp(2rem, 5vw, 3.2rem);
	color: var(--cc-teal);
	margin: -0.15em 0 0.75rem 0.35em;
}

.cc-slogan {
	font-family: "Oswald", sans-serif;
	font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
	font-weight: 600;
	color: var(--cc-teal);
	letter-spacing: 0.03em;
	margin: 0 0 0.65rem;
	padding-left: 1rem;
	border-left: 4px solid var(--cc-orange);
}

.cc-subtitle {
	font-size: clamp(1.02rem, 2.2vw, 1.18rem);
	color: rgba(20, 32, 31, 0.82);
	max-width: 38ch;
	line-height: 1.65;
	margin: 0 0 1.75rem;
}

.cc-hero .wp-block-buttons {
	gap: 0.85rem;
}

.cc-hero .wp-block-button__link {
	border-radius: 999px;
	padding: 0.85rem 1.5rem;
	box-shadow: var(--cc-shadow-soft);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cc-hero .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: var(--cc-shadow);
}

.cc-hero .wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.55);
	border: 2px solid var(--cc-teal);
	color: var(--cc-teal);
}

.cc-hero__inner > .wp-block-column:last-child figure {
	position: relative;
	margin: 0;
	padding: 1.25rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(0, 75, 73, 0.12);
	border-radius: calc(var(--cc-radius) + 6px);
	box-shadow: var(--cc-shadow);
}

.cc-hero__inner > .wp-block-column:last-child figure::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 2px solid rgba(255, 140, 0, 0.35);
	border-radius: var(--cc-radius);
	pointer-events: none;
}

.cc-hero__inner > .wp-block-column:last-child img {
	border-radius: var(--cc-radius);
	display: block;
	width: 100%;
	height: auto;
}

/* ── Sections ── */

.alignwide,
.alignfull .alignwide {
	max-width: var(--cc-max);
}

.cc-section-title {
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.4rem, 6vw, 4rem);
	letter-spacing: 0.08em;
	color: var(--cc-teal);
	margin: 0 0 0.15rem;
	line-height: 0.95;
}

.cc-section-kicker {
	font-family: "Sacramento", cursive;
	font-size: clamp(1.45rem, 3vw, 2rem);
	color: var(--cc-orange);
	margin: 0 0 1.75rem;
}

.cc-section-title + .cc-section-kicker {
	margin-top: -0.15rem;
}

/* Icono poster (manual de marca) */
.cc-icono-section {
	margin-top: 3.5rem;
	margin-inline: auto !important;
	width: 100%;
	max-width: var(--cc-max);
	text-align: center;
}

.cc-icono-section .cc-icono,
.cc-icono-section section.cc-icono {
	width: 100%;
}

.cc-icono-poster {
	width: min(100%, 760px);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cc-icono-poster__frame-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 2rem;
}

.cc-icono-poster__frame {
	position: relative;
	margin: 0;
	padding: 0.7rem;
	background: var(--cc-orange);
	border-radius: 4px;
	width: min(100%, 560px);
	isolation: isolate;
}

.cc-icono-poster__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--cc-teal);
	border-radius: 4px;
	z-index: -1;
	transform: translate(12px, 12px);
}

.cc-icono-poster__frame img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: contrast(1.05) saturate(0.92);
}

.cc-icono-poster__intro {
	margin-bottom: 2rem;
	width: 100%;
	max-width: 640px;
	text-align: center;
}

.cc-icono-poster__eyebrow {
	margin: 0 auto 0.5rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cc-teal);
	text-align: center;
}

.cc-icono-poster__title {
	margin: 0 auto;
	width: fit-content;
	max-width: 100%;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.2rem, 5.5vw, 3.6rem);
	line-height: 0.95;
	letter-spacing: 0.06em;
	color: var(--cc-orange);
	text-shadow: 3px 3px 0 rgba(0, 75, 73, 0.18);
	text-align: center !important;
}

.cc-icono-poster__traits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	text-align: left;
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
}

.cc-icono-poster__trait {
	padding: 1rem 0 1rem 1rem;
	border-left: 3px solid var(--cc-orange);
	background: linear-gradient(90deg, rgba(255, 140, 0, 0.08), transparent 72%);
	border-radius: 0 var(--cc-radius-sm) var(--cc-radius-sm) 0;
}

.cc-icono-poster__trait strong {
	display: block;
	font-family: "Oswald", sans-serif;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--cc-orange);
	margin-bottom: 0.3rem;
}

.cc-icono-poster__trait p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.5;
	color: rgba(20, 32, 31, 0.8);
}

/* Explora routes */
.cc-explora-section {
	margin-top: 0 !important;
	padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem);
	background:
		linear-gradient(135deg, var(--cc-teal) 0%, #003836 55%, #002f2d 100%);
}

.cc-explora-shell {
	max-width: var(--cc-max);
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--cc-cream);
	border-radius: calc(var(--cc-radius) + 6px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.cc-explora-shell__header {
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 2px solid rgba(0, 75, 73, 0.12);
}

.cc-explora-shell__eyebrow {
	margin: 0 0 0.35rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.74rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cc-orange);
}

.cc-explora-shell__header h2 {
	margin: 0 0 0.4rem;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2rem, 4.5vw, 3rem);
	letter-spacing: 0.07em;
	color: var(--cc-teal);
}

.cc-explora-shell__header p {
	margin: 0;
	color: rgba(20, 32, 31, 0.72);
	max-width: 42ch;
}

.cc-explora-routes {
	display: grid;
	gap: 0.85rem;
}

.cc-route {
	display: grid;
	grid-template-columns: 58px 92px 1fr 42px;
	gap: 1.1rem;
	align-items: center;
	padding: 1.1rem 1.25rem;
	border: 1px solid rgba(0, 75, 73, 0.12);
	border-radius: var(--cc-radius-sm);
	background: var(--cc-white);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--cc-shadow-soft);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cc-route:hover {
	transform: translateX(6px);
	box-shadow: var(--cc-shadow);
	border-color: rgba(255, 140, 0, 0.45);
}

.cc-route--prime {
	background: linear-gradient(90deg, rgba(255, 140, 0, 0.14), rgba(255, 255, 255, 1) 48%);
	border-left: 4px solid var(--cc-orange);
}

.cc-route__num {
	font-family: "Bebas Neue", sans-serif;
	font-size: 2rem;
	line-height: 1;
	color: var(--cc-orange);
	text-align: center;
}

.cc-route__thumb {
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--cc-teal);
	box-shadow: 0 6px 18px rgba(0, 75, 73, 0.2);
	flex-shrink: 0;
}

.cc-route__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.cc-route:hover .cc-route__thumb img {
	transform: scale(1.08);
}

.cc-route__copy strong {
	display: block;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	letter-spacing: 0.05em;
	line-height: 1;
	color: var(--cc-teal);
	margin-bottom: 0.35rem;
}

.cc-route__copy span {
	display: block;
	font-size: 0.94rem;
	line-height: 1.45;
	color: rgba(20, 32, 31, 0.78);
}

.cc-route__arrow {
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.8rem;
	color: var(--cc-orange);
	text-align: center;
	transition: transform 0.25s ease, color 0.25s ease;
}

.cc-route:hover .cc-route__arrow {
	transform: translateX(4px);
	color: var(--cc-teal);
}

/* Legacy icon list (other pages) */
.cc-icon-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.cc-icon-list div {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.65));
	border: 1px solid rgba(0, 75, 73, 0.12);
	border-radius: var(--cc-radius-sm);
	padding: 1.15rem 1.2rem;
	box-shadow: var(--cc-shadow-soft);
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.cc-icon-list div:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 140, 0, 0.45);
}

.cc-icon-list strong {
	display: block;
	font-family: "Oswald", sans-serif;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--cc-orange);
	margin-bottom: 0.4rem;
}

/* Featured image in sections */
main .wp-block-image.size-large img {
	border-radius: var(--cc-radius);
	box-shadow: var(--cc-shadow);
}

/* ── Cards ── */

.cc-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.cc-card-grid > .wp-block-column {
	display: flex;
}

.cc-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--cc-white);
	border: 1px solid rgba(0, 75, 73, 0.1);
	border-radius: var(--cc-radius);
	overflow: hidden;
	box-shadow: var(--cc-shadow-soft);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--cc-shadow);
}

.cc-card figure {
	overflow: hidden;
	margin: 0;
	position: relative;
}

.cc-card figure::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 45%;
	background: linear-gradient(to top, rgba(0, 75, 73, 0.55), transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cc-card:hover figure::after {
	opacity: 1;
}

.cc-card img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.cc-card:hover img {
	transform: scale(1.06);
}

.cc-card__body {
	padding: 1.35rem 1.4rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.cc-card__body h3 {
	font-family: "Oswald", sans-serif;
	font-size: 1.2rem;
	margin: 0 0 0.55rem;
	color: var(--cc-teal);
	line-height: 1.25;
}

.cc-card__body p {
	margin: 0 0 0.65rem;
	color: rgba(20, 32, 31, 0.82);
}

.cc-card__body p:last-child a {
	font-family: "Oswald", sans-serif;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: var(--cc-orange);
}

.cc-card__body p:last-child a:hover {
	color: var(--cc-teal);
}

/* ── Orgullo ── */

.page-slug-orgullo main > .wp-block-group.alignwide > .wp-block-image.size-large {
	margin: 1.5rem 0 2rem;
}

.cc-orgullo-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
	margin: 2rem 0;
}

.cc-orgullo-gallery > div {
	position: relative;
	overflow: hidden;
	border-radius: var(--cc-radius-sm);
	box-shadow: var(--cc-shadow-soft);
}

.cc-orgullo-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease, filter 0.35s ease;
}

.cc-orgullo-gallery > div:hover img {
	transform: scale(1.05);
	filter: saturate(1.08);
}

.cc-orgullo-gallery .item-a {
	grid-column: span 7;
	min-height: 340px;
}

.cc-orgullo-gallery .item-b {
	grid-column: span 5;
	min-height: 340px;
}

.cc-orgullo-gallery .item-c,
.cc-orgullo-gallery .item-d,
.cc-orgullo-gallery .item-e {
	grid-column: span 4;
	min-height: 250px;
}

.cc-quote {
	position: relative;
	padding: 1.35rem 1.5rem 1.35rem 1.75rem;
	margin: 0 0 1rem;
	background: linear-gradient(120deg, var(--cc-teal) 0%, #0a5e5b 100%);
	color: var(--cc-white);
	border: none;
	border-radius: var(--cc-radius-sm);
	font-family: "Oswald", sans-serif;
	font-size: clamp(1.05rem, 2.5vw, 1.35rem);
	line-height: 1.35;
	box-shadow: var(--cc-shadow-soft);
}

.cc-quote::before {
	content: "\201C";
	position: absolute;
	left: 0.65rem;
	top: -0.1rem;
	font-size: 3rem;
	line-height: 1;
	color: var(--cc-orange);
	opacity: 0.85;
}

.cc-quote p {
	margin: 0;
}

/* ── Algoritmo ── */

.cc-algoritmo-card {
	aspect-ratio: 4 / 5;
	background: #0e0e0e;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	box-shadow: var(--cc-shadow);
	border: 3px solid rgba(255, 255, 255, 0.85);
}

.cc-algoritmo-card::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 34%;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.65);
	z-index: 2;
}

.cc-algoritmo-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.82;
	transition: opacity 0.35s ease, transform 0.5s ease;
}

.cc-algoritmo-card:hover img {
	opacity: 0.95;
	transform: scale(1.03);
}

.cc-algoritmo-card p {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 2.5rem 1.15rem 1.15rem;
	color: var(--cc-white);
	font-family: "Oswald", sans-serif;
	font-size: 1.1rem;
	line-height: 1.3;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.15) 70%, transparent);
}

.page-slug-algoritmo-redes .aligncenter.size-large img {
	max-width: 420px;
	border-radius: 50%;
	box-shadow: var(--cc-shadow);
	border: 6px solid var(--cc-white);
}

/* ── La Lupa Instagram viewer ── */

/* La Lupa on home */
.cc-lupa-section {
	margin-top: 3.5rem;
	margin-inline: auto;
	max-width: var(--cc-max);
}

.cc-lupa-section .cc-section-title {
	text-align: center;
}

.cc-lupa-section .cc-section-kicker {
	text-align: center;
	margin-bottom: 1.25rem;
}

.cc-lupa-section .cc-lupa {
	margin-top: 0;
}

.cc-lupa {
	margin: 2.5rem 0 3rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: calc(var(--cc-radius) + 8px);
	background:
		linear-gradient(145deg, rgba(0, 75, 73, 0.08), rgba(255, 140, 0, 0.06)),
		var(--cc-white);
	border: 1px solid rgba(0, 75, 73, 0.12);
	box-shadow: var(--cc-shadow);
}

.cc-lupa__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.35rem;
}

.cc-lupa__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: rgba(0, 75, 73, 0.08);
	border: 1px solid rgba(0, 75, 73, 0.14);
}

.cc-lupa__pulse {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--cc-orange);
	box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.55);
	animation: cc-lupa-pulse 2s ease infinite;
}

.cc-lupa[data-live="0"] .cc-lupa__pulse {
	background: var(--cc-stone);
	animation: none;
}

@keyframes cc-lupa-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.55);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
	}
}

.cc-lupa__badge-text {
	font-family: "Oswald", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cc-teal);
}

.cc-lupa__intro {
	margin: 0;
	max-width: 46ch;
	font-size: 0.92rem;
	color: rgba(20, 32, 31, 0.72);
}

.cc-lupa__stage {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 1.25rem;
	align-items: stretch;
	margin-bottom: 1.35rem;
}

.cc-lupa__viewfinder {
	position: relative;
	min-height: clamp(320px, 42vw, 460px);
	border-radius: var(--cc-radius);
	overflow: hidden;
	background: #101010;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cc-lupa__corner {
	position: absolute;
	width: 34px;
	height: 34px;
	border: 3px solid var(--cc-orange);
	z-index: 3;
	pointer-events: none;
}

.cc-lupa__corner--tl {
	top: 14px;
	left: 14px;
	border-right: none;
	border-bottom: none;
}

.cc-lupa__corner--tr {
	top: 14px;
	right: 14px;
	border-left: none;
	border-bottom: none;
}

.cc-lupa__corner--bl {
	bottom: 14px;
	left: 14px;
	border-right: none;
	border-top: none;
}

.cc-lupa__corner--br {
	bottom: 14px;
	right: 14px;
	border-left: none;
	border-top: none;
}

.cc-lupa__scan {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cc-orange), transparent);
	z-index: 2;
	animation: cc-lupa-scan 4.8s ease-in-out infinite;
	pointer-events: none;
	opacity: 0.75;
}

@keyframes cc-lupa-scan {
	0%,
	100% {
		top: 12%;
	}

	50% {
		top: 86%;
	}
}

.cc-lupa__media {
	position: absolute;
	inset: 0;
}

.cc-lupa__media img,
.cc-lupa__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease, opacity 0.35s ease;
}

.cc-lupa.is-switching .cc-lupa__media img,
.cc-lupa.is-switching .cc-lupa__media video {
	transform: scale(1.04);
	opacity: 0.88;
}

.cc-lupa__meta {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.25rem;
	border-radius: var(--cc-radius-sm);
	background: linear-gradient(160deg, var(--cc-teal), #003634);
	color: var(--cc-cream);
	box-shadow: var(--cc-shadow-soft);
}

.cc-lupa__lens-label {
	margin: 0 0 0.35rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.75;
}

.cc-lupa__tag {
	margin: 0 0 0.65rem;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	letter-spacing: 0.06em;
	line-height: 1;
	color: var(--cc-orange);
}

.cc-lupa__caption {
	margin: 0 0 0.75rem;
	font-size: 0.96rem;
	line-height: 1.55;
	opacity: 0.92;
}

.cc-lupa__time {
	margin: 0 0 1rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.cc-lupa__open {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: var(--cc-orange);
	color: var(--cc-white);
	font-family: "Oswald", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.25s ease, transform 0.25s ease;
}

.cc-lupa__open:hover {
	background: var(--cc-cream);
	color: var(--cc-teal);
	transform: translateY(-2px);
}

.cc-lupa__reel-wrap {
	position: relative;
	margin-bottom: 1rem;
}

.cc-lupa__reel-wrap::before,
.cc-lupa__reel-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 42px;
	z-index: 2;
	pointer-events: none;
}

.cc-lupa__reel-wrap::before {
	left: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), transparent);
}

.cc-lupa__reel-wrap::after {
	right: 0;
	background: linear-gradient(270deg, rgba(255, 255, 255, 0.95), transparent);
}

.cc-lupa__reel {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding: 0.75rem 0.35rem 1rem;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	cursor: grab;
}

.cc-lupa__reel.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.cc-lupa__polaroid {
	flex: 0 0 auto;
	width: 132px;
	padding: 0.55rem 0.55rem 1.8rem;
	border: none;
	border-radius: 8px;
	background: var(--cc-white);
	box-shadow: 0 10px 24px rgba(0, 75, 73, 0.16);
	transform: rotate(var(--cc-rot, 0deg));
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
	scroll-snap-align: center;
	cursor: pointer;
	position: relative;
}

.cc-lupa__polaroid img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.cc-lupa__polaroid-tag {
	position: absolute;
	left: 0.45rem;
	bottom: 0.45rem;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	background: rgba(0, 75, 73, 0.88);
	color: var(--cc-cream);
	font-family: "Oswald", sans-serif;
	font-size: 0.58rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cc-lupa__polaroid:hover,
.cc-lupa__polaroid.is-active {
	transform: rotate(0deg) translateY(-8px) scale(1.04);
	box-shadow: var(--cc-shadow);
}

.cc-lupa__polaroid.is-active {
	outline: 3px solid var(--cc-orange);
	outline-offset: 2px;
}

.cc-lupa__controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

.cc-lupa__nav {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(0, 75, 73, 0.2);
	background: var(--cc-white);
	color: var(--cc-teal);
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cc-lupa__nav:hover {
	background: var(--cc-teal);
	color: var(--cc-white);
	transform: translateY(-2px);
}

.cc-lupa__counter {
	font-family: "Oswald", sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cc-teal);
	min-width: 7ch;
	text-align: center;
}

.cc-lupa__admin-hint {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: var(--cc-radius-sm);
	background: rgba(255, 140, 0, 0.12);
	border: 1px dashed rgba(255, 140, 0, 0.45);
	font-size: 0.88rem;
	color: rgba(20, 32, 31, 0.82);
}

/* ── Secretos page ── */

.page-slug-secretos .cc-card img {
	height: 260px;
}

.page-slug-secretos .cc-card__body h3 {
	font-size: 1.1rem;
}

/* ── Footer ── */

.cc-footer {
	position: relative;
	overflow: hidden;
	padding: clamp(2.75rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem) 1.75rem !important;
	background: linear-gradient(135deg, var(--cc-teal) 0%, #003836 55%, #002f2d 100%) !important;
	color: var(--cc-cream);
}

.cc-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--cc-orange), var(--cc-magenta), var(--cc-orange));
}

.cc-footer::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.1;
	background-image:
		radial-gradient(circle at 12% 20%, rgba(255, 140, 0, 0.55), transparent 28%),
		radial-gradient(circle at 88% 78%, rgba(209, 45, 130, 0.35), transparent 32%);
}

.cc-footer__inner {
	position: relative;
	z-index: 1;
	max-width: var(--cc-max);
	margin: 0 auto;
}

.cc-footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.95fr 0.9fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: 2rem;
}

.cc-footer-col__label {
	margin: 0 0 0.85rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.74rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cc-orange);
}

.cc-footer-brandmark {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	text-decoration: none;
	color: inherit;
	margin-bottom: 0.75rem;
	transition: transform 0.25s ease;
}

.cc-footer-brandmark:hover {
	transform: translateY(-2px);
}

.cc-footer-brandmark img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.cc-footer-brandmark__title {
	font-family: "Bebas Neue", sans-serif;
	font-size: 2rem;
	letter-spacing: 0.1em;
	color: var(--cc-orange);
	text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
	line-height: 1;
}

.cc-footer-script {
	margin: 0;
	font-family: "Sacramento", cursive;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	color: var(--cc-cream);
	line-height: 1.3;
	max-width: 22ch;
}

.cc-footer-nav {
	display: grid;
	gap: 0.55rem;
}

.cc-footer-nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	text-decoration: none;
	color: rgba(245, 230, 211, 0.92);
	transition: color 0.2s ease, transform 0.2s ease;
}

.cc-footer-nav a::before {
	content: "→";
	color: var(--cc-orange);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cc-footer-nav a:hover {
	color: var(--cc-white);
	transform: translateX(4px);
}

.cc-footer-nav a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

.cc-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 0.75rem;
}

.cc-footer-social__pill {
	display: inline-flex;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(245, 230, 211, 0.35);
	background: rgba(255, 255, 255, 0.06);
	font-family: "Oswald", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: var(--cc-cream);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cc-footer-social__pill:hover {
	background: rgba(255, 140, 0, 0.22);
	border-color: var(--cc-orange);
	color: var(--cc-white);
	transform: translateY(-2px);
}

.cc-footer-note {
	margin: 0;
	font-size: 0.82rem;
	opacity: 0.7;
	letter-spacing: 0.04em;
}

.cc-footer-bottom {
	padding-top: 1.35rem;
	border-top: 1px solid rgba(245, 230, 211, 0.18);
	gap: 0.75rem;
}

.cc-footer-meta,
.cc-footer-year {
	margin: 0;
	font-family: "Oswald", sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.78;
}

.cc-footer-year {
	color: var(--cc-orange);
	opacity: 1;
}

/* ── Cierre / Súmate ── */

.cc-cierre-section {
	margin-top: 3.5rem !important;
	padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 140, 0, 0.18), transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(209, 45, 130, 0.16), transparent 42%),
		linear-gradient(135deg, var(--cc-teal) 0%, #003634 60%, #002f2d 100%);
}

.cc-cierre__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	color: var(--cc-cream);
}

.cc-cierre__eyebrow {
	margin: 0 0 0.6rem;
	font-family: "Oswald", sans-serif;
	font-size: 0.8rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--cc-orange);
}

.cc-cierre__title {
	margin: 0 0 1rem;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.2rem, 6vw, 4rem);
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--cc-white);
}

.cc-cierre__text {
	margin: 0 auto 1.75rem;
	max-width: 52ch;
	font-size: clamp(1rem, 2.2vw, 1.15rem);
	line-height: 1.6;
	opacity: 0.9;
}

.cc-cierre__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: center;
}

.cc-cierre__btn {
	display: inline-block;
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	border: 2px solid rgba(245, 230, 211, 0.5);
	background: transparent;
	color: var(--cc-cream);
	text-decoration: none;
	font-family: "Oswald", sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.cc-cierre__btn:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--cc-cream);
}

.cc-cierre__btn--primary {
	background: var(--cc-orange);
	border-color: var(--cc-orange);
	color: var(--cc-white);
}

.cc-cierre__btn--primary:hover {
	background: var(--cc-white);
	color: var(--cc-teal);
	border-color: var(--cc-white);
}

/* ── Page rhythm ── */

.home main > .wp-block-group + .wp-block-group {
	margin-top: 3.5rem;
}

.page-slug-secretos main > .wp-block-group.alignwide,
.page-slug-orgullo main > .wp-block-group.alignwide,
.page-slug-algoritmo-redes main > .wp-block-group.alignwide {
	padding-top: 2rem;
}

/* ── Responsive ── */

@media (max-width: 960px) {
	.cc-hero__inner,
	.cc-card-grid {
		grid-template-columns: 1fr !important;
	}

	.cc-icono-poster__traits {
		grid-template-columns: 1fr;
	}

	.cc-route {
		grid-template-columns: 48px 72px 1fr 36px;
		gap: 0.85rem;
		padding: 1rem;
	}

	.cc-route__thumb {
		width: 72px;
		height: 72px;
	}

	.cc-icon-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.cc-icono-poster__frame::before {
		transform: translate(8px, 8px);
	}

	.cc-route {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"num thumb"
			"copy copy"
			"arrow arrow";
		gap: 0.65rem 1rem;
	}

	.cc-route__num {
		grid-area: num;
		text-align: left;
	}

	.cc-route__thumb {
		grid-area: thumb;
		justify-self: end;
		width: 68px;
		height: 68px;
	}

	.cc-route__copy {
		grid-area: copy;
	}

	.cc-route__arrow {
		grid-area: arrow;
		text-align: right;
	}

	.cc-orgullo-gallery {
		grid-template-columns: 1fr;
	}

	.cc-orgullo-gallery .item-a,
	.cc-orgullo-gallery .item-b,
	.cc-orgullo-gallery .item-c,
	.cc-orgullo-gallery .item-d,
	.cc-orgullo-gallery .item-e {
		grid-column: span 1;
		min-height: 220px;
	}

	.cc-header-eyebrow {
		display: none;
	}

	.cc-footer-grid {
		grid-template-columns: 1fr;
	}

	.cc-lupa__stage {
		grid-template-columns: 1fr;
	}

	.cc-lupa__viewfinder {
		min-height: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.cc-header::after {
		animation: none;
	}

	.cc-lupa__scan,
	.cc-lupa__pulse {
		animation: none;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
