/* ==========================================================================
   Clínica Dental Olga Casorrán — base
   Solo lo que las utilidades de Tailwind no resuelven bien: componentes
   reutilizados en muchas plantillas, el texto que sale del editor de
   bloques, los formularios de Contact Form 7, el menú desplegable y las
   formas decorativas.

   Especificidad: las clases de componente (.oc-boton…) son de una sola
   clase, como las utilidades de Tailwind; como la hoja de Tailwind se carga
   después, en caso de empate gana la utilidad. Los estilos del texto
   (.oc-prose) usan :where() en el elemento para no pisar utilidades.
   ========================================================================== */

/* 1. Base ---------------------------------------------------------------- */

body {
	font-family: var(--oc-fuente-texto);
	color: var(--oc-tinta);
	background: #fff;
}

[id] {
	scroll-margin-top: calc(var(--oc-cabecera-alto) + 1.5rem);
}

::selection {
	background: var(--oc-marca-100);
	color: var(--oc-tinta);
}

:focus-visible {
	outline: 2px solid var(--oc-marca);
	outline-offset: 3px;
}

/* Las imágenes van en <picture class="contents"> (versión WebP): sin esto, el
   <source> ocuparía una celda vacía cuando el <picture> está en una rejilla. */
picture > source {
	display: none;
}

/* En una rejilla de una sola columna (móvil), la columna se ensancharía hasta
   el ancho mínimo de su contenido y la sección se saldría de la pantalla. */
.grid > * {
	min-width: 0;
}

/* 2. Tipografía ---------------------------------------------------------- */

.oc-titular {
	font-family: var(--oc-fuente-titulos);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-wrap: balance;
}

/* *Resaltado* en los titulares: cursiva en turquesa. */
.oc-resaltado {
	color: var(--oc-marca);
	font-style: italic;
}

:is(.oc-seccion--oscuro, .bg-ink, .oc-banda) .oc-resaltado {
	color: var(--oc-marca-200);
}

.oc-enlace {
	color: var(--oc-marca);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .2s;
}

.oc-enlace:hover {
	color: var(--oc-marca-700);
}

/* Rótulo pequeño con una raya delante, como el «— CLÍNICA DENTAL —» del logo. */
.oc-antetitulo {
	display: flex;
	align-items: center;
	gap: .75rem;
	color: var(--oc-arena-700);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.oc-antetitulo::before {
	content: "";
	flex: none;
	width: 1.75rem;
	height: 1px;
	background: currentColor;
	opacity: .7;
}

.oc-antetitulo.justify-center::after {
	content: "";
	flex: none;
	width: 1.75rem;
	height: 1px;
	background: currentColor;
	opacity: .7;
}

.oc-antetitulo--oscuro {
	color: var(--oc-arena-200);
}

/* 3. Botones ------------------------------------------------------------- */

.oc-boton {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	padding: .875rem 1.5rem;
	border-radius: 9999px;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}

/* En pantallas estrechas el texto largo de un botón pasa a dos líneas. */
@media (max-width: 479px) {
	.oc-boton {
		max-width: 100%;
		white-space: normal;
		text-align: center;
		justify-content: center;
	}
}

.oc-boton:hover {
	transform: translateY(-1px);
}

.oc-boton .oc-boton__flecha {
	transition: transform .2s;
}

.oc-boton:hover .oc-boton__flecha {
	transform: translateX(3px);
}

.oc-boton--compacto {
	padding: .625rem 1.125rem;
	font-size: .875rem;
}

.oc-boton--compacto .oc-boton__flecha {
	display: none;
}

.oc-boton--principal {
	background: var(--oc-marca);
	color: #fff;
	box-shadow: var(--oc-sombra-marca);
}

.oc-boton--principal:hover {
	background: var(--oc-marca-700);
}

.oc-boton--claro {
	background: #fff;
	color: var(--oc-tinta);
	box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45);
}

.oc-boton--claro:hover {
	background: var(--oc-crema);
}

.oc-boton--contorno {
	background: transparent;
	color: var(--oc-tinta);
	box-shadow: inset 0 0 0 1px rgba(35, 42, 44, .22);
}

.oc-boton--contorno:hover {
	color: var(--oc-marca-700);
	box-shadow: inset 0 0 0 1px var(--oc-marca-300);
	background: #fff;
}

.oc-boton--contorno-claro {
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.oc-boton--contorno-claro:hover {
	background: rgba(255, 255, 255, .1);
}

.oc-boton--arena {
	background: var(--oc-arena-700);
	color: #fff;
}

.oc-boton--arena:hover {
	background: var(--oc-tinta);
}

.oc-boton--contorno .oc-boton__flecha,
.oc-boton--contorno-claro .oc-boton__flecha {
	display: none;
}

/* 4. Cabecera y menús ----------------------------------------------------- */

.oc-cabecera {
	background: rgba(245, 244, 239, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: box-shadow .3s, border-color .3s;
}

.oc-cabecera.is-scrolled {
	border-color: var(--oc-borde);
	box-shadow: 0 10px 30px -18px rgba(35, 42, 44, .25);
}

.admin-bar .oc-cabecera {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .oc-cabecera {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .oc-cabecera {
		top: 0;
	}
}

.oc-menu > li {
	position: relative;
}

.oc-menu > .current-menu-item > a,
.oc-menu > .current-page-ancestor > a,
.oc-menu > .current-menu-ancestor > a {
	color: var(--oc-marca-700);
}

.oc-menu > .current-menu-item > a::after,
.oc-menu > .current-page-ancestor > a::after,
.oc-menu > .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: .25rem;
	height: 2px;
	border-radius: 2px;
	background: var(--oc-arena);
}

.oc-menu .sub-menu {
	position: absolute;
	top: calc(100% + .5rem);
	left: 50%;
	z-index: 10;
	min-width: 19rem;
	padding: .5rem;
	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(35, 42, 44, .06), 0 30px 60px -24px rgba(35, 42, 44, .32);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}

/* Puente invisible para que el desplegable no se cierre al bajar el ratón. */
.oc-menu .sub-menu::before {
	content: "";
	position: absolute;
	inset: -.75rem 0 auto;
	height: .75rem;
}

.oc-menu li:hover > .sub-menu,
.oc-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.oc-menu-movil .sub-menu {
	margin: .25rem 0 .75rem .75rem;
	padding-left: .75rem;
	border-left: 2px solid var(--oc-arena-200);
}

.oc-cajon[hidden] {
	display: none;
}

.oc-cajon__panel {
	animation: oc-entrar-derecha .25s ease-out;
}

.oc-cajon__velo {
	animation: oc-aparecer .2s ease-out;
}

@keyframes oc-entrar-derecha {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

@keyframes oc-aparecer {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Traductor de Google (inc/idiomas.php): sin su barra de arriba, que
   empujaba la página 40 px, ni su globo, su indicador de carga y su resalte
   al pasar el ratón. El idioma se elige con el selector del tema. Las clases
   VIpgJd-… son las que pone Google hoy (11/2026); las otras, las de antes. */
body > .skiptranslate,
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
#oc-traductor,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
	display: none !important;
}

body {
	top: 0 !important;
}

.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q {
	background: none !important;
	box-shadow: none !important;
}

/* 5. Formas ------------------------------------------------------------- */

/* Foto en arco: la forma de una ventana o una puerta, cálida y tranquila.
   Solo en pantallas anchas, donde la foto es vertical; en el móvil es
   apaisada y va con las esquinas redondeadas. */
@media (min-width: 1024px) {
	.oc-arco.oc-arco { /* Doble clase: gana a rounded-* de Tailwind, que se carga después. */
		border-radius: 999px 999px 2rem 2rem;
	}
}

/* Trazo de la «C» del logo, como fondo decorativo. */
.oc-trazo {
	position: absolute;
	pointer-events: none;
	color: var(--oc-arena-200);
}

/* Fondo de la portada: crema con un brillo turquesa muy suave. */
.oc-hero {
	background:
		radial-gradient(48rem 30rem at 100% 0%, rgba(5, 157, 191, .10), transparent 65%),
		radial-gradient(40rem 28rem at 0% 100%, rgba(168, 144, 120, .14), transparent 70%),
		var(--oc-crema);
}

.oc-banda {
	background:
		radial-gradient(36rem 20rem at 100% 0%, rgba(111, 197, 220, .28), transparent 70%),
		radial-gradient(30rem 20rem at 0% 100%, rgba(168, 144, 120, .25), transparent 70%),
		var(--oc-marca-800);
}

/* 6. Texto del editor de bloques (secciones, legales, artículos) --------- */

.oc-seccion-texto {
	max-width: 48rem;
	margin: 0 auto;
	padding: 3.5rem 1.25rem;
}

.oc-prose {
	color: rgba(35, 42, 44, .84);
	font-size: 1.0625rem;
	line-height: 1.75;
	overflow-wrap: break-word; /* URLs largas de los textos legales */
}

.oc-prose > :first-child {
	margin-top: 0;
}

.oc-prose :where(p, ul, ol, figure, blockquote, table, pre, .wp-block-embed, .wp-block-buttons) {
	margin-top: 1.1em;
	margin-bottom: 0;
}

.oc-prose :where(h2) {
	margin-top: 2em;
	color: var(--oc-tinta);
	font-family: var(--oc-fuente-titulos);
	font-size: 1.875rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -.015em;
}

.oc-prose :where(h3) {
	margin-top: 1.9em;
	color: var(--oc-tinta);
	font-family: var(--oc-fuente-titulos);
	font-size: 1.4375rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.oc-prose :where(h4, h5, h6) {
	margin-top: 1.6em;
	color: var(--oc-tinta);
	font-size: 1.0625rem;
	font-weight: 600;
}

.oc-prose :where(h2, h3, h4) + * {
	margin-top: .7em;
}

.oc-prose :where(a) {
	color: var(--oc-marca-700);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--oc-marca-200);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: text-decoration-color .2s;
}

.oc-prose :where(a):hover {
	text-decoration-color: var(--oc-marca);
}

.oc-prose :where(strong, b) {
	color: var(--oc-tinta);
	font-weight: 600;
}

.oc-prose :where(ul, ol) {
	padding-left: 1.4em;
}

.oc-prose :where(ol) {
	list-style: decimal;
}

.oc-prose :where(ul) {
	list-style: none;
	padding-left: 0;
}

.oc-prose :where(ul > li) {
	position: relative;
	padding-left: 1.75em;
}

/* Viñeta: un punto turquesa dentro de un círculo claro. */
.oc-prose :where(ul > li)::before {
	content: "";
	position: absolute;
	left: .3em;
	top: .62em;
	width: .5em;
	height: .5em;
	border-radius: 9999px;
	background: var(--oc-marca-500);
	box-shadow: 0 0 0 .3em var(--oc-marca-50);
}

.oc-prose :where(li) {
	margin-top: .6em;
}

.oc-prose :where(ol > li) {
	padding-left: .25em;
}

.oc-prose :where(ol > li)::marker {
	color: var(--oc-marca-500);
	font-weight: 600;
}

.oc-prose :where(li > ul, li > ol) {
	margin-top: .5em;
}

.oc-prose :where(img) {
	height: auto;
	max-width: 100%;
	border-radius: 1.25rem;
}

.oc-prose :where(figcaption) {
	margin-top: .75em;
	color: var(--oc-gris);
	font-size: .875rem;
	text-align: center;
}

.oc-prose :where(blockquote) {
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--oc-arena);
	border-radius: 0 1.25rem 1.25rem 0;
	background: var(--oc-arena-50);
	color: var(--oc-tinta);
	font-family: var(--oc-fuente-titulos);
	font-size: 1.1875rem;
	font-style: italic;
	line-height: 1.55;
}

.oc-prose :where(hr) {
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--oc-borde);
}

.oc-prose :where(table) {
	width: 100%;
	border-collapse: collapse;
	font-size: .9375rem;
}

/* En móvil, las tablas anchas se desplazan de lado dentro de su caja. */
@media (max-width: 767px) {
	.oc-prose :where(table) {
		display: block;
		overflow-x: auto;
		font-size: .875rem;
	}
}

.oc-prose :where(th, td) {
	padding: .625rem .75rem;
	border-bottom: 1px solid var(--oc-borde);
	text-align: left;
	vertical-align: top;
}

.oc-prose :where(th) {
	color: var(--oc-tinta);
	font-weight: 600;
}

/* Alineaciones heredadas de los artículos antiguos (imágenes flotantes). */
.oc-prose .alignright {
	float: right;
	max-width: 45%;
	margin: .25em 0 1em 1.5em;
}

.oc-prose .alignleft {
	float: left;
	max-width: 45%;
	margin: .25em 1.5em 1em 0;
}

.oc-prose .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 639px) {
	.oc-prose :is(.alignright, .alignleft) {
		float: none;
		max-width: 100%;
		margin: 1em 0;
	}
}

.oc-prose--compacta {
	font-size: 1rem;
	line-height: 1.7;
}

/* Texto a dos columnas (bloque «Texto»). */
@media (min-width: 1024px) {
	.oc-prose--columnas {
		column-count: 2;
		column-gap: 4rem;
	}

	.oc-prose--columnas > * {
		break-inside: avoid;
	}
}

/* 7. Piezas de las secciones --------------------------------------------- */

/* Formación desplegable de cada persona del equipo. */
.oc-desplegable summary {
	list-style: none;
	cursor: pointer;
}

.oc-desplegable summary::-webkit-details-marker {
	display: none;
}

.oc-desplegable[open] .oc-desplegable__icono {
	transform: rotate(45deg);
}

/* Opiniones: fila que se desliza de lado, con imán en cada tarjeta. */
.oc-carrusel {
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.oc-carrusel::-webkit-scrollbar {
	display: none;
}

.oc-carrusel > * {
	scroll-snap-align: start;
}

/* Visor de fotos de la galería (<dialog>). */
.oc-visor {
	width: min(92vw, 70rem);
	max-width: none;
	max-height: 92vh;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.oc-visor::backdrop {
	background: rgba(22, 27, 29, .82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.oc-visor img {
	display: block;
	width: 100%;
	max-height: 86vh;
	object-fit: contain;
	border-radius: 1.25rem;
}

/* Mapa: fachada hasta que se pulsa (sin cookies de Google sin permiso). */
.oc-mapa iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 8. Formularios (Contact Form 7) ---------------------------------------- */

.oc-form .oc-campos {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.oc-form .oc-campos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.oc-form .oc-campo--ancho {
	grid-column: 1 / -1;
}

.oc-form label {
	display: block;
	color: var(--oc-tinta);
	font-size: .875rem;
	font-weight: 600;
}

.oc-form .oc-campo > label > .wpcf7-form-control-wrap,
.oc-form .oc-campo > .wpcf7-form-control-wrap {
	display: block;
	margin-top: .375rem;
}

.oc-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) {
	display: block;
	width: 100%;
	padding: .8125rem 1rem;
	border: 1px solid #D9D5CB;
	border-radius: 1rem;
	background: #fff;
	color: var(--oc-tinta);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	transition: border-color .15s, box-shadow .15s;
}

.oc-form :where(input, select, textarea)::placeholder {
	color: #8B9395;
}

.oc-form :where(input, select, textarea):focus {
	border-color: var(--oc-marca-500);
	outline: none;
	box-shadow: 0 0 0 4px rgba(5, 157, 191, .16);
}

.oc-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.oc-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: .625rem;
	color: var(--oc-gris);
	font-size: .875rem;
	font-weight: 400;
	line-height: 1.5;
}

.oc-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.oc-form input[type="checkbox"] {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: .125rem;
	accent-color: var(--oc-marca);
}

.oc-form .wpcf7-acceptance a {
	color: var(--oc-marca-700);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.oc-form .wpcf7-submit {
	display: block;
	width: 100%;
	margin-top: .5rem;
	padding: 1rem 1.5rem;
	border: 0;
	border-radius: 9999px;
	background: var(--oc-marca);
	box-shadow: var(--oc-sombra-marca);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: normal;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}

.oc-form .wpcf7-submit:hover {
	background: var(--oc-marca-700);
	transform: translateY(-1px);
}

.oc-form .wpcf7-submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* Campo trampa para bots: fuera de la vista, sin display:none. */
.oc-form .oc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.oc-form .wpcf7-spinner {
	display: block;
	margin: .75rem auto 0;
}

.oc-form.oc-enviando .wpcf7-submit,
.oc-form.oc-enviando .wpcf7-submit:hover {
	background: var(--oc-marca-700);
	cursor: progress;
	transform: none;
}

.oc-form.oc-enviando:not(.oc-enviado) .wpcf7-spinner {
	visibility: visible;
}

.oc-form.oc-enviando:not(.oc-enviado) :is(input:not([type="submit"]):not([type="hidden"]), select, textarea) {
	opacity: .6;
}

.wpcf7 form.oc-form.oc-sin-respuesta .wpcf7-spinner {
	visibility: hidden;
}

.wpcf7 form.oc-form.oc-sin-respuesta .wpcf7-response-output {
	display: block;
}

.oc-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: .375rem;
	color: var(--oc-error);
	font-size: .8125rem;
	font-weight: 500;
}

.oc-form .wpcf7-not-valid {
	border-color: var(--oc-error);
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: .75rem 1rem;
	border: 1px solid transparent;
	border-radius: 1rem;
	font-size: .875rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #A7F3D0;
	background: #ECFDF5;
	color: var(--oc-exito);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.oc-sin-respuesta .wpcf7-response-output {
	border-color: #FED7AA;
	background: #FFF7ED;
	color: var(--oc-error);
}

/* reCAPTCHA: insignia oculta, con el aviso en cada formulario. */
.grecaptcha-badge {
	visibility: hidden;
}

.oc-form .oc-recaptcha {
	margin-top: .875rem;
	color: var(--oc-gris);
	font-size: .75rem;
	line-height: 1.5;
	text-align: center;
}

.oc-form .oc-recaptcha a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* 9. Pie ----------------------------------------------------------------- */

/* Azul, como el turquesa de la web original: arriba el de la barra de
   contacto y los botones, abajo uno algo más hondo, con un brillo turquesa
   claro en la esquina. Con texto blanco da contraste AA en todo el fondo. */
.oc-pie {
	background:
		radial-gradient(42rem 22rem at 100% 0%, rgba(5, 157, 191, .25), transparent 70%),
		linear-gradient(180deg, var(--oc-marca) 0%, var(--oc-marca-700) 100%);
}

.oc-menu-legal li + li::before {
	content: "·";
	margin-right: .5rem;
	color: rgba(255, 255, 255, .5);
}

@media (max-width: 767px) {
	.oc-menu-legal {
		flex-direction: column;
		align-items: center;
	}

	.oc-menu-legal li + li::before {
		content: none;
	}
}

/* 10. WhatsApp ----------------------------------------------------------- */

.oc-whatsapp__burbuja[hidden] {
	display: none;
}

.oc-whatsapp__burbuja {
	animation: oc-burbuja .35s cubic-bezier(.2, .9, .3, 1.2);
	transform-origin: bottom right;
}

@keyframes oc-burbuja {
	from { opacity: 0; transform: scale(.85) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 11. Movimiento reducido ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* 12. Separador del editor: la línea fina del tema, no la de WordPress. --- */

.oc-prose .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--oc-borde);
	opacity: 1;
}

/* 13. Portadas: titular arriba y la foto debajo, sin nada encima ---------- */

/* La foto queda centrada en su punto de interés (campo «enfoque» del bloque)
   y se acerca muy poco al cargar: nunca deja a nadie fuera del encuadre. */
.oc-portada__foto img {
	object-position: var(--oc-enfoque, 50% 50%);
	transform-origin: var(--oc-enfoque, 50% 50%);
	animation: oc-acercar 9s cubic-bezier(.2, .6, .2, 1) both;
}

@keyframes oc-acercar {
	from { transform: scale(1.04); }
	to { transform: scale(1); }
}

/* Portada del inicio: la franja de arriba de la foto (techo, sin gente) se
   funde con el crema del fondo para que el titular y el botón se lean encima.
   Es crema, no un velo oscuro, y acaba antes de las cabezas. */
.oc-portada__fundido {
	background: linear-gradient(to bottom, var(--oc-crema) 0%, rgba(245, 244, 239, .9) 38%, rgba(245, 244, 239, .55) 70%, rgba(245, 244, 239, 0) 100%);
}

.oc-titular--portada {
	letter-spacing: -.03em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

/* Tarjeta de cristal sobre las fotos. */
.oc-cristal {
	background: rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 24px 60px -24px rgba(0, 0, 0, .55);
	color: #fff;
}

/* El texto entra subiendo, uno detrás de otro. */
.oc-aparecer > * {
	animation: oc-subir .9s cubic-bezier(.2, .7, .2, 1) backwards; /* Al acabar no fija nada: el hover sigue funcionando. */
}

.oc-aparecer > :nth-child(2) { animation-delay: .1s; }
.oc-aparecer > :nth-child(3) { animation-delay: .2s; }
.oc-aparecer > :nth-child(4) { animation-delay: .3s; }
.oc-aparecer--tarde > * { animation-delay: .45s; }

@keyframes oc-subir {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

/* La «C» del logo se dibuja sola. */
.oc-trazo-dibujo {
	stroke-dasharray: 430;
	stroke-dashoffset: 430;
	animation: oc-dibujar 2.6s .3s cubic-bezier(.6, .1, .3, 1) forwards;
}

@keyframes oc-dibujar {
	to { stroke-dashoffset: 0; }
}

.oc-boton--grande {
	padding: 1rem 1.75rem;
	font-size: 1rem;
}

/* Foto en arco en todos los tamaños (collage del texto destacado). */
.oc-arco-siempre {
	border-radius: 999px 999px 2rem 2rem;
}
