/*
Theme Name:   Cherry & Company
Theme URI:    https://cherrycompany.es
Description:  Tema hijo de Astra para Cherry & Company — marketing, eventos y personal especializado en Canarias. Accesible WCAG 2.1 AA (Kit Digital).
Author:       Cherry & Company
Template:     astra
Version:      1.0.0
Text Domain:  cherry-astra
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--ch-cherry: #8e1b3c;      /* granate del logo — 8.9:1 con blanco */
	--ch-cherry-2: #a8224a;
	--ch-cherry-d: #5e1027;
	--ch-wine: #2d0a15;
	--ch-ink: #1a1216;
	--ch-text: #2b2328;
	--ch-muted: #5b5157;       /* 7.3:1 sobre blanco */
	--ch-gold: #c9a54a;        /* decorativo / texto sobre oscuro */
	--ch-gold-2: #e3c878;
	--ch-gold-d: #7a5f1e;      /* texto dorado sobre claro — 6:1 */
	--ch-cream: #fbf7f2;
	--ch-blush: #f7e9ed;
	--ch-lemon: #f5d547;
	--ch-white: #fff;
	--ch-line: #eadfe3;

	--ch-font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--ch-font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
	--ch-font-mono: "Courier Prime", "Courier New", monospace;

	--ch-radius: 22px;
	--ch-radius-sm: 12px;
	--ch-shadow: 0 24px 60px -24px rgba(45, 10, 21, .35);
	--ch-wrap: 1240px;
	--ch-sec: clamp(72px, 9vw, 136px);
}

/* =========================================================
   2. Base / Astra resets
   ========================================================= */
body {
	font-family: var(--ch-font-body);
	color: var(--ch-text);
	background: var(--ch-white);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: var(--ch-font-head);
	color: var(--ch-ink);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.08;
}
a { color: var(--ch-cherry); }
a:hover, a:focus { color: var(--ch-cherry-d); }
::selection { background: var(--ch-cherry); color: #fff; }

/* Secciones a sangre: Astra encajona por defecto */
.page #page .site-content > .ast-container,
.page .site-content .ast-container { max-width: none !important; padding: 0 !important; display: block; }
.page #primary { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.page .site-main > article,
.page .ast-article-single,
.page .entry-content { margin: 0 !important; padding: 0 !important; max-width: none !important; background: transparent !important; }
.page .entry-header { display: none; }
.page .entry-content > * { margin-block: 0; }
.page .entry-content > .wp-block-group + .wp-block-group { margin-top: 0; }

/* Contenedor interior */
.ch-wrap { width: min(100% - 40px, var(--ch-wrap)); margin-inline: auto; }
.ch-sec { padding-block: var(--ch-sec); position: relative; }
.ch-sec--cream { background: var(--ch-cream); }
.ch-sec--blush { background: var(--ch-blush); }
.ch-sec--dark { background: var(--ch-ink); color: #e9e2e5; }
.ch-sec--wine { background: radial-gradient(120% 120% at 100% 0%, var(--ch-cherry) 0%, var(--ch-wine) 60%); color: #f3e9ec; }
.ch-sec--dark h2, .ch-sec--dark h3, .ch-sec--wine h2, .ch-sec--wine h3 { color: #fff; }

/* Utilidades tipográficas */
.ch-eyebrow {
	font-family: var(--ch-font-mono);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ch-cherry);
	display: inline-flex; align-items: center; gap: 12px;
	margin-bottom: 18px !important;
}
.ch-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; display: inline-block; }
.ch-sec--dark .ch-eyebrow, .ch-sec--wine .ch-eyebrow, .ch-hero .ch-eyebrow, .ch-cta .ch-eyebrow { color: var(--ch-gold-2); }
.ch-title { font-size: clamp(2.1rem, 4.6vw, 3.9rem); margin: 0 0 24px; }
.ch-title em, .ch-hero__title em, .ch-cta__title em {
	font-style: normal;
	background: linear-gradient(90deg, var(--ch-gold-d), var(--ch-gold) 60%, var(--ch-gold-2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch-sec--dark .ch-title em, .ch-sec--wine .ch-title em, .ch-hero__title em, .ch-cta__title em {
	background: linear-gradient(90deg, var(--ch-gold), var(--ch-gold-2)); -webkit-background-clip: text; background-clip: text;
}
.ch-lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.65; color: var(--ch-text); }
.ch-sec--dark .ch-lead, .ch-sec--wine .ch-lead { color: #eee5e8; }
.ch-muted { color: var(--ch-muted); }
.ch-quote {
	font-family: var(--ch-font-head);
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	font-weight: 600; line-height: 1.3; letter-spacing: -.01em;
	color: var(--ch-cherry);
	border-left: 4px solid var(--ch-gold);
	padding-left: 24px; margin-top: 32px !important;
}
.ch-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================================
   3. Botones (estilos de bloque)
   ========================================================= */
.wp-block-buttons { gap: 14px; margin-top: 34px; }
.wp-block-button .wp-block-button__link,
.ast-custom-button, .menu-toggle + .ast-custom-button-link .ast-custom-button {
	font-family: var(--ch-font-body);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 17px 30px;
	min-height: 48px;
	display: inline-flex; align-items: center; gap: 10px;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
	text-decoration: none;
}
.wp-block-button .wp-block-button__link::after { content: "→"; font-size: 1.1em; transition: transform .25s ease; }
.wp-block-button .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }

.wp-block-button .wp-block-button__link,
.is-style-ch-cherry .wp-block-button__link { background: var(--ch-cherry); color: #fff; border: 2px solid var(--ch-cherry); box-shadow: 0 14px 30px -14px rgba(142,27,60,.7); }
.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus { background: var(--ch-cherry-d); border-color: var(--ch-cherry-d); color: #fff; }
.is-style-ch-gold .wp-block-button__link { background: var(--ch-gold-2); border-color: var(--ch-gold-2); color: var(--ch-ink); box-shadow: 0 14px 30px -14px rgba(201,165,74,.8); }
.is-style-ch-gold .wp-block-button__link:hover, .is-style-ch-gold .wp-block-button__link:focus { background: #fff; border-color: #fff; color: var(--ch-ink); }
.is-style-ch-ghost .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); box-shadow: none; }
.is-style-ch-ghost .wp-block-button__link:hover, .is-style-ch-ghost .wp-block-button__link:focus { background: #fff; color: var(--ch-ink); border-color: #fff; }
.is-style-ch-outline .wp-block-button__link { background: transparent; color: var(--ch-cherry); border: 2px solid var(--ch-cherry); box-shadow: none; }
.is-style-ch-outline .wp-block-button__link:hover, .is-style-ch-outline .wp-block-button__link:focus { background: var(--ch-cherry); color: #fff; }
.is-style-ch-ink .wp-block-button__link { background: var(--ch-ink); border-color: var(--ch-ink); color: #fff; box-shadow: none; }
.is-style-ch-ink .wp-block-button__link:hover, .is-style-ch-ink .wp-block-button__link:focus { background: var(--ch-cherry); border-color: var(--ch-cherry); }

/* =========================================================
   4. Header (Astra HFB)
   ========================================================= */
.site-header .ast-primary-header-bar,
.ast-primary-header-bar { background: rgba(255,255,255,.94) !important; backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--ch-line) !important; }
#masthead { position: sticky; top: 0; z-index: 99; }
.admin-bar #masthead { top: 32px; }
.site-header .custom-logo-link img { width: 200px; max-width: 200px; height: auto; }
.ast-header-break-point .site-header .custom-logo-link img { width: 156px; }
.main-header-menu .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
	font-family: var(--ch-font-body);
	font-weight: 600;
	font-size: .98rem;
	color: var(--ch-ink) !important;
	position: relative;
	padding-inline: 16px !important;
}
.ast-builder-menu-1 .menu-item > .menu-link::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 18px; height: 2px;
	background: var(--ch-cherry); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.ast-builder-menu-1 .menu-item:hover > .menu-link::after,
.ast-builder-menu-1 .current-menu-item > .menu-link::after { transform: scaleX(1); }
.ast-builder-menu-1 .current-menu-item > .menu-link { color: var(--ch-cherry) !important; }
.ast-header-break-point .ast-builder-menu-1 .menu-item > .menu-link::after { display: none; }

.ch-header-cta {
	display: inline-flex; align-items: center; gap: 8px;
	margin-left: 14px;
	background: var(--ch-cherry); color: #fff !important;
	font-weight: 700; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase;
	padding: 13px 22px; border-radius: 999px; text-decoration: none;
	min-height: 44px; white-space: nowrap;
	transition: background .25s ease, transform .25s ease;
}
.ch-header-cta:hover, .ch-header-cta:focus { background: var(--ch-cherry-d); color: #fff !important; transform: translateY(-1px); }
.ast-builder-menu-1 .ch-menu-cta > .menu-link.ch-header-cta { color: #fff !important; padding: 13px 22px !important; align-self: center; line-height: 1.2; }
.ast-builder-menu-1 .ch-menu-cta > .menu-link.ch-header-cta::after { display: none; }
.ast-builder-menu-1 .ch-menu-cta { display: flex; align-items: center; }
.ast-header-break-point .ast-builder-menu-1 .ch-menu-cta { padding: 16px 20px 22px; border: 0 !important; }
.ast-header-break-point .ast-builder-menu-1 .ch-menu-cta > .menu-link.ch-header-cta { margin: 0; width: 100%; justify-content: center; border: 0 !important; }
.ast-mobile-header-wrap .menu-toggle, .ast-mobile-menu-trigger-minimal { color: var(--ch-ink) !important; min-width: 44px; min-height: 44px; }
.ast-mobile-header-content .menu-link, #ast-hf-mobile-menu .menu-link { font-size: 1.1rem !important; padding-block: 14px !important; }

/* =========================================================
   5. Hero
   ========================================================= */
.ch-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(92vh, 860px);
	display: flex; align-items: center;
	color: #fff;
	background: var(--ch-wine);
	padding-block: 120px 96px;
}
.ch-hero--sm { min-height: 0; padding-block: clamp(96px, 12vw, 168px) clamp(64px, 8vw, 110px); }
.ch-hero .ch-hero__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; }
.ch-hero .ch-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: ch-kenburns 4.5s cubic-bezier(.2,.7,.2,1) both; }
.ch-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(26,18,22,.94) 0%, rgba(45,10,21,.86) 42%, rgba(142,27,60,.48) 100%),
		radial-gradient(60% 80% at 85% 20%, rgba(201,165,74,.25), transparent 60%);
}
.ch-hero::after { /* grano sutil */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none;
	background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px); background-size: 4px 4px;
}
.ch-hero__inner { position: relative; z-index: 1; }
.ch-hero__title { color: #fff !important; font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 28px; max-width: 14ch; }
.ch-hero--sm .ch-hero__title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 18ch; }
.ch-hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: #f1e8eb; max-width: 60ch; }
.ch-hero__claim { font-family: var(--ch-font-mono); font-weight: 700; color: var(--ch-gold-2) !important; margin-top: 18px !important; letter-spacing: .02em; }
.ch-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px !important; }
.ch-hero__chips p {
	margin: 0 !important; padding: 9px 16px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
	font-size: .88rem; font-weight: 600; color: #fff; letter-spacing: .03em;
}
.ch-hero__cherry { position: absolute; right: -60px; bottom: -40px; width: clamp(220px, 34vw, 520px); opacity: .16; z-index: 0; pointer-events: none; transform: rotate(-12deg); }
@keyframes ch-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* =========================================================
   6. Marquee de palabras
   ========================================================= */
.ch-marquee { background: var(--ch-cherry); color: #fff; overflow: hidden; padding-block: 22px; border-block: 1px solid rgba(255,255,255,.1); }
.ch-marquee__track { display: flex; width: max-content; animation: ch-marquee 38s linear infinite; }
.ch-marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ch-marquee__group span { font-family: var(--ch-font-head); font-size: clamp(1.4rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ch-marquee__group span.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
.ch-marquee__group i { width: 14px; height: 14px; border-radius: 50%; background: var(--ch-gold-2); flex: none; }
.ch-marquee:hover .ch-marquee__track { animation-play-state: paused; }
@keyframes ch-marquee { to { transform: translateX(-50%); } }

/* =========================================================
   7. Bloques "split" texto + imagen
   ========================================================= */
.ch-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.ch-split--rev > :first-child { order: 2; }
.ch-split__media { position: relative; }
.ch-split__media .wp-block-image { margin: 0; }
.ch-split__media .wp-block-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--ch-radius); box-shadow: var(--ch-shadow); }
.ch-split__media--wide .wp-block-image img { aspect-ratio: 5/4; }
.ch-split__media::before { /* marco desplazado */
	content: ""; position: absolute; inset: 28px -22px -22px 28px; border: 2px solid var(--ch-gold); border-radius: var(--ch-radius); z-index: -1;
}
.ch-badge {
	position: absolute !important; left: -26px; bottom: 34px; margin: 0 !important;
	background: var(--ch-ink); color: #fff !important; border-radius: 18px; padding: 18px 22px;
	font-family: var(--ch-font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.25; max-width: 240px;
	box-shadow: var(--ch-shadow);
}
.ch-badge::before { content: ""; display: block; width: 28px; height: 28px; margin-bottom: 10px; background: url("assets/cherry-icon.png") no-repeat center / contain; }

/* Collage de dos imágenes */
.ch-collage { position: relative; min-height: 560px; }
.ch-collage .wp-block-image { margin: 0; position: absolute; }
.ch-collage .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--ch-radius); box-shadow: var(--ch-shadow); }
.ch-collage .wp-block-image:nth-of-type(1) { top: 0; left: 0; width: 72%; height: 78%; }
.ch-collage .wp-block-image:nth-of-type(2) { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid #fff; border-radius: calc(var(--ch-radius) + 8px); }
.ch-collage .ch-badge { left: auto; right: 8%; top: 6%; bottom: auto; }

/* =========================================================
   8. Tarjetas de servicio (Home)
   ========================================================= */
.ch-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.ch-head > * { max-width: 720px; }
.ch-head .ch-title { margin-bottom: 0; }
.ch-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ch-service {
	position: relative; isolation: isolate; overflow: hidden;
	border-radius: var(--ch-radius); min-height: 460px;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 36px; color: #fff; background: var(--ch-wine);
}
.ch-service .wp-block-image { position: absolute !important; inset: 0; margin: 0 !important; z-index: -2; }
.ch-service .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ch-service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,18,22,.15) 0%, rgba(26,18,22,.62) 45%, rgba(26,18,22,.95) 100%); transition: background .4s ease; }
.ch-service:hover .wp-block-image img, .ch-service:focus-within .wp-block-image img { transform: scale(1.07); }
.ch-service:hover::before { background: linear-gradient(180deg, rgba(94,16,39,.25) 0%, rgba(94,16,39,.75) 45%, rgba(45,10,21,.97) 100%); }
.ch-service__num { font-family: var(--ch-font-mono); font-weight: 700; color: var(--ch-gold-2) !important; font-size: 1rem; letter-spacing: .12em; margin: 0 0 10px !important; }
.ch-service h3 { color: #fff !important; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 10px; }
.ch-service p { color: #efe6e9; margin: 0; }
.ch-service .wp-block-buttons { margin-top: 22px; }
.ch-service .wp-block-button__link { padding: 13px 22px; font-size: .82rem; }
.ch-service--lemon { background: var(--ch-ink); }
.ch-service--lemon .ch-service__num { color: var(--ch-lemon) !important; }
.ch-service--lemon .wp-block-button__link { background: var(--ch-lemon) !important; border-color: var(--ch-lemon) !important; color: var(--ch-ink) !important; box-shadow: none; }

/* =========================================================
   9. Proceso integral (Home / Quiénes somos)
   ========================================================= */
.ch-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; margin-top: 56px; position: relative; }
.ch-steps::before { content: ""; position: absolute; top: 36px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--ch-gold), var(--ch-cherry-2)); opacity: .7; }
.ch-step { position: relative; padding: 0 8px; }
.ch-step__dot {
	width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
	background: var(--ch-ink); border: 2px solid var(--ch-gold); margin: 0 0 22px !important;
	font-family: var(--ch-font-mono); font-weight: 700; font-size: 1.15rem; color: var(--ch-gold-2) !important;
	position: relative; z-index: 1;
}
.ch-step h3 { font-size: 1.3rem; margin: 0 0 8px; color: #fff !important; }
.ch-step p { color: #d9cfd3; font-size: .98rem; margin: 0; }

/* Valores */
.ch-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.ch-value {
	background: #fff; border: 1px solid var(--ch-line); border-radius: var(--ch-radius-sm);
	padding: 28px 22px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden;
}
.ch-value::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--ch-cherry), var(--ch-gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.ch-value:hover { transform: translateY(-6px); box-shadow: var(--ch-shadow); border-color: transparent; }
.ch-value:hover::after { transform: scaleX(1); }
.ch-value__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ch-blush); color: var(--ch-cherry); margin-bottom: 18px; }
.ch-value__icon svg { width: 26px; height: 26px; }
.ch-value h3 { font-size: 1.2rem; margin: 0 0 8px; }
.ch-value p { font-size: .95rem; color: var(--ch-muted); margin: 0; line-height: 1.55; }
.ch-sec--dark .ch-value { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.ch-sec--dark .ch-value h3 { color: #fff; }
.ch-sec--dark .ch-value p { color: #d9cfd3; }
.ch-sec--dark .ch-value__icon { background: rgba(201,165,74,.14); color: var(--ch-gold-2); }

/* =========================================================
   10. Miss Lemon Brand
   ========================================================= */
.ch-lemon { background: var(--ch-lemon); color: var(--ch-ink); overflow: hidden; }
.ch-lemon .ch-eyebrow { color: var(--ch-ink); }
.ch-lemon h2, .ch-lemon h3 { color: var(--ch-ink) !important; }
.ch-lemon .ch-lead, .ch-lemon p { color: var(--ch-ink); }
.ch-lemon .ch-split__media::before { border-color: var(--ch-ink); }
.ch-lemon .ch-quote { color: var(--ch-ink); border-color: var(--ch-ink); }
.ch-lemon__logo { font-family: var(--ch-font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: .95; letter-spacing: -.04em; margin: 0 0 18px !important; }
.ch-lemon__logo span { display: block; font-family: var(--ch-font-mono); font-size: .3em; letter-spacing: .3em; font-weight: 700; margin-top: 10px; }

/* =========================================================
   11. Página Servicios
   ========================================================= */
.ch-subnav { position: sticky; top: 80px; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ch-line); }
.admin-bar .ch-subnav { top: 112px; }
.ch-subnav .wp-block-buttons { margin: 0; padding-block: 14px; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.ch-subnav .wp-block-button__link { background: var(--ch-cream) !important; color: var(--ch-ink) !important; border: 1px solid var(--ch-line) !important; box-shadow: none !important; padding: 11px 18px !important; font-size: .8rem !important; white-space: nowrap; }
.ch-subnav .wp-block-button__link::after { content: none !important; }
.ch-subnav .wp-block-button__link:hover, .ch-subnav .wp-block-button__link:focus { background: var(--ch-cherry) !important; color: #fff !important; border-color: var(--ch-cherry) !important; transform: none; }

.ch-svc { scroll-margin-top: 150px; }
.ch-svc__num { font-family: var(--ch-font-head); font-weight: 800; font-size: clamp(4.5rem, 10vw, 8rem); line-height: .8; letter-spacing: -.05em; margin: 0 0 14px !important; color: transparent; -webkit-text-stroke: 2px var(--ch-cherry); }
.ch-sec--dark .ch-svc__num, .ch-sec--wine .ch-svc__num { -webkit-text-stroke-color: var(--ch-gold); }
.ch-lemon .ch-svc__num { -webkit-text-stroke-color: var(--ch-ink); }
.ch-svc__tag { font-family: var(--ch-font-mono); font-weight: 700; font-size: 1.05rem; color: var(--ch-gold-d) !important; margin: 0 0 18px !important; }
.ch-sec--dark .ch-svc__tag, .ch-sec--wine .ch-svc__tag { color: var(--ch-gold-2) !important; }
.ch-lemon .ch-svc__tag { color: var(--ch-ink) !important; }
.ch-list-title { font-family: var(--ch-font-mono); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; margin: 30px 0 12px !important; }
ul.ch-checks { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
ul.ch-checks li { position: relative; padding-left: 34px; line-height: 1.5; }
ul.ch-checks li::before {
	content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--ch-cherry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / 13px;
}
.ch-sec--dark ul.ch-checks li::before, .ch-sec--wine ul.ch-checks li::before { background-color: var(--ch-gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1216' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.ch-lemon ul.ch-checks li::before { background-color: var(--ch-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5d547' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* =========================================================
   12. CTA final
   ========================================================= */
.ch-cta {
	position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(120deg, var(--ch-wine) 0%, var(--ch-cherry-d) 45%, var(--ch-cherry) 100%);
	color: #fff; text-align: center;
	padding-block: clamp(88px, 11vw, 160px);
}
.ch-cta::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; left: -200px; top: -320px; background: radial-gradient(circle, rgba(201,165,74,.35), transparent 65%); z-index: -1; }
.ch-cta::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; bottom: -280px; border: 2px solid rgba(255,255,255,.15); z-index: -1; }
.ch-cta__title { color: #fff !important; font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 18ch; margin: 0 auto 22px; }
.ch-cta .ch-lead { color: #f3e9ec; max-width: 62ch; margin-inline: auto; }
.ch-cta .ch-claim { font-family: var(--ch-font-mono); color: var(--ch-gold-2); font-weight: 700; margin-top: 26px !important; }
.ch-cta .wp-block-buttons { justify-content: center; }

/* =========================================================
   13. Contacto
   ========================================================= */
.ch-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ch-contact__card { background: var(--ch-ink); color: #eee5e8; border-radius: var(--ch-radius); padding: clamp(28px, 4vw, 48px); position: sticky; top: 120px; }
.ch-contact__card h2, .ch-contact__card h3 { color: #fff; }
.ch-contact__card a { color: #fff; text-decoration: underline; text-decoration-color: var(--ch-gold); text-underline-offset: 4px; }
.ch-contact__card a:hover, .ch-contact__card a:focus { color: var(--ch-gold-2); }
.ch-contact__item { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 22px !important; }
.ch-contact__item strong { display: block; font-family: var(--ch-font-mono); color: var(--ch-gold-2); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.ch-form-wrap { background: #fff; border: 1px solid var(--ch-line); border-radius: var(--ch-radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--ch-shadow); }
.ch-form-wrap label { display: block; font-weight: 600; color: var(--ch-ink); margin-bottom: 18px; font-size: .95rem; }
.ch-form-wrap input[type=text], .ch-form-wrap input[type=email], .ch-form-wrap input[type=tel], .ch-form-wrap select, .ch-form-wrap textarea {
	width: 100%; margin-top: 8px; padding: 14px 16px; min-height: 48px;
	border: 1.5px solid #8a7f84; border-radius: 12px; background: #fff; color: var(--ch-text);
	font: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
.ch-form-wrap textarea { min-height: 150px; }
.ch-form-wrap input:focus, .ch-form-wrap select:focus, .ch-form-wrap textarea:focus { outline: none; border-color: var(--ch-cherry); box-shadow: 0 0 0 4px rgba(142,27,60,.18); }
.ch-form-wrap .wpcf7-acceptance label, .ch-form-wrap .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ch-form-wrap .wpcf7-list-item { margin: 0; }
.ch-form-wrap input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--ch-cherry); flex: none; margin-top: 2px; }
.ch-form-wrap .wpcf7-submit {
	background: var(--ch-cherry); color: #fff; border: 0; border-radius: 999px; padding: 17px 34px; min-height: 48px;
	font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .25s ease;
}
.ch-form-wrap .wpcf7-submit:hover, .ch-form-wrap .wpcf7-submit:focus { background: var(--ch-cherry-d); }
.ch-form-wrap .wpcf7-not-valid-tip { color: #a3122f; font-size: .9rem; margin-top: 6px; }
.ch-form-wrap .wpcf7-response-output { border-radius: 12px; padding: 14px 18px !important; margin: 18px 0 0 !important; }
.ch-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ch-form-legal { font-size: .85rem; color: var(--ch-muted); line-height: 1.55; }

/* Páginas legales */
.ch-legal { max-width: 860px; margin-inline: auto; }
.ch-legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.ch-legal h3 { font-size: 1.2rem; margin: 26px 0 8px; }

/* =========================================================
   14. Footer
   ========================================================= */
.ch-footer { background: var(--ch-ink); color: #d9cfd3; padding-top: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.ch-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--ch-cherry), var(--ch-gold), var(--ch-cherry)); }
.ch-footer a { color: #fff; text-decoration: none; }
.ch-footer a:hover, .ch-footer a:focus { color: var(--ch-gold-2); text-decoration: underline; text-underline-offset: 4px; }
.ch-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.ch-footer__logo img { width: 220px; height: auto; }
.ch-footer__about { margin-top: 18px; max-width: 34ch; font-size: .98rem; }
.ch-footer__title { font-family: var(--ch-font-mono); color: var(--ch-gold-2); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 18px; }
.ch-footer ul { list-style: none; margin: 0; padding: 0; }
.ch-footer li { margin: 0 0 10px; }
.ch-footer li a { display: inline-block; padding-block: 4px; }
.ch-footer__eu { border-top: 1px solid rgba(255,255,255,.12); padding-block: 26px; display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }
.ch-footer__eu img { height: 54px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }
.ch-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #c9bec3; }
.ch-footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.ch-footer__bottom li { margin: 0; }
.ch-footer__big { font-family: var(--ch-font-head); font-weight: 800; font-size: clamp(3rem, 13vw, 12rem); letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; text-align: center; margin: 0 0 -.12em; user-select: none; }
.site-footer { display: none; } /* footer de Astra sustituido por .ch-footer */

/* =========================================================
   15. Accesibilidad
   ========================================================= */
.skip-link.screen-reader-text:focus, .ch-skip:focus {
	position: fixed !important; left: 16px; top: 16px; z-index: 100000;
	width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--ch-ink); color: #fff; padding: 14px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
*:focus-visible { outline: 3px solid var(--ch-cherry) !important; outline-offset: 3px !important; border-radius: 4px; }
.ch-hero *:focus-visible, .ch-sec--dark *:focus-visible, .ch-sec--wine *:focus-visible, .ch-cta *:focus-visible,
.ch-footer *:focus-visible, .ch-service *:focus-visible, .ch-contact__card *:focus-visible { outline-color: var(--ch-gold-2) !important; }
.ch-lemon *:focus-visible { outline-color: var(--ch-ink) !important; }

/* Animación de entrada (solo si JS activo y sin reduce-motion) */
.ch-js .ch-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.ch-js .ch-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.ch-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
	.ch-marquee__group[aria-hidden="true"] { display: none; }
	.ch-js .ch-reveal { opacity: 1; transform: none; }
	.ch-hero .ch-hero__bg img { animation: none !important; transform: none; }
}

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.ch-values { grid-template-columns: repeat(3, 1fr); }
	.ch-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 921px) {
	.ch-split, .ch-contact { grid-template-columns: 1fr; }
	.ch-split--rev > :first-child { order: 0; }
	.ch-split__media { max-width: 560px; }
	.ch-services { grid-template-columns: 1fr; }
	.ch-service { min-height: 400px; }
	.ch-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.ch-steps::before { display: none; }
	.ch-collage { min-height: 460px; }
	.ch-contact__card { position: static; }
	.ch-subnav { top: 0; position: relative; }
	.admin-bar .ch-subnav { top: 0; }
	.ch-badge { left: 12px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.ch-wrap { width: calc(100% - 32px); }
	.ch-hero { padding-block: 88px 72px; min-height: 0; }
	.ch-values { grid-template-columns: 1fr 1fr; }
	.ch-steps { grid-template-columns: 1fr; }
	ul.ch-checks, .ch-form-row { grid-template-columns: 1fr; }
	.ch-service { padding: 26px; min-height: 380px; }
	.ch-collage { min-height: 380px; }
	.ch-footer__grid { grid-template-columns: 1fr; }
	.ch-split__media::before { inset: 16px -10px -10px 16px; }
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; }
	.ch-subnav .wp-block-buttons > .wp-block-button { width: auto; }
}

/* =========================================================
   17. Añadidos: control del marquee, chips, pie de hero
   ========================================================= */
.ch-marquee { position: relative; }
.ch-marquee.is-paused .ch-marquee__track { animation-play-state: paused; }
.ch-marquee__toggle {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8);
	background: var(--ch-cherry-d); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.ch-marquee__toggle:hover, .ch-marquee__toggle:focus { background: #fff; color: var(--ch-cherry); }
.ch-marquee__toggle svg { width: 16px; height: 16px; }
.ch-marquee__toggle .i-play { display: none; }
.ch-marquee.is-paused .ch-marquee__toggle .i-play { display: block; }
.ch-marquee.is-paused .ch-marquee__toggle .i-pause { display: none; }

.ch-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0 !important; }
.ch-chips p { margin: 0 !important; padding: 10px 18px; border-radius: 999px; background: var(--ch-blush); color: var(--ch-cherry-d); font-weight: 700; font-size: .92rem; }
.ch-sec--dark .ch-chips p, .ch-sec--wine .ch-chips p { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.ch-center { text-align: center; margin-inline: auto; }
.ch-center .ch-eyebrow { justify-content: center; }
.ch-narrow { max-width: 820px; }
.ch-after-steps { margin-top: 48px !important; max-width: 760px; color: #e6dde1; }
.ch-sec .wp-block-heading + .wp-block-paragraph { margin-top: 0; }
.ch-text p + p, .ch-split p + p { margin-top: 1em; }
.ch-svc .wp-block-buttons { margin-top: 30px; }

/* =========================================================
   18. Ajustes tras revisión visual
   ========================================================= */
html { font-size: 100% !important; }
body, body.page, .site-content, #content { background: var(--ch-white) !important; }
body, .entry-content p, .entry-content li { font-size: 1.0625rem; }
.entry-content .ch-lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.entry-content .ch-hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); }
.entry-content .ch-eyebrow, .entry-content .ch-service__num { font-size: .9rem; }
.entry-content .ch-svc__tag { font-size: 1.05rem; }
.entry-content .ch-form-legal, .entry-content .ch-value p { font-size: .95rem; }

/* Los grupos de Gutenberg (layout flow) añaden margin-top a los hijos: lo anulamos en grids/flex */
.ch-services > *, .ch-split > *, .ch-steps > *, .ch-values > *, .ch-contact > *, .ch-chips > *,
.ch-hero__chips > *, .ch-head > *, .ch-collage > *, .ch-service > .wp-block-image, .ch-hero > * { margin-block-start: 0 !important; }
.ch-head > .wp-block-buttons { margin-top: 0; }

/* Resaltado en secciones claras: granate sólido (contraste AA garantizado) */
.ch-title em { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ch-cherry); }
.ch-sec--dark .ch-title em, .ch-sec--wine .ch-title em { color: var(--ch-gold-2); }

/* CTA del menú compacto */
.ast-builder-menu-1 .ch-menu-cta > .menu-link.ch-header-cta { height: auto; min-height: 44px; padding: 12px 22px !important; font-size: .8rem; }
.ast-desktop .ast-builder-menu-1 .ch-menu-cta { margin-left: 10px; }

/* Pasos */
.ch-step { text-align: left; }
.ch-chips--center { justify-content: center; }

/* =========================================================
   19. Actualidad (blog)
   ========================================================= */
.blog .ast-archive-description, .archive .ast-archive-description { display: none; }
.ch-hero--blog { padding-block: clamp(88px, 10vw, 140px) clamp(56px, 7vw, 90px); }
.ch-blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ch-blog-cats a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
	font-weight: 700; font-size: .9rem;
}
.ch-blog-cats a:hover, .ch-blog-cats a:focus, .ch-blog-cats a[aria-current="page"] { background: var(--ch-gold-2); border-color: var(--ch-gold-2); color: var(--ch-ink); }

/* Listado en tarjetas */
.blog #content > .ast-container, .archive #content > .ast-container { max-width: none; padding: 0; display: block; }
.blog #primary, .archive #primary { width: min(100% - 40px, var(--ch-wrap)); margin: clamp(48px, 6vw, 88px) auto; padding: 0; }
.blog .site-main > .ast-row, .archive .site-main > .ast-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; }
.blog .site-main > .ast-row::before, .blog .site-main > .ast-row::after, .archive .site-main > .ast-row::before, .archive .site-main > .ast-row::after { display: none; }
.blog article.post, .archive article.post { width: auto !important; padding: 0 !important; margin: 0 !important; float: none !important; }
.blog .ast-article-inner, .archive .ast-article-inner {
	height: 100%; background: #fff; border: 1px solid var(--ch-line); border-radius: var(--ch-radius); overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease; box-shadow: none;
}
.blog .ast-article-inner:hover, .archive .ast-article-inner:hover, .blog .ast-article-inner:focus-within, .archive .ast-article-inner:focus-within { transform: translateY(-6px); box-shadow: var(--ch-shadow); }
.blog .post-content, .archive .post-content { padding: 0 0 26px !important; display: flex; flex-direction: column; height: 100%; }
.blog .post-content > *:not(.ast-blog-featured-section), .archive .post-content > *:not(.ast-blog-featured-section) { padding-inline: 24px; }
.blog .ast-blog-featured-section, .archive .ast-blog-featured-section { margin: 0 0 20px !important; padding: 0 !important; }
.blog .post-thumb img, .archive .post-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: 0; transition: transform .6s ease; }
.blog .ast-article-inner:hover .post-thumb img, .archive .ast-article-inner:hover .post-thumb img { transform: scale(1.05); }
.blog .post-thumb-img-content, .archive .post-thumb-img-content { overflow: hidden; }
.blog .cat-links a, .archive .cat-links a, .single .cat-links a {
	display: inline-block; font-family: var(--ch-font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ch-cherry) !important; text-decoration: none; margin: 0 10px 6px 0; padding: 4px 0;
}
.blog .entry-title, .archive .entry-title { font-size: 1.3rem !important; line-height: 1.25; margin: 6px 0 10px; }
.blog .entry-title a, .archive .entry-title a { color: var(--ch-ink); text-decoration: none; }
.blog .entry-title a:hover, .blog .entry-title a:focus, .archive .entry-title a:hover, .archive .entry-title a:focus { color: var(--ch-cherry); }
.blog .entry-meta, .archive .entry-meta, .single .entry-meta { font-size: .88rem; color: var(--ch-muted); }
.blog .entry-meta a, .archive .entry-meta a, .single .entry-meta a { color: var(--ch-muted); }
.blog .ast-excerpt-container, .archive .ast-excerpt-container { font-size: .98rem; color: var(--ch-text); margin-top: 8px; }
.blog .read-more, .archive .read-more { margin-top: auto; padding-top: 14px; }
.blog .read-more a, .archive .read-more a { font-weight: 700; color: var(--ch-cherry); text-decoration: underline; text-underline-offset: 4px; }
.ast-pagination { margin-top: 48px; }
.ast-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--ch-line); color: var(--ch-ink); margin-right: 6px; text-decoration: none; }
.ast-pagination .page-numbers.current, .ast-pagination .page-numbers:hover, .ast-pagination .page-numbers:focus { background: var(--ch-cherry); border-color: var(--ch-cherry); color: #fff; }

/* Artículo individual */
.single-post #content > .ast-container { max-width: 860px; padding-inline: 20px; }
.single-post #primary { margin-block: clamp(40px, 6vw, 80px); }
.single-post .ast-article-single { padding: 0 !important; background: transparent !important; }
.single-post .entry-title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; margin-bottom: 14px; }
.single-post .post-thumb-img-content img, .single-post .ast-single-post-featured-section img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--ch-radius); }
.single-post .entry-content { font-size: 1.0625rem; line-height: 1.8; }
.single-post .entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.2em 0 .6em; }
.single-post .entry-content h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.single-post .entry-content p, .single-post .entry-content li { font-size: 1.0625rem; }
.single-post .entry-content a { color: var(--ch-cherry); text-decoration: underline; text-underline-offset: 3px; }
.single-post .entry-content a:hover, .single-post .entry-content a:focus { color: var(--ch-cherry-d); }
.single-post .entry-content ul { padding-left: 1.3em; }
.single-post .entry-content li { margin-bottom: .45em; }
.single-post .entry-content li::marker { color: var(--ch-cherry); }
.single-post .wp-block-quote {
	margin: 2em 0; padding: 24px 28px; border-left: 4px solid var(--ch-gold); background: var(--ch-cream); border-radius: 0 var(--ch-radius-sm) var(--ch-radius-sm) 0;
}
.single-post .wp-block-quote p { font-family: var(--ch-font-head); font-size: 1.35rem !important; font-weight: 600; line-height: 1.35; color: var(--ch-cherry); margin: 0; }
.single-post .tags-links a, .single-post .ast-terms-link a { display: inline-block; padding: 6px 14px; margin: 0 6px 8px 0; border-radius: 999px; background: var(--ch-blush); color: var(--ch-cherry-d); font-size: .85rem; font-weight: 600; text-decoration: none; }
.ch-post-cta { margin-top: 3em; padding: clamp(26px, 4vw, 40px); border-radius: var(--ch-radius); background: linear-gradient(120deg, var(--ch-wine), var(--ch-cherry)); color: #f3e9ec; }
.ch-post-cta p { color: #f3e9ec; }
.ch-post-cta__title { font-family: var(--ch-font-head); font-weight: 700; font-size: 1.6rem !important; color: #fff !important; margin-bottom: .3em; }
.single-post .entry-content .ch-post-cta__btn {
	display: inline-flex; align-items: center; min-height: 48px; padding: 14px 26px; border-radius: 999px; margin-top: 8px;
	background: var(--ch-gold-2); color: var(--ch-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; text-decoration: none;
}
.single-post .entry-content .ch-post-cta__btn:hover, .single-post .entry-content .ch-post-cta__btn:focus { background: #fff; color: var(--ch-ink); }
.ch-post-cta *:focus-visible { outline-color: var(--ch-gold-2) !important; }
.single-post .post-navigation a { color: var(--ch-cherry); }

@media (max-width: 921px) {
	.blog .site-main > .ast-row, .archive .site-main > .ast-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.blog .site-main > .ast-row, .archive .site-main > .ast-row { grid-template-columns: 1fr; }
	.blog #primary, .archive #primary { width: calc(100% - 32px); }
}

.ch-post-featured { margin: 0 0 2em; }
.ch-post-featured img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--ch-radius); display: block; }

/* Ajustes Actualidad tras revisión */
.blog #primary, .archive #primary { margin-left: auto !important; margin-right: auto !important; }
.blog .entry-meta, .archive .entry-meta { text-align: left; }
.blog .cat-links a, .archive .cat-links a, .single .cat-links a { margin: 0 2px 4px 0; }
.single-post #content > .ast-container { max-width: 800px; }
.single-post .entry-content[data-ast-blocks-layout] > *, .single-post .entry-content > * { max-width: none; margin-left: 0; margin-right: 0; }
.blog #primary, .archive #primary { margin-top: clamp(48px, 6vw, 88px) !important; margin-bottom: clamp(48px, 6vw, 88px) !important; }
.blog .post-content > *, .archive .post-content > * { align-self: stretch; text-align: left; }
.blog .post-content > .entry-header, .archive .post-content > .entry-header { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; }
.blog .post-content > .entry-header, .archive .post-content > .entry-header { padding-left: 0 !important; padding-right: 0 !important; }

/* Servicios: subnavegación sin sticky */
.ch-subnav, .admin-bar .ch-subnav { position: relative; top: auto; }
.ch-svc { scroll-margin-top: 110px; }

/* Accesibilidad (WCAG 2.1 AA, 1.4.3 Contraste mínimo) */
.ch-contact__card .ch-quote { color: #e07a98; }
.ctc_chip { color: #595959 !important; }
.onetap-languages .onetap-text span { color: #1a1216; }

/* Pie: logotipos de financiación Kit Digital */
.ch-footer__kit { padding: 8px 16px 96px; }
.ch-footer__kit img { display: block; width: 100%; max-width: 1200px; height: auto; margin: 0 auto; border-radius: 8px; }
